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