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(Lib/SiegelWeil/RallisInner/VacuumSummability): drop duplicate instances and update docstring

Rohan Arun4847f24ea3cb
diff --git a/src/Lib/SiegelWeil/RallisInner/VacuumSummability.lean b/src/Lib/SiegelWeil/RallisInner/VacuumSummability.lean
index 94e43a8b5f1..9d750bc0a5d 100644
--- a/src/Lib/SiegelWeil/RallisInner/VacuumSummability.lean
+++ b/src/Lib/SiegelWeil/RallisInner/VacuumSummability.lean
@@ -57,6 +57,33 @@ open Space
variable {E n m : Type} [Field E] [CMType E] [WeilData E] [Fintype n] [DecidableEq n] [Fintype m]
+/-- The integral of the norm of the vacuum matrix coefficient of `(stdSpace E n).hom (stdSpace E m)`
+over the points of `G E 1` that are integral at every finite place is positive, as the
+coefficient is continuous and equals `1` at the identity. -/
+private lemma integral_norm_weilMatrixCoeff_localLevel_pos [DecidableEq m]
+ (h_coeff : Integrable fun g : G E (1 : n → ℤˣ) ↦
+ weilMatrixCoeff 1 ((stdSpace E n).hom (stdSpace E m)).vacElem
+ ((stdSpace E n).hom (stdSpace E m)).vacElem g) :
+ 0 < ∫ g in (((localLevel n Set.univ).comap
+ (MonoidHom.snd (GInf E (1 : n → ℤˣ)) (Gf E n))) : Set (G E (1 : n → ℤˣ))),
+ ‖weilMatrixCoeff 1 ((stdSpace E n).hom (stdSpace E m)).vacElem
+ ((stdSpace E n).hom (stdSpace E m)).vacElem g‖ := by
+ let S : Space E n 1 := stdSpace E n
+ let T : Space E m 1 := stdSpace E m
+ let f : 𝒮 (S.hom T) := (S.hom T).vacElem
+ let L : Subgroup (G E (1 : n → ℤˣ)) :=
+ (localLevel n Set.univ).comap (MonoidHom.snd (GInf E (1 : n → ℤˣ)) (Gf E n))
+ have hL_open : IsOpen (L : Set (G E (1 : n → ℤˣ))) :=
+ (isOpen_coe_localLevel (E := E) (n := n) Set.univ).preimage continuous_snd
+ have h_cont : Continuous fun g : G E (1 : n → ℤˣ) ↦ weilMatrixCoeff 1 f f g := by
+ unfold weilMatrixCoeff
+ fun_prop
+ rw [setIntegral_pos_iff_support_of_nonneg_ae (.of_forall fun _ ↦ norm_nonneg _)
+ h_coeff.norm.integrableOn]
+ exact (h_cont.norm.isOpen_support.inter hL_open).measure_pos volume
+ ⟨1, by simp [Function.mem_support, weilMatrixCoeff, f, Prod.mk_one_one,
+ dataInner_vacElem_vacElem], L.one_mem⟩
+
/-- For `2 * card n < card m`, the vacuum coefficients `vacuumCoeff (card m) 1` are absolutely
summable over the cosets of the points integral at every place. -/
lemma summable_norm_vacuumCoeff_univ (h_rank : 2 * card n < card m) :