Lean formalization of the Riemann Hypothesis (Alpöge, 2026-11-20) being cleaned up by members of the Lean community.
Python
fix(Lib/Weil/Periods/LatticeBounds): restore variable Y and docstring order
Rohan Arun20a4eadf87b8
diff --git a/src/Lib/Weil/Periods/LatticeBounds.lean b/src/Lib/Weil/Periods/LatticeBounds.leanindex 936aa78bbea..d44f8f61cda 100644--- a/src/Lib/Weil/Periods/LatticeBounds.lean+++ b/src/Lib/Weil/Periods/LatticeBounds.lean@@ -111,11 +111,12 @@ lemma mem_lattice_iff_idem_smul (T : Set (FinPlace E)) :end Spacenamespace Grading+variable {Y : Grading V N X s}+variable (Y) in/-- For `x` satisfying `Y.HasLatticeBounds q.val k x` with `q` invertible, intersectingthe preimage of `(Y.latticeMinus x).map U.mkQ` under `U.mkQ` with `Y.stringProj.range`recovers `Y.latticeMinus x` by the modular law. -/-variable (Y) inprivate lemma latticeMinus_recover_of_hasLatticeBounds(q : (𝔸f E)ˣ) (k : ℕ)(U : Submodule (Ô E) (ι → 𝔸f E))