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