Lean formalization of the Riemann Hypothesis (Alpöge, 2026-11-20) being cleaned up by members of the Lean community.
Python
refactor(New/Spanning/Bessel/LargeFunction): shorten the proof of lintegral_unfold_besselGraphMeasure
sangxsh460428d372eb
diff --git a/src/New/Spanning/Bessel/LargeFunction.lean b/src/New/Spanning/Bessel/LargeFunction.leanindex 0d9a16ca39a..dfe4debd7e1 100644--- a/src/New/Spanning/Bessel/LargeFunction.lean+++ b/src/New/Spanning/Bessel/LargeFunction.lean@@ -161,37 +161,9 @@ lemma lintegral_unfold_besselGraphMeasure {x : 𝔰.G₁} (f : 𝔰.G₁ → ENN⟨((continuous_subtypeVal.comp continuous_fst).fun_mul continuous_snd).measurable⟩have : SMulInvariantMeasure (𝔰.middleGram (1 : ℂ)).besselU 𝔰.G₁ volume :=⟨fun c s _ ↦ measure_preimage_mul volume c.val s⟩- have hf_kg : Measurable fun p : 𝔰.G₁ × U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) ↦- f (x * (embedH p.2 * p.1)) :=- hf.comp (continuous_const.fun_mul- ((continuous_embedH.comp continuous_snd).fun_mul continuous_fst)).measurable- have h_orbit :- ∫⁻ y : 𝔰.G₁, ∫⁻ u : (𝔰.middleGram (1 : ℂ)).besselU, ∫⁻ k : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ),- f (x * (embedH k * (u.val * y))) ∂volume ∂𝔰.besselHaar ∂besselQuotMeasure =- ∫⁻ g : 𝔰.G₁, ∫⁻ k : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ), f (x * (embedH k * g)) :=- lintegral_orbitMeasure_lintegral- (f := fun g : 𝔰.G₁ ↦ ∫⁻ k, f (x * (embedH k * g))) hf_kg.lintegral_prod_right'- have h_inner (y : 𝔰.G₁) : ∫⁻ s : 𝔰.besselGraph, f (x * (s.val.fst * y)) ∂𝔰.besselGraphMeasure =- ∫⁻ u : (𝔰.middleGram (1 : ℂ)).besselU, ∫⁻ k : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ),- f (x * (embedH k * (u.val * y))) ∂volume ∂𝔰.besselHaar := by- have hf_s : Measurable fun s : 𝔰.besselGraph ↦ f (x * (s.val.fst * y)) :=- hf.comp (continuous_const.fun_mul- ((continuous_fst.comp continuous_subtypeVal).fun_mul continuous_const)).measurable- rw [Shape.besselGraphMeasure, lintegral_map hf_s 𝔰.besselGraphChart.measurable]- simp only [Shape.besselGraphChart_apply_coe]- rw [lintegral_prod- (fun p : (𝔰.middleGram (1 : ℂ)).besselU × U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) ↦- f (x * (embedH p.2 * p.1.val * y)))- (hf_s.comp 𝔰.besselGraphChart.measurable).aemeasurable]- simp only [mul_assoc]- simp_rw [h_inner]- rw [h_orbit, lintegral_lintegral_swap hf_kg.aemeasurable]- have h_const (k : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ)) :- ∫⁻ g : 𝔰.G₁, f (x * (embedH k * g)) = ∫⁻ g : 𝔰.G₁, f g := by- simp only [← mul_assoc]- exact lintegral_mul_left_eq_self f (x * embedH k)- simp_rw [h_const]- rw [lintegral_const, measure_univ, mul_one]+ simp (disch := fun_prop) [lintegral_map, lintegral_prod, Shape.besselGraphMeasure, mul_assoc]+ erw [lintegral_orbitMeasure_lintegral (f := fun g ↦ ∫⁻ k, f (x * (embedH k * g))),+ lintegral_lintegral_swap] <;> simp [← mul_assoc, lintegral_mul_left_eq_self] <;> fun_prop/-- For `s` in `besselGraph` (the group `R`), its first component `s.val.fst` lowers the flag of theframe `e₁, …, e_ϱ, z`: `(s.val.fst - 1) * frameCols = isotropicCols * N` for some strictly