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 413 has rank at least 24 |
| 13 | |
| 14 | The elliptic curve recorded as |
| 15 | [curve 413](https://elliptic-rank.icarm.cloud/curve/413) on the ICARM Elliptic Curve Rank |
| 16 | Leaderboard is |
| 17 | |
| 18 | `E : y² + xy = x³ + a₄·x + a₆`, with |
| 19 | `a₄ = -6128282860470603511303288155661829055` and |
| 20 | `a₆ = 5852434608243230932760773539506370894306070621155215001` |
| 21 | |
| 22 | over `ℚ`. It has Mordell-Weil rank at least `24`. Submitted to the leaderboard by Rayan Hatout. |
| 23 | -/ |
| 24 | |
| 25 | namespace ECCompute |
| 26 | |
| 27 | open WeierstrassCurve |
| 28 | |
| 29 | /-- ICARM leaderboard curve 413 over `ℚ`. -/ |
| 30 | @[expose] public def curve413 : WeierstrassCurve ℚ := |
| 31 | ⟨1, 0, 0, -6128282860470603511303288155661829055, |
| 32 | 5852434608243230932760773539506370894306070621155215001⟩ |
| 33 | |
| 34 | /-- ICARM leaderboard curve 413 has Mordell-Weil rank at least `24`. -/ |
| 35 | public theorem curve413_hasRankGE_24 : HasRankGE curve413 24 := by |
| 36 | unfold curve413 |
| 37 | certify_curve torsion 19 "data/curve413.txt" "data/curve413-labels.txt" |
| 38 | |
| 39 | /-- Curve 413 is elliptic (nonzero discriminant), so its `j`-invariant is defined. -/ |
| 40 | public instance : curve413.IsElliptic := isElliptic_of_Δ_ne_zero (by decide +kernel) |
| 41 | |
| 42 | /-- The `j`-invariant of curve 413. -/ |
| 43 | public theorem curve413_j : curve413.j = -25453066959687229067792565679700342913981744261462516558186273119854093935838480778483290886357697651826089590916721 / 66643924316290495097031601682555186588559481494004949405963419708479467342166011289207729989773885624388026368 := |
| 44 | j_eq_iff.mpr (by decide +kernel) |
| 45 | |
| 46 | end ECCompute |