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-1: Delete declarations that nothing uses #9
Open
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.
Units. A folder of
src/Liborsrc/Neweach.Do. Find declarations in your folder that nothing reachable from
MainandStatementsuses, 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.Closes when the pull request has passed
challengeandbuild, and lists what it deleted and how you found that nothing uses it.What it does not show. That what remains is all needed: a declaration used once may still be replaceable (M-1).