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