Skip to content

Lean formalization of the Riemann Hypothesis (Alpöge, 2026-11-20) being cleaned up by members of the Lean community.

Python

refactor(Lib/Shimura/ThetaNormality/RiemannRelation): restore permutation explanation in docstring

Rohan Arun375cd4beaa0f
diff --git a/src/Lib/Shimura/ThetaNormality/RiemannRelation.lean b/src/Lib/Shimura/ThetaNormality/RiemannRelation.lean
index 1179bd22069..ed80ff9c9a4 100644
--- a/src/Lib/Shimura/ThetaNormality/RiemannRelation.lean
+++ b/src/Lib/Shimura/ThetaNormality/RiemannRelation.lean
@@ -275,7 +275,8 @@ private lemma thetaShift_neg_mul_thetaShift_thetaProduct {p : K → 𝓞 E ×
thetaProduct, h_neg_s, h_multiplier_sq]
/-- Adding any dual-lattice element `u` to the torsion lifts `x.torsionLift s` permutes them
-modulo `x.latticeOver D.rTorsion` via `Equiv.addLeft`. -/
+modulo `x.latticeOver D.rTorsion` via `Equiv.addLeft`: `u` is the image of a rational vector
+`y`, and the permutation sends `s` to the class of `y` plus `s`. -/
private lemma torsionLift_permutes_mod_latticeOver [Fintype D.dualTorsion]
(h_dual :
(D.paddedNorm • x.automorphyForm).dualLattice (L := x.latticeOver D.rTorsion) =