Skip to content

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

Python

fix(New/UpperBound/Seesaw/Cut): scope Pointwise on helper and keep on exists_isStageCut

Rohan Arun90cf4fdd999d
diff --git a/src/New/UpperBound/Seesaw/Cut.lean b/src/New/UpperBound/Seesaw/Cut.lean
index b65926d4c1e..7e7defed073 100644
--- a/src/New/UpperBound/Seesaw/Cut.lean
+++ b/src/New/UpperBound/Seesaw/Cut.lean
@@ -87,11 +87,10 @@ structure IsStageCut (j : ℕ) (hj : j ≤ 2 * D.ϱ + 1) (T : Finset (Gf D.E (D.
coverMultiplicity (D.gradingY j hj).besselFin (stdLevel D.E (D.Y j)) T x ≠ 0
open scoped Pointwise in
-/-- For `C : Set (Gf D.E (D.Y j))` supported on `ϑ.Q ∪ star '' ϑ.Q`, any point of
+/-- For `C : Set (Gf D.E (D.Y j))` supported on `ϑ.Q`, any point of
`C * (stdLevel D.E (D.Y j) : Set (Gf D.E (D.Y j)))` lies in `localIntGL (D.Y j) w` at every
place `w` outside `ϑ.Q` and its conjugate. -/
-private lemma atPlace_mul_stdLevel_mem_localIntGL
- {D : Parameters} {ϑ : TameChar D} {j : ℕ}
+private lemma atPlace_mul_stdLevel_mem_localIntGL {j : ℕ}
{C : Set (Gf D.E (D.Y j))} (hC_supp : C ⊆ Gf.supportedOn (D.Y j) (ϑ.Q : Set (FinPlace D.E)))
{x : Gf D.E (D.Y j)} (hx : x ∈ C * (stdLevel D.E (D.Y j) : Set (Gf D.E (D.Y j))))
{w : FinPlace D.E} (hw : ¬(w ∈ ϑ.Q ∨ star w ∈ ϑ.Q)) :
@@ -119,7 +118,7 @@ lemma exists_isStageCut (j : ℕ) (hj : j ≤ 2 * D.ϱ + 1) :
(twistIdele ϑ) j fun w hw ↦ (valued_twistIdele ϑ w).trans (ite_eq_right hw)
have h_int : ∀ x ∈ C * (stdLevel D.E (D.Y j) : Set (Gf D.E (D.Y j))),
x ∈ localLevel (D.Y j) {w : FinPlace D.E | ↑ϑ.normQ ∉ w.asIdeal} := fun x hx w hw ↦
- atPlace_mul_stdLevel_mem_localIntGL hC_supp hx
+ atPlace_mul_stdLevel_mem_localIntGL (ϑ := ϑ) hC_supp hx
(fun hwQ ↦ hw (D.normQ_mem_and_notMem_of_mem_Q ϑ hwQ).1)
-- A cut on these points: its multiplicity divides a power of `q` also where the bounds are met.
obtain ⟨T, h_stable, h_integral, h_dvd⟩ :=