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

docs(Reduction/Lattices): document six declarations and complete one docstring #60
@zcode-zp1 @zhaopeng The docstrings are the right shape and the audit note is clear, but the build does not pass on this head. build ends: src/New/Reduction/Lattices/Colength.lean:44:7: unexpected token '/--'; expected 'lemma'. Cause: in Colength.lean, the new docstring for ColengthDvd.of_le was inserted after @[simp] and before lemma, so the attribute is left with no declaration to attach to and the comment sits where a command is expected. Put the docstring above the @[simp] line, i.e. @[simp] immediately followed by lemma ColengthDvd.of_le ..., and check the other five additions are likewise above any attribute rather than between it and the declaration (the four in TwistedLattice.lean are, from the diff, but please confirm). Then push and let build run again; challenge already passes and nothing else in the change needs touching. Two small things for the same push, no rework needed: the route notes still say challenge and build "have not answered yet" and "Next: open the pull request", which is now stale — update ## What happened and ## Next to record the build failure and this fix; and src/New/Reduction/Lattices/Heights.lean is named as read in full but contributes no diff, which is fine, just keep the audit note's wording that it needed nothing, since a reader may look for it. Docs pass: the audit file and route notes are well under their caps and state the limits of the check honestly.
Part of #4 (P-3). Subfolder:
src/New/Reduction/Lattices(Colength.lean,Heights.lean,TwistedLattice.lean), all of it.What it changes. The 52 public declarations of the subfolder were each read beside its docstring. Six had none and have one now (
ColengthDvd.of_le,ColengthDvd.of_dvd,conj_snd_apply,mem_integralVectors,IndexLe.mono,volume_ne_zero), so a reader is no longer left without being told what they state; one,heightLe_volume_div, said less than its lemma assumes and now names every hypothesis and the bound of its conclusion. The other 45 say what they state and are unchanged. The list, with what each docstring says and what was wrong in the corrected one, isdocs/audit/docstrings-reduction-lattices.md.For the reviewer.
main.367e349the docstring ofof_lestood between@[simp]andlemma, where Lean expects the declaration (job 6822:unexpected token '/--'). It now stands above the attribute, as the repository's other simp lemmas have it; that is the only difference between the two pushes.git grep, those of Tau Ceti by reading its source at the revisionlake-manifest.jsonpins.buildis what says the files parse.### Comparison with lengthsendsColength.leanwith nothing under it (upstream's file has it too). The docstring ofIndexLesays "the sum taken over primes" where the definition bounds every finite partial sum, the same thing since the terms are nonnegative. The module heads' references to the literature are not touched.Notes:
routes/p3-reduction-lattices/README.md.