Lean formalization of the Riemann Hypothesis (Alpöge, 2026-11-20) being cleaned up by members of the Lean community.
Python
refactor(Lib/Adelic/TraceFormula): drop a seal by elaborating `Integrable.fintype_prod` first
roy746c8edb49ae9
diff --git a/src/Lib/Adelic/TraceFormula/KernelBound.lean b/src/Lib/Adelic/TraceFormula/KernelBound.leanindex 772b7c1fa0c..1aceaca34e3 100644--- a/src/Lib/Adelic/TraceFormula/KernelBound.lean+++ b/src/Lib/Adelic/TraceFormula/KernelBound.lean@@ -280,8 +280,6 @@ lemma majorant_le_mul_majorant_mul {φ : Gf E n → ℂ} {J : Subgroup (Gf E n)}_ = (2 ^ Core.numInfPlaces E) ^ A * majorant φ A (y * z) := byrw [majorant, Prod.snd_mul, h_invariant _ hz_fin, mul_left_comm]--- Sealed so that definitional checks do not unfold the products over the infinite places.-seal Finset.univ in/-- The majorant `|φ(y_fin)| ‖y_∞‖ ^ (-A)` of a test function `φ` is integrable for the volume onthe adelic group as soon as its exponent `A` exceeds `8 n²`. -/lemma integrable_majorant (φ : TestFunction (Gf E n)) {A : ℕ} (hA : 8 * card n ^ 2 < A) :@@ -290,7 +288,7 @@ lemma integrable_majorant (φ : TestFunction (Gf E n)) {A : ℕ} (hA : 8 * card((integrable_two_div_norm_pow (ε := s) hA).const_mul (2 ^ A)⁻¹).congr(.of_forall fun z ↦ by simp [div_eq_mul_inv, mul_pow])have h_inf : Integrable fun z : GInf E s ↦ ∏ w : InfinitePlace E, (‖(z w).val.val‖ ^ A)⁻¹ :=- .fintype_prod fun _ ↦ h_place+ (Integrable.fintype_prod fun _ : InfinitePlace E ↦ h_place :)obtain ⟨h_const, h_compact, -⟩ := φ.propertyhave h_fin : Integrable φ.val := h_const.continuous.integrable_of_hasCompactSupport h_compacthave h_eq (y : G E s) :