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