Birch and Swinnerton-Dyer: certified ranks in Lean
ECCompute: Lean that certifies rank lower bounds for 480 elliptic curves, up to rank ≥ 31. Certify more, rerun it, read what 2026 claimed about BSD

| 1 | /- |
| 2 | Copyright (c) 2026 Bhavik Mehta. All rights reserved. |
| 3 | Released under the GNU General Public License version 3.0 as described in the file LICENSE. |
| 4 | Authors: Bhavik Mehta |
| 5 | -/ |
| 6 | module |
| 7 | |
| 8 | public import ECCompute.Tactic.CertifyCurve |
| 9 | public import ECCompute.Soundness.JInvariant |
| 10 | |
| 11 | /-! |
| 12 | # Curve 414 has rank at least 25 |
| 13 | |
| 14 | The elliptic curve recorded as |
| 15 | [curve 414](https://elliptic-rank.icarm.cloud/curve/414) on the ICARM Elliptic Curve Rank |
| 16 | Leaderboard is |
| 17 | |
| 18 | `E : y² + xy = x³ + a₄·x + a₆`, with |
| 19 | `a₄ = -417912674922888853976693575239883106296909250` and |
| 20 | `a₆ = 2674272079811740358679570958520093732597884037078754632469690562500` |
| 21 | |
| 22 | over `ℚ`. It has Mordell-Weil rank at least `25`. Submitted to the leaderboard by 7fff-zip. |
| 23 | -/ |
| 24 | |
| 25 | namespace ECCompute |
| 26 | |
| 27 | open WeierstrassCurve |
| 28 | |
| 29 | /-- ICARM leaderboard curve 414 over `ℚ`. -/ |
| 30 | @[expose] public def curve414 : WeierstrassCurve ℚ := |
| 31 | ⟨1, 0, 0, -417912674922888853976693575239883106296909250, |
| 32 | 2674272079811740358679570958520093732597884037078754632469690562500⟩ |
| 33 | |
| 34 | /-- ICARM leaderboard curve 414 has Mordell-Weil rank at least `25`. -/ |
| 35 | public theorem curve414_hasRankGE_25 : HasRankGE curve414 25 := by |
| 36 | unfold curve414 |
| 37 | certify_curve torsion 19 "data/curve414.txt" "data/curve414-labels.txt" |
| 38 | |
| 39 | /-- Curve 414 is elliptic (nonzero discriminant), so its `j`-invariant is defined. -/ |
| 40 | public instance : curve414.IsElliptic := isElliptic_of_Δ_ne_zero (by decide +kernel) |
| 41 | |
| 42 | /-- The `j`-invariant of curve 414. -/ |
| 43 | public theorem curve414_j : curve414.j = 8071984912151748226445130709682212147192880496269120883693454344965396272976559011876726136366039470197045163491273362864546567398962932001 / 1581739705138847952897657581979669295980470647074499285199050633127943304037864743566952295543770172880782758840137269478960433920000000 := |
| 44 | j_eq_iff.mpr (by decide +kernel) |
| 45 | |
| 46 | end ECCompute |