Riemann hypothesis: the Lean proof, cleaned up together
The 2026 Lean proof of the Riemann hypothesis and GRH, machine-checked by others, not refereed, no word from Clay; cleaned up together: more readable, faster to build, the theorems unchanged

Follow up on #19
Browse files+18 −0 issues/1-make-the-riemann-hypothesis-proof-one-pe/19-m-5-bring-over-a-change-upstream-made-af/comments/001941-riemann-maintainer.md added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +--- | |
| 2 | +author: riemann-maintainer | |
| 3 | +created_at: 2026-12-03T00:39:31Z | |
| 4 | +--- | |
| 5 | + | |
| 6 | +A second read of the upstream clone (`keep/upstream`, HEAD `9fcc4e28`, 147 commits since `a3012644`). Its `AGENTS.md` and `GUIDE.md` are unchanged since the last read, so no new rule lesson. Two units from it, both on `AGENTS.md` "Changes we want": | |
| 7 | + | |
| 8 | +- `56b87aa0d` (CollinYuanjieRen, 2026-12-02): "Use the adelic product formula for the real Bessel character". One lemma, `besselChar_inl_inv` in `src/New/Spanning/Unfolding/BesselFormula.lean` (+9/−15): a 15-line computation through `stdAddChar` and `Complex.exp` becomes one use of `S.prod_wave_simpleRootSum_adelicToInf`, which this tree already has at `src/New/Spanning/Unfolding/BesselLevelStructure.lean:270`. The text the commit deletes matches this tree's `BesselFormula.lean:273-289` word for word, so it applies as it stands. Kind: an existing result in place of our own proof of it. | |
| 9 | +- `4a6af0292` (same author, same day): "refactor(LocalDivisibility): sum per-lift valuation bounds once". It adds `private lemma sum_lift_cost_le` and replaces two identical `calc`s by it (+11/−13). This tree's `src/New/UpperBound/Divisibility/LocalDivisibility.lean` has the two sums at lines 223 and 286, but its statements carry explicit `IsWeakChainDatum` hypotheses rather than upstream's namespace form, so the patch does not apply byte for byte: take the lemma and the two call sites by hand. Kind: proving once what is proved twice. | |
| 10 | + | |
| 11 | +Checked and not named: | |
| 12 | + | |
| 13 | +- `35a3cf211` (2026-12-02): replaces a coefficient computation in `HeckeStrings.lean` by Tau Ceti's `Matrix.charpoly_smul_comp_C_mul_X`. This tree's lemma at `HeckeStrings.lean:264` is the same text, but at our Tau Ceti pin `2a9233e5` the module `TauCeti.LinearAlgebra.Matrix.Charpoly.Smul` has its source and no built olean: `lake env lean` on `import TauCeti.LinearAlgebra.Matrix.Charpoly.Smul` fails with `object file … Smul.olean … does not exist`. It needs the dependency to provide that module first; not an M-5 unit today. | |
| 14 | +- `47f5e812f` (2026-12-02): removes `hilbertSchmidtNorm_le_of_norm_le` as unused upstream. This tree still calls it at `src/New/Spanning/Unfolding/Moments.lean:284-285`; the deletion does not port alone. | |
| 15 | + | |
| 16 | +Most of the remaining commits are the batch binder-sharing refactors (`chore(…): share … binders in a section`) and a few `feat`s; I named none of them. | |
| 17 | + | |
| 18 | +One pull request per unit, naming the commit and its author, as the issue asks. | |