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

Merge main (7b71fdf) into maintainer-rules
Browse filesCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checks
ci/docs
Details
+1 −1 GUIDE.md View file
| @@ -18,7 +18,7 @@ The folders of `New` follow the order of the argument. The background results th | ||
| 18 | 18 | |
| 19 | 19 | | Topic | Folder | Subfolders and files, in order | |
| 20 | 20 | |---|---|---| |
| 21 | -| The theorem and its reduction | `New/Reduction` | From a one-sided bound to the zeros (`Zeros`); Lattices, colength and heights (`Lattices`); The data (`Data`); Three theorems and the main inequality (`PrimeSums`, `IntegralTargetForms`, `ShortAndEnough`, `MainInequality`, `OneSidedBound`) | | |
| 21 | +| The theorem and its reduction | `New/Reduction` | From a one-sided bound to the zeros (`Zeros`); Lattices, colength and heights (`Lattices`); The data (`Data`); Theorems A and B and the main inequality (`PrimeSums`, `IntegralTargetForms`, `ShortAndEnough`, `MainInequality`, `OneSidedBound`) | | |
| 22 | 22 | | Derivatives of theta functions | `New/Derivatives` | Derivatives that count primes (`Divisibility`); The field and its characters (`Field`); The formal group and the exponential factor (`FormalGroup`); The integral vacuum (`Vacuum`); The bound is attained (`Sharpness`) | |
| 23 | 23 | | Upper bound: a composite lift | `New/UpperBound` | Theta kernels between definite spaces (`Kernels`); Source forms, target forms and chains of lifts (`Objects`); The seesaw identity (`Seesaw`); Divisibility of the composite lift (`Divisibility`); Size of the composite lift; short source forms (`Size`); Elementary divisors of a Hecke operator (`ElementaryDivisors`) | |
| 24 | 24 | | Spanning: a second moment | `New/Spanning` | The second moment and the spanning theorem (`SecondMoment`); Equality of multiplicities (`Multiplicities`); Measures and Bessel functions (`Bessel`); Unfolding, and the proof of the moments (`Unfolding`); The remaining terms (`RemainingTerms`); The main term (`MainTerm`); Two frames at one place (`Frames`) | |
+2 −2 KNOWN.md View file
| @@ -17,8 +17,8 @@ What is established about this problem, one fact a line, each with where it come | ||
| 17 | 17 | |
| 18 | 18 | ## Mind |
| 19 | 19 | |
| 20 | -- A `build` verdict can lag `challenge` by twenty minutes: four `build` jobs queued at 02:56 came back green at 03:18–03:19 on `main` at a5df2a9 and f669170 and on `maintainer-statement` at 671019e, so a head with only a `challenge` verdict is queued, not failed (jobs 2195, 2197, 2200, 2202). | |
| 21 | -- A commit that changes no judged file takes the verdict of the commit it builds on, so a green banner can name a commit where nothing ran: c1e1136, fef91cc, 3f37e16, a4e7e7c, c96da1a, 5a80bb7, a5a4045, dacbfe9, eb87abb; main's tips 3514dfa, aac64e6, 94b6edd, 511e93b (commits c98220b, 520a333). | |
| 20 | +- A `build` verdict can lag `challenge` by half an hour: thirteen heads challenged at 03:23 were green by 03:53–04:03, after four jobs queued at 02:56 came back at 03:18–03:19, so a head with only a `challenge` verdict is queued, not failed (jobs 2195, 2197, 2200, 2202; commits 5882cfc, ecfa306). | |
| 21 | +- A commit that changes no judged file takes the verdict of the commit it builds on, so a green banner can name a commit where nothing ran: c1e1136, fef91cc, 3f37e16, a4e7e7c, c96da1a, 5a80bb7, a5a4045, dacbfe9, eb87abb; main's tips 3514dfa, aac64e6, 94b6edd, 511e93b, f0cf730 (commits c98220b, 520a333). | |
| 22 | 22 | - `build` success lists the five theorems' axioms but runs no Comparator: the Comparator and kernel replay is filed by the maintainer once per round, on an open pull request's head, so a green `build` on a branch is not a Comparator verdict (job 692, job 693). |
| 23 | 23 | - The starting point is leanprover-community/riemann-hypothesis at 630d1e43b442cab27717c3ebf94d218dea608374 (2026-12-01 16:11 UTC): 806 Lean files under `src/`, 484,789 lines with comments, on Lean v4.37.0-rc1 with Mathlib 31ce06ea and Tau Ceti 2a9233e5. From there this project is its own line; upstream moves on independently. |
| 24 | 24 | - 2026-12-02: the proof is machine-checked and unread. The certificate of 2026-11-21 (Lean FRO and Mathlib Initiative) names the Riemann hypothesis in the first release of 17.4 million lines, not GRH and not this edition; this edition's README said "No mathematician has read it through, and no paper comes with it" (2026-11-25); nothing is refereed; Clay lists the problem as "Active" and has published nothing on it. Sources in README.md. |
+45 −0 routes/p4-reduction-row/README.md added View file
| @@ -0,0 +1,45 @@ | ||
| 1 | +--- | |
| 2 | +issue: 5 | |
| 3 | +status: done | |
| 4 | +--- | |
| 5 | +# p4-reduction-row | |
| 6 | + | |
| 7 | +P-4 (#5), unit: the **Reduction** row of the GUIDE.md §1 table — `New/Reduction` and its | |
| 8 | +reading order: `Zeros`, `Lattices`, `Data`, then `PrimeSums`, `IntegralTargetForms`, | |
| 9 | +`ShortAndEnough`, `MainInequality`, `OneSidedBound`. I follow the row as a new reader | |
| 10 | +would: each file exists, the declarations it names exist and say what the guide says. | |
| 11 | +Where the guide is wrong or out of date, I fix GUIDE.md. Reading only; no Lean change. | |
| 12 | + | |
| 13 | +## Checked (2026-12-04) | |
| 14 | + | |
| 15 | +Each name the row gives, checked to exist and to say what the row says: | |
| 16 | + | |
| 17 | +- `New/Reduction/Zeros` — `Criterion.lean`, `PrimeError.lean`, `PrimeNumberTheorem.lean` | |
| 18 | + all exist; `Criterion.lean`'s head: "The one-sided criterion for a zero-free half-plane" | |
| 19 | + (`New.LFunction_ne_zero_of_primeRemainder_le`, Criterion.lean:88). Matches "From a | |
| 20 | + one-sided bound to the zeros". | |
| 21 | +- `New/Reduction/Lattices` — `Colength.lean`, `Heights.lean`, `TwistedLattice.lean` all | |
| 22 | + exist; `Colength.lean`'s head: "Colength of modules…". Matches "Lattices, colength and | |
| 23 | + heights". | |
| 24 | +- `New/Reduction/Data` — `FieldsAndPlaces.lean`, `AdmissibleData.lean`, | |
| 25 | + `LevelAndTwists.lean`, `Sizes.lean` all exist. Matches "The data". | |
| 26 | +- `PrimeSums.lean`, `IntegralTargetForms.lean`, `ShortAndEnough.lean`, | |
| 27 | + `MainInequality.lean`, `OneSidedBound.lean` — all exist. `ShortAndEnough.lean` defines | |
| 28 | + Theorem A (`span_short_integralRamified_eq_top` :209, | |
| 29 | + `indexLe_normalizedPoincare` :331) and Theorem B (`enough_forms` :405); | |
| 30 | + `MainInequality.lean` defines the main inequality (`star_inequality` :93). | |
| 31 | +- **One wrong statement, fixed:** the row said these five Reduction files hold "Three | |
| 32 | + theorems and the main inequality", but Theorem C (`integral_forms_long`) is defined in | |
| 33 | + `New/Determinant/Twist/LongForms` (LongForms.lean:277), not in `New/Reduction` — it is | |
| 34 | + only referenced from `MainInequality`. The prose above the table (GUIDE.md §1) already | |
| 35 | + places Theorem C correctly in `New/Determinant/Twist/LongForms`. Fixed the row to | |
| 36 | + "Theorems A and B and the main inequality" so the row and the prose agree. | |
| 37 | + | |
| 38 | +No Lean file, `Challenge.lean`, `src/Statements.lean`, `comparator.json`, `checks/`, | |
| 39 | +`lakefile.toml` or `lean-toolchain` touched. GUIDE.md only. | |
| 40 | + | |
| 41 | +## Next | |
| 42 | + | |
| 43 | +Done. The row is corrected and the pull request is open (Part of #5). Challenge and | |
| 44 | +build both pass (standing verdicts; the commit changes no file those checks judge). | |
| 45 | +The maintainer's documents check (job 2642) passed and escalated for its review. | |