import Lib.DiscreteSeries.Bessel.SchurBound 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. -/ /-! ## 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 h_disc : R ^ 2 * Real.pi ≤ (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]) suffices h_pow : (R ^ 2 * Real.pi) ^ Fintype.card {p : Fin j × Fin j // p.1 < p.2} ≤ ((2 * R) ^ 2) ^ j ^ 2 by simpa (disch := finiteness) [volume_pi, pow_mul, ← ENNReal.toReal_le_toReal] using h_pow grw [h_disc, pow_le_pow_right₀ (by nlinarith) h_card] /-- 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`. -- 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 have inner_le (y : 𝔰.G₁) : ∫⁻ u : (𝔰.middleGram (1 : ℂ)).besselU, φ (u * y) ∂𝔰.besselHaar ≤ K * .ofReal ((2 * R) ^ (2 * 𝔰.n ^ 2)) := by by_cases! hφy : ∀ u : (𝔰.middleGram (1 : ℂ)).besselU, φ (u * y) = 0 · simp [hφy] 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 rw [← lintegral_mul_right_eq_self _ u₀, Shape.besselHaar, lintegral_map (by fun_prop) (by fun_prop), lintegral_prod _ (by fun_prop)] simp [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 ↦ by simp [h_zero x hx]).symm _ ≤ K * volume box := by grw [hK, setLIntegral_const] _ ≤ _ := mul_le_mul' le_rfl (volume_upperEntries_closedBall_le h_one_le) 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 simp (disch := fun_prop) only [← lintegral_mul_const] simp [smul_def, hw_inv] _ ≤ _ := by grw [inner_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 (by fun_prop) 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 `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 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) := by have h_fiber {s : 𝔰.G₁} (hs : s ∈ besselFixer) : χQ (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 (Q_subset hZ)] simp only [χQ, indicator, mem_preimage, h_gram, ite_eq_left hZ] rw [mul_assoc s, hw_inv _ (mem_besselS_of_mem_besselFixer hs)] rw [lintegral_fixerHaar (by fun_prop)] simp_rw [h_fiber (mul_embedH_mem_besselFixer (Subtype.prop _) _)] simp (disch := fun_prop) [lintegral_mul_const, mul_assoc, χ_orbit] unfold J rw [lintegral_lintegral_swap (by fun_prop), lintegral_fixerHaar_eq_inv (by fun_prop)] 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 γ) (by fun_prop) _ ≤ _ := by simpa using 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 field _ ≤ 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)] /-- 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] · have norm_x_le : ‖x‖ ≤ (P ^ 8)⁻¹ := by simpa [abs_of_pos P_pos] using dist_le_of_mem_pi_Icc hx (left_mem_Icc.2 (hx.1.trans hx.2)) calc ‖e x‖ ≤ P ^ 2 * (P ^ 8)⁻¹ / 8 := by grw [norm_e_le, norm_x_le] _ = (P ^ 6)⁻¹ / 8 := by field _ < (P ^ 6)⁻¹ := div_lt_self (by positivity) (by norm_num) /-- 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 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 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 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 := by have hw_inv : besselS.FixesLeft fun g : 𝔰.G₁ ↦ ‖V w g‖ₑ ^ 2 := fun s hs g ↦ congrArg (· ^ 2) (hV_inv w s hs g) calc _ ≤ ∫⁻ x in (fun x ↦ Z + e x) ⁻¹' Q, ∫⁻ ω, ‖f w x ω‖ₑ ^ 2 ∂μ := by grw [← cube_subset, setLIntegral_le_lintegral B] _ = ∫⁻ Y in Q, ∫⁻ ω, ‖V w (gramSection Y * shift ω)‖ₑ ^ 2 ∂μ := e_preserving.setLIntegral_comp_preimage measurableSet_ball (f := fun Y ↦ ∫⁻ ω, ‖V w (gramSection Y * shift ω)‖ₑ ^ 2 ∂μ) (by fun_prop) _ ≤ .ofReal ((2 * P ^ 2) ^ (2 * 𝔰.n ^ 2)) * ∫⁻ g, ‖V w g‖ₑ ^ 2 ∂besselQuotMeasure := lintegral_lintegral_gramSection_le one_le hc measurableSet_ball h_disc h_cell (by fun_prop) hw_inv _ ≤ _ := by grw [hK w hw] -- Each of the `2 n ^ 2` coordinates costs `a` in Sobolev's inequality and `2 P ^ 2` on the cube. 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 (by fun_prop) (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 (by simpa [← sq] using hw) _ = .ofReal ((a * (2 * P ^ 2)) ^ (2 * 𝔰.n ^ 2)) * K := by simp (disch := positivity) [mul_pow a, ENNReal.ofReal_mul, mul_assoc, ← sq] _ ≤ .ofReal ((P ^ 275) ^ (2 * 𝔰.n ^ 2)) * K := by gcongr _ = _ := by norm_num [← pow_mul, ← mul_assoc] /-- 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 => exact ih.mul (by fun_prop) /-- 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 `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 := by let Y : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ := y⁻¹ * X t * y have log_deriv : HasDerivAt (fun s ↦ ((γ s * y : 𝔰.G₁) : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)) ((γ t * y : 𝔰.G₁) * Y) t := by simpa [Y, mul_assoc] using ht.1.mul_const _ -- The entries of `Y = y⁻¹ * X t * y` bring the new factors of the weights. have Y_apply (a b : 𝔰.BesselIndex) : ψ i y * Y a b = ∑ c, ∑ d, coeff t ((a, b), c, d) * ψ (((a, b), c, d) :: i) y := by simp only [Y, coeff, ψ_cons, InvMemClass.coe_inv, coe_units_inv, mul_apply, Finset.sum_mul, Finset.mul_sum, Matrix.smul_apply, real_smul, ofReal_pow] congr! 2 field have F'_eq : ψ i y • ∑ a, ∑ b, Y a b • V ((a, b) :: i.map Prod.fst) (γ t * y) = F' t y := by simp only [F', T, sum_prod_type, List.map_cons, Finset.smul_sum, smul_smul, Y_apply, Finset.sum_smul] exact ((V_deriv _ (fun s ↦ γ s * y) Y t log_deriv).fun_const_smul (ψ i y)).congr_deriv F'_eq 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 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 (by fun_prop)) (T_int i (γ t₀)) (by fun_prop) (.of_forall F'_le) (by fun_prop) (.of_forall T_deriv)).2 refine ⟨∫ y, F' t₀ y, deriv_integral, ?_⟩ calc _ = ‖∑ l, coeff t₀ l • ∫ y, T (l :: i) (γ t₀) y‖ := by simp (disch := fun_prop) only [F', integral_finsetSum, 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, V_bessel, V_deriv, V_schur⟩ : ∃ V : List 𝔰.EntryIndex → C(𝔰.G₁, EuclideanSpace ℂ I), F = V [] ∧ (∀ w, IsBesselFunction rep (V w)) ∧ (∀ w (γ : ℝ → 𝔰.G₁) (X : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ) (t : ℝ), HasDerivAt (fun s ↦ (γ s : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)) (γ t * X) t → HasDerivAt (V w ∘ γ) (∑ a, ∑ b, X a b • V ((a, b) :: w) (γ t)) t) ∧ ∀ w, w.length ≤ 2 * 𝔰.n ^ 2 → SchurLe (V w) (.ofReal (P ^ (2 * w.length)) * D) := by simpa only [HasSchurBound, forall_and] using hF_schur 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 grw [V_schur (i.map Prod.fst) (by simpa using hi) (ψ i) (ψ_int i), i.length_map, hi, enorm_le_iff_norm_le.2 (norm_ψ_le i _)] 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 (by fun_prop) 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 lia] end SobolevCell