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): lift shift norm bound in lintegral_gramSection_le_of_hasDerivWords
Rohan Arun840cc5aa9739
diff --git a/src/New/Spanning/Bessel/SobolevBound.lean b/src/New/Spanning/Bessel/SobolevBound.leanindex 9890f100b6b..14c198677ba 100644--- a/src/New/Spanning/Bessel/SobolevBound.lean+++ b/src/New/Spanning/Bessel/SobolevBound.lean@@ -500,17 +500,20 @@ theorem New.RealPlace.lintegral_gramSection_le_of_hasDerivWords {𝔰 : Shape} {V w (gramSection (Z + e x) * shift ω)set μ := 𝔰.fixerMeasure cset B := 𝔰.fixerBall (P ^ 20)- have deriv_bound (ω : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) × (𝔰.middleGram (1 : ℂ)).besselU0) (hω : ω ∈ B)- (w : List L) (j : 𝔰.FrameCoord) (x : 𝔰.FrameCoord → ℝ) (t₀ : ℝ) (ht₀ : update x j t₀ ∈ cube) :+ have h_shift_norm : ∀ {ω : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) × (𝔰.middleGram (1 : ℂ)).besselU0},+ ω ∈ B → ‖(shift ω : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ ≤ P ^ 20 := by+ intro ω hω+ simp only [shift, _root_.mul_inv_rev, ← map_inv, norm_embedH_mul, U.norm_inv]+ exact Shape.mem_fixerBall.1 hω+ have deriv_bound (ω : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) × (𝔰.middleGram (1 : ℂ)).besselU0)+ (hω : ω ∈ B) (w : List L) (j : 𝔰.FrameCoord) (x : 𝔰.FrameCoord → ℝ)+ (t₀ : ℝ) (ht₀ : update x j t₀ ∈ cube) :∃ f' : EuclideanSpace ℂ I, HasDerivAt (fun t ↦ f w (update x j t) ω) f' t₀ ∧‖f'‖ ≤ ∑ l, Λ * P ^ 85 * ‖f (l :: w) (update x j t₀) ω‖ := byhave deriv_line (t : ℝ) : HasDerivAt (fun t ↦ Z + e (update x j t)) (e (Pi.single j 1)) t :=(e.hasFDerivAt.comp_hasDerivAt t (hasDerivAt_update x j t)).const_add Z- have norm_shift : ‖(shift ω : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ ≤ P ^ 20 := by- simp only [shift, _root_.mul_inv_rev, ← map_inv, norm_embedH_mul, U.norm_inv]- exact Shape.mem_fixerBall.1 hωexact hV.exists_hasDerivAt_gramSection_mul eight_le h_cell deriv_line (speed_le j)- (cube_subset ht₀) norm_shift w+ (cube_subset ht₀) (h_shift_norm hω) whave h_shift_meas : Measurable shift :=((continuous_subtypeVal.comp continuous_snd).mul(continuous_embedH.comp continuous_fst)).inv.measurable