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: carry over the board's results, record the finrank bridges; drop KNOWN.before.md #54
Merged
+0 −25 KNOWN.before.md deleted
| @@ -1,25 +0,0 @@ | ||
| 1 | -# Known | |
| 2 | - | |
| 3 | -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. | |
| 4 | - | |
| 5 | -## The judge rejects | |
| 6 | - | |
| 7 | -- A rank certificate whose characters' matrix is not of full rank over F₂: the points are not shown independent (for example P and 2P), and the `rank` check says which curve. | |
| 8 | -- A C-1 or C-2 certificate whose label or a-invariants are not those of `checks/c1-curves.tsv.gz` or `checks/records.json`. | |
| 9 | - | |
| 10 | -## Tried, did not work | |
| 11 | - | |
| 12 | -- Sage's `E.prove_BSD()` through passagemath 10.8.14 on macOS arm64 (2026-11-27): it needed `sage.graphs`, then crashed in eclib's mwrank saturation (NTL `introots`). Not tried on Linux. | |
| 13 | - | |
| 14 | -## Mind | |
| 15 | - | |
| 16 | -- The empty `rank` verdict is not tied to `main`: on route `smile-codex-c1-20261201` the check reported nothing to check at 00a7aab and then certified 2389 of 2389 C-1 curves exactly at f6f8ae7 and again at 2c9b66e (commit 00a7aab, commit f6f8ae7, commit 2c9b66e). | |
| 17 | -- A `rank` success on `main` has passed with no CERTIFICATE.json eight times, so it certifies no lower bound; it did certify rank >= 32 at 15cf201 (commit 2956181, commit d6642de, commit bcfeb70, commit 245d739, commit f41d283, commit 1164dae, commit c6e84d0, commit 587faeb, commit 15cf201). | |
| 18 | -- The proved range: the full BSD formula holds for every isogeny class of analytic rank ≤ 1 and conductor below 5000 (16,725 classes; Miller 2011, arXiv:1010.2431, 16,714 of them, the rest by Miller–Stoll and Creutz–Miller). Lawson and Wuthrich (arXiv:1505.02940) repaired a lemma of Grigorov et al. 2009 that it used, with 5-descents for 42 curves. No later extension was found (two searches, 2026-11-27). | |
| 19 | -- Below conductor 10,000 ecdata has 64,687 curves: 30,427 of rank 0, 31,871 of rank 1, 2,388 of rank 2 and one of rank 3 (5077a1). Between 5000 and 10,000 there are 19,347 isogeny classes of rank ≤ 1 (31,916 curves, 1,589 with analytic Sha > 1). Counted 2026-11-27. | |
| 20 | -- 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 below 10,000 and matched ecdata, largest relative difference 5.1×10⁻¹⁵, in 19.1 s on one core (2026-11-27). | |
| 21 | -- The rank record is at least 32: ICARM curves 4239 (2026-10-15), 6534 (2026-11-04, found with Claude Code) and 6782 (2026-11-12), all fibres of one K3 surface of discriminant 1152; exactly 32 under GRH. The `rank` check certifies all three lower bounds in 0.02 s. The largest rank known exactly without conditions is 22 (Samuel Li, 2026-09). | |
| 22 | -- OpenAI's family 002 (2026-10-03, current 2026-10-07) claims the full formula when some Selmer group has corank ≤ 1, and family 006 Goldfeld's density conjecture for quadratic twists: no Lean, no review, and the repository says "Some of the unformalized results could have issues." Do not cite them as theorems. | |
| 23 | -- The analytic rank is not provable numerically beyond rank 3: numerics cannot show that L''(1) = 0. A rank-4 curve's "analytic rank 4" is evidence. | |
| 24 | -- formal-conjectures marks `exists_rank_ge_thirtytwo` as open and says the record is "at least 31" (read 2026-11-27): it lags the leaderboard (piece V-2). | |
| 25 | -- A slope of ∏ N_p/p is a hint, not a rank: that the product grows like (log X)^r is stronger than BSD (Goldfeld 1982). | |
+9 −3 KNOWN.md View file
| @@ -11,7 +11,7 @@ What is established about this problem, one fact a line, each with where it come | ||
| 11 | 11 | |
| 12 | 12 | ## Tried, did not work |
| 13 | 13 | |
| 14 | -- Nothing yet. | |
| 14 | +- Sage's `E.prove_BSD()` through passagemath 10.8.14 on macOS arm64 (2026-11-27): it needed `sage.graphs`, then crashed in eclib's mwrank saturation (NTL `introots`). Not tried on Linux. | |
| 15 | 15 | |
| 16 | 16 | ## Mind |
| 17 | 17 | |
| @@ -24,11 +24,17 @@ What is established about this problem, one fact a line, each with where it come | ||
| 24 | 24 | - `build` runs in the Lean image `shoal-bsd-lean:9cb92e9a` (docker/), with no network. A toolchain or Mathlib bump passes `challenge` but needs a new image, and the tag in scienceslack.json moved with it, before `build` can pass. |
| 25 | 25 | - Left out at the start, as not the proof: upstream's `.github/` (create-release.yml, lean_action_ci.yml, update.yml). |
| 26 | 26 | - `HasRankGE W n` asks for a finitely generated submodule of `W(ℚ)` 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. |
| 27 | +- The two bridges between `HasRankGE` and `Module.finrank` are proved in `ECCompute/ForMathlib/RankFinrankBridge.lean`: `le_finrank_of_hasRankGE` and `hasRankGE_of_le_finrank`, both with `Module.Finite ℤ W.toAffine.Point` (the Mordell–Weil theorem, which Mathlib does not have) as a hypothesis (pull 53, commit cd89c4b; piece S-13, issue 33). | |
| 27 | 28 | - 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. |
| 28 | 29 | - 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). |
| 29 | 30 | - 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 branch `gen-curve-script` at 7560980) is not in the pin (piece S-5), and the kernel's primality check accepts label primes below 529 only (S-14). |
| 30 | 31 | - 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). |
| 32 | +- formal-conjectures marks `exists_rank_ge_thirtytwo` as open and says the record is "at least 31" (read 2026-11-27): it lags the leaderboard (piece V-2). | |
| 31 | 33 | - 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). |
| 32 | -- Until 2026-12-02 the project was a board of rank certificates with a Python `rank` check (pieces C-1: the 2,389 curves of rank 2 and 3 below conductor 10,000; C-2: the rank ≥ 32 records). On route `smile-codex-c1-20261201` that 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 under `routes/` on main; the board's Known page is in this file's history. | |
| 33 | -- 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. | |
| 34 | +- Until 2026-12-02 the project was a board of rank certificates with a Python `rank` check (pieces C-1: the 2,389 curves of rank 2 and 3 below conductor 10,000; C-2: the rank ≥ 32 records). On route `smile-codex-c1-20261201` that 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 and merged on 2026-12-02. What they added stays under `routes/` on main; the board's Known page is in this file's history. | |
| 35 | +- The empty `rank` verdict is not tied to `main`: on route `smile-codex-c1-20261201` the check reported nothing to check at 00a7aab and then certified 2389 of 2389 C-1 curves exactly at f6f8ae7 and again at 2c9b66e (commit 00a7aab, commit f6f8ae7, commit 2c9b66e). | |
| 36 | +- A `rank` success on `main` has passed with no CERTIFICATE.json eight times, so it certifies no lower bound; it did certify rank >= 32 at 15cf201 (commit 2956181, commit d6642de, commit bcfeb70, commit 245d739, commit f41d283, commit 1164dae, commit c6e84d0, commit 587faeb, commit 15cf201). | |
| 37 | +- 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). | |
| 38 | +- Below conductor 10,000 ecdata has 64,687 curves: 30,427 of rank 0, 31,871 of rank 1, 2,388 of rank 2 and one of rank 3 (5077a1). Between 5000 and 10,000 there are 19,347 isogeny classes of rank ≤ 1 (31,916 curves, 1,589 with analytic Sha > 1). Counted 2026-11-27. | |
| 34 | 39 | - 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. |
| 40 | +- A slope of ∏ N_p/p is a hint, not a rank: that the product grows like (log X)^r is stronger than BSD (Goldfeld 1982). | |
+5 −3 README.md View file
| @@ -41,7 +41,9 @@ exactly without conditions is 22 (Samuel Li, 2026-09). BSD itself is stated in L | ||
| 41 | 41 | formal-conjectures (2026-10-22) and Tau Ceti (2026-10-30, revised 2026-12-01). |
| 42 | 42 | |
| 43 | 43 | **What the Lean here shows.** Each of the 480 theorems says that a named curve has at least so many independent |
| 44 | -rational points, every step reduced in Lean's kernel with no `native_decide`, on the three standard axioms only. **What | |
| 44 | +rational points, every step reduced in Lean's kernel with no `native_decide`, on the three standard axioms only. Two | |
| 45 | +bridges connect that form to the other one in use, `n ≤ Module.finrank ℤ W.toAffine.Point`: each direction is proved | |
| 46 | +with `Module.Finite` (the Mordell–Weil theorem, which Mathlib does not have) as a hypothesis (pull 53). **What | |
| 45 | 47 | it does not show.** Anything about the curves' L-functions, about Sha or about BSD; nor the exact rank of any curve, |
| 46 | 48 | which is the tables' word (LMFDB, Rankbound), not this project's. |
| 47 | 49 | |
| @@ -54,7 +56,7 @@ re-pins it to a newer upstream. Mostly Lean: | ||
| 54 | 56 | - **More curves, higher bounds**: one leaderboard curve to start (S-1), the five rank ≥ 32 records (S-3), the curves |
| 55 | 57 | of rank 31 down to 24 in bands (S-6 to S-10), the record curve of each torsion group and family (S-11, S-12), and |
| 56 | 58 | higher bounds for 29 curves where the leaderboard now has more points (S-2). |
| 57 | -- **The library itself**: the bridge from `HasRankGE` to `Module.finrank` (S-13), label primes above 529 (S-14), the | |
| 59 | +- **The library itself**: the bridges from `HasRankGE` to `Module.finrank` (S-13, done with #53), label primes above 529 (S-14), the | |
| 58 | 60 | slowest curves faster (S-4), the certificate generator in the tree (S-5), docstrings and shorter proofs (P-1, P-2, |
| 59 | 61 | P-4), lemmas Mathlib has or should have (M-1 to M-5). |
| 60 | 62 | - **Frontier, hard**: an exact rank in Lean (V-3), the twentieth point of curve 442 (R-3), the proven range of the full |
| @@ -139,7 +141,7 @@ Comparator ships with the toolchain (Lean v4.35.0 and later); the `build` check | ||
| 139 | 141 | Until 2026-12-02 this project was a board of exact computations: rank certificates for elliptic curves, checked in |
| 140 | 142 | Python with no floating point (its `rank` check), with pieces C-1 (lower bounds equal to the rank for the 2,389 curves |
| 141 | 143 | of rank 2 and 3 below conductor 10,000) and C-2 (the rank ≥ 32 records). smile-codex's pull requests for both (#14 for C-1, #12 for C-2) passed |
| 142 | -that check and the site's reading approved them; whatever of them was merged stays on main under `routes/`. Their Lean | |
| 144 | +that check and the site's reading merged them on 2026-12-02; what they added stays on main under `routes/`. Their Lean | |
| 143 | 145 | successors are S-1 and S-3. The board's pages and its Known page of 2026-12-01 are in main's history. |
| 144 | 146 | |
| 145 | 147 | ECCompute is Bhavik Mehta's (GPL-3.0, [`LICENSE`](LICENSE)), and the curves and their points are the ICARM |
+4 −3 README.zh.md View file
| @@ -36,7 +36,8 @@ Elkies、Klagsbrun、Li;6534(2026-11-04),Butler、Combes、Levav-Porat | ||
| 36 | 36 | 修订)里写成 Lean 陈述,没有证明。 |
| 37 | 37 | |
| 38 | 38 | **这里的 Lean 说明了什么。** 480 条定理各自说:某条具体曲线至少有这么多个彼此独立的有理点,每一步都在 Lean 内核里归约, |
| 39 | -不用 `native_decide`,只依赖三条标准公理。**没有说明什么。** 这些曲线的 L 函数、Ш、BSD,都不涉及;任何一条曲线的确切秩也 | |
| 39 | +不用 `native_decide`,只依赖三条标准公理。这也接上了另一种写法:`HasRankGE W n` 与 `n ≤ Module.finrank ℤ W.toAffine.Point` | |
| 40 | +两个方向都有证明,以 `Module.Finite`(莫德尔–韦尔定理,Mathlib 没有)为前提(pull 53)。**没有说明什么。** 这些曲线的 L 函数、Ш、BSD,都不涉及;任何一条曲线的确切秩也 | |
| 40 | 41 | 不是本项目说的,而是那些表(LMFDB、Rankbound)说的。 |
| 41 | 42 | |
| 42 | 43 | ## 本项目做什么 |
| @@ -46,7 +47,7 @@ Elkies、Klagsbrun、Li;6534(2026-11-04),Butler、Combes、Levav-Porat | ||
| 46 | 47 | |
| 47 | 48 | - **更多曲线,更高的下界**:先认证一条排行榜曲线(S-1),五条秩 ≥ 32 的纪录(S-3),秩 31 到 24 的曲线分段认证(S-6 至 |
| 48 | 49 | S-10),每个挠群、每个曲线族的纪录曲线(S-11、S-12),排行榜已给出更多点的 29 条曲线提高下界(S-2)。 |
| 49 | -- **库本身**:从 `HasRankGE` 到 `Module.finrank` 的桥(S-13),标签素数超过 529(S-14),让最慢的曲线变快(S-4),把证书 | |
| 50 | +- **库本身**:从 `HasRankGE` 到 `Module.finrank` 的桥(S-13,#53 已完成),标签素数超过 529(S-14),让最慢的曲线变快(S-4),把证书 | |
| 50 | 51 | 生成器放进仓库(S-5),文档注释和更短的证明(P-1、P-2、P-4),Mathlib 已有或该有的引理(M-1 至 M-5)。 |
| 51 | 52 | - **前沿,难**:在 Lean 里证明一个确切的秩(V-3),曲线 442 的第二十个点(R-3),把解析秩 ≤ 1 时完整公式已证的范围推过导子 5000(R-1)。 |
| 52 | 53 | - **复跑与审读**:重编并打印公理(V-5),用自己的程序核对 480 份证书(V-7),对照排行榜和各种表(V-8、V-11、V-12),对照 |
| @@ -115,7 +116,7 @@ lake env lean PrintAxioms.lean # 480 条定理的公理 | ||
| 115 | 116 | |
| 116 | 117 | 2026-12-02 以前,本项目是一块精确计算的榜:椭圆曲线的秩证书,用不含浮点的 Python 核对(它的 `rank` 检验),子任务有 C-1 |
| 117 | 118 | (导子一万以下 2,389 条秩 2 和秩 3 曲线的下界等于秩)和 C-2(秩 ≥ 32 的纪录)。smile-codex 为两者提的 PR(C-1 是 #14,C-2 是 |
| 118 | -#12)通过了那项检验,站点的审读也批准了;其中合入的部分留在 main 的 `routes/` 下。它们在 Lean 里的后继是 S-1 和 S-3。榜的页面 | |
| 119 | +#12)通过了那项检验,站点的审读也于 2026-12-02 将其合入;它们加的内容留在 main 的 `routes/` 下。它们在 Lean 里的后继是 S-1 和 S-3。榜的页面 | |
| 119 | 120 | 和它 2026-12-01 的 Known 页留在 main 的历史里。 |
| 120 | 121 | |
| 121 | 122 | ECCompute 出自 Bhavik Mehta(GPL-3.0,[`LICENSE`](LICENSE)),曲线和它们的点出自 ICARM 排行榜及其提交者:谢谢他们。 |
+15 −0 routes/maintainer-statement/README.md added View file
| @@ -0,0 +1,15 @@ | ||
| 1 | +--- | |
| 2 | +issue: 52 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# maintainer-statement | |
| 6 | + | |
| 7 | +The problem's statement, and `KNOWN.md` as facts. | |
| 8 | + | |
| 9 | +- `KNOWN.md`: carry over, word for word, the lines of `KNOWN.before.md` that still hold for the Lean project — the merged results and their commit pointers (the empty `rank` verdict on `main`; the C-1 result at f6f8ae7 and 2c9b66e; the C-2 result at 15cf201; the ecdata counts of 2026-11-27; the formal-conjectures record of 2026-11-27; Goldfeld's slope caution) — and move the Sage `prove_BSD()` failure to "Tried, did not work". | |
| 10 | +- `KNOWN.before.md`: deleted in the same pull request. | |
| 11 | +- `README.md`, `README.zh.md`: in "Before 2026-12-02", say that pulls 14 (C-1) and 12 (C-2) were merged on 2026-12-02 rather than that "whatever was merged" stays. | |
| 12 | + | |
| 13 | +## Next | |
| 14 | + | |
| 15 | +Push the branch, open the pull request against `main`, and close issue 52 when it is merged or closed. Any later statement change goes on this branch while it is open, or starts it again from main's tip. | |