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

S-5: claim issue 13, subfolder src/New/Reduction/Data
Browse filesNotes only; the change follows.
+46 −0 routes/s5-drop-hdvd-fieldsandplaces/README.md added View file
| @@ -0,0 +1,46 @@ | ||
| 1 | +--- | |
| 2 | +issue: 13 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s5-drop-hdvd-fieldsandplaces | |
| 6 | + | |
| 7 | +Unit: `src/New/Reduction/Data` (with its caller in `src/New/Reduction/PrimeSums.lean`). | |
| 8 | + | |
| 9 | +Two lemmas there carry `(h_dvd : P.q₀ ∣ P.q₁ s)`, a hypothesis about the parameters that is true for | |
| 10 | +every `P` and `s` by definition: `P.q₁ s` is the abbreviation `P.q₀ * towerDeg s`, and | |
| 11 | +`New.Parameters.q₀_dvd_q₁` is exactly `P.q₀.dvd_mul_right (towerDeg s)`. Neither proof uses the | |
| 12 | +hypothesis except to feed it to `New.Parameters.placeClass`, which takes a divisor of `q₁` as an | |
| 13 | +argument. So both are stated at one generality less than they hold: | |
| 14 | + | |
| 15 | +- `New.Parameters.card_placeClass_eq_one_eq_towerDeg` | |
| 16 | +- `New.Parameters.placeClass_placeOfInt_eq_neg_one_iff` (`@[simp]`) | |
| 17 | + | |
| 18 | +Change: drop the binder in both, write `P.q₀_dvd_q₁ s` where `placeClass` needs the divisor, keep | |
| 19 | +the docstrings in step, and pass no hypothesis at the caller `New.Data.card_aPlaces`. The proof of | |
| 20 | +the `@[simp]` lemma is untouched; the caller that uses it, `New.Data.mem_aPlaces_iff_of_mul_mem_bPlaces`, | |
| 21 | +needs no change either, since the two proofs of `P.q₀ ∣ P.q₁ D.towerExp` are the same proposition. | |
| 22 | + | |
| 23 | +## How to check | |
| 24 | + | |
| 25 | + python3 checks/challenge.py . # ok | |
| 26 | + git diff origin/main -- src/New/Reduction | |
| 27 | + | |
| 28 | +No Lean on this machine, so nothing was compiled here: `build` judges it. | |
| 29 | + | |
| 30 | +## What I looked for, and threw away | |
| 31 | + | |
| 32 | +A scan of every `theorem`/`lemma` in `src/Lib` and `src/New` for an explicit hypothesis whose name | |
| 33 | +occurs nowhere after its binder gave candidates, but most were not hypotheses at all (`∃` witnesses, | |
| 34 | +set-builder subtypes) or were used without being named: `grind`, `simpa` (= `simp` then | |
| 35 | +`assumption`), `simp [*]`, `lia`, `gcongr`, `fun_prop` and `simp`'s own discharger all read the local | |
| 36 | +context, so "the name does not appear" is not enough. `src/New/Congruences/Lifting/LongGap.lean:86` | |
| 37 | +(`h_le`, used by `by grind`) and `src/Lib/Analytic/EntireLFunction.lean:110` (`hE`, used by | |
| 38 | +`by fun_prop`) are two examples of that trap. What is left of a scan without a compiler is a | |
| 39 | +hypothesis that follows from the definitions, which is what this route does. | |
| 40 | + | |
| 41 | +## Next | |
| 42 | + | |
| 43 | +Run `build` on this branch, and if it is green, the maintainer's replay and merge. The same scan is | |
| 44 | +worth doing in `src/New/Reduction/Data`'s sibling folders — the other three candidates found there | |
| 45 | +(`Lifting/SafeMoves.lean`, `Lifting/LongGap.lean`, `Lifting/CupProductBound.lean`) need a compiler | |
| 46 | +to settle, since their bodies contain a context-reading tactic. | |