module import TauCeti.Analysis.Matrix.L2OpNorm public import Mathlib.Analysis.LocallyConvex.AbsConvexOpen import Mathlib.Algebra.Order.Star.Real import Mathlib.Algebra.Ring.IsFormallyReal import Mathlib.Analysis.Calculus.Deriv.Pi import Mathlib.CategoryTheory.Countable import Mathlib.MeasureTheory.Measure.Lebesgue.VolumeOfBalls import TauCeti.Topology.Algebra.Group.Units import TauCeti.Topology.Instances.Matrix public import New.Spanning.Bessel.GramSection import Lib.DiscreteSeries.Bessel.SchurBound import Lib.DiscreteSeries.Bessel.UnipotentHaarMeasure import Lib.DiscreteSeries.Bruhat.ComplexPlace import Lib.DiscreteSeries.Haar.TotalMass import Lib.General.Analysis.GaussianIntegral import Lib.General.Analysis.PackingAndSobolev import New.Spanning.Bessel.MeanValue /-! # Unfolding bounds over G₁ and the L² bound at the section γ_Z via Sobolev `New.Shape.G₁` is the complex unitary group of the shape `𝔰`, with index set `New.Shape.BesselIndex`. `𝖴 = New.Shape.Form.besselU` is its Bessel unipotent group, and `𝖴⁰ = New.Shape.Form.besselU0` is the subgroup of `𝖴` fixing the frame e₁, …, e_ϱ, z; their Haar measures are `New.Shape.besselHaar` and `New.Shape.besselHaar₀`. An unfolding inequality bounds suitable integrals over `G₁` by integrals over `𝖴∖G₁`. An `L²` bound on the quotient `𝖴∖G₁` for convolutions, the hypothesis `New.RealPlace.HasSchurBound`, then gives an `L²` bound on a bounded part of the orbit of the section `γ_Z = New.RealPlace.gramSection Z`, at the price of a power of a size bound `P`. ## Main definitions and results * `New.lintegral_mul_le_of_frameMatrix_le`: the unfolding bound on `G₁`. * `New.RealPlace.HasDerivWords`: families that behave like iterated right derivatives on `G₁`. * `New.RealPlace.lintegral_gramSection_integral_le`: the bound for the convolution at `γ_Z (u h)⁻¹`, integrated over `h ∈ U(κ)` and the `u ∈ 𝖴⁰` with `‖u‖ ≤ P ^ 20`. Sobolev's inequality on a small cube at `Z` (`New.sobolev_trace_cube`) replaces the value at `Z` by mean squares of derivatives, which are bounded by integrals over `𝖴∖G₁`. Notions from other files: * `New.Shape.Form.besselS`: the Bessel subgroup, generated by `𝖴` and by the image of `U(κ)` under `New.RealPlace.embedH`. * `New.besselQuotMeasure`: the measure on `G₁` that integrates a `𝖴`-invariant function over `𝖴∖G₁`. * `New.RealPlace.gramDiscReal`: 𝗀(Z) = |det Z|² − |D_ϱ|², D_ϱ the leading principal minor of order ϱ. In the coordinates `γ_Z` Haar measure has density at least c_G 𝗀(Z)^{|κ|−1}, with c_G = `New.Shape.openCellConst` (`New.RealPlace.lintegral_gramSection_le`). * `New.realFrameGram`: for y in `G₁`, the matrix of hermitian products of the frame vectors with their images under y; it sends `γ_Z` to Z when Z lies in the open cell Ω = `New.Shape.openCell`. * `New.RealPlace.IsBoundedInCell Z P`: Z lies in Ω, and ‖Z⁻¹‖, ‖Z‖ and (1 − |ξ|²)^{−1/2} are at most P, where ξ is the last diagonal entry of Z⁻¹. ## Relation to the literature See `New.Spanning.Bessel.FillingData` for related work. -/ @[expose] public section /-! ## An unfolding bound over G₁ for suitable weights `New.frameMatrix` is the block of a matrix on the frame; the entries of that block above the diagonal are coordinates on 𝖴⁰∖𝖴. -/ section BoxVolume open MeasureTheory New.RealPlace Subgroup /-- For `1 ≤ R`, the box of families of entries above the diagonal of a `j × j` complex matrix, all of norm at most `R`, has volume at most `(2 R) ^ (2 j ^ 2)`. -/ lemma New.volume_upperEntries_closedBall_le {j : ℕ} {R : ℝ} (hR : 1 ≤ R) : volume (Set.pi ⊤ fun _ : {p : Fin j × Fin j // p.1 < p.2} ↦ Metric.closedBall (0 : ℂ) R) ≤ ENNReal.ofReal ((2 * R) ^ (2 * j ^ 2)) := by -- The box is a product of at most `j ^ 2` discs of area `π R ^ 2 ≤ (2 * R) ^ 2`. have hR_nonneg : 0 ≤ R := zero_le_one.trans hR have h_disc : Real.pi * R ^ 2 ≤ (2 * R) ^ 2 := by nlinarith [Real.pi_le_four, sq_nonneg R] have h_card : Fintype.card {p : Fin j × Fin j // p.1 < p.2} ≤ j ^ 2 := (Fintype.card_subtype_le _).trans (by simp [sq]) have h_volume := New.volume_closedBall_pi_complex (ι := {p : Fin j × Fin j // p.1 < p.2}) hR_nonneg simp only [closedBall_pi _ hR_nonneg, Pi.zero_apply] at h_volume rw [Set.top_eq_univ, h_volume] apply ENNReal.ofReal_le_ofReal rw [pow_mul] grw [h_disc, pow_le_pow_right₀ (by nlinarith) h_card] /-- For `1 ≤ R` and a measurable `φ` of integral at most `K` on each orbit of `𝖴⁰`, the integral of `φ (u * y)` over `u ∈ 𝖴` is at most `K (2 R) ^ (2 n ^ 2)`, provided that for every point `x` and every `s ∈ 𝖴` with `φ x ≠ 0` and `φ (s * x) ≠ 0`, the entries of `frameMatrix s` have norm at most `R`. -/ lemma New.lintegral_besselU_le_of_frameMatrix_le {𝔰 : Shape} {φ : 𝔰.G₁ → ENNReal} {K : ENNReal} {R : ℝ} (hφ : Measurable φ) (hK : ∀ y : 𝔰.G₁, ∫⁻ u : (𝔰.middleGram (1 : ℂ)).besselU0, φ (u * y) ∂𝔰.besselHaar₀ ≤ K) (hR : ∀ y : 𝔰.G₁, φ y ≠ 0 → ∀ s ∈ besselU, φ (s * y) ≠ 0 → ∀ a b : Fin (𝔰.ϱ + 1), ‖frameMatrix s a b‖ ≤ R) (h_one_le : 1 ≤ R) (y : 𝔰.G₁) : ∫⁻ u : (𝔰.middleGram (1 : ℂ)).besselU, φ (u * y) ∂𝔰.besselHaar ≤ K * ENNReal.ofReal ((2 * R) ^ (2 * 𝔰.n ^ 2)) := by -- Write `s = u * liftUnitriangular x * u₀` with `u ∈ besselU0` and `φ (u₀ * y) ≠ 0`: the integral -- over `u` is at most `K`, and it vanishes unless all coordinates of `x` have norm at most `R`. let box : Set (UpperEntries 𝔰.n) := .pi ⊤ fun _ ↦ Metric.closedBall 0 R by_cases! hφy : ∀ u : (𝔰.middleGram (1 : ℂ)).besselU, φ (u * y) = 0 · rw [lintegral_congr hφy, lintegral_zero] exact zero_le obtain ⟨u₀, hu₀⟩ := hφy -- Outside the box the integrand vanishes, by `hR` at `u₀ * y`. have h_zero (x : UpperEntries 𝔰.n) (hx : x ∉ box) (u : (𝔰.middleGram (1 : ℂ)).besselU0) : φ (u * (liftUnitriangular x * (u₀ * y))) = 0 := by refine by_contra fun hu ↦ hx fun ⟨(a, b), hab⟩ _ ↦ ?_ obtain ⟨hu_mem, hu_frame⟩ := mem_besselU0_iff.1 u.prop have h_entry : ‖frameMatrix (u * liftUnitriangular x : 𝔰.G₁) a b‖ ≤ R := hR _ hu₀ _ (mul_mem hu_mem (liftUnitriangular_mem_besselU x)) (by rwa [mul_assoc]) a b have h_frame : frameMatrix (u * liftUnitriangular x : 𝔰.G₁) = unitriangularMatrix x := by simp [frameMatrix_mul, liftUnitriangular_mem_besselU, hu_frame] simpa [h_frame, unitriangularMatrix, hab] using h_entry calc _ = ∫⁻ x, ∫⁻ u, φ (u.val * (liftUnitriangular x * (u₀.val * y))) ∂𝔰.besselHaar₀ := by -- Translate by u₀, then integrate in the coordinates defining the Haar measure. let coords (p : UpperEntries 𝔰.n × (𝔰.middleGram (1 : ℂ)).besselU0) : (𝔰.middleGram (1 : ℂ)).besselU := ⟨p.2.val * liftUnitriangular p.1, mul_mem p.2.property.1 (liftUnitriangular_mem_besselU p.1)⟩ have h_map : Continuous coords := ((continuous_subtypeVal.comp continuous_snd).mul (continuous_liftUnitriangular.comp continuous_fst)).subtype_mk _ have h_fn : Measurable fun u : (𝔰.middleGram (1 : ℂ)).besselU ↦ φ ((u * u₀ : (𝔰.middleGram (1 : ℂ)).besselU).val * y) := hφ.comp ((continuous_subtypeVal.mul continuous_const).mul continuous_const).measurable have h_comp : AEMeasurable (fun p ↦ φ ((coords p * u₀).val * y)) (volume.prod 𝔰.besselHaar₀) := (h_fn.comp h_map.measurable).aemeasurable rw [← lintegral_mul_right_eq_self _ u₀, Shape.besselHaar, lintegral_map h_fn h_map.measurable, lintegral_prod _ h_comp] simp only [coords, Subgroup.coe_mul, mul_assoc] _ = ∫⁻ x in box, ∫⁻ u, φ (u.val * (liftUnitriangular x * (u₀.val * y))) ∂𝔰.besselHaar₀ := (setLIntegral_eq_of_support_subset <| Function.support_subset_iff'.2 fun x hx ↦ (lintegral_congr (h_zero x hx)).trans lintegral_zero).symm _ ≤ K * volume box := by grw [hK, setLIntegral_const] _ ≤ _ := mul_le_mul' le_rfl (volume_upperEntries_closedBall_le h_one_le) /-- The frame is e₁, …, e_ϱ, z and `frameMatrix s` is the block of `s` on its rows and columns. Let `w, φ ≥ 0` be measurable functions on `G₁`, `w` left invariant under the Bessel subgroup `besselS` and `φ` of integral at most `K` on each orbit of `𝖴⁰ = besselU0`, the subgroup of the unipotent group `𝖴 = besselU` fixing the frame. Suppose that every `s ∈ 𝖴` with `φ y ≠ 0` and `φ (s y) ≠ 0` for some `y` has `frameMatrix s` with entries of norm at most `R`, where `1 ≤ R`. Then `∫ φ w` over `G₁` is at most `K (2 R) ^ (2 n ^ 2)`, `n = ϱ + 1`, times the integral of `w` over 𝖴∖G₁. -/ lemma New.lintegral_mul_le_of_frameMatrix_le {𝔰 : Shape} {w φ : 𝔰.G₁ → ENNReal} {K : ENNReal} {R : ℝ} (hw : Measurable w) (hφ : Measurable φ) (hw_inv : besselS.FixesLeft w) (hK : ∀ y : 𝔰.G₁, ∫⁻ u : (𝔰.middleGram (1 : ℂ)).besselU0, φ (u * y) ∂𝔰.besselHaar₀ ≤ K) (hR : ∀ y : 𝔰.G₁, φ y ≠ 0 → ∀ s ∈ besselU, φ (s * y) ≠ 0 → ∀ a b : Fin (𝔰.ϱ + 1), ‖frameMatrix s a b‖ ≤ R) (h_one_le : 1 ≤ R) : ∫⁻ y : 𝔰.G₁, φ y * w y ≤ K * ENNReal.ofReal ((2 * R) ^ (2 * 𝔰.n ^ 2)) * ∫⁻ y : 𝔰.G₁, w y ∂besselQuotMeasure := by -- Unfold along `besselU`; it suffices to bound the integral of `φ (s * y)` over `s ∈ besselU`. have : MeasurableSMul₂ (𝔰.middleGram (1 : ℂ)).besselU 𝔰.G₁ := ⟨((continuous_subtypeVal.comp continuous_fst).mul continuous_snd).measurable⟩ have : SMulInvariantMeasure (𝔰.middleGram (1 : ℂ)).besselU 𝔰.G₁ volume := ⟨fun c s _ ↦ measure_preimage_mul volume c.val s⟩ calc _ = ∫⁻ y, ∫⁻ u, φ (u • y) * w (u • y) ∂𝔰.besselHaar ∂besselQuotMeasure := (lintegral_orbitMeasure_lintegral (hφ.mul hw)).symm -- The weight `w` is left invariant, so it leaves the inner integral. _ = ∫⁻ y, (∫⁻ u, φ (u.val * y) ∂𝔰.besselHaar) * w y ∂besselQuotMeasure := by refine lintegral_congr fun y ↦ ?_ have h_meas : Measurable fun u : (𝔰.middleGram (1 : ℂ)).besselU ↦ φ (u.val * y) := hφ.comp (continuous_subtypeVal.mul continuous_const).measurable rw [← lintegral_mul_const _ h_meas] refine lintegral_congr fun u ↦ ?_ rw [smul_def, smul_eq_mul, hw_inv u.val (mem_besselS.2 ⟨u.val, u.prop, 1, one_mem _, (mul_one _).symm⟩)] _ ≤ _ := by grw [New.lintegral_besselU_le_of_frameMatrix_le hφ hK hR h_one_le, lintegral_const_mul _ hw] end BoxVolume section SobolevCell open Complex ComplexOrder Set Metric Function Fintype Matrix MeasureTheory Subgroup Norms.L2Operator Real /-- The index set of the real coordinates on the complex matrices of size `ϱ + 1`: the index `(0, a, b)` stands for the real part of the entry `(a, b)`, and `(1, a, b)` for its imaginary part. -/ abbrev New.Shape.FrameCoord (𝔰 : Shape) : Type := Fin 2 × Fin (𝔰.ϱ + 1) × Fin (𝔰.ϱ + 1) /-- The positions `(a, b)` of the entries of a matrix in `G₁`; they index the matrix units. -/ abbrev New.Shape.EntryIndex (𝔰 : Shape) : Type := 𝔰.BesselIndex × 𝔰.BesselIndex /-- The product of the Haar measures of `U(κ)` and `𝖴⁰ = besselU0`, times the constant `openCellConst * c ^ (|κ| - 1)`. The constant is the lower bound of `lintegral_gramSection_le` for the density of Haar measure of `G₁`, in the coordinates of the open cell, at a matrix `Z` with `gramDiscReal Z = c`. -/ noncomputable def New.Shape.fixerMeasure (𝔰 : Shape) (c : ℝ) : Measure (U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) × (𝔰.middleGram (1 : ℂ)).besselU0) := ENNReal.ofReal (𝔰.openCellConst * c ^ (𝔰.k - 1)) • volume.prod 𝔰.besselHaar₀ instance (𝔰 : New.Shape) (c : ℝ) : SFinite (𝔰.fixerMeasure c) := inferInstanceAs (SFinite (_ • _)) /-- The pairs `(h, u)` in `U(κ) × 𝖴⁰`, `𝖴⁰ = besselU0`, such that `u` has operator norm at most `R`. -/ def New.Shape.fixerBall (𝔰 : Shape) (R : ℝ) : Set (U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) × (𝔰.middleGram (1 : ℂ)).besselU0) := {ω | ‖(ω.2 : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ ≤ R} lemma New.Shape.mem_fixerBall {𝔰 : Shape} {R : ℝ} {ω : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) × (𝔰.middleGram (1 : ℂ)).besselU0} : ω ∈ 𝔰.fixerBall R ↔ ‖(ω.2 : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ ≤ R := Iff.rfl lemma New.Shape.measurableSet_fixerBall (𝔰 : Shape) (R : ℝ) : MeasurableSet (𝔰.fixerBall R) := measurableSet_le ((Units.continuous_val.comp (continuous_subtypeVal.comp (continuous_subtypeVal.comp continuous_snd))).norm.measurable) measurable_const /-- The complex matrices of size `ϱ + 1` have real linear coordinates `e` such that `x ↦ Z + e x` preserves Lebesgue measure and the operator norm of `e x` is at most `2 (ϱ + 1) ^ 2` times the supremum norm of `x`. -/ lemma New.RealPlace.exists_real_coordinates {𝔰 : Shape} (Z : 𝔰.FrameMatrix) : ∃ e : (𝔰.FrameCoord → ℝ) ≃L[ℝ] 𝔰.FrameMatrix, MeasurePreserving (fun x : 𝔰.FrameCoord → ℝ ↦ Z + e x) ∧ ∀ x : 𝔰.FrameCoord → ℝ, ‖e x‖ ≤ 2 * (𝔰.ϱ + 1) ^ 2 * ‖x‖ := by let e : (𝔰.FrameCoord → ℝ) ≃L[ℝ] 𝔰.FrameMatrix := (basisOneI.smulTower (A := 𝔰.FrameMatrix) (stdBasis ℂ (Fin (𝔰.ϱ + 1)) (Fin (𝔰.ϱ + 1)))).equivFun.symm.toContinuousLinearEquiv have e_apply (x : 𝔰.FrameCoord → ℝ) (a b : Fin (𝔰.ϱ + 1)) : e x a b = x (0, a, b) + x (1, a, b) * I := by simp [e, ite_and, sum_prod_type, stdBasis_eq_single, Matrix.sum_apply, single_apply] -- The map `e` matches the sums of squares, so it matches the volumes. have h_vol : MeasurePreserving e := HasGaussianIntegral.measurePreserving e.toLinearEquiv fun x ↦ show ∑ a, ∑ b, ‖e x a b‖ ^ 2 = ∑ i, x i ^ 2 by simp [e_apply, sum_prod_type, ← sq, RCLike.norm_sq_eq_def, Finset.sum_add_distrib] refine ⟨e, h_vol.add_left volume Z, fun x ↦ ?_⟩ have entry_le (a b : Fin (𝔰.ϱ + 1)) : ‖e x a b‖ ≤ 2 * ‖x‖ := by grw [e_apply, norm_add_le, norm_mul, norm_I, mul_one, norm_real, norm_real, norm_le_pi_norm, norm_le_pi_norm, two_mul] grw [l2_opNorm_le_of_apply entry_le, Fintype.card_fin, Nat.cast_succ] linarith /-- Let `8 ≤ P` and let `p` be a curve of complex matrices of size `ϱ + 1` whose derivative at `t` has operator norm at most `P ^ 2 / 4`. Let `Y = p t` be invertible with |ξ| < 1, ξ the last diagonal entry of `Y⁻¹` (the open cell), and with ‖Y‖, ‖Y⁻¹‖ and (1 − |ξ|²)^{−1/2} at most `P` (`IsBoundedInCell`). If `‖k‖ ≤ P ^ 20`, then `g s = gramSection (p s) * k` is differentiable at `t` and its logarithmic derivative `A = g⁻¹ g'` has norm at most `P ^ 85`. -/ lemma New.RealPlace.exists_hasDerivAt_gramSection_mul_norm_le {𝔰 : Shape} {P t : ℝ} {p : ℝ → 𝔰.FrameMatrix} {p' : 𝔰.FrameMatrix} (hP : 8 ≤ P) (hp : HasDerivAt p p' t) (hp' : 4 * ‖p'‖ ≤ P ^ 2) (h_cell : IsBoundedInCell (p t) P) {k : 𝔰.G₁} (hk : ‖(k : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ ≤ P ^ 20) : ∃ A : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ, HasDerivAt (fun s : ℝ ↦ ((gramSection (p s) * k : 𝔰.G₁) : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)) ((gramSection (p t) * k : 𝔰.G₁) * A) t ∧ ‖A‖ ≤ P ^ 85 := by have hΩ : p t ∈ 𝔰.openCell := h_cell.mem_openCell let D : 𝔰.FrameMatrix →L[ℝ] Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ := fderiv ℝ (fun Z ↦ sectionMatrix Z Zᴴ) (p t) obtain ⟨sec_le, D_le⟩ : ‖sectionMatrix (p t) (p t)ᴴ‖ ≤ P ^ 18 ∧ ‖D‖ ≤ P ^ 25 := h_cell.norm_sectionMatrix_le (by linarith) have fderiv_sec : HasFDerivAt (fun Z ↦ ↑(gramSection Z)) D (p t) := (differentiableAt_sectionMatrix hΩ).hasFDerivAt.congr_of_eventuallyEq (gramSection_eventuallyEq hΩ) let g : 𝔰.G₁ := gramSection (p t) * k let g' : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ := D p' * k have deriv_g : HasDerivAt (fun s ↦ ↑(gramSection (p s) * k)) g' t := (fderiv_sec.comp_hasDerivAt t hp).mul_const _ have norm_inv_g : ‖((g⁻¹ : 𝔰.G₁) : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ ≤ P ^ 18 * P ^ 20 := by grw [U.norm_inv, coe_mul, Units.val_mul, norm_mul_le, coe_gramSection hΩ, sec_le, hk] have speed_le : ‖p'‖ ≤ P ^ 2 := by linarith [norm_nonneg p'] have norm_g' : ‖g'‖ ≤ P ^ 25 * P ^ 2 * P ^ 20 := by grw [norm_mul_le, hk, D.le_opNorm, D_le, speed_le] refine ⟨(g⁻¹ : 𝔰.G₁) * g', deriv_g.congr_deriv (Units.mul_inv_cancel_left _ _).symm, ?_⟩ exact (norm_mul_le_of_le norm_inv_g norm_g').trans_eq (by ring) /-- Let `s` lie in the unipotent group `𝖴 = besselU`. If `realFrameGram y` and `realFrameGram (s * y)` are invertible matrices `Z` with |ξ| < 1 and with ‖Z‖, ‖Z⁻¹‖ and (1 − |ξ|²)^{−1/2} at most `P`, ξ the last diagonal entry of `Z⁻¹` (`IsBoundedInCell`), then the entries of `frameMatrix s` have norm at most `P ^ 2`. -/ lemma New.RealPlace.norm_frameMatrix_le_of_isBoundedInCell {𝔰 : Shape} {P : ℝ} {s y : 𝔰.G₁} (hs : s ∈ besselU) (hy : IsBoundedInCell (realFrameGram y) P) (hsy : IsBoundedInCell (realFrameGram (s * y)) P) (a b : Fin (𝔰.ϱ + 1)) : ‖frameMatrix s a b‖ ≤ P ^ 2 := by have h_adjoint : realFrameGram y * (realFrameGram (s * y))⁻¹ = (frameMatrix s)ᴴ := by simp [realFrameGram_eq_frameMatrix_mul y hs, (mem_openCell.1 hsy.mem_openCell).1] calc ‖frameMatrix s a b‖ _ = ‖(realFrameGram y * (realFrameGram (s * y))⁻¹) b a‖ := by simp [h_adjoint] _ ≤ ‖realFrameGram y * (realFrameGram (s * y))⁻¹‖ := norm_apply_le_l2_opNorm _ b a _ ≤ P * P := norm_mul_le_of_le hy.norm_le hsy.norm_inv_le _ = P ^ 2 := (sq P).symm /-- Let `χ ≥ 0` be measurable with integral `1` over every `𝖴⁰`-orbit, let `w` be measurable and left invariant under `besselS`, and let `Z ∈ Q` lie in the open cell. Then for `r` in the fixer, the integral over the fixer of `χ · w` restricted to `realFrameGram ⁻¹' Q`, along `s ↦ s γ_Z r`, is `w (γ_Z r)`. -/ private lemma New.RealPlace.lintegral_fixerHaar_indicator_mul {𝔰 : Shape} {Q : Set 𝔰.FrameMatrix} {χ : 𝔰.G₁ → ENNReal} (χ_meas : Measurable χ) (hχQ : Measurable ((realFrameGram ⁻¹' Q).indicator χ)) (χ_orbit : ∀ γ, ∫⁻ u, χ (u.val * γ) ∂𝔰.besselHaar₀ = 1) {w : 𝔰.G₁ → ENNReal} (hw : Measurable w) (hw_inv : besselS.FixesLeft w) {Z : 𝔰.FrameMatrix} (hZ : Z ∈ Q) (hZ_cell : Z ∈ 𝔰.openCell) {r : 𝔰.G₁} (hr : r ∈ besselFixer) : ∫⁻ s, (realFrameGram ⁻¹' Q).indicator χ (s * gramSection Z * r) * w (s * gramSection Z * r) ∂fixerHaar 𝔰 = w (gramSection Z * r) := by classical have h_fiber {s : 𝔰.G₁} (hs : s ∈ besselFixer) : (realFrameGram ⁻¹' Q).indicator χ (s * gramSection Z * r) * w (s * gramSection Z * r) = χ (s * gramSection Z * r) * w (gramSection Z * r) := by have h_gram : realFrameGram (s * gramSection Z * r) = Z := by simp [(realFrameGram_mul_of_mem_besselFixer _ hr).2, (realFrameGram_mul_of_mem_besselFixer _ hs).1, realFrameGram_gramSection hZ_cell] simp only [indicator, mem_preimage, h_gram, ite_eq_left hZ] rw [mul_assoc s, hw_inv _ (mem_besselS_of_mem_besselFixer hs)] have h_f : Measurable fun s : 𝔰.G₁ ↦ (realFrameGram ⁻¹' Q).indicator χ (s * gramSection Z * r) * w (s * gramSection Z * r) := (hχQ.mul hw).comp ((measurable_id.mul_const _).mul_const _) rw [lintegral_fixerHaar h_f] simp_rw [h_fiber (mul_embedH_mem_besselFixer (Subtype.prop _) _)] refine (lintegral_congr fun h ↦ ?_).trans (by rw [lintegral_const, measure_univ, mul_one]) have h_χ : Measurable fun u : (𝔰.middleGram (1 : ℂ)).besselU0 ↦ χ (u.val * (embedH h * (gramSection Z * r))) := χ_meas.comp (continuous_subtypeVal.mul continuous_const).measurable simp_rw [mul_assoc] rw [lintegral_mul_const _ h_χ, χ_orbit, one_mul] /-- Let `1 ≤ P` and let `Q` be a measurable set of invertible complex matrices `Z` of size `n = ϱ + 1` with |ξ| < 1 and with ‖Z‖, ‖Z⁻¹‖ and (1 − |ξ|²)^{−1/2} at most `P`, ξ the last diagonal entry of `Z⁻¹` (`IsBoundedInCell`), and with `0 < c ≤ gramDiscReal Z` = |det Z|² − |det Z₀|², Z₀ the upper left `ϱ × ϱ` block. Let `w ≥ 0` be measurable and left invariant under the Bessel subgroup `besselS`. Then the integral of `w (γ_Z (u h)⁻¹)` over `Z ∈ Q`, `h ∈ U(κ)` and `u ∈ 𝖴⁰ = besselU0`, with the density `openCellConst * c ^ (|κ| - 1)`, is at most `(2 P ^ 2) ^ (2 n ^ 2)` times the integral of `w` over 𝖴∖G₁ (`besselQuotMeasure`). -/ lemma New.RealPlace.lintegral_lintegral_gramSection_le {𝔰 : Shape} {P c : ℝ} (hP : 1 ≤ P) (hc : 0 < c) {Q : Set 𝔰.FrameMatrix} (hQ : MeasurableSet Q) (h_disc : ∀ Z ∈ Q, c ≤ gramDiscReal Z) (h_cell : ∀ Z ∈ Q, IsBoundedInCell Z P) {w : 𝔰.G₁ → ENNReal} (hw : Measurable w) (hw_inv : besselS.FixesLeft w) : ∫⁻ Z : 𝔰.FrameMatrix in Q, ∫⁻ ω : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) × (𝔰.middleGram (1 : ℂ)).besselU0, w (gramSection Z * ((ω.2 : 𝔰.G₁) * embedH ω.1)⁻¹) ∂𝔰.fixerMeasure c ≤ ENNReal.ofReal ((2 * P ^ 2) ^ (2 * 𝔰.n ^ 2)) * ∫⁻ γ : 𝔰.G₁, w γ ∂besselQuotMeasure := by classical -- Let `χ` be a cutoff function for `𝖴⁰` and `χQ` its restriction to `realFrameGram ⁻¹' Q`. -- Compare both sides with `∫ χQ w` over `G₁`: by the open cell coordinates and by unfolding. obtain ⟨χ, χ_meas, χ_orbit⟩ : ∃ χ : 𝔰.G₁ → ENNReal, Measurable χ ∧ ∀ γ, ∫⁻ u, χ (u.val * γ) ∂𝔰.besselHaar₀ = 1 := isUnimodularHaar_besselHaar₀.out let χQ : 𝔰.G₁ → ENNReal := (realFrameGram ⁻¹' Q).indicator χ have χQ_meas : Measurable χQ := χ_meas.indicator (hQ.preimage (by fun_prop [frameGram])) have Q_subset : Q ⊆ 𝔰.openCell := fun Z hZ ↦ (h_cell Z hZ).mem_openCell have χQ_orbit (y : 𝔰.G₁) : ∫⁻ u, χQ (u.val * y) ∂𝔰.besselHaar₀ ≤ 1 := (lintegral_mono fun u ↦ indicator_le_self _ χ _).trans_eq (χ_orbit y) have χQ_cell (y : 𝔰.G₁) (hy : χQ y ≠ 0) : IsBoundedInCell (realFrameGram y) P := h_cell _ (mem_preimage.1 (mem_of_indicator_ne_zero hy)) -- Unfolding along `𝖴` costs the volume of the `s ∈ 𝖴`, modulo `𝖴⁰`, whose matrix on the frame -- has entries of norm at most `P ^ 2`. have unfolding : ∫⁻ γ, χQ γ * w γ ≤ 1 * .ofReal ((2 * P ^ 2) ^ (2 * 𝔰.n ^ 2)) * ∫⁻ γ, w γ ∂besselQuotMeasure := lintegral_mul_le_of_frameMatrix_le hw χQ_meas hw_inv χQ_orbit (fun y hy s hs hsy ↦ norm_frameMatrix_le_of_isBoundedInCell hs (χQ_cell y hy) (χQ_cell _ hsy)) (one_le_pow₀ hP) -- The integrand of `∫ χQ w` in the coordinates `γ_Z` of the open cell. let J (Z : 𝔰.FrameMatrix) : ENNReal := .ofReal (𝔰.openCellConst * gramDiscReal Z ^ (𝔰.k - 1)) * ∫⁻ s', ∫⁻ s, χQ (s' * gramSection Z * s) * w (s' * gramSection Z * s) ∂fixerHaar 𝔰 ∂fixerHaar 𝔰 have h_xw : Measurable fun γ : 𝔰.G₁ ↦ χQ γ * w γ := χQ_meas.mul hw have le_J (Z : 𝔰.FrameMatrix) (hZ : Z ∈ Q) : ∫⁻ ω, w (gramSection Z * ((ω.2 : 𝔰.G₁) * embedH ω.1)⁻¹) ∂𝔰.fixerMeasure c ≤ J Z := by -- Along an orbit of the fixer only `χ` changes, and its integral over `𝖴⁰` is `1`. have h_orbit {r : 𝔰.G₁} (hr : r ∈ besselFixer) : ∫⁻ s, χQ (s * gramSection Z * r) * w (s * gramSection Z * r) ∂fixerHaar 𝔰 = w (gramSection Z * r) := lintegral_fixerHaar_indicator_mul χ_meas χQ_meas χ_orbit hw hw_inv hZ (Q_subset hZ) hr unfold J have h_prod_meas : Measurable fun p : 𝔰.G₁ × 𝔰.G₁ ↦ χQ (p.1 * gramSection Z * p.2) * w (p.1 * gramSection Z * p.2) := h_xw.comp ((measurable_fst.mul_const _).mul measurable_snd) have h_r : Measurable fun r : 𝔰.G₁ ↦ ∫⁻ s, χQ (s * gramSection Z * r) * w (s * gramSection Z * r) ∂fixerHaar 𝔰 := (h_prod_meas.comp measurable_swap).lintegral_prod_right' rw [lintegral_lintegral_swap h_prod_meas.aemeasurable, lintegral_fixerHaar_eq_inv h_r] simp_rw [h_orbit (inv_mem (mul_embedH_mem_besselFixer (Subtype.prop _) _))] -- On `Q` the density of the open cell is at least the one of `fixerMeasure c`. grw [Shape.fixerMeasure, lintegral_smul_measure, smul_eq_mul, ← h_disc Z hZ, lintegral_prod_le] exact 𝔰.openCellConst_pos.le calc _ ≤ ∫⁻ Z in Q, J Z := setLIntegral_mono' hQ le_J _ ≤ ∫⁻ Z in 𝔰.openCell, J Z := lintegral_mono_set Q_subset _ ≤ ∫⁻ γ, χQ γ * w γ := lintegral_gramSection_le (f := fun γ ↦ χQ γ * w γ) h_xw _ ≤ _ := by rwa [one_mul] at unfolding /-- The family `V` of functions on `G₁`, indexed by the words in an alphabet `L`, behaves like the iterated right derivatives of `V []`: along a curve `γ` in `G₁` with `γ' = γ X` and `‖X‖ ≤ C` near `t`, the function `V w ∘ γ` is differentiable at `t`, with derivative of norm at most `Λ C` times the sum over the letters `l` of the norms of `V (l :: w) (γ t)`. -/ def New.RealPlace.HasDerivWords {𝔰 : Shape} {I L : Type} [Fintype I] [Fintype L] (V : List L → 𝔰.G₁ → EuclideanSpace ℂ I) (Λ : ℝ) : Prop := ∀ (w : List L) (γ : ℝ → 𝔰.G₁) (X : ℝ → Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ) (C t : ℝ), (∀ᶠ s : ℝ in nhds t, HasDerivAt (fun s : ℝ ↦ (γ s : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)) (γ s * X s) s ∧ ‖X s‖ ≤ C) → ∃ v : EuclideanSpace ℂ I, HasDerivAt (fun s : ℝ ↦ V w (γ s)) v t ∧ ‖v‖ ≤ ∑ l : L, Λ * C * ‖V (l :: w) (γ t)‖ /-- Let the family `V` satisfy `HasDerivWords V Λ`: along a curve in `G₁` with `γ' = γ X` and `‖X‖ ≤ C`, the derivative of `V w ∘ γ` exists and has norm at most `Λ C ∑ l, ‖V (l :: w) γ‖`. Let `P ≥ 8`, and let every `Y` within `P⁻⁶` of `Z` be invertible with |ξ| < 1 and with ‖Y‖, ‖Y⁻¹‖ and (1 − |ξ|²)^{−1/2} at most `P`, ξ the last diagonal entry of `Y⁻¹` (`IsBoundedInCell`); then `gramSection Y ∈ G₁` has `Y` as the matrix of hermitian products of the frame vectors e₁, …, e_ϱ, z with their images. Along a curve `p` of matrices with constant derivative of operator norm at most `P ^ 2 / 4`, at a time `t₀` with `p t₀` within `P⁻⁶` of `Z`, the function `t ↦ V w (gramSection (p t) * k)` with `‖k‖ ≤ P ^ 20` is differentiable, with derivative of norm at most `Λ P ^ 85` times the sum of the norms of the `V (l :: w)` at `gramSection (p t₀) * k`. -/ lemma New.RealPlace.HasDerivWords.exists_hasDerivAt_gramSection_mul {𝔰 : Shape} {I L : Type} [Fintype I] [Fintype L] {P Λ t₀ : ℝ} {V : List L → 𝔰.G₁ → EuclideanSpace ℂ I} (hV : HasDerivWords V Λ) (hP : 8 ≤ P) {Z : 𝔰.FrameMatrix} (h_cell : ∀ Y ∈ ball Z (P ^ 6)⁻¹, IsBoundedInCell Y P) {p : ℝ → 𝔰.FrameMatrix} {p' : 𝔰.FrameMatrix} (hp : ∀ t : ℝ, HasDerivAt p p' t) (hp' : 4 * ‖p'‖ ≤ P ^ 2) (ht₀ : p t₀ ∈ ball Z (P ^ 6)⁻¹) {k : 𝔰.G₁} (hk : ‖(k : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ ≤ P ^ 20) (w : List L) : ∃ v : EuclideanSpace ℂ I, HasDerivAt (fun t : ℝ ↦ V w (gramSection (p t) * k)) v t₀ ∧ ‖v‖ ≤ ∑ l : L, Λ * P ^ 85 * ‖V (l :: w) (gramSection (p t₀) * k)‖ := by let γ (t : ℝ) : 𝔰.G₁ := gramSection (p t) * k have log_deriv (t : ℝ) (ht : p t ∈ ball Z (P ^ 6)⁻¹) : ∃ A : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ, HasDerivAt (fun s ↦ ↑(γ s)) (γ t * A) t ∧ ‖A‖ ≤ P ^ 85 := exists_hasDerivAt_gramSection_mul_norm_le hP (hp t) hp' (h_cell _ ht) hk choose! X hX using log_deriv exact hV w γ X (P ^ 85) t₀ <| ((hp t₀).continuousAt.eventually_mem (isOpen_ball.mem_nhds ht₀)).mono hX /-- The cost of one real coordinate: if `8 ≤ P` and `0 ≤ N Λ ≤ P ^ 44`, the factor `2 (1 + (N Λ') ^ 2) / ε` of `sobolev_trace_cube` at `ε = P⁻⁸` and `Λ' = Λ P ^ 85`, times `2 P ^ 2`, is at most `P ^ 275`. -/ lemma New.RealPlace.sobolev_const_mul_le_pow {P N Λ : ℝ} (hP : 8 ≤ P) (h_nonneg : 0 ≤ N * Λ) (h_le : N * Λ ≤ P ^ 44) : 2 / (P ^ 8)⁻¹ * (1 + (N * (Λ * P ^ 85)) ^ 2) * (2 * P ^ 2) ≤ P ^ 275 := by have one_le : 1 ≤ P := by linarith calc _ = 4 * P ^ 10 * (1 + (N * Λ * P ^ 85) ^ 2) := by rw [div_inv_eq_mul]; ring _ ≤ 4 * P ^ 10 * (P ^ 258 + (P ^ 44 * P ^ 85) ^ 2) := by gcongr exact one_le_pow₀ one_le _ = 8 * P ^ 268 := by ring _ ≤ P ^ 275 := by grw [hP, ← pow_succ', pow_le_pow_right₀ one_le (by norm_num : 268 + 1 ≤ 275)] /-- Bound the norm of `e x` strictly below `(P ^ 6)⁻¹` for `x` in the cube `[0, (P ^ 8)⁻¹] ^ FrameCoord` when `‖e x‖ ≤ P ^ 2 * ‖x‖ / 8` and `0 < P`. -/ private lemma New.RealPlace.norm_apply_lt_inv_pow_six_of_mem_cube {𝔰 : Shape} {P : ℝ} (hP : 0 < P) {e : (𝔰.FrameCoord → ℝ) ≃L[ℝ] 𝔰.FrameMatrix} (he : ∀ x : 𝔰.FrameCoord → ℝ, ‖e x‖ ≤ P ^ 2 * ‖x‖ / 8) {x : 𝔰.FrameCoord → ℝ} (hx : x ∈ Set.Icc (0 : 𝔰.FrameCoord → ℝ) fun _ ↦ (P ^ 8)⁻¹) : ‖e x‖ < (P ^ 6)⁻¹ := by have norm_x_le : ‖x‖ ≤ (P ^ 8)⁻¹ := by simpa [abs_of_pos hP] using dist_le_of_mem_pi_Icc hx (Set.left_mem_Icc.2 (hx.1.trans hx.2)) calc ‖e x‖ ≤ P ^ 2 * (P ^ 8)⁻¹ / 8 := by grw [he x, norm_x_le] _ = (P ^ 6)⁻¹ / 8 := by rw [show P ^ 8 = P ^ 2 * P ^ 6 by ring, mul_inv, ← mul_assoc, mul_inv_cancel₀ (pow_ne_zero 2 hP.ne'), one_mul] _ < (P ^ 6)⁻¹ := div_lt_self (by positivity) (by norm_num) /-- For `P ≥ 8 r`, where `r = 𝔰.r` is the size of the matrices in `G₁`, there are real coordinates `x ↦ Z + e x` on the complex matrices of size `ϱ + 1`, preserving Lebesgue measure, in which the coordinate vectors have operator norm at most `P ^ 2 / 4` and the cube of the `x` with all coordinates in `[0, P⁻⁸]` lies within `P⁻⁶` of `Z`. -/ lemma New.RealPlace.exists_real_coordinates_mapsTo_ball {𝔰 : Shape} {P : ℝ} (hP : 8 * 𝔰.r ≤ P) (Z : 𝔰.FrameMatrix) : ∃ e : (𝔰.FrameCoord → ℝ) ≃L[ℝ] 𝔰.FrameMatrix, MeasurePreserving (fun x : 𝔰.FrameCoord → ℝ ↦ Z + e x) ∧ (∀ j : 𝔰.FrameCoord, 4 * ‖e (Pi.single j 1)‖ ≤ P ^ 2) ∧ MapsTo (fun x : 𝔰.FrameCoord → ℝ ↦ Z + e x) (Icc 0 fun _ : 𝔰.FrameCoord ↦ (P ^ 8)⁻¹) (ball Z (P ^ 6)⁻¹) := by -- The size of the matrices is `r = ϱ + (k + 1) + ϱ`. replace hP : 8 * ((𝔰.ϱ : ℝ) + (𝔰.k + 1 + 𝔰.ϱ)) ≤ P := by simpa using hP have P_pos : 0 < P := hP.trans_lt' (by positivity) have h_dim : (16 : ℝ) * (𝔰.ϱ + 1) ^ 2 ≤ P ^ 2 := by nlinarith only [hP] obtain ⟨e, e_preserving, norm_e_le⟩ : ∃ e : (𝔰.FrameCoord → ℝ) ≃L[ℝ] 𝔰.FrameMatrix, MeasurePreserving (fun x ↦ Z + e x) ∧ ∀ x, ‖e x‖ ≤ 2 * (𝔰.ϱ + 1) ^ 2 * ‖x‖ := exists_real_coordinates Z replace norm_e_le (x : 𝔰.FrameCoord → ℝ) : ‖e x‖ ≤ P ^ 2 * ‖x‖ / 8 := by grw [norm_e_le, ← h_dim] linarith refine ⟨e, e_preserving, fun j ↦ ?_, fun x hx ↦ add_mem_ball_iff_norm.2 ?_⟩ · grw [norm_e_le, Pi.norm_single, norm_one] linarith [sq_nonneg P] · exact New.RealPlace.norm_apply_lt_inv_pow_six_of_mem_cube P_pos norm_e_le hx namespace New.RealPlace /-- For a measurable `v : 𝔰.G₁ → EuclideanSpace ℂ I` with norm left-invariant under `besselS`, bound the iterated integral of `‖v (gramSection (Z + e x) * ((ω.2 : 𝔰.G₁) * embedH ω.1)⁻¹)‖ₑ ^ 2` over the cube of side `(P ^ 8)⁻¹` and the fixer ball of radius `P ^ 20` by `(2 * P ^ 2) ^ (2 * 𝔰.n ^ 2) * K` whenever `∫⁻ g, ‖v g‖ₑ ^ 2 ∂besselQuotMeasure ≤ K`. -/ private lemma lintegral_cube_fixerBall_sq_le {𝔰 : Shape} {I : Type} [Fintype I] {P c : ℝ} {Z : 𝔰.FrameMatrix} (h_one : 1 ≤ P) (hc : 0 < c) (h_disc : ∀ Y ∈ ball Z (P ^ 6)⁻¹, c ≤ gramDiscReal Y) (h_cell : ∀ Y ∈ ball Z (P ^ 6)⁻¹, IsBoundedInCell Y P) {e : (𝔰.FrameCoord → ℝ) ≃L[ℝ] 𝔰.FrameMatrix} (e_map_preserving : MeasurePreserving (fun x : 𝔰.FrameCoord → ℝ ↦ Z + e x) volume volume) (cube_subset : (Icc 0 fun _ : 𝔰.FrameCoord ↦ (P ^ 8)⁻¹ : Set (𝔰.FrameCoord → ℝ)) ⊆ (fun x ↦ Z + e x) ⁻¹' ball Z (P ^ 6)⁻¹) {v : 𝔰.G₁ → EuclideanSpace ℂ I} (hv_meas : Measurable v) (hv_inv : besselS.FixesLeft fun g : 𝔰.G₁ ↦ ‖v g‖ₑ) {K : ENNReal} (hv_le : ∫⁻ g : 𝔰.G₁, ‖v g‖ₑ ^ 2 ∂besselQuotMeasure ≤ K) : ∫⁻ x in (Icc 0 fun _ : 𝔰.FrameCoord ↦ (P ^ 8)⁻¹ : Set (𝔰.FrameCoord → ℝ)), ∫⁻ ω in 𝔰.fixerBall (P ^ 20), ‖v (gramSection (Z + e x) * ((ω.2 : 𝔰.G₁) * embedH ω.1)⁻¹)‖ₑ ^ 2 ∂𝔰.fixerMeasure c ≤ .ofReal ((2 * P ^ 2) ^ (2 * 𝔰.n ^ 2)) * K := by have hv_sq_inv : besselS.FixesLeft fun g : 𝔰.G₁ ↦ ‖v g‖ₑ ^ 2 := fun s hs g ↦ congrArg (· ^ 2) (hv_inv s hs g) calc _ ≤ ∫⁻ x in (fun x ↦ Z + e x) ⁻¹' ball Z (P ^ 6)⁻¹, ∫⁻ ω, ‖v (gramSection (Z + e x) * ((ω.2 : 𝔰.G₁) * embedH ω.1)⁻¹)‖ₑ ^ 2 ∂𝔰.fixerMeasure c := by grw [← cube_subset, setLIntegral_le_lintegral (𝔰.fixerBall (P ^ 20))] _ = ∫⁻ Y in ball Z (P ^ 6)⁻¹, ∫⁻ ω, ‖v (gramSection Y * ((ω.2 : 𝔰.G₁) * embedH ω.1)⁻¹)‖ₑ ^ 2 ∂𝔰.fixerMeasure c := e_map_preserving.setLIntegral_comp_preimage_emb (e.toHomeomorph.trans (Homeomorph.addLeft Z)).measurableEmbedding (fun Y ↦ ∫⁻ ω, ‖v (gramSection Y * ((ω.2 : 𝔰.G₁) * embedH ω.1)⁻¹)‖ₑ ^ 2 ∂𝔰.fixerMeasure c) (ball Z (P ^ 6)⁻¹) _ ≤ .ofReal ((2 * P ^ 2) ^ (2 * 𝔰.n ^ 2)) * ∫⁻ g, ‖v g‖ₑ ^ 2 ∂besselQuotMeasure := lintegral_lintegral_gramSection_le h_one hc measurableSet_ball h_disc h_cell (hv_meas.eNorm.pow_const 2) hv_sq_inv _ ≤ _ := by grw [hv_le] end New.RealPlace /-- Let `P ≥ 8 r`, where `r = 𝔰.r` is the size of the matrices in `G₁`, and let `n = ϱ + 1`. Let `Z` be a complex `n × n` matrix (`FrameMatrix`) such that every `Y` within `P⁻⁶` of `Z` is invertible with |ξ| < 1 and with ‖Y‖, ‖Y⁻¹‖ and (1 − |ξ|²)^{−1/2} at most `P`, ξ the last diagonal entry of `Y⁻¹` (`IsBoundedInCell`), and has `0 < c ≤ gramDiscReal Y` = |det Y|² − |det Y₀|², Y₀ the upper left `ϱ × ϱ` block of `Y`. Let `HasDerivWords V Λ` hold: along a curve in `G₁` with `γ' = γ X` and `‖X‖ ≤ C`, the derivative of `V w ∘ γ` exists and has norm at most `Λ C ∑ l, ‖V (l :: w) γ‖`; let `0 ≤ Λ` and `card L * Λ ≤ P ^ 44`. Let the `V w` be measurable with norms left invariant under the Bessel subgroup `besselS`, and let `K` bound their squared norms in `L²(𝖴∖G₁)` (`besselQuotMeasure`) for the words `w` of length at most `2 n ^ 2`. Then the integral of `‖V [] (γ_Z (u h)⁻¹)‖ ^ 2` over the `ω = (h, u)` in `U(κ) × 𝖴⁰` with `‖u‖ ≤ P ^ 20` (`fixerBall`), for Haar measure times `openCellConst * c ^ (|κ| - 1)` (`fixerMeasure`), is at most `P ^ (550 n ^ 2) K`. -/ theorem New.RealPlace.lintegral_gramSection_le_of_hasDerivWords {𝔰 : Shape} {I L : Type} [Fintype I] [Fintype L] {P c Λ : ℝ} {Z : 𝔰.FrameMatrix} (hP : 8 * 𝔰.r ≤ P) (hc : 0 < c) (h_disc : ∀ Y ∈ ball Z (P ^ 6)⁻¹, c ≤ gramDiscReal Y) (h_cell : ∀ Y ∈ ball Z (P ^ 6)⁻¹, IsBoundedInCell Y P) {V : List L → 𝔰.G₁ → EuclideanSpace ℂ I} (hV : HasDerivWords V Λ) (hΛ_nonneg : 0 ≤ Λ) (hΛ : card L * Λ ≤ P ^ 44) (hV_meas : ∀ w : List L, Measurable (V w)) (hV_inv : ∀ w : List L, besselS.FixesLeft fun g : 𝔰.G₁ ↦ ‖V w g‖ₑ) {K : ENNReal} (hK : ∀ w : List L, w.length ≤ 2 * 𝔰.n ^ 2 → ∫⁻ g : 𝔰.G₁, ‖V w g‖ₑ ^ 2 ∂besselQuotMeasure ≤ K) : ∫⁻ ω : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) × (𝔰.middleGram (1 : ℂ)).besselU0 in 𝔰.fixerBall (P ^ 20), ‖V [] (gramSection Z * ((ω.2 : 𝔰.G₁) * embedH ω.1)⁻¹)‖ₑ ^ 2 ∂𝔰.fixerMeasure c ≤ ENNReal.ofReal (P ^ (550 * 𝔰.n ^ 2)) * K := by -- Sobolev's inequality on a cube of side `P⁻⁸` at `Z`, in the `2 n ^ 2` real coordinates of the -- matrix; the integrals over the cube are bounded by `lintegral_lintegral_gramSection_le`. have one_le_rank : (1 : ℝ) ≤ 𝔰.r := Nat.one_le_cast.2 card_pos obtain ⟨eight_le, one_le⟩ : 8 ≤ P ∧ 1 ≤ P := by constructor <;> linarith let cube : Set (𝔰.FrameCoord → ℝ) := Icc 0 fun _ ↦ (P ^ 8)⁻¹ let Q : Set 𝔰.FrameMatrix := ball Z (P ^ 6)⁻¹ obtain ⟨e, e_preserving, speed_le, e_mapsTo⟩ := exists_real_coordinates_mapsTo_ball hP Z have cube_subset : cube ⊆ (fun x ↦ Z + e x) ⁻¹' Q := e_mapsTo.subset_preimage let shift (ω : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) × (𝔰.middleGram (1 : ℂ)).besselU0) : 𝔰.G₁ := ((ω.2 : 𝔰.G₁) * embedH ω.1)⁻¹ let f (w : List L) (x : 𝔰.FrameCoord → ℝ) (ω : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) × (𝔰.middleGram (1 : ℂ)).besselU0) : EuclideanSpace ℂ I := V w (gramSection (Z + e x) * shift ω) set μ := 𝔰.fixerMeasure c set B := 𝔰.fixerBall (P ^ 20) 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₀) ω‖ := by have 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 exact hV.exists_hasDerivAt_gramSection_mul eight_le h_cell deriv_line (speed_le j) (cube_subset ht₀) (h_shift_norm hω) w have h_shift_meas : Measurable shift := ((continuous_subtypeVal.comp continuous_snd).mul (continuous_embedH.comp continuous_fst)).inv.measurable have hf_meas (w : List L) : Measurable ↿(f w) := (hV_meas w).comp (((measurable_gramSection.comp (measurable_const.add e.continuous.measurable)).comp measurable_fst).mul (h_shift_meas.comp measurable_snd)) have cube_bound (w : List L) (hw : w.length ≤ 2 * 𝔰.n ^ 2) : ∫⁻ x in cube, ∫⁻ ω in B, ‖f w x ω‖ₑ ^ 2 ∂μ ≤ .ofReal ((2 * P ^ 2) ^ (2 * 𝔰.n ^ 2)) * K := lintegral_cube_fixerBall_sq_le one_le hc h_disc h_cell e_preserving cube_subset (hV_meas w) (hV_inv w) (hK w hw) -- Each of the `2 n ^ 2` coordinates costs `a` in Sobolev's inequality and `2 P ^ 2` on the cube. have hcard : card 𝔰.FrameCoord = 2 * 𝔰.n ^ 2 := by simp only [Shape.FrameCoord, Shape.n, card_prod, Fintype.card_fin, sq] let a : ℝ := 2 / (P ^ 8)⁻¹ * (1 + (card L * (Λ * P ^ 85)) ^ 2) have cost_le : a * (2 * P ^ 2) ≤ P ^ 275 := sobolev_const_mul_le_pow eight_le (by positivity) hΛ calc _ = ∫⁻ ω in B, ‖f [] 0 ω‖ₑ ^ 2 ∂μ := by simp only [f, shift, B, μ, map_zero, add_zero] _ ≤ .ofReal (a ^ card 𝔰.FrameCoord) * (.ofReal ((2 * P ^ 2) ^ (2 * 𝔰.n ^ 2)) * K) := sobolev_trace_cube f hf_meas (by positivity) (inv_le_one_of_one_le₀ (one_le_pow₀ one_le)) (ae_restrict_of_forall_mem (𝔰.measurableSet_fixerBall _) deriv_bound) fun w hw ↦ cube_bound w (hcard ▸ hw) _ = .ofReal ((a * (2 * P ^ 2)) ^ (2 * 𝔰.n ^ 2)) * K := by rw [hcard, ← mul_assoc, ← ENNReal.ofReal_mul (by positivity), ← mul_pow] _ ≤ .ofReal ((P ^ 275) ^ (2 * 𝔰.n ^ 2)) * K := by gcongr _ = _ := by rw [← pow_mul, show 275 * (2 * 𝔰.n ^ 2) = 550 * 𝔰.n ^ 2 by ring] /-- The letters `((a, b), c, d)` that index the derivatives of a convolution on `G₁`: `(a, b)` is the matrix unit along which the function is differentiated, and `c`, `d` select the entries of `y` and `y⁻¹` that the weight gains. -/ abbrev New.Shape.ConvolutionDerivIndex (𝔰 : Shape) : Type := (𝔰.BesselIndex × 𝔰.BesselIndex) × 𝔰.BesselIndex × 𝔰.BesselIndex /-- The weight on `G₁` attached to a word, starting from `φ` at the empty word: the letter `((a, b), c, d)` multiplies the weight at `y` by the entry `(a, d)` of `y⁻¹` and the entry `(c, b)` of `y`, over `R ^ 2`. -/ noncomputable def New.RealPlace.convolutionWeight {𝔰 : Shape} (R : ℝ) (φ : 𝔰.G₁ → ℂ) : List 𝔰.ConvolutionDerivIndex → 𝔰.G₁ → ℂ | [] => φ | ((a, b), c, d) :: i => fun y ↦ convolutionWeight R φ i y * (y⁻¹.val a d * y.val c b / R ^ 2) lemma New.RealPlace.convolutionWeight_nil {𝔰 : Shape} (R : ℝ) (φ : 𝔰.G₁ → ℂ) : convolutionWeight R φ [] = φ := rfl lemma New.RealPlace.convolutionWeight_cons {𝔰 : Shape} (R : ℝ) (φ : 𝔰.G₁ → ℂ) (a b c d : 𝔰.BesselIndex) (i : List 𝔰.ConvolutionDerivIndex) (y : 𝔰.G₁) : convolutionWeight R φ (((a, b), c, d) :: i) y = convolutionWeight R φ i y * (y⁻¹.val a d * y.val c b / R ^ 2) := rfl lemma New.RealPlace.measurable_convolutionWeight {𝔰 : Shape} (R : ℝ) {φ : 𝔰.G₁ → ℂ} (hφ : Measurable φ) (i : List 𝔰.ConvolutionDerivIndex) : Measurable (convolutionWeight R φ i) := by induction i with | nil => exact hφ | cons l i ih => have hM : Continuous fun y : 𝔰.G₁ ↦ (y : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ) := Units.continuous_val.comp continuous_subtypeVal have h_fac : Continuous fun y : 𝔰.G₁ ↦ y⁻¹.val l.1.1 l.2.2 * y.val l.2.1 l.1.2 / (R : ℂ) ^ 2 := (((continuous_apply l.2.2).comp ((continuous_apply l.1.1).comp (hM.comp continuous_inv))).mul ((continuous_apply l.1.2).comp ((continuous_apply l.2.1).comp hM))).div_const _ exact ih.mul h_fac.measurable /-- Let `0 < R` and let the function `φ` on `G₁` vanish at every `y` of operator norm greater than `R`. The weight `convolutionWeight R φ i` at `y` is `φ y` times one factor for each letter of the word `i`: an entry of `y⁻¹` times an entry of `y`, divided by `R ^ 2`. Its norm at `y` is at most `‖φ y‖`. -/ lemma New.RealPlace.norm_convolutionWeight_le {𝔰 : Shape} {R : ℝ} (hR : 0 < R) {φ : 𝔰.G₁ → ℂ} (hφ_supp : ∀ y : 𝔰.G₁, φ y ≠ 0 → ‖(y : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ ≤ R) (i : List 𝔰.ConvolutionDerivIndex) (y : 𝔰.G₁) : ‖convolutionWeight R φ i y‖ ≤ ‖φ y‖ := by induction i with | nil => rfl | cons l i ih => obtain ⟨⟨a, b⟩, c, d⟩ := l grw [convolutionWeight_cons, norm_mul, ih] by_cases hy : φ y = 0 · simp [hy] -- Both entries have norm at most `‖y‖ = ‖y⁻¹‖ ≤ R`. have entry_le : ‖y.val c b‖ ≤ R := (norm_apply_le_l2_opNorm _ c b).trans (hφ_supp y hy) have inv_entry_le : ‖y⁻¹.val a d‖ ≤ R := by grw [norm_apply_le_l2_opNorm, U.norm_inv, hφ_supp y hy] grw [norm_div, norm_mul, entry_le, inv_entry_le] simp [abs_of_pos hR, hR.ne', ← sq] /-- Let `𝔰 : Shape`, `I : Type` be a finite type, and `R : ℝ` satisfy `0 < R`. Let `V : List 𝔰.EntryIndex → C(𝔰.G₁, EuclideanSpace ℂ I)`, `ψ : List 𝔰.ConvolutionDerivIndex → 𝔰.G₁ → ℂ`, `i : List 𝔰.ConvolutionDerivIndex`, `γ : ℝ → 𝔰.G₁`, `X : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ`, `t : ℝ`, and `y : 𝔰.G₁`. Suppose that for every curve `γ' : ℝ → 𝔰.G₁` and matrix `Y : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ` such that `s ↦ (γ' s : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)` (for `s : ℝ`) has derivative `γ' t * Y` at `t`, the composite `V (i.map Prod.fst) ∘ γ'` has derivative `∑ a : 𝔰.BesselIndex, ∑ b : 𝔰.BesselIndex, Y a b • V ((a, b) :: i.map Prod.fst) (γ' t)` at `t`. Suppose further that for all `a`, `b`, `c`, `d : 𝔰.BesselIndex`, `ψ (((a, b), c, d) :: i) y = ψ i y * (y⁻¹.val a d * y.val c b / R ^ 2)`, and that `s ↦ (γ s : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)` (for `s : ℝ`) has derivative `γ t * X` at `t`. Then `s ↦ ψ i y • V (i.map Prod.fst) (γ s * y)` (for `s : ℝ`) has derivative `∑ l : 𝔰.ConvolutionDerivIndex, (R ^ 2 • X) l.2.2 l.2.1 • ψ (l :: i) y • V ((l :: i).map Prod.fst) (γ t * y)` at `t`. -/ private lemma New.RealPlace.hasDerivAt_smul_comp_mul_right {𝔰 : Shape} {I : Type} [Fintype I] {R : ℝ} (hR : 0 < R) {V : List 𝔰.EntryIndex → C(𝔰.G₁, EuclideanSpace ℂ I)} {ψ : List 𝔰.ConvolutionDerivIndex → 𝔰.G₁ → ℂ} {i : List 𝔰.ConvolutionDerivIndex} {γ : ℝ → 𝔰.G₁} {X : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ} {t : ℝ} {y : 𝔰.G₁} (V_deriv : ∀ (γ' : ℝ → 𝔰.G₁) (Y : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ), HasDerivAt (fun s : ℝ ↦ (γ' s : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)) (γ' t * Y) t → HasDerivAt (V (i.map Prod.fst) ∘ γ') (∑ a : 𝔰.BesselIndex, ∑ b : 𝔰.BesselIndex, Y a b • V ((a, b) :: i.map Prod.fst) (γ' t)) t) (ψ_cons : ∀ (a b c d : 𝔰.BesselIndex), ψ (((a, b), c, d) :: i) y = ψ i y * (y⁻¹.val a d * y.val c b / R ^ 2)) (hγ : HasDerivAt (fun s : ℝ ↦ (γ s : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)) (γ t * X) t) : HasDerivAt (fun s : ℝ ↦ ψ i y • V (i.map Prod.fst) (γ s * y)) (∑ l : 𝔰.ConvolutionDerivIndex, (R ^ 2 • X) l.2.2 l.2.1 • ψ (l :: i) y • V ((l :: i).map Prod.fst) (γ t * y)) t := by let Y : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ := y⁻¹ * X * y have log_deriv : HasDerivAt (fun s ↦ ((γ s * y : 𝔰.G₁) : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)) ((γ t * y : 𝔰.G₁) * Y) t := by simpa [Y, mul_assoc] using hγ.mul_const _ -- The entries of `Y = y⁻¹ * X * y` bring the new factors of the weights. have Y_apply (a b : 𝔰.BesselIndex) : ψ i y * Y a b = ∑ c, ∑ d, (R ^ 2 • X) d c * ψ (((a, b), c, d) :: i) y := by have hR' : (R : ℂ) ^ 2 ≠ 0 := pow_ne_zero 2 (ofReal_ne_zero.2 hR.ne') simp only [Y, ψ_cons, InvMemClass.coe_inv, coe_units_inv, Matrix.mul_apply, Finset.sum_mul, Finset.mul_sum, Matrix.smul_apply, real_smul, ofReal_pow] refine Finset.sum_congr rfl fun c _ ↦ Finset.sum_congr rfl fun d _ ↦ ?_ rw [mul_div_assoc', mul_div_assoc', mul_assoc ((R : ℂ) ^ 2), mul_div_cancel_left₀ _ hR'] ring have F'_eq : ψ i y • ∑ a, ∑ b, Y a b • V ((a, b) :: i.map Prod.fst) (γ t * y) = ∑ l : 𝔰.ConvolutionDerivIndex, (R ^ 2 • X) l.2.2 l.2.1 • ψ (l :: i) y • V ((l :: i).map Prod.fst) (γ t * y) := by simp only [sum_prod_type, List.map_cons, Finset.smul_sum, smul_smul, Y_apply, Finset.sum_smul] exact ((V_deriv (fun s ↦ γ s * y) Y log_deriv).fun_const_smul (ψ i y)).congr_deriv F'_eq /-- Let `V w` be bounded continuous functions on `G₁` such that along a curve `γ` in `G₁` with `γ' = γ X` the derivative of `V w ∘ γ` is `∑ X a b • V ((a, b) :: w) ∘ γ`. Since `g e^X y = g y e^(y⁻¹ X y)`, a derivative of `g ↦ ∫ ψ i y • V w (g y)` is a sum of such integrals in which the weight gains an entry of `y⁻¹` and an entry of `y`. If the integrable weights `ψ` carry these factors divided by `R ^ 2`, the integrals `W i g = ∫ ψ i y • V (i.map Prod.fst) (g y)` satisfy `HasDerivWords W (R ^ 2)`: along a curve with `γ' = γ X` and `‖X‖ ≤ C` the derivative of `W i ∘ γ` exists and has norm at most `R ^ 2 C ∑ l, ‖W (l :: i) γ‖`, over the letters `l = ((a, b), c, d)`. -/ lemma New.RealPlace.hasDerivWords_integral {𝔰 : Shape} {I : Type} [Fintype I] {R : ℝ} (hR : 0 < R) {V : List 𝔰.EntryIndex → C(𝔰.G₁, EuclideanSpace ℂ I)} (V_bounded : ∀ w : List 𝔰.EntryIndex, IsBoundedMeasurable (V w)) (V_deriv : ∀ (w : List 𝔰.EntryIndex) (γ : ℝ → 𝔰.G₁) (X : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ) (t : ℝ), HasDerivAt (fun s : ℝ ↦ (γ s : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)) (γ t * X) t → HasDerivAt (V w ∘ γ) (∑ a : 𝔰.BesselIndex, ∑ b : 𝔰.BesselIndex, X a b • V ((a, b) :: w) (γ t)) t) {ψ : List 𝔰.ConvolutionDerivIndex → 𝔰.G₁ → ℂ} (ψ_cons : ∀ (a b c d : 𝔰.BesselIndex) (i : List 𝔰.ConvolutionDerivIndex) (y : 𝔰.G₁), ψ (((a, b), c, d) :: i) y = ψ i y * (y⁻¹.val a d * y.val c b / R ^ 2)) (ψ_int : ∀ i : List 𝔰.ConvolutionDerivIndex, Integrable (ψ i)) : HasDerivWords (fun (i : List 𝔰.ConvolutionDerivIndex) (g : 𝔰.G₁) ↦ ∫ y : 𝔰.G₁, ψ i y • V (i.map Prod.fst) (g * y)) (R ^ 2) := by -- Differentiate under the integral; the `V w` are bounded and the weights integrable. intro i γ X C t₀ h_curve let T (i : List 𝔰.ConvolutionDerivIndex) (g y : 𝔰.G₁) : EuclideanSpace ℂ I := ψ i y • V (i.map Prod.fst) (g * y) have T_int (i : List 𝔰.ConvolutionDerivIndex) (g : 𝔰.G₁) : Integrable (T i g) := (V_bounded _).integrable_smul (ψ_int i) g -- The letter `((a, b), c, d)` enters the derivative with the entry `(d, c)` of `R ^ 2 • X t`. let coeff (t : ℝ) : 𝔰.ConvolutionDerivIndex → ℂ := fun (_, c, d) ↦ (R ^ 2 • X t) d c let F' (t : ℝ) (y : 𝔰.G₁) : EuclideanSpace ℂ I := ∑ l, coeff t l • T (l :: i) (γ t) y let N : Set ℝ := {t | HasDerivAt (fun s ↦ (γ s : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)) (γ t * X t) t ∧ ‖X t‖ ≤ C} have t₀_mem : t₀ ∈ N := h_curve.self_of_nhds have coeff_le (t : ℝ) (ht : t ∈ N) (l : 𝔰.ConvolutionDerivIndex) : ‖coeff t l‖ ≤ R ^ 2 * C := by grw [norm_apply_le_l2_opNorm, norm_smul, ht.2, Real.norm_of_nonneg (by positivity)] have T_deriv (y : 𝔰.G₁) (t : ℝ) (ht : t ∈ N) : HasDerivAt (fun t ↦ T i (γ t) y) (F' t y) t := hasDerivAt_smul_comp_mul_right hR (fun γ' Y h ↦ V_deriv _ γ' Y t h) (fun a b c d ↦ ψ_cons a b c d i y) ht.1 choose M hM using fun w ↦ (V_bounded w).bounded have hC : 0 ≤ C := (norm_nonneg _).trans t₀_mem.2 have F'_le (y : 𝔰.G₁) (t : ℝ) (ht : t ∈ N) : ‖F' t y‖ ≤ ∑ l, R ^ 2 * C * (‖ψ (l :: i) y‖ * M ((l :: i).map Prod.fst)) := by grw [norm_sum_le, norm_smul_le, coeff_le t ht, norm_smul_le, hM] have F'_int : Integrable (F' t₀) := integrable_finsetSum _ fun l _ ↦ (T_int (l :: i) (γ t₀)).smul (coeff t₀ l) have deriv_integral : HasDerivAt (fun t ↦ ∫ y, T i (γ t) y) (∫ y, F' t₀ y) t₀ := (hasDerivAt_integral_of_dominated_loc_of_deriv_le (s := N) h_curve (.of_forall fun x ↦ (T_int i (γ x)).aestronglyMeasurable) (T_int i (γ t₀)) F'_int.aestronglyMeasurable (.of_forall F'_le) (integrable_finsetSum _ fun l _ ↦ ((ψ_int (l :: i)).norm.mul_const _).const_mul _) (.of_forall T_deriv)).2 refine ⟨∫ y, F' t₀ y, deriv_integral, ?_⟩ calc _ = ‖∑ l, coeff t₀ l • ∫ y, T (l :: i) (γ t₀) y‖ := by rw [show ∫ y, F' t₀ y = ∑ l, coeff t₀ l • ∫ y, T (l :: i) (γ t₀) y from (integral_finsetSum (f := fun l y ↦ coeff t₀ l • T (l :: i) (γ t₀) y) Finset.univ fun l _ ↦ (T_int (l :: i) (γ t₀)).smul (coeff t₀ l)).trans (Finset.sum_congr rfl fun l _ ↦ integral_smul _ _)] _ ≤ _ := by grw [norm_sum_le, norm_smul_le, coeff_le t₀ t₀_mem] /-- Let `P ≥ 8 r`, where `r = 𝔰.r` is the size of the matrices in `G₁`, and let `n = ϱ + 1`. Let `F` and its iterated right derivatives `V w` be Bessel functions of type `rep`, that is, bounded functions that transform on the left by a fixed character under the unipotent group `𝖴` and by the unitary representation `rep` under `U(κ)`, such that `g ↦ ∫ ψ y • V w (g y)` has squared norm at most `P ^ (2 |w|) D ∫ ‖ψ‖ ^ 2` in `L²(𝖴∖G₁)` when `|w| ≤ 2 n ^ 2` (`HasSchurBound`). Let `Z` be a complex `n × n` matrix (`FrameMatrix`) such that every `Y` within `P⁻⁶` of `Z` is invertible with |ξ| < 1 and with ‖Y‖, ‖Y⁻¹‖ and (1 − |ξ|²)^{−1/2} at most `P`, ξ the last diagonal entry of `Y⁻¹` (`IsBoundedInCell`), and has `0 < c ≤ gramDiscReal Y` = |det Y|² − |det Y₀|², Y₀ the upper left `ϱ × ϱ` block of `Y`. Let the measurable integrable function `φ` vanish where the operator norm exceeds `P ^ 20`. Then the integral of `‖∫ φ y • F (γ_Z (u h)⁻¹ y)‖ ^ 2` over the `ω = (h, u)` in `U(κ) × 𝖴⁰` with `‖u‖ ≤ P ^ 20` (`fixerBall`), for Haar measure times `openCellConst * c ^ (|κ| - 1)` (`fixerMeasure`), is at most `P ^ (2000 n ^ 2) D ∫ ‖φ‖ ^ 2`. -/ theorem New.RealPlace.lintegral_gramSection_integral_le {𝔰 : Shape} {I : Type} [Fintype I] [DecidableEq I] {P c : ℝ} {D : ENNReal} {rep : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) →* unitaryGroup I ℂ} {F : 𝔰.G₁ → EuclideanSpace ℂ I} {Z : 𝔰.FrameMatrix} (hP : 8 * 𝔰.r ≤ P) (hF_schur : HasSchurBound F rep P D) (hc : 0 < c) (h_disc : ∀ Y ∈ ball Z (P ^ 6)⁻¹, c ≤ gramDiscReal Y) (h_cell : ∀ Y ∈ ball Z (P ^ 6)⁻¹, IsBoundedInCell Y P) {φ : 𝔰.G₁ → ℂ} (hφ : Measurable φ) (hφ_int : Integrable φ) (hφ_supp : ∀ y : 𝔰.G₁, φ y ≠ 0 → ‖(y : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ ≤ P ^ 20) : ∫⁻ ω : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) × (𝔰.middleGram (1 : ℂ)).besselU0 in 𝔰.fixerBall (P ^ 20), ‖∫ y : 𝔰.G₁, φ y • F (gramSection Z * ((ω.2 : 𝔰.G₁) * embedH ω.1)⁻¹ * y)‖ₑ ^ 2 ∂𝔰.fixerMeasure c ≤ ENNReal.ofReal (P ^ (2000 * 𝔰.n ^ 2)) * D * ∫⁻ y : 𝔰.G₁, ‖φ y‖ₑ ^ 2 := by -- The weighted integrals of the derivatives `V w` of `F` form a family of derivatives whose -- first member is `g ↦ ∫ φ y • F (g y)`; apply `lintegral_gramSection_le_of_hasDerivWords`. have one_le_rank : (1 : ℝ) ≤ 𝔰.r := Nat.one_le_cast.2 card_pos have rank_le : (𝔰.r : ℝ) ≤ P := by linarith have one_le : 1 ≤ P := by linarith obtain ⟨V, hF, hV⟩ := hF_schur have V_bessel (w : List 𝔰.EntryIndex) : IsBesselFunction rep (V w) := (hV w).1 have V_deriv (w : List 𝔰.EntryIndex) := (hV w).2.1 have V_schur (w : List 𝔰.EntryIndex) := (hV w).2.2 let ψ : List 𝔰.ConvolutionDerivIndex → 𝔰.G₁ → ℂ := convolutionWeight (P ^ 20) φ have ψ_meas (i : List 𝔰.ConvolutionDerivIndex) : Measurable (ψ i) := measurable_convolutionWeight _ hφ i have norm_ψ_le (i : List 𝔰.ConvolutionDerivIndex) (y : 𝔰.G₁) : ‖ψ i y‖ ≤ ‖φ y‖ := norm_convolutionWeight_le (by positivity) hφ_supp i y have ψ_int (i : List 𝔰.ConvolutionDerivIndex) : Integrable (ψ i) := hφ_int.mono (ψ_meas i).aestronglyMeasurable (.of_forall (norm_ψ_le i)) let W (i : List 𝔰.ConvolutionDerivIndex) (g : 𝔰.G₁) : EuclideanSpace ℂ I := ∫ y, ψ i y • V (i.map Prod.fst) (g * y) have W_deriv : HasDerivWords W ((P ^ 20) ^ 2) := hasDerivWords_integral (by positivity) (fun w ↦ (V_bessel w).toIsBoundedMeasurable) V_deriv (convolutionWeight_cons (P ^ 20) φ) ψ_int have W_inv (i : List 𝔰.ConvolutionDerivIndex) : besselS.FixesLeft fun g : 𝔰.G₁ ↦ ‖W i g‖ₑ := fun s hs g ↦ (V_bessel (i.map Prod.fst)).enorm_integral_besselS_mul hs (ψ i) g -- There are `r ^ 4` letters, and each costs `(P ^ 20) ^ 2`. have letters_le : card 𝔰.ConvolutionDerivIndex * (P ^ 20) ^ 2 ≤ P ^ 44 := by calc _ = (𝔰.r : ℝ) ^ 4 * P ^ 40 := by simp only [card_prod, Nat.cast_mul] ring _ ≤ P ^ 44 := by grw [rank_le, ← pow_add] -- Schur's bound for the derivatives, at the price `P ^ 2` for each letter. have schur (i : List 𝔰.ConvolutionDerivIndex) (hi : i.length ≤ 2 * 𝔰.n ^ 2) : ∫⁻ g, ‖W i g‖ₑ ^ 2 ∂besselQuotMeasure ≤ .ofReal (P ^ (2 * (2 * 𝔰.n ^ 2))) * D * ∫⁻ y, ‖φ y‖ₑ ^ 2 := by have h_len : (i.map Prod.fst).length ≤ 2 * 𝔰.n ^ 2 := by rwa [List.length_map] refine (V_schur (i.map Prod.fst) h_len (ψ i) (ψ_int i)).trans ?_ rw [List.length_map] exact mul_le_mul' (mul_le_mul' (ENNReal.ofReal_le_ofReal (pow_le_pow_right₀ one_le (Nat.mul_le_mul_left 2 hi))) le_rfl) (lintegral_mono fun y ↦ pow_le_pow_left' (eNorm_le_iff_norm_le.2 (norm_ψ_le i y)) 2) have W_meas (i : List 𝔰.ConvolutionDerivIndex) : Measurable (W i) := ((((ψ_meas i).comp measurable_snd).smul ((V (i.map Prod.fst)).continuous.measurable.comp (measurable_fst.mul measurable_snd))).stronglyMeasurable.integral_prod_right').measurable calc _ ≤ .ofReal (P ^ (550 * 𝔰.n ^ 2)) * (.ofReal (P ^ (2 * (2 * 𝔰.n ^ 2))) * D * ∫⁻ y, ‖φ y‖ₑ ^ 2) := by simpa only [W, ψ, convolutionWeight_nil, List.map_nil, ← hF] using lintegral_gramSection_le_of_hasDerivWords hP hc h_disc h_cell W_deriv (by positivity) letters_le W_meas W_inv schur _ ≤ _ := by grw [← mul_assoc, ← mul_assoc, ← ENNReal.ofReal_mul (by positivity), ← pow_add, show 550 * 𝔰.n ^ 2 + 2 * (2 * 𝔰.n ^ 2) ≤ 2000 * 𝔰.n ^ 2 by omega] end SobolevCell