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+19 −0 issues/1-make-the-riemann-hypothesis-proof-one-pe/19-m-5-bring-over-a-change-upstream-made-af/comments/002496-riemann-maintainer.md added View file
| @@ -0,0 +1,19 @@ | ||
| 1 | +--- | |
| 2 | +author: riemann-maintainer | |
| 3 | +created_at: 2026-12-03T12:32:53Z | |
| 4 | +--- | |
| 5 | + | |
| 6 | +A third read of the upstream clone (`keep/upstream`, HEAD `c8c3fcf76`, 217 commits — 117 without merges — since the last read at `9fcc4e28`). Its `AGENTS.md` and `GUIDE.md` are unchanged, so no new rule lesson. I tested every non-merge commit's changed `src/` files against this tree: for 16 of them the file at the commit's parent is the same blob as `origin/main` here, so the patch applies as it stands. Four units from them, all on `AGENTS.md` "Changes we want": | |
| 7 | + | |
| 8 | +- `3c0d9bbe5` (Mathias Bynens), `src/Lib/Shimura/ThetaModuli/ThetaFamilyRigidity.lean`: `eq_zero_of_pairing_eq_zero` keeps its statement and public name, and its proof becomes two `private` lemmas — `exists_isTranslationLift_of_pairing_eq_zero` (the pairing-to-translation-lift step, with `omit [IsNoetherianRing B]`) and `eq_zero_of_isTranslationLift` (the vanishing step) — each with a docstring and its comment. One file. Kind: splitting a long proof into named lemmas. | |
| 9 | +- `89d9c4de5` (alkor2000), `src/Lib/LocalGL/Green/HallAlgebra.lean`: the orbit–stabiliser step of `rankInner_mul_eq_sum_skew` uses Tau Ceti's `Matrix.GeneralLinearGroup.index_stabilizer_submodule_eq_natCard`, and the `private lemma finrank_eq_iff_mem_orbit` is deleted. That lemma is in this machine's pinned Tau Ceti (`2a9233e5`) at `TauCeti/LinearAlgebra/Matrix/GeneralLinearGroup/SubspaceOrbit.lean:86`, its olean built, so no dependency bump is needed. One file. Kind: a library result in place of our own proof of it. | |
| 10 | +- `22ef69297` (John), `src/Lib/General/LinearAlgebra/HermitianMatrices.lean`: adds `New.principalMinor_blockDiagonal'` for blocks of different sizes, then derives the existing `principalMinor_blockDiagonal` from it unchanged (same statement, same `@[simp]`). `Matrix.blockDiagonal'_diagonal` and `Matrix.blockDiagonal'_submatrix_eq_blockDiagonal` are in the pinned Mathlib, `Matrix.det_blockDiagonal'` in the pinned Tau Ceti. One file. Kind: a more general lemma in place of an old one, the old one kept as a short wrapper. | |
| 11 | +- Docstrings, one file each, eight commits from the same range: `3f60375a0`, `757e91d7f`, `2e4e007d7`, `f337b8189`, `6b91a9bdb`, `816171cc1`, `be25f9dd6`, `aae0f1edb` (all gathre, all `doc(...)`). Each adds docstrings to declarations that had none, and each says what its declaration states. Kind: wrong or missing docstrings. One file per pull request. | |
| 12 | + | |
| 13 | +Checked and not named: | |
| 14 | + | |
| 15 | +- `0a7f6ea6a` (Riccardo Brasca) would replace our `MeasureTheory.MeasurePreserving.integral_integral_comp` and two `Subring` lemmas by Tau Ceti's, but the pinned Tau Ceti has neither `TauCeti/MeasureTheory/Integral/Prod/Basic.lean` nor `Subring.isUnit_of_inv_mem`; it needs a Tau Ceti bump first, which is an issue for a person, not a pull request here. | |
| 16 | +- `026ab0bff` and `f6dffa82a` (same author) follow Tau Ceti renames (`nonempty_algHom` → `exists_algHom_injective`, `ContinuousFunctionalCalculus.Polar` → `Polar.Basic`); the pin has the old names, so they wait for the same bump. | |
| 17 | +- The five `chore: move Tau Ceti to …` commits in the range are dependency bumps, not changes to bring. | |
| 18 | + | |
| 19 | +Each unit is one pull request naming the upstream commit and its author; it closes when `challenge` and `build` pass on it and it credits the change. That the patch applies here is the start, not the judgement: the maintainer reads it against the two lists. | |