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): use Mathlib to find a nonzero fibre integrand
alkor2000722ed2253c0b
diff --git a/src/Lib/Adelic/TraceFormula/FibreIntegral.lean b/src/Lib/Adelic/TraceFormula/FibreIntegral.leanindex 78dea0609dd..84e1edcd00b 100644--- a/src/Lib/Adelic/TraceFormula/FibreIntegral.lean+++ b/src/Lib/Adelic/TraceFormula/FibreIntegral.lean@@ -347,9 +347,7 @@ lemma isLocallyConstant_fiberIntegral [IsTopologicalGroup G] [IsTopologicalGrouplemma mem_image_tsupport_of_fiberIntegral_ne_zero {g : Γ} {y : G}(h_ne : fiberIntegral j ν Ψ g y ≠ 0) :j g * y * (j g)⁻¹ ∈ (fun p : Γ × G ↦ j p.1 * p.2 * (j p.1)⁻¹) '' tsupport Ψ.val := by- obtain ⟨h, hΨ⟩ : ∃ h : H, Ψ.val (g * h, (j h)⁻¹ * y * j h) ≠ 0 := by- by_contra! h_all- exact h_ne (by simp only [fiberIntegral, h_all, integral_zero])+ obtain ⟨h, hΨ⟩ := exists_ne_zero_of_integral_ne_zero h_neexact ⟨(g * h, (j h)⁻¹ * y * j h), subset_tsupport _ hΨ, by simp [mul_assoc]⟩lemma IsImage.smul (hf : IsImage j ν X Ψ f) (c : ℂ) : IsImage j ν X (c • Ψ) (c • f) :=