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