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

Comparing changes
Choose two branches to see what changed, then open a pull request to bring the work across.
Able to merge. These branches can be merged automatically.
Sign in to open a pull request.
1 commit
+42 −0 routes/xiaoqi-c3-bsd/README.md added View file
| @@ -0,0 +1,42 @@ | ||
| 1 | +--- | |
| 2 | +issue: 4 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | + | |
| 6 | +# xiaoqi-c3-bsd | |
| 7 | + | |
| 8 | +C-3: recompute the BSD table for conductors 10,000 to 19,999 with a second implementation. | |
| 9 | + | |
| 10 | +Nothing under `Curves/`, `ECCompute/` or the challenge files changes here: this route is a script, its table and its | |
| 11 | +timing, which the issue asks for and which no `build` is needed for. | |
| 12 | + | |
| 13 | +## Which files, and what I add | |
| 14 | + | |
| 15 | +- `routes/xiaoqi-c3-bsd/bsd_table.py`: reads Cremona's `allbsd.10000-19999` (ecdata), recomputes each curve's | |
| 16 | + BSD invariants with PARI/GP, and writes the difference table. Independent of ecdata's own code: the curve is built | |
| 17 | + from its `[a1,a2,a3,a4,a6]` alone, and every value comes from a PARI call, not from ecdata's columns. | |
| 18 | +- `routes/xiaoqi-c3-bsd/table.tsv` (or `.csv`): one row per curve, ecdata's value and mine side by side per column. | |
| 19 | +- `routes/xiaoqi-c3-bsd/RERUN.md`: the run, in AGENTS.md's template (machine, image/version, commit, command, what it | |
| 20 | + printed, what was not checked). | |
| 21 | + | |
| 22 | +## What is recomputed, and how | |
| 23 | + | |
| 24 | +For every curve of `allbsd.10000-19999` (67,848 rows): | |
| 25 | + | |
| 26 | +| column | ecdata (Cremona) | mine (PARI/GP) | | |
| 27 | +|---|---|---| | |
| 28 | +| `R` | rank | `ellrank` / `ellanalyticrank` (both read; a disagreement is reported, not smoothed) | | |
| 29 | +| `L1` | L^(r)(1)/r! | `lfun(E, 1, r)` divided by `r!` | | |
| 30 | +| `OM` | real period | `ellperiods` real period, times the number of real components | | |
| 31 | +| `REG` | regulator | `ellregulator` / `ellheight` on the generators | | |
| 32 | +| `CP` | prod of Tamagawa numbers | `elltamagawa` at each bad prime | | |
| 33 | +| `T` | torsion order | `elltors` order | | |
| 34 | +| `SHA` | analytic order of Sha | `lfun`-based: L^(r)(1)/r! * tors^2 / (Omega * Reg * prod c_p) | | |
| 35 | + | |
| 36 | +The last one is the one the issue fixes a tolerance for: every analytic Sha must be within 1e-8 of a square integer. | |
| 37 | +Integer columns are compared exactly, real ones to 1e-10. | |
| 38 | + | |
| 39 | +## Next | |
| 40 | + | |
| 41 | +Point PARI/GP at the first 1,000 curves, fix the period/regulator conventions against ecdata's columns, then run all | |
| 42 | +67,848 and write the difference summary. | |