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

p2-bottomoftower: record the verdicts, status done
Browse filesChecks
ci/docs
Details
+27 −10 routes/p2-bottomoftower/README.md View file
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | --- |
| 2 | 2 | issue: 3 |
| 3 | -status: working | |
| 3 | +status: done | |
| 4 | 4 | --- |
| 5 | 5 | # p2-bottomoftower |
| 6 | 6 | |
| @@ -28,9 +28,11 @@ Three private declarations, each with a docstring, placed just before the lemma | ||
| 28 | 28 | chosen place as `s (.inl i)`, and its transpose does at each twist place as `(s (.inr i))ᵀ`, then |
| 29 | 29 | `(O.chosenFirstBlock s)⁻¹ * τ` lies in `descentResidueLevel O.toLevelPlaces O.incl`. |
| 30 | 30 | |
| 31 | -In the proof, the twelve-line `have h_level` block and the two-line `have h_twist` become calls of | |
| 32 | -the two lemmas. The comment that explained the chosen-place case ("At a chosen place both `τ` and | |
| 33 | -`σ` send `(1, 0)ᵀ` to its product with `s`") moved into the lemma with its step. | |
| 31 | +In the proof, the twelve-line `have h_level` block becomes one call, of | |
| 32 | +`inv_chosenFirstBlock_mul_mem_descentResidueLevel`. The two-line `have h_twist` is gone, and | |
| 33 | +`inv_chosenFirstBlock_mul_inr` is called where `h_twist` used to be: inside that lemma, and in | |
| 34 | +`h_char`. The comment that explained the chosen-place case ("At a chosen place both `τ` and `σ` | |
| 35 | +send `(1, 0)ᵀ` to its product with `s`") moved into the lemma with its step. | |
| 34 | 36 | |
| 35 | 37 | The lemma's statement, and every other statement in the file, is untouched. Its proof goes from 41 |
| 36 | 38 | lines to 28. The file goes from 1,511 to 1,539 lines and from 91 to 94 declarations. |
| @@ -53,20 +55,35 @@ files differ in 178 lines outside this lemma). And not done here: a further spli | ||
| 53 | 55 | `have`s (`h_char`, `h_cancel`), which would make this proof differ from upstream's while upstream |
| 54 | 56 | is still working on it. |
| 55 | 57 | |
| 56 | -## What is left open | |
| 58 | +## What happened | |
| 57 | 59 | |
| 58 | -- The file's longest proof is now `exists_leftMul_eq_and_blockAction_eq` (39 lines), which this | |
| 59 | - route does not touch. It calls the lemma split here, with three side goals of its own. | |
| 60 | -- Whether the file reads more easily is the maintainer's call (#3's second condition). That the | |
| 61 | - change compiles is `build`'s word, not this route's. | |
| 60 | +On `ad941b8`, the commit with the change, both checks passed: | |
| 61 | + | |
| 62 | +- `challenge`, job 6814: `ok: 3 challenge files and the build configuration as approved`. | |
| 63 | +- `build`, job 6815 (464 s): `ok: lake build passes with no sorry; 5 theorem(s) report propext, | |
| 64 | + Classical.choice, Quot.sound only`. Lake rebuilt this file and the 12 modules that import it, | |
| 65 | + directly or not (by the import graph); the log keeps the last 25 lines of that step. | |
| 66 | + | |
| 67 | +The commit after `ad941b8` changes these notes only, so both verdicts carry over to it unchanged. | |
| 62 | 68 | |
| 63 | 69 | ## How to reproduce |
| 64 | 70 | |
| 65 | 71 | - `git diff origin/main -- src/New/OneLift/FalseLifts/BottomOfTower.lean`: 45 lines added, 17 |
| 66 | 72 | removed. |
| 67 | 73 | - The lengths: for each declaration, count the lines after its top-level `:=`. |
| 74 | +- `shoal get jobs/6815/log`: the build of the change. | |
| 68 | 75 | - Upstream's two commits, by their hashes above. |
| 69 | 76 | |
| 77 | +## What is left open | |
| 78 | + | |
| 79 | +- The file's longest proof is now `exists_leftMul_eq_and_blockAction_eq` (39 lines), which this | |
| 80 | + route does not touch. It calls the lemma split here, with three side goals of its own. | |
| 81 | +- Whether the file reads more easily is the maintainer's call (#3's second condition). That the | |
| 82 | + change compiles is `build`'s word, not this route's. | |
| 83 | + | |
| 70 | 84 | ## Next |
| 71 | 85 | |
| 72 | -Read `challenge` and `build` on the head, then open the pull request (Closes #3). | |
| 86 | +The pull request is open (Closes #3) and waits for the maintainer: its agreement that the file | |
| 87 | +reads more easily, then the replay report on the head, which the merge waits for. Nothing is left | |
| 88 | +to push here. A second pull request could split `exists_leftMul_eq_and_blockAction_eq`, best with | |
| 89 | +Lean at hand. | |