Birch and Swinnerton-Dyer conjecture: for every elliptic curve (Clay Millennium Prize Problem)
OpenBSD.birch_swinnerton_dyerThis is the statement of the Millennium Prize Problem in Andrew Wiles' official description (p. 2): Conjecture (Birch and Swinnerton-Dyer). The Taylor expansion of at has the form with and .
Let be an elliptic curve over , given by a Weierstrass equation with rational coefficients and non-zero discriminant. Let be its group of rational points and its Hasse–Weil L-series, the Dirichlet series expansion of the Euler product over all primes of the local factors (good reduction), (split/non-split multiplicative reduction) and (additive reduction), convergent for . Then there is an entire function with for , and
i.e. near with and the rank of .
The existence of (Hasse's conjecture) is a theorem, by the modularity of elliptic curves over ; it is included in the statement so that the order of vanishing at , outside the region of convergence of the series, is meaningful, and it is recorded separately as a milestone. The equality of the two integers is open; it is known when the order of vanishing is or (Gross–Zagier, Kolyvagin), and for a majority of curves ordered by height (Bhargava–Skinner–Zhang), but for no curve of rank . A proof would settle the Millennium Prize Problem in the affirmative. The refined form of the conjecture (the value of in terms of the Tate–Shafarevich group, the regulator, the real period and the Tamagawa numbers) is not part of this statement.
Formalization Note The order of vanishing is Mathlib's analyticOrderAt Λ 1, valued in and equal to exactly when vanishes identically near ; the equation with the natural number BSD.rank W therefore also asserts that near . The L-series is Mathlib's WeierstrassCurve.LSeries, which includes the Euler factors at the bad primes (Wiles' ) and takes the junk value where the Dirichlet series diverges; BSD.IsLFunction constrains only on , where the series is honest. The rank is Module.finrank ℤ of the point group, which is the of by Mordell's theorem. The hypothesis IsElliptic is .
import Definitions.Def_BSD import Mathlib
namespace BSD
theorem birch_swinnerton_dyer (W : WeierstrassCurve ℚ) [W.IsElliptic] :
∃ Λ : ℂ → ℂ, IsLFunction W Λ ∧ analyticOrderAt Λ 1 = rank W := by sorry
end BSDRead-back
What the Lean code literally says, in plain math · claude-fable-5-1
Read-back
Declaration BSD.birch_swinnerton_dyer. Let be a Weierstrass curve over , i.e. an arbitrary quintuple of rational numbers , thought of as the equation
Assume (as a typeclass hypothesis) that is elliptic in Mathlib's sense: the discriminant
(with , , , ) is a unit of ; since is a field this is exactly the condition . No other hypothesis is placed on .
The theorem asserts that there exists (at least one; not claimed unique) a function satisfying the following three conditions simultaneously.
(i) Entire. is complex-differentiable at every point of .
(ii) Agreement with Mathlib's Dirichlet series on a half-plane. For every with (strict inequality),
where is the following specific complex number. Let be the arithmetic function described in (ii-a) below (with ). Then
where the primed sum is Mathlib's unconditional sum: if the family is summable in (for complex numbers this is the same as absolute convergence) it is the value of the sum, and otherwise it is the junk value . Nothing in the statement asserts that the series converges for any ; wherever it fails to converge with , condition (ii) requires there. Here is the complex power for , and is coerced to .
(ii-a) The arithmetic function (the "L-function as a formal Dirichlet series"). Let be Mathlib's ring of integers of the number field , and let range over the height-one spectrum of , i.e. over all nonzero prime ideals of . For each such , let be the completion of with respect to the -adic valuation and let be its valuation ring (the elements of valuation ), a discrete valuation ring with maximal ideal and residue field . Write for the base change of to (same five coefficients, viewed in ). Then
the primed product being Mathlib's unconditional infinite product of arithmetic functions under Dirichlet convolution, taken in the topology of pointwise convergence where carries the discrete topology (so the product converges iff for every the -th coefficient of finite partial products is eventually constant). If the family is not multipliable in this sense, the product is the junk value , the arithmetic function with and for . The local factor is built as follows.
- Minimal model. is a chosen (by the axiom of choice) change of variables of over that is minimal: it is integral (equal to the base change of some Weierstrass curve with coefficients in ), and among all changes of variables of that are integral, the multiplicative valuation (which is for integral curves; larger multiplicative valuation means smaller additive valuation) is maximal at , i.e. at itself.
- Residue-field cardinality. , the number of elements of if is finite, and the junk value if is infinite.
- Reduction and point count. is the Weierstrass curve over obtained from a chosen integral model of (a curve over whose base change to is ) by reducing each coefficient modulo . Let , where is the type consisting of one point "zero" (at infinity) together with all pairs that satisfy the Weierstrass equation of and are nonsingular there (at least one of the two partial derivatives , of the reduced curve is nonzero at ). Again is if this type is infinite. Set .
- Local polynomial , decided by the first applicable case (classically):
- if has good reduction — meaning is minimal and (the discriminant is a unit of ) — then ;
- else if has split multiplicative reduction — meaning it is minimal, , where , and, writing for the chosen integral model, the polynomial with coefficients reduced into lies in the multiplicative closure of the constant polynomials and the monic linear polynomials over (i.e. splits into linear factors) — then ;
- else if has multiplicative reduction (minimal, , , but the quadratic above does not split) then ;
- otherwise (in particular in the remaining exhaustive case and , "additive reduction") .
- Local power series. is the formal inverse of computed by the recursive inverse-of-a-unit formula with the constant term taken to be the unit ; since every above has constant coefficient , this is the genuine reciprocal .
- Local Euler factor. If then when for some , and if is not a power of (in particular ). If (which happens exactly when the junk value occurs, or ), then is instead the junk value , the multiplicative identity.
(iii) Order of vanishing at equals the rank. In the extended natural numbers ,
where the right-hand side is the natural number described in (iii-b), coerced into , and the left-hand side is Mathlib's analyticOrderAt, defined by cases:
- if is not analytic at , the value is the junk value — but under (i), complex differentiability on all of implies analyticity at , so this case cannot occur for a satisfying (i);
- if is analytic at and vanishes identically on some neighbourhood of , the value is ;
- otherwise the value is the unique such that, on some neighbourhood of , with analytic at and (so iff ).
Because the right-hand side is a finite natural number, equality in excludes the value : any witnessing the theorem is not identically zero near (hence, being entire, not identically zero on ). In particular the constant function does not satisfy (iii). Conversely, by (i) and the identity theorem, if a witness exists it is uniquely determined by its values on , i.e. by the function there, including any junk zeros of arising from non-summability.
(iii-b) The natural number . Let denote the type of points of in affine coordinates: the single point "zero" (at infinity) together with all satisfying and nonsingular there (at least one of , nonzero). Mathlib equips with the abelian group structure given by the chord–tangent (secant–tangent) law with "zero" as identity, and hence with a -module structure. Then
where the supremum of cardinals is taken over all subsets such that no nontrivial finite -linear combination of distinct elements of is zero (so torsion points never belong to such an ), and sends a finite cardinal to the corresponding natural number and every infinite cardinal to . The statement does not assume or assert that is finitely generated; if the supremum above is infinite, by convention, and condition (iii) then requires .
Summary of the literal claim. For every quintuple with , there is an entire function that coincides on the open half-plane with the (junk-tolerant) Dirichlet series of the Euler product of the local factors described above, and whose order of vanishing at is the finite natural number (with the conventions: order excluded, infinite -rank read as , and non-convergent sums or products, or infinite residue fields, read as or respectively).
Confirmed by the mission captain (proposal self-audit).