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