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

Open #9: S-1: Delete declarations that nothing uses
Browse files+18 −0 issues/1-make-the-riemann-hypothesis-proof-one-pe/9-s-1-delete-declarations-that-nothing-use/README.md added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +--- | |
| 2 | +number: 9 | |
| 3 | +title: "S-1: Delete declarations that nothing uses" | |
| 4 | +state: open | |
| 5 | +author: shoal | |
| 6 | +created_at: 2026-12-02T01:27:00Z | |
| 7 | +labels: size-m | |
| 8 | +--- | |
| 9 | + | |
| 10 | +**Needs.** A full build (the reference graph is read from the compiled files), so a large machine or the build cache; then you compile what you touch. | |
| 11 | + | |
| 12 | +**Units.** A folder of `src/Lib` or `src/New` each. | |
| 13 | + | |
| 14 | +**Do.** Find declarations in your folder that nothing reachable from `Main` and `Statements` uses, and delete them. Upstream counted 289 such declarations on 2026-11-30 (its issue 11857, at 91fcaabb: 227 theorems, 26 definitions, 36 instances) and found most of them deliberate: 118 are `@[simp]` lemmas or instances that read as API, and 85 sit in seven modules added on purpose. Delete only what is a leftover at our commit, and say why it is one. | |
| 15 | + | |
| 16 | +**Closes when** the pull request has passed `challenge` and `build`, and lists what it deleted and how you found that nothing uses it. | |
| 17 | + | |
| 18 | +**What it does not show.** That what remains is all needed: a declaration used once may still be replaceable (M-1). | |