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