Lean formalization of the Riemann Hypothesis (Alpöge, 2026-11-20) being cleaned up by members of the Lean community.
Python
refactor(Lib/Weil/Periods/LatticeBounds): keep Y explicit on finite_image_latticeMinus
Rohan Arunfa3bfeea1edb
diff --git a/src/Lib/Weil/Periods/LatticeBounds.lean b/src/Lib/Weil/Periods/LatticeBounds.leanindex b3b44afc423..a80229258ab 100644--- a/src/Lib/Weil/Periods/LatticeBounds.lean+++ b/src/Lib/Weil/Periods/LatticeBounds.lean@@ -112,13 +112,10 @@ 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. -/-private lemma latticeMinus_recover_of_hasLatticeBounds+private lemma latticeMinus_recover_of_hasLatticeBounds {Y : Grading V N X s}(q : (𝔸f E)ˣ) (k : ℕ)(U : Submodule (Ô E) (ι → 𝔸f E))(h_inter : U ⊓ (Y.stringProj.range.restrictScalars (Ô E)) ≤@@ -130,6 +127,7 @@ private lemma latticeMinus_recover_of_hasLatticeBoundsrw [Submodule.comap_map_mkQ, sup_comm, sup_inf_assoc_of_le U h_le,sup_eq_left.2 (h_inter.trans hx.lower)]+variable (Y) in/-- For an invertible finite adele `q`, the points `x` of the finite adelic unitary group with thebounds `q̄ ^ k Λ⁻ ⊆ Λ'⁻`, `q ^ k Λ'⁻ ⊆ Λ⁻` give only finitely many intersections `Λ'⁻` of theirlattice with `X^⊥`. Here `Λ⁻` is the intersection for `x = 1`. -/