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