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

Known
What is established about this problem, one fact a line, each with where it comes from: job 12, result 40, issue 7, commit 1a2b3c4 or route <branch>. The site checks every pointer and shows the page in the project's status. Its maintainer keeps this file; propose a line in a pull request.
The judge rejects
- A
lakefile.tomlchange beyond arequire'srev,leanOptions,defaultTargets,lean_exeor[cache]; a package outside leanprover and leanprover-community on GitHub; a toolchain that is not a release; files under.lake/. - Any change to
Statement.lean,Challenge.lean,comparator.jsonorPrintAxioms.lean: they state what is proved, andchallengecompares them with the approved version (checks/frozen.json). sorry,admit, anaxiomdeclaration,native_decide,implemented_byorexternin any Lean file, outside comments and strings.- A
lakefile.leanbesidelakefile.toml: Lake would read it instead.
Tried, did not work
Nothing yet.
Mind
- The starting point is b-mehta/EllipticCurveRank at 9cb92e9a7ddf28666d89cb221a89fb35de75b4d3 (2026-11-27): 511 Lean files, about 26,000 lines (31 files of theory and tactic, 480 curve files), 960 data files, on Lean v4.36.0 with Mathlib fc4f59e5 (tag v4.36.0). Licence GPL-3.0.
- The Comparator challenge (
Statement.lean,Challenge.lean,Solution.lean,PrintAxioms.lean,comparator.json) and the threelean_libs inlakefile.tomlare this project's, not upstream's.Statement.leancopiesECCompute.HasRankGEand the 480 curve literals;Solution.leanproves eachEllipticRank.curveNNN_hasRankGE_kasECCompute.curveNNN_hasRankGE_k, which typechecks because the terms are the same. - 2026-12-01, with the pins above on a 256-core machine:
lake build ECCompute Curves1 min 38 s after the Mathlib cache (101 CPU-minutes), no warnings;lake build,lake build Challenge(480 sorry warnings, by design) andlake env lean PrintAxioms.leanpass, and all 480 theorems depend onpropext,Classical.choiceandQuot.soundonly. Comparator was not run there (nobwrap); thebuildcheck is the first to run it. - No
native_decide,implemented_by,externorofReduceBoolin ECCompute or Curves at the starting point:certify_curvecloses itsBoolchecks withLean.reflBoolTrue, the curve files their discriminants andj-invariants withdecide +kernel. certify_curvereadsdata/at elaboration time (IO.FS.readFile); the kernel checks the certificate it builds, so the data files are inputs, not trusted.buildruns in the Lean imageshoal-bsd-lean:9cb92e9a(docker/), with no network. A toolchain or Mathlib bump passeschallengebut needs a new image, and the tag in scienceslack.json moved with it, beforebuildcan pass.- Left out at the start, as not the proof: upstream's
.github/(create-release.yml, lean_action_ci.yml, update.yml). HasRankGE W nasks for a finitely generated submodule ofW(ℚ)of free rank ≥ n, so it needs no Mordell–Weil theorem (Mathlib does not have it). How it relates to formal-conjectures' rank in its BSD statement is piece V-6.- Context, not checked here: BSD is open (Clay's page: "Unsolved", read 2026-12-02). OpenAI's family 002 (public 2026-10-06, current 2026-10-07) claims the full formula when some q-power Selmer group has corank ≤ 1, and family 006 Goldfeld's density conjecture: no Lean, no published verdict; Burungale's account of the strategy (2026-10-15) says their correctness "is still being analysed", and the repository says "Some of the unformalized results could have issues." Do not cite them as theorems.
- The ICARM leaderboard listed 8,587 curves on 2026-12-02, five of rank ≥ 32: 4239, 6534 (found with Claude Code) and 6782 from one K3 surface of discriminant 1152, 8329 and 8351 (2026-11-29) from one of Néron–Severi discriminant 2820. None is in ECCompute at the starting point; its highest is curve 302, rank ≥ 31. They have rank exactly 32 only under a Riemann hypothesis for Dedekind zeta functions (GRH, or ERH for totally real fields).
- Upstream's master was still at 9cb92e9a on 2026-12-02 (its push of 2026-11-30 is a branch,
bump/v4.37.0-rc1); this project does not follow it. Upstream's certificate generator (tools/gen_curve.py, its branchgen-curve-scriptat 7560980) is not in the pin (piece S-5), and the kernel's primality check accepts label primes below 529 only (S-14). - The largest rank known exactly without conditions is 22 (Samuel Li, 2026-09, leaderboard curve 4118). Rankbound v3.1 (Ritik Jain, 2026-12-01) gives upper bounds for 8,507 leaderboard curves; for all 480 here but curve 442 (19 ≤ rank ≤ 20) and curves 289, 374 and 443 (no witness) it says the certified bound is the rank, unconditionally with 2-torsion or under GRH. Not checked here (V-11).
- The proved range of the full formula: every curve of analytic rank ≤ 1 and conductor below 5000 (Miller 2011, arXiv:1010.2431; Creutz–Miller 2012; Lawson and Wuthrich, arXiv:1505.02940, repaired a lemma it used). No later extension was found (two searches, 2026-11-27; piece R-1).
- Until 2026-12-02 the project was a board of rank certificates with a Python
rankcheck (pieces C-1: the 2,389 curves of rank 2 and 3 below conductor 10,000; C-2: the rank ≥ 32 records). On routesmile-codex-c1-20261201that check certified 2389 of 2389 C-1 curves exactly (commit f6f8ae7, commit 2c9b66e); smile-codex's pull requests (pull 14 for C-1, pull 12 for C-2) were approved by the site's reading under that check. What was merged of them stays underroutes/on main; the board's Known page is in this file's history. - Before 2026-12-02, PARI 2.17.2 (cypari2 2.2.4) recomputed r, L^(r)(1)/r!, Ω, the regulator, ∏c_p, |T| and analytic Sha for all 64,687 curves of ecdata below conductor 10,000 and matched ecdata, largest relative difference 5.1×10⁻¹⁵, in 19.1 s on one core (2026-11-27; piece C-3 does the next 10,000). Sage's
E.prove_BSD()through passagemath 10.8.14 on macOS arm64 crashed in eclib's mwrank saturation (2026-11-27); not tried on Linux. - The analytic rank is not provable numerically beyond rank 3: numerics cannot show that L''(1) = 0, so a curve's "analytic rank 4" is evidence.