Riemann hypothesis: the Lean proof, cleaned up together
The 2026 Lean proof of the Riemann hypothesis and GRH, machine-checked by others, not refereed, no word from Clay; cleaned up together: more readable, faster to build, the theorems unchanged

| 1 | module |
| 2 | |
| 3 | import TauCeti.Analysis.Matrix.L2OpNorm |
| 4 | import Mathlib.Algebra.Order.Star.Int |
| 5 | import Mathlib.Algebra.Order.Star.Real |
| 6 | import Mathlib.MeasureTheory.SpecificCodomains.WithLp |
| 7 | import TauCeti.Topology.Algebra.Group.Units |
| 8 | import TauCeti.Topology.Instances.Matrix |
| 9 | public import New.Spanning.Bessel.SobolevBound |
| 10 | import Lib.DiscreteSeries.Bessel.SchurBound |
| 11 | import Lib.DiscreteSeries.Bessel.UnipotentHaarMeasure |
| 12 | import Lib.DiscreteSeries.Bruhat.ComplexPlace |
| 13 | import Lib.DiscreteSeries.Haar.TotalMass |
| 14 | import Lib.General.Analysis.GaussianIntegral |
| 15 | import New.Spanning.Bessel.MeanValue |
| 16 | import New.Spanning.Unfolding.Link |
| 17 | |
| 18 | /-! |
| 19 | # Bounds near a point of Ω and the open cell bound for a Bessel system |
| 20 | |
| 21 | Write Ω = `New.Shape.openCell`, 𝗀(Z) = |det Z|² − |D_ϱ|² and ν(Z)² = 1 − |ξ|², where ξ is the last |
| 22 | diagonal entry of Z⁻¹. At and near a point `Z` of Ω (so `0 < 𝗀(Z)`) the matrix, its inverse, 𝗀 and ν |
| 23 | obey explicit size bounds. Such bounds on a ball supply the hypothesis of |
| 24 | `New.RealPlace.lintegral_gramSection_integral_le`. For a Bessel system, a family of kernels is then |
| 25 | shown to be an `L²` contraction at each `γ` in `New.Shape.G₁` whose frame Gram matrix lies in Ω, |
| 26 | provided that some `y` and `γ⁻¹ y` both lie in a frame box of large enough size. |
| 27 | |
| 28 | ## Main definitions and results |
| 29 | |
| 30 | * `New.RealPlace.isBoundedInCell_of_inv_le_gramDiscReal`: if `M⁻¹ ≤ 𝗀(Z)` and the entries of `Z` are |
| 31 | at most `M ^ 2`, a power of `M` bounds the matrix, its inverse and `1 / ν`. |
| 32 | * `New.RealPlace.gramDiscReal_div_two_le_and_isBoundedInCell`: on a small ball about such a `Z` the |
| 33 | matrix stays in Ω with these bounds, and 𝗀 drops by at most a factor two. |
| 34 | * `New.BesselSystem.exists_isOpenCellBound`: the family of shifted kernels is a contraction from |
| 35 | `L²(ν)` to `L²(m)`, with `m` a probability measure and `ν` of total mass at most `pairingBoundSq` |
| 36 | (`New.BesselSystem.IsOpenCellBound`). |
| 37 | |
| 38 | Notions from other files: |
| 39 | * `New.RealPlace.gramDiscReal`: 𝗀(Z) = |det Z|² − |D_ϱ|² for a (ϱ+1)×(ϱ+1) complex matrix Z |
| 40 | (`New.Shape.FrameMatrix`), where D_l (`New.leadingMinor`) is the leading principal minor of order |
| 41 | l. |
| 42 | * `New.Shape.openCell`: The set of invertible (ϱ+1)×(ϱ+1) complex matrices whose inverse has last |
| 43 | diagonal entry ξ of absolute value less than 1; `New.RealPlace.oneSubNormSqInvCorner` is |
| 44 | ν² = 1 − |ξ|². |
| 45 | * `New.RealPlace.gramSection`: For Z in Ω, an element γ_Z of G₁ whose frame Gram matrix |
| 46 | (`New.realFrameGram`) is Z. |
| 47 | * `New.frameBox`: The set of y in G₁ such that every vector y⁻¹f_a of the moved frame |
| 48 | (`New.frameVector`) has Euclidean norm at most a given bound. |
| 49 | * `New.besselLength`: For y in G₁, the infimum of ‖sy‖ + 1 over s in the Bessel subgroup S |
| 50 | (`New.Shape.Form.besselS`). |
| 51 | * `New.BesselSystem 𝔰 B f`: a Bessel function `besselFn .full` on G₁ with values in ℂ^I, its cut |
| 52 | `besselFn .cut` and their bounds. The real `B ≥ 8 r` (r the rank of G₁) sets the scale of the |
| 53 | bounds, the natural number `f` the rate of decay, and |I| / `deg` is the constant of Schur's |
| 54 | bound. |
| 55 | |
| 56 | ## Relation to the literature |
| 57 | |
| 58 | See `New.Spanning.Bessel.FillingData` for related work. |
| 59 | -/ |
| 60 | |
| 61 | @[expose] public section |
| 62 | |
| 63 | /-! |
| 64 | ## Sizes at and near a point of Ω |
| 65 | |
| 66 | Norms of matrices are `L²` operator norms. |
| 67 | -/ |
| 68 | |
| 69 | namespace New.RealPlace |
| 70 | |
| 71 | open Real Matrix Complex Fintype Metric Norms.L2Operator |
| 72 | |
| 73 | /-- A complex matrix of size `l ≤ M` with entries of norm at most `M ^ 2` has operator norm at most |
| 74 | `M ^ 4`. -/ |
| 75 | lemma l2_opNorm_le_pow_four {l : ℕ} {M : ℝ} (hl : l ≤ M) {A : Matrix (Fin l) (Fin l) ℂ} |
| 76 | (hA : ∀ a b : Fin l, ‖A a b‖ ≤ M ^ 2) : ‖A‖ ≤ M ^ 4 := by |
| 77 | have hl0 : 0 ≤ (l : ℝ) := Nat.cast_nonneg l |
| 78 | have hM0 : 0 ≤ M := hl0.trans hl |
| 79 | calc ‖A‖ ≤ (card (Fin l) : ℝ) * card (Fin l) * M ^ 2 := l2_opNorm_le_of_apply hA |
| 80 | _ = (l : ℝ) * l * M ^ 2 := by rw [card_fin] |
| 81 | _ ≤ M * M * M ^ 2 := mul_le_mul_of_nonneg_right (mul_le_mul hl hl hl0 hM0) (sq_nonneg M) |
| 82 | _ = M ^ 4 := by rw [← sq, ← pow_add] |
| 83 | |
| 84 | private lemma norm_det_le_of_entry_bound {l : ℕ} {M : ℝ} (hl : l ≤ M) {A : Matrix (Fin l) (Fin l) ℂ} |
| 85 | (hA : ∀ a b, ‖A a b‖ ≤ M ^ 2) : ‖A.det‖ ≤ (M ^ 4) ^ l := by |
| 86 | refine norm_det_le_norm_pow.trans ?_ |
| 87 | rw [card_fin] |
| 88 | exact pow_le_pow_left₀ (norm_nonneg A) (l2_opNorm_le_pow_four hl hA) l |
| 89 | |
| 90 | /-- The adjugate of a complex matrix of size `l + 1 ≤ M` with entries of norm at most `M ^ 2` has |
| 91 | operator norm at most `M ^ 2 * (M ^ 4) ^ l`: its entries are minors of size `l`, up to sign. -/ |
| 92 | private lemma l2_opNorm_adjugate_le_of_entry_bound {l : ℕ} {M : ℝ} (hl : ((l + 1 : ℕ) : ℝ) ≤ M) |
| 93 | {A : Matrix (Fin (l + 1)) (Fin (l + 1)) ℂ} (hA : ∀ a b, ‖A a b‖ ≤ M ^ 2) : |
| 94 | ‖A.adjugate‖ ≤ M ^ 2 * (M ^ 4) ^ l := by |
| 95 | have hM_pos : 0 < M := lt_of_lt_of_le (by positivity) hl |
| 96 | have h_adj (a b : Fin (l + 1)) : ‖A.adjugate a b‖ ≤ (M ^ 4) ^ l := by |
| 97 | rw [adjugate_fin_succ_eq_det_submatrix, norm_mul, norm_pow, norm_neg, norm_one, one_pow, |
| 98 | one_mul] |
| 99 | exact norm_det_le_of_entry_bound (A := A.submatrix b.succAbove a.succAbove) |
| 100 | ((Nat.cast_le.2 l.le_succ).trans hl) fun i j ↦ hA _ _ |
| 101 | calc ‖A.adjugate‖ ≤ (card (Fin (l + 1)) : ℝ) * card (Fin (l + 1)) * (M ^ 4) ^ l := |
| 102 | l2_opNorm_le_of_apply h_adj |
| 103 | _ = ((l + 1 : ℕ) : ℝ) * ((l + 1 : ℕ) : ℝ) * (M ^ 4) ^ l := by rw [card_fin] |
| 104 | _ ≤ M * M * (M ^ 4) ^ l := |
| 105 | mul_le_mul_of_nonneg_right (mul_le_mul hl hl (Nat.cast_nonneg _) hM_pos.le) |
| 106 | (pow_nonneg (pow_nonneg hM_pos.le 4) _) |
| 107 | _ = M ^ 2 * (M ^ 4) ^ l := by rw [← sq] |
| 108 | |
| 109 | lemma oneSubNormSqInvCorner_le_one {𝔰 : Shape} (Z : 𝔰.FrameMatrix) : oneSubNormSqInvCorner Z ≤ 1 := |
| 110 | sub_le_self 1 (sq_nonneg _) |
| 111 | |
| 112 | /-- Sizes at a point of Ω. Let `Z` be a complex matrix of size `n = ϱ + 1 ≤ M` with entries of norm |
| 113 | at most `M ^ 2` and with `M⁻¹ ≤ 𝗀(Z)`. Then `Z` lies in Ω, and every `T ≥ M ^ (8 n)` bounds `‖Z⁻¹‖`, |
| 114 | `‖Z‖` and `1 / ν(Z)` (`IsBoundedInCell`). -/ |
| 115 | lemma isBoundedInCell_of_inv_le_gramDiscReal {𝔰 : Shape} {M T : ℝ} {Z : 𝔰.FrameMatrix} |
| 116 | (h_disc : M⁻¹ ≤ gramDiscReal Z) (hM : 𝔰.n ≤ M) (hZ : ∀ a b : Fin (𝔰.ϱ + 1), ‖Z a b‖ ≤ M ^ 2) |
| 117 | (hT : M ^ (8 * 𝔰.n) ≤ T) : IsBoundedInCell Z T := by |
| 118 | -- In `M⁻¹ ≤ 𝗀(Z) = |det Z|² ν(Z)²` each factor is bounded above, so each is bounded below. |
| 119 | have hM_one : 1 ≤ M := (Nat.one_le_cast.2 𝔰.ϱ.succ_pos).trans hM |
| 120 | have hM_pos : 0 < M := one_pos.trans_le hM_one |
| 121 | have h_pow (k : ℕ) (hk : k ≤ 8 * 𝔰.n) : M ^ k ≤ T := (pow_le_pow_right₀ hM_one hk).trans hT |
| 122 | have h_mem : Z ∈ 𝔰.openCell := mem_openCell_iff.2 (h_disc.trans_lt' (inv_pos.2 hM_pos)) |
| 123 | have h_det_pos : 0 < ‖Z.det‖ := norm_pos_iff.2 h_mem.1 |
| 124 | have h_defect_pos : 0 < oneSubNormSqInvCorner Z := oneSubNormSqInvCorner_pos h_mem |
| 125 | have h_inv : (‖Z.det‖ * √(oneSubNormSqInvCorner Z))⁻¹ ≤ M := by |
| 126 | refine inv_le_of_inv_le₀ hM_pos |
| 127 | (le_of_sq_le_sq ?_ (mul_nonneg h_det_pos.le (Real.sqrt_nonneg _))) |
| 128 | calc M⁻¹ ^ 2 ≤ M⁻¹ := |
| 129 | pow_le_of_le_one (inv_nonneg.2 hM_pos.le) (inv_le_one_of_one_le₀ hM_one) two_ne_zero |
| 130 | _ ≤ ‖Z.det‖ ^ 2 * oneSubNormSqInvCorner Z := |
| 131 | h_disc.trans_eq (gramDiscReal_eq_norm_det_sq_mul h_mem.1) |
| 132 | _ = (‖Z.det‖ * √(oneSubNormSqInvCorner Z)) ^ 2 := by rw [mul_pow, sq_sqrt h_defect_pos.le] |
| 133 | refine ⟨h_mem, ?_, (l2_opNorm_le_pow_four hM hZ).trans (h_pow 4 (by dsimp only [Shape.n]; omega)), |
| 134 | ?_⟩ |
| 135 | · -- Cramer's rule: the entries of the adjugate are minors of size `𝔰.ϱ`, up to sign |
| 136 | have h_det_inv : ‖Z.det‖⁻¹ ≤ M := by |
| 137 | have h_le : ‖Z.det‖ * √(oneSubNormSqInvCorner Z) ≤ ‖Z.det‖ := |
| 138 | mul_le_of_le_one_right h_det_pos.le |
| 139 | ((Real.sqrt_le_sqrt (oneSubNormSqInvCorner_le_one Z)).trans_eq Real.sqrt_one) |
| 140 | exact (inv_anti₀ (mul_pos h_det_pos (Real.sqrt_pos.2 h_defect_pos)) h_le).trans h_inv |
| 141 | calc ‖Z⁻¹‖ = ‖Z.det‖⁻¹ * ‖Z.adjugate‖ := by |
| 142 | rw [Z.inv_def, Ring.inverse_eq_inv', norm_smul, norm_inv] |
| 143 | _ ≤ M * (M ^ 2 * (M ^ 4) ^ 𝔰.ϱ) := |
| 144 | mul_le_mul h_det_inv (l2_opNorm_adjugate_le_of_entry_bound hM hZ) (norm_nonneg _) |
| 145 | hM_pos.le |
| 146 | _ = M ^ (3 + 4 * 𝔰.ϱ) := by rw [← pow_mul, ← mul_assoc, ← pow_succ', ← pow_add] |
| 147 | _ ≤ T := h_pow _ (by dsimp only [Shape.n]; omega) |
| 148 | · calc (√(oneSubNormSqInvCorner Z))⁻¹ ≤ ‖Z.det‖ * M := by |
| 149 | rwa [mul_inv, inv_mul_le_iff₀ h_det_pos] at h_inv |
| 150 | _ ≤ M ^ (4 * 𝔰.n + 1) := by |
| 151 | rw [pow_succ, pow_mul] |
| 152 | exact mul_le_mul_of_nonneg_right (norm_det_le_of_entry_bound hM hZ) hM_pos.le |
| 153 | _ ≤ T := h_pow _ (by dsimp only [Shape.n]; omega) |
| 154 | |
| 155 | /-- Sizes near a point of Ω. Let `Z` be a complex matrix of size `n = ϱ + 1` and `M ≥ 8 n`, with |
| 156 | `M⁻¹ ≤ 𝗀(Z)` and entries of `Z` of norm at most `M ^ 2`; let `P ≥ M ^ (9 n)`. Every `Z'` at operator |
| 157 | distance less than `(P ^ 6)⁻¹` from `Z` has `𝗀(Z) / 2 ≤ 𝗀(Z')` and satisfies `IsBoundedInCell Z' P`: |
| 158 | it lies in Ω, and `‖Z'⁻¹‖`, `‖Z'‖`, `1 / ν(Z')` are at most `P`. -/ |
| 159 | lemma gramDiscReal_div_two_le_and_isBoundedInCell {𝔰 : Shape} {M P : ℝ} {Z Z' : 𝔰.FrameMatrix} |
| 160 | (h_disc : M⁻¹ ≤ gramDiscReal Z) (hM : 8 * (𝔰.ϱ + 1) ≤ M) |
| 161 | (hZ : ∀ a b : Fin (𝔰.ϱ + 1), ‖Z a b‖ ≤ M ^ 2) (hP : M ^ (9 * 𝔰.n) ≤ P) |
| 162 | (hZ' : Z' ∈ ball Z (P ^ 6)⁻¹) : |
| 163 | gramDiscReal Z / 2 ≤ gramDiscReal Z' ∧ IsBoundedInCell Z' P := by |
| 164 | -- The number `P / 2` bounds the sizes at `Z`, and `Z'` is a small perturbation of `Z`. |
| 165 | have hnM : 𝔰.n ≤ M := (Nat.cast_succ 𝔰.ϱ).trans_le (by linarith) |
| 166 | have hM_one : 1 ≤ M := by linarith |
| 167 | have h_pow : M ^ (8 * 𝔰.n) ≤ P / 2 := by |
| 168 | have h_succ : M ^ (8 * 𝔰.n + 1) ≤ P := |
| 169 | (pow_le_pow_right₀ hM_one (by dsimp only [Shape.n]; omega)).trans hP |
| 170 | nlinarith [pow_pos (one_pos.trans_le hM_one) (8 * 𝔰.n), pow_succ M (8 * 𝔰.n)] |
| 171 | have hM_half : M ≤ P / 2 := |
| 172 | (le_self_pow₀ hM_one (by dsimp only [Shape.n]; omega)).trans h_pow |
| 173 | have h_cell : IsBoundedInCell Z (P / 2) := |
| 174 | isBoundedInCell_of_inv_le_gramDiscReal h_disc hnM hZ h_pow |
| 175 | have hP_pos : 0 < P := by linarith |
| 176 | have h_near : Z' ∈ ball Z ((P / 2) ^ 6)⁻¹ := |
| 177 | ball_subset_ball |
| 178 | (inv_anti₀ (pow_pos (half_pos hP_pos) 6) |
| 179 | (pow_le_pow_left₀ (half_pos hP_pos).le (half_le_self hP_pos.le) 6)) |
| 180 | hZ' |
| 181 | refine ⟨h_cell.gramDiscReal_div_two_le (by linarith) (hnM.trans hM_half) h_near, ?_⟩ |
| 182 | simpa only [mul_div_cancel₀ P two_ne_zero] using h_cell.of_mem_ball (by linarith) h_near |
| 183 | |
| 184 | theorem euclidean_enorm_sq_eq_sum {I : Type*} [Fintype I] (u : EuclideanSpace ℂ I) : |
| 185 | ‖u‖ₑ ^ 2 = ∑ i : I, ‖u i‖ₑ ^ 2 := by |
| 186 | simp [eNorm_eq_nnNorm, u.nnNorm_eq, ← ENNReal.coe_pow] |
| 187 | |
| 188 | end New.RealPlace |
| 189 | |
| 190 | /-! |
| 191 | ## The open cell bound for a Bessel system |
| 192 | |
| 193 | Let `γ` in `New.Shape.G₁` have its frame Gram matrix in the open cell, and let `X` be a Bessel |
| 194 | system (`New.BesselSystem`). For shifts `t` in `besselFixer`, the products of the values of |
| 195 | `X.besselFn` at `γ t y` and at `t y` form a kernel, which is integrated against `φ y` over a compact |
| 196 | set. The mean of its squared norm over the shifts is at most `∫ ‖φ‖² dν` for a finite measure `ν` of |
| 197 | total mass at most `pairingBoundSq`. In this part the letter `Ω` in the code denotes a subset of |
| 198 | `besselU0`. |
| 199 | -/ |
| 200 | |
| 201 | section OpenCellBound |
| 202 | |
| 203 | open Finset Fintype Subgroup Matrix New.RealPlace MeasureTheory Norms.L2Operator ProbabilityTheory |
| 204 | ENNReal Metric IdemSemiring Measure ComplexConjugate Fin |
| 205 | |
| 206 | private lemma mul_conjTranspose_inclMatrix_apply {l m n : Type*} [Fintype m] [DecidableEq n] |
| 207 | (M : Matrix l m ℂ) (u : m → n) (x : l) (j : n) : |
| 208 | (M * (New.inclMatrix ℂ u)ᴴ) x j = ∑ k : m, if j = u k then M x k else 0 := by |
| 209 | rw [Matrix.mul_apply] |
| 210 | refine sum_congr rfl fun k _ ↦ ?_ |
| 211 | simp only [conjTranspose_apply, New.inclMatrix, submatrix_apply, id_eq, Matrix.one_apply, |
| 212 | apply_ite star, star_one, star_zero, mul_ite, mul_one, mul_zero] |
| 213 | |
| 214 | private lemma mul_frameCols_conjTranspose_eStar {𝔰 : New.Shape} {l : Type*} |
| 215 | (M : Matrix l (Fin (𝔰.ϱ + 1)) ℂ) (x : l) (a : Fin 𝔰.ϱ) : |
| 216 | (M * 𝔰.frameColsᴴ) x (New.eStar a) = 0 := by |
| 217 | simp [mul_conjTranspose_inclMatrix_apply] |
| 218 | |
| 219 | private lemma mul_dualFrameCols_conjTranspose_eStar {𝔰 : New.Shape} {l : Type*} |
| 220 | (M : Matrix l (Fin (𝔰.ϱ + 1)) ℂ) (x : l) (a : Fin 𝔰.ϱ) : |
| 221 | (M * 𝔰.dualFrameColsᴴ) x (New.eStar a) = M x a.castSucc := by |
| 222 | rw [mul_conjTranspose_inclMatrix_apply, sum_univ_castSucc] |
| 223 | simp only [snoc_castSucc, snoc_last, Sum.inr.injEq, reduceCtorEq, ↓reduceIte, add_zero, |
| 224 | Finset.sum_ite_eq, mem_univ] |
| 225 | |
| 226 | /-- In the columns before the last, the ordinary rows of `sectionCoeff Zᴴ Z` have coefficient |
| 227 | `-1/2` and its last row vanishes. -/ |
| 228 | private lemma sectionCoeff_apply_castSucc {𝔰 : New.Shape} (Z : 𝔰.FrameMatrix) |
| 229 | (i : Fin (𝔰.ϱ + 1)) (a : Fin 𝔰.ϱ) : |
| 230 | sectionCoeff Zᴴ Z i a.castSucc = |
| 231 | -(snoc (α := fun _ ↦ ℂ) 1 0 i * (2⁻¹ * Z⁻¹ i 𝔰.top * Zᴴ⁻¹ 𝔰.top a.castSucc)) := by |
| 232 | induction i using Fin.lastCases with |
| 233 | | last => |
| 234 | simpa [castSucc_ne_last] using sectionCoeff_conjTranspose_top_apply Zᴴ a.castSucc |
| 235 | | cast i => |
| 236 | have h_conj : starRingEnd ℂ (Zᴴ⁻¹ 𝔰.top i.castSucc) = Z⁻¹ i.castSucc 𝔰.top := by |
| 237 | rw [← conjTranspose_nonsing_inv] |
| 238 | simp |
| 239 | simpa [castSucc_ne_last, h_conj, mul_neg, mul_assoc] using |
| 240 | sectionCoeff_conjTranspose_castSucc_apply Zᴴ i a.castSucc |
| 241 | |
| 242 | /-- Let `Z` lie in the open cell `𝔰.openCell`: `Z` is invertible and the last diagonal entry of |
| 243 | `Z⁻¹` has absolute value less than 1. Let `γ_Z = gramSection Z`, an element of the unitary group |
| 244 | `G₁` of the hermitian form `h`, whose frame Gram matrix (the matrix of the products |
| 245 | `h(f_j, γ_Z f_l)`) is `Z`. Let `w` be in `besselU`, the group of block upper unitriangular elements |
| 246 | of `G₁`. Let `Z' = realFrameGram (w γ_Z)`, the matrix of the products `h(f_j, w γ_Z f_l)`. For `z` |
| 247 | in `G₁`, the column of `z⁻¹` at the basis vector `e*_a` (dual to `f_a = e_a`) is a combination of |
| 248 | the moved frames at `w γ_Z z` and at `z`, with coefficients built from the entries of `Z'ᴴ⁻¹`, `Z⁻¹` |
| 249 | and `Zᴴ⁻¹`. Here `BesselIndex` indexes the basis `e_a`, `x_j` (`j` in `κ`), `z₀`, `e*_a`, the frame |
| 250 | is `(f_i) = (e₁, …, e_ϱ, z₀)`, and `frameVector y i = y⁻¹ f_i`. -/ |
| 251 | lemma New.inv_apply_eStar_eq_sum_frameVector {𝔰 : Shape} {Z : 𝔰.FrameMatrix} |
| 252 | (hZ_mem : Z ∈ 𝔰.openCell) {w : 𝔰.G₁} (hw : w ∈ besselU) (z : 𝔰.G₁) (a : Fin 𝔰.ϱ) : |
| 253 | (WithLp.toLp 2 fun x : 𝔰.BesselIndex ↦ z⁻¹.val x (eStar a)) = |
| 254 | ∑ i : Fin (𝔰.ϱ + 1), (realFrameGram (w * gramSection Z))ᴴ⁻¹ i a.castSucc • |
| 255 | frameVector (w * (gramSection Z * z)) i + |
| 256 | ∑ i : Fin 𝔰.ϱ, (2⁻¹ * Z⁻¹ i.castSucc (.last 𝔰.ϱ) * Zᴴ⁻¹ (.last 𝔰.ϱ) a.castSucc) • |
| 257 | frameVector z i.castSucc := by |
| 258 | -- Read the column off the formula `sectionMatrix` for `γ_Z` (`h_sec`), using that `w` acts on |
| 259 | -- the frame by `frameMatrix w`, which cancels against the factor of `Z` (`h_frame`). |
| 260 | set γ : 𝔰.G₁ := gramSection Z |
| 261 | set Z' : 𝔰.FrameMatrix := realFrameGram (w * γ) |
| 262 | have hZ : Z = (frameMatrix w)ᴴ * Z' := |
| 263 | (realFrameGram_gramSection hZ_mem).symm.trans (realFrameGram_eq_frameMatrix_mul _ hw) |
| 264 | -- `V`, `N`, `L` are the matrices of `z⁻¹`, `(γ z)⁻¹`, `(w γ z)⁻¹` |
| 265 | let V : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ := z.val.val⁻¹ |
| 266 | let N : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ := V * γ.val.val⁻¹ |
| 267 | let L : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ := N * w.val.val⁻¹ |
| 268 | have hNγ : N * sectionMatrix Z Zᴴ = V := by simp [N, γ, ← coe_gramSection hZ_mem] |
| 269 | have hLw : L * w.val.val = N := by simp [L] |
| 270 | have h_sec : V = N + (V * 𝔰.frameCols - N * 𝔰.frameCols) * 𝔰.frameColsᴴ + |
| 271 | ((N * 𝔰.frameCols * Zᴴ⁻¹ - V * 𝔰.frameCols * sectionCoeff Zᴴ Z) * |
| 272 | diagLast (𝔰 := 𝔰) (1 - invCorner Z * invCorner Zᴴ).sqrt⁻¹ - N * 𝔰.dualFrameCols) * |
| 273 | 𝔰.dualFrameColsᴴ := by |
| 274 | have h_cols : N * sectionFrame Z Zᴴ = V * 𝔰.frameCols := by |
| 275 | rw [← sectionMatrix_mul_frameCols, ← Matrix.mul_assoc, hNγ] |
| 276 | conv_lhs => rw [← hNγ, sectionMatrix] |
| 277 | simp only [mul_add, mul_one, Matrix.mul_sub, ← Matrix.mul_assoc, h_cols] |
| 278 | have h_frame : N * 𝔰.frameCols * Zᴴ⁻¹ = L * 𝔰.frameCols * Z'ᴴ⁻¹ := by |
| 279 | have h_cancel : frameMatrix w * Zᴴ⁻¹ = Z'ᴴ⁻¹ := by |
| 280 | rw [hZ, conjTranspose_mul, conjTranspose_conjTranspose, Matrix.mul_inv_rev] |
| 281 | simp [det_eq_one_of_unitriangular (frameMatrix_unitriangular hw)] |
| 282 | rw [← hLw, mul_inclMatrix, submatrix_mul_besselFrame hw, ← h_cancel, mul_inclMatrix, |
| 283 | Matrix.mul_assoc] |
| 284 | ext x |
| 285 | have h_L_eq : L = (w * (γ * z))⁻¹.val.val := by |
| 286 | dsimp only [L, N, V] |
| 287 | rw [Subgroup.coe_inv, Matrix.coe_units_inv, Subgroup.coe_mul, Subgroup.coe_mul, |
| 288 | Units.val_mul, Units.val_mul, Matrix.mul_inv_rev, Matrix.mul_inv_rev, Matrix.mul_assoc] |
| 289 | have h_V_eq : V = z⁻¹.val.val := by |
| 290 | dsimp only [V] |
| 291 | rw [Subgroup.coe_inv, Matrix.coe_units_inv] |
| 292 | suffices h_main : V x (eStar a) = ∑ i, Z'ᴴ⁻¹ i a.castSucc * L x (𝔰.besselFrame i) + |
| 293 | ∑ i : Fin 𝔰.ϱ, 2⁻¹ * Z⁻¹ i.castSucc (.last 𝔰.ϱ) * Zᴴ⁻¹ (.last 𝔰.ϱ) a.castSucc * |
| 294 | V x (.inl i) by |
| 295 | simp only [WithLp.ofLp_add, WithLp.ofLp_sum, WithLp.ofLp_smul, Pi.add_apply, |
| 296 | Finset.sum_apply, Pi.smul_apply, smul_eq_mul, frameVector, ← h_L_eq, ← h_V_eq, |
| 297 | Shape.besselFrame, snoc_castSucc] |
| 298 | exact h_main |
| 299 | -- the column of `𝔰.dualFrameColsᴴ` at `e*_a` selects the column `a`; that of `𝔰.frameColsᴴ` is 0 |
| 300 | have h_col : V x (eStar a) = (L * 𝔰.frameCols * Z'ᴴ⁻¹) x a.castSucc - |
| 301 | (V * 𝔰.frameCols * sectionCoeff Zᴴ Z) x a.castSucc := by |
| 302 | conv_lhs => rw [h_sec, h_frame] |
| 303 | rw [Matrix.add_apply, Matrix.add_apply, mul_frameCols_conjTranspose_eStar, add_zero, |
| 304 | mul_dualFrameCols_conjTranspose_eStar, Matrix.sub_apply, diagLast, Matrix.mul_diagonal] |
| 305 | simp only [snoc_castSucc, Pi.one_apply, mul_one, Matrix.sub_apply, mul_inclMatrix, |
| 306 | submatrix_apply, id_eq] |
| 307 | ring |
| 308 | rw [h_col, mul_inclMatrix, mul_inclMatrix, Matrix.mul_apply, Matrix.mul_apply, sub_eq_add_neg] |
| 309 | congr 1 |
| 310 | · exact sum_congr rfl fun i _ ↦ by rw [submatrix_apply, id_eq, mul_comm] |
| 311 | · rw [sum_univ_castSucc, sectionCoeff_apply_castSucc, snoc_last, zero_mul, neg_zero, mul_zero, |
| 312 | add_zero, ← sum_neg_distrib] |
| 313 | refine sum_congr rfl fun i _ ↦ ?_ |
| 314 | rw [submatrix_apply, id_eq, Shape.besselFrame, snoc_castSucc, sectionCoeff_apply_castSucc, |
| 315 | snoc_castSucc, Pi.one_apply, one_mul, mul_neg, neg_neg, mul_comm] |
| 316 | |
| 317 | /-- Let `w ∈ besselU`, let `Z` lie in the open cell with `M⁻¹ ≤ gramDiscReal Z`, and let |
| 318 | `𝔰.n ≤ M` and `M ^ (9 * 𝔰.n) ≤ R`. If the frame vectors at `z` and at `w * (gramSection Z * z)` |
| 319 | have norm at most `M`, then `Z' = realFrameGram (w * gramSection Z)` satisfies `‖Z'⁻¹‖ ≤ R`. -/ |
| 320 | private lemma New.norm_inv_realFrameGram_mul_gramSection_le {𝔰 : Shape} {M R : ℝ} |
| 321 | {Z : 𝔰.FrameMatrix} {w z : 𝔰.G₁} (hZ_mem : Z ∈ 𝔰.openCell) (hw : w ∈ besselU) |
| 322 | (h_disc : M⁻¹ ≤ gramDiscReal Z) (hnM : 𝔰.n ≤ M) (h_pow_le : M ^ (9 * 𝔰.n) ≤ R) |
| 323 | (hz : z ∈ frameBox M) |
| 324 | (hy : ∀ a : Fin (𝔰.ϱ + 1), ‖frameVector (w * (gramSection Z * z)) a‖ ≤ M) : |
| 325 | ‖(realFrameGram (w * gramSection Z))⁻¹‖ ≤ R := by |
| 326 | -- `Z'` has entries at most `M ^ 2` and the same `gramDiscReal` as `Z`; this bounds its inverse. |
| 327 | have hM : 1 ≤ M := (Nat.one_le_cast.2 𝔰.ϱ.succ_pos).trans hnM |
| 328 | set y : 𝔰.G₁ := w * (gramSection Z * z) with hy_def |
| 329 | set Z' : 𝔰.FrameMatrix := realFrameGram (w * gramSection Z) |
| 330 | have h_disc_eq : gramDiscReal Z' = gramDiscReal Z := by |
| 331 | have h1 := Filling.frameDisc_frameGram_inv_mul_mul_of_mem_besselU |
| 332 | (γ := w * gramSection Z) hw (one_mem _) 1 |
| 333 | rw [inv_mul_cancel_left, mul_one] at h1 |
| 334 | change frameDisc 1 (realFrameGram (gramSection Z)) = frameDisc 1 Z' at h1 |
| 335 | rw [realFrameGram_gramSection hZ_mem] at h1 |
| 336 | exact congrArg Complex.re h1.symm |
| 337 | have h_entry (a b : Fin (𝔰.ϱ + 1)) : ‖Z' a b‖ ≤ M ^ 2 := by |
| 338 | have hz_eq : (w * gramSection Z)⁻¹ * y = z := by |
| 339 | rw [hy_def, ← mul_assoc w, inv_mul_cancel_left] |
| 340 | refine (norm_realFrameGram_le_mul (w * gramSection Z) y a b).trans ?_ |
| 341 | rw [hz_eq, sq] |
| 342 | exact mul_le_mul (hy a) (hz b) (norm_nonneg _) (zero_le_one.trans hM) |
| 343 | exact (isBoundedInCell_of_inv_le_gramDiscReal (h_disc.trans_eq h_disc_eq.symm) hnM h_entry |
| 344 | ((pow_le_pow_right₀ hM (by dsimp only [Shape.n]; omega)).trans h_pow_le)).norm_inv_le |
| 345 | |
| 346 | /-- Let `Z` lie in the open cell, `w ∈ besselU` and `8 * (ϱ + 1) ≤ R`, and let `Z⁻¹` and |
| 347 | `(realFrameGram (w * gramSection Z))⁻¹` have norm at most `R`. If the frame vectors at `z` and at |
| 348 | `w * (gramSection Z * z)` have norm at most `R`, then each column of `z⁻¹` at a dual vector |
| 349 | `eStar a` has norm at most `R ^ 4`. -/ |
| 350 | private lemma New.norm_inv_apply_eStar_le {𝔰 : Shape} {R : ℝ} {Z : 𝔰.FrameMatrix} |
| 351 | {w z : 𝔰.G₁} (hZ_mem : Z ∈ 𝔰.openCell) (hw : w ∈ besselU) |
| 352 | (hϱR : 8 * (𝔰.ϱ + 1) ≤ R) (hZ_inv : ‖Z⁻¹‖ ≤ R) |
| 353 | (hZ'_norm : ‖(realFrameGram (w * gramSection Z))⁻¹‖ ≤ R) |
| 354 | (hy : ∀ a : Fin (𝔰.ϱ + 1), ‖frameVector (w * (gramSection Z * z)) a‖ ≤ R) |
| 355 | (hz : ∀ a : Fin (𝔰.ϱ + 1), ‖frameVector z a‖ ≤ R) (a : Fin 𝔰.ϱ) : |
| 356 | ‖WithLp.toLp 2 fun x : 𝔰.BesselIndex ↦ z⁻¹.val x (eStar a)‖ ≤ R ^ 4 := by |
| 357 | -- A column has norm at most `(ϱ + 1) R ^ 2 + ϱ R ^ 3 / 2 ≤ R ^ 4`. |
| 358 | have hR : 1 ≤ R := by linarith [Nat.cast_nonneg (α := ℝ) 𝔰.ϱ] |
| 359 | have hR0 : 0 ≤ R := zero_le_one.trans hR |
| 360 | have h_count : 𝔰.ϱ + 1 + 𝔰.ϱ * R / 2 ≤ R ^ 2 := by nlinarith only [hϱR, hR] |
| 361 | rw [inv_apply_eStar_eq_sum_frameVector hZ_mem hw] |
| 362 | refine (norm_add_le _ _).trans ?_ |
| 363 | refine (add_le_add (norm_sum_le _ _) (norm_sum_le _ _)).trans ?_ |
| 364 | calc _ ≤ ∑ i : Fin (𝔰.ϱ + 1), R * R + ∑ i : Fin 𝔰.ϱ, ‖(2⁻¹ : ℂ)‖ * R * R * R := by |
| 365 | refine add_le_add (sum_le_sum fun i _ ↦ ?_) (sum_le_sum fun i _ ↦ ?_) |
| 366 | · rw [norm_smul, ← conjTranspose_nonsing_inv, conjTranspose_apply, norm_star] |
| 367 | exact mul_le_mul ((norm_apply_le_l2_opNorm _ _ _).trans hZ'_norm) |
| 368 | (hy i) (norm_nonneg _) hR0 |
| 369 | · rw [norm_smul, norm_mul, norm_mul, ← conjTranspose_nonsing_inv, conjTranspose_apply, |
| 370 | norm_star] |
| 371 | refine mul_le_mul ?_ (hz i.castSucc) (norm_nonneg _) |
| 372 | (mul_nonneg (mul_nonneg (norm_nonneg _) hR0) hR0) |
| 373 | exact mul_le_mul |
| 374 | (mul_le_mul_of_nonneg_left ((norm_apply_le_l2_opNorm _ _ _).trans hZ_inv) |
| 375 | (norm_nonneg _)) |
| 376 | ((norm_apply_le_l2_opNorm _ _ _).trans hZ_inv) (norm_nonneg _) |
| 377 | (mul_nonneg (norm_nonneg _) hR0) |
| 378 | _ = R ^ 2 * (𝔰.ϱ + 1 + 𝔰.ϱ * R / 2) := by |
| 379 | rw [Fin.sum_const, Fin.sum_const, nsmul_eq_mul, nsmul_eq_mul, norm_inv, |
| 380 | Complex.norm_ofNat, Nat.cast_succ] |
| 381 | ring |
| 382 | _ ≤ R ^ 4 := (mul_le_mul_of_nonneg_left h_count (sq_nonneg R)).trans_eq (by rw [← pow_add]) |
| 383 | |
| 384 | /-- A bound for `‖z‖` from the length of `γ_Z z`. Let `n = 𝔰.n = ϱ + 1`, `8 n ≤ M` and |
| 385 | `M ^ (9 n) ≤ R`. Let `M⁻¹ ≤ gramDiscReal Z`, the number |det Z|² − |D_ϱ|² with D_ϱ the leading |
| 386 | principal minor of order ϱ, so that `Z` lies in the open cell, and let `‖Z⁻¹‖ ≤ R`. Suppose that the |
| 387 | vectors `z⁻¹ f_a` of the moved frame have norm at most `M` (`frameBox`), where the frame |
| 388 | `(f_a) = (e₁, …, e_ϱ, z₀)` consists of ϱ + 1 fixed basis vectors of the space on which `G₁` acts, |
| 389 | and that `besselLength (γ_Z z)`, the infimum of `‖s γ_Z z‖ + 1` over `s` in the Bessel subgroup, is |
| 390 | at most `M`. Then the operator norm of `z` is at most `R ^ 5`. -/ |
| 391 | lemma New.norm_le_of_besselLength_gramSection_mul_le {𝔰 : Shape} {M R : ℝ} {Z : 𝔰.FrameMatrix} |
| 392 | {z : 𝔰.G₁} (h_size_le : 8 * (𝔰.ϱ + 1) ≤ M) (h_pow_le : M ^ (9 * 𝔰.n) ≤ R) |
| 393 | (h_disc : M⁻¹ ≤ gramDiscReal Z) (hZ_inv : ‖Z⁻¹‖ ≤ R) (hz : z ∈ frameBox M) |
| 394 | (h_length : besselLength (gramSection Z * z) ≤ M) : |
| 395 | ‖(z : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ ≤ R ^ 5 := by |
| 396 | -- Move `gramSection Z * z` by a unipotent `w` to a point `y` of norm at most `M`. The columns of |
| 397 | -- `z⁻¹` at the dual vectors are combinations of the frames at `y` and at `z` with bounded |
| 398 | -- coefficients. |
| 399 | have hM : 1 ≤ M := by linarith |
| 400 | have hnM : 𝔰.n ≤ M := (Nat.cast_succ 𝔰.ϱ).trans_le (by linarith) |
| 401 | have hMR : M ≤ R := (le_self_pow₀ hM (by dsimp only [Shape.n]; omega)).trans h_pow_le |
| 402 | have hZ_mem : Z ∈ 𝔰.openCell := |
| 403 | mem_openCell_iff.2 (h_disc.trans_lt' (inv_pos.2 (one_pos.trans_le hM))) |
| 404 | have hR : 1 ≤ R := hM.trans hMR |
| 405 | have hR0 : 0 ≤ R := zero_le_one.trans hR |
| 406 | have hϱR : 8 * (𝔰.ϱ + 1) ≤ R := h_size_le.trans hMR |
| 407 | obtain ⟨w, hw, hw_le⟩ := exists_norm_le_of_besselLength_le h_length |
| 408 | set Z' : 𝔰.FrameMatrix := realFrameGram (w * gramSection Z) |
| 409 | have hy_frame (a : Fin (𝔰.ϱ + 1)) : ‖frameVector (w * (gramSection Z * z)) a‖ ≤ M := |
| 410 | (norm_frameVector_le a).trans hw_le |
| 411 | -- `Z'` has entries at most `M ^ 2` and the same `gramDiscReal` as `Z`; this bounds its inverse. |
| 412 | have hZ'_norm : ‖Z'⁻¹‖ ≤ R := |
| 413 | norm_inv_realFrameGram_mul_gramSection_le hZ_mem hw h_disc hnM h_pow_le hz hy_frame |
| 414 | -- hence each column of `z⁻¹` at a dual vector has norm at most `R ^ 4` |
| 415 | have h_col (a : Fin 𝔰.ϱ) : |
| 416 | ‖WithLp.toLp 2 fun x : 𝔰.BesselIndex ↦ z⁻¹.val x (eStar a)‖ ≤ R ^ 4 := |
| 417 | norm_inv_apply_eStar_le hZ_mem hw hϱR hZ_inv hZ'_norm |
| 418 | (fun i ↦ (hy_frame i).trans hMR) (fun i ↦ (hz i).trans hMR) a |
| 419 | have hz_box : z ∈ frameBox (R ^ 4) := |
| 420 | fun a ↦ (hz a).trans (hMR.trans (le_self_pow₀ hR four_ne_zero)) |
| 421 | calc _ ≤ ‖(z : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ + 1 := (lt_add_one _).le |
| 422 | _ ≤ 8 * (𝔰.ϱ + 1) * R ^ 4 := norm_add_one_le_of_mem_frameBox z hz_box (one_le_pow₀ hR) h_col |
| 423 | _ ≤ R ^ 5 := (mul_le_mul_of_nonneg_right hϱR (pow_nonneg hR0 4)).trans_eq (pow_succ' R 4).symm |
| 424 | |
| 425 | /-- Let `W` be a Bessel function on the unitary group `G₁` with values in `ℂ^I`. It is bounded and |
| 426 | measurable. Under left translation it transforms in two ways: by the character |
| 427 | `n ↦ wave (simpleRootSum n)` of the block unitriangular subgroup `besselU`, where `simpleRootSum n` |
| 428 | is the sum of the entries of `n` just above the diagonal on the frame; and by the unitary |
| 429 | representation `rep` of the unitary group `U(κ)` of the positive definite middle part. Let `ψ` be |
| 430 | integrable and let `s, t` lie in the Bessel subgroup `besselS`, which these two groups generate. The |
| 431 | squared Hilbert–Schmidt norm of the integral of `ψ y * W (s * g * y) ⊗ conj (W (t * y))` does not |
| 432 | depend on `s` and `t`. It equals the sum of the squared norms of the columns at `s = t = 1`. -/ |
| 433 | lemma New.sum_enorm_sq_integral_mul_star {𝔰 : Shape} {I : Type*} [Fintype I] [DecidableEq I] |
| 434 | {rep : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) →* unitaryGroup I ℂ} {W : 𝔰.G₁ → EuclideanSpace ℂ I} |
| 435 | (hW : IsBesselFunction rep W) {ψ : 𝔰.G₁ → ℂ} (hψ : Integrable ψ) {s t : 𝔰.G₁} |
| 436 | (hs : s ∈ besselS) (ht : t ∈ besselS) (g : 𝔰.G₁) : |
| 437 | ∑ i : I × I, ‖∫ y : 𝔰.G₁, ψ y * (W (s * g * y) i.1 * star (W (t * y) i.2))‖ₑ ^ 2 = |
| 438 | ∑ j : I, ‖∫ y : 𝔰.G₁, (ψ y * star (W y j)) • W (g * y)‖ₑ ^ 2 := by |
| 439 | -- the norm of a mean of `W` is invariant under `besselS`; read this in coordinates |
| 440 | have h_coord {β : 𝔰.G₁ → ℂ} (hβ : Integrable β) (b : 𝔰.G₁) : |
| 441 | ‖∫ y, β y • W (b * y)‖ₑ ^ 2 = ∑ i, ‖∫ y, β y * W (b * y) i‖ₑ ^ 2 := by |
| 442 | simp only [euclidean_enorm_sq_eq_sum, eval_integral_piLp (hW.integrable_smul hβ b).eval_piLp, |
| 443 | PiLp.smul_apply, smul_eq_mul] |
| 444 | have h_invariant {β : 𝔰.G₁ → ℂ} (hβ : Integrable β) {a : 𝔰.G₁} (ha : a ∈ besselS) (b : 𝔰.G₁) : |
| 445 | ∑ i, ‖∫ y, β y * W (a * b * y) i‖ₑ ^ 2 = ∑ i, ‖∫ y, β y * W (b * y) i‖ₑ ^ 2 := by |
| 446 | rw [← h_coord hβ, hW.enorm_integral_besselS_mul ha, h_coord hβ] |
| 447 | -- each row: conjugate the integrals and remove `t` |
| 448 | have h_row (i : I) : ∑ j, ‖∫ y, ψ y * (W (s * g * y) i * star (W (t * y) j))‖ₑ ^ 2 = |
| 449 | ∑ j, ‖∫ y, ψ y * star (W y j) * W (s * g * y) i‖ₑ ^ 2 := by |
| 450 | have h_int : Integrable fun y ↦ star (ψ y * W (s * g * y) i) := |
| 451 | Complex.conjCLE.integrable_comp_iff.mpr ((hW.integrable_smul hψ (s * g)).eval_piLp i) |
| 452 | have h_conj : ∑ j, ‖∫ y, conj (star (ψ y * W (s * g * y) i) * W (t * 1 * y) j)‖ₑ ^ 2 = |
| 453 | ∑ j, ‖∫ y, conj (star (ψ y * W (s * g * y) i) * W (1 * y) j)‖ₑ ^ 2 := by |
| 454 | simp only [integral_conj, RCLike.eNorm_conj, h_invariant h_int ht 1] |
| 455 | have row_mul (a b c : ℂ) : conj (star (a * b) * c) = a * (b * star c) := by |
| 456 | rw [map_mul, Complex.star_def, RingHomCompTriple.comp_apply, RingHom.id_apply, mul_assoc] |
| 457 | have row_swap (y : 𝔰.G₁) (j : I) : |
| 458 | ψ y * star (W y j) * W (s * g * y) i = ψ y * (W (s * g * y) i * star (W y j)) := by |
| 459 | rw [mul_right_comm, mul_assoc] |
| 460 | simpa only [mul_one, one_mul, row_mul, row_swap] using h_conj |
| 461 | -- each column: remove `s` |
| 462 | have h_int (j : I) : Integrable fun y ↦ ψ y * star (W y j) := |
| 463 | hψ.mul_of_top_left (hW.memLp_top.eval_piLp j).star |
| 464 | rw [sum_prod_type, sum_congr rfl fun i _ ↦ h_row i, Finset.sum_comm] |
| 465 | exact sum_congr rfl fun j _ ↦ (h_invariant (h_int j) hs g).trans (h_coord (h_int j) g).symm |
| 466 | |
| 467 | /-- Let `0 < 𝗀(Z)`, where 𝗀(Z) = |det Z|² − |D_ϱ|² is `gramDiscReal`, D_ϱ the leading principal |
| 468 | minor of order ϱ. If the entries of `Z` have norm at most `ρ ^ 2` and `n ≤ ρ`, where `n = ϱ + 1` is |
| 469 | the size of `Z`, then `𝗀(Z) ≤ ρ ^ (8 n)`. -/ |
| 470 | lemma New.gramDiscReal_le_pow {𝔰 : Shape} {ρ : ℝ} {Z : 𝔰.FrameMatrix} (hZ : 0 < gramDiscReal Z) |
| 471 | (hρ_n : 𝔰.n ≤ ρ) (hZρ : ∀ a c : Fin (𝔰.ϱ + 1), ‖Z a c‖ ≤ ρ ^ 2) : |
| 472 | gramDiscReal Z ≤ ρ ^ (8 * 𝔰.n) := by |
| 473 | calc gramDiscReal Z = ‖Z.det‖ ^ 2 * oneSubNormSqInvCorner Z := |
| 474 | gramDiscReal_eq_norm_det_sq_mul (mem_openCell_iff.2 hZ).1 |
| 475 | _ ≤ ((ρ ^ 4) ^ 𝔰.n) ^ 2 * 1 := |
| 476 | mul_le_mul (pow_le_pow_left₀ (norm_nonneg _) (norm_det_le_of_entry_bound hρ_n hZρ) 2) |
| 477 | (oneSubNormSqInvCorner_le_one Z) |
| 478 | (oneSubNormSqInvCorner_pos (mem_openCell_iff.2 hZ)).le (sq_nonneg _) |
| 479 | _ = ρ ^ (8 * 𝔰.n) := by |
| 480 | rw [mul_one, ← pow_mul, ← pow_mul, show 4 * (𝔰.n * 2) = 8 * 𝔰.n by omega] |
| 481 | |
| 482 | /-- If `0 < 𝗀(Z)` and `1 ≤ ρ`, then `(ρ ^ N / 𝗀(Z))⁻¹ ≤ 𝗀(Z)`; here 𝗀(Z) is `gramDiscReal Z`, the |
| 483 | number |det Z|² − |D_ϱ|² with D_ϱ the leading principal minor of order ϱ. -/ |
| 484 | lemma New.inv_pow_div_gramDiscReal_le {𝔰 : Shape} {ρ : ℝ} {Z : 𝔰.FrameMatrix} |
| 485 | (hZ : 0 < gramDiscReal Z) (hρ_one : 1 ≤ ρ) (N : ℕ) : |
| 486 | (ρ ^ N / gramDiscReal Z)⁻¹ ≤ gramDiscReal Z := |
| 487 | (inv_div _ _).trans_le (div_le_self hZ.le (one_le_pow₀ hρ_one)) |
| 488 | |
| 489 | /-- Let `0 < 𝗀(Z)`, where 𝗀(Z) = |det Z|² − |D_ϱ|² is `gramDiscReal`, D_ϱ the leading principal |
| 490 | minor of order ϱ. Let `n ≤ ρ` with `n = ϱ + 1`, and let the entries of `Z` have norm at |
| 491 | most `ρ ^ 2`. Then `ρ ≤ ρ ^ (9 n) / 𝗀(Z)`. -/ |
| 492 | lemma New.le_pow_div_gramDiscReal {𝔰 : Shape} {ρ : ℝ} {Z : 𝔰.FrameMatrix} (hZ : 0 < gramDiscReal Z) |
| 493 | (hρ_n : 𝔰.n ≤ ρ) (hZρ : ∀ a c : Fin (𝔰.ϱ + 1), ‖Z a c‖ ≤ ρ ^ 2) : |
| 494 | ρ ≤ ρ ^ (9 * 𝔰.n) / gramDiscReal Z := by |
| 495 | have hρ_one : 1 ≤ ρ := le_trans (by exact_mod_cast Nat.succ_pos 𝔰.ϱ) hρ_n |
| 496 | rw [le_div_iff₀ hZ] |
| 497 | calc ρ * gramDiscReal Z ≤ ρ * ρ ^ (8 * 𝔰.n) := |
| 498 | mul_le_mul_of_nonneg_left (gramDiscReal_le_pow hZ hρ_n hZρ) (zero_le_one.trans hρ_one) |
| 499 | _ = ρ ^ (8 * 𝔰.n + 1) := (pow_succ' ρ _).symm |
| 500 | _ ≤ ρ ^ (9 * 𝔰.n) := pow_le_pow_right₀ hρ_one (by dsimp only [Shape.n]; omega) |
| 501 | |
| 502 | /-- Let `W = X.besselFn .full` be the Bessel function of a Bessel system `X` before its cut, with |
| 503 | values in `ℂ^I`, `I = X.Index`; the scale `B` and the rate of decay `f` of `X` do not enter the |
| 504 | bound. Let `A` be a measurable set of elements of operator norm at most `R`, `1 ≤ R`, in `G₁`, the |
| 505 | unitary group of the form with middle block `middleGram 1 = diag(1, …, 1, -1)`. Suppose that for |
| 506 | every `y` the set of `u` in the frame-fixing unipotent subgroup `besselU0` with `u y ∈ A` has Haar |
| 507 | measure (`besselHaar₀`) at most `K`. Then `∫_A ‖W‖ ^ 2 ≤ K (2 R²) ^ (2 n²) |I|`, where |
| 508 | `n = 𝔰.n = ϱ + 1`. -/ |
| 509 | lemma New.BesselSystem.lintegral_indicator_mul_enorm_sq_le {𝔰 : Shape} {B : ℝ} {f : ℕ} |
| 510 | (X : BesselSystem 𝔰 B f) {A : Set 𝔰.G₁} {R : ℝ} {K : ℝ≥0∞} (hA : MeasurableSet A) (hR : 1 ≤ R) |
| 511 | (hA_norm : ∀ y ∈ A, ‖(y : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ ≤ R) |
| 512 | (h_fibre : ∀ y : 𝔰.G₁, ∫⁻ u : besselU0 (T := 𝔰.middleGram (1 : ℂ)), |
| 513 | A.indicator 1 (u * y) ∂𝔰.besselHaar₀ ≤ K) : |
| 514 | ∫⁻ y : 𝔰.G₁, A.indicator 1 y * ‖X.besselFn .full y‖ₑ ^ 2 ≤ |
| 515 | K * .ofReal ((2 * (R * R)) ^ (2 * 𝔰.n ^ 2)) * card X.Index := by |
| 516 | have hW : IsBesselFunction X.rep (X.besselFn .full) := X.isCutPair.isBesselFunction .full |
| 517 | -- an `s` with `y` and `s * y` in `A` has norm at most `R * R`, so its entries lie in a disc |
| 518 | have h_frame (y : 𝔰.G₁) (hy : A.indicator (1 : 𝔰.G₁ → ℝ≥0∞) y ≠ 0) (s : 𝔰.G₁) (_ : s ∈ besselU) |
| 519 | (hsy : A.indicator (1 : 𝔰.G₁ → ℝ≥0∞) (s * y) ≠ 0) (a b : Fin (𝔰.ϱ + 1)) : |
| 520 | ‖frameMatrix s a b‖ ≤ R * R := |
| 521 | (norm_apply_le_l2_opNorm _ (𝔰.besselFrame a) (𝔰.besselFrame b)).trans <| by |
| 522 | simpa using norm_mul_le_of_le (hA_norm _ (Set.mem_of_indicator_ne_zero hsy)) |
| 523 | ((U.norm_inv y).trans_le (hA_norm y (Set.mem_of_indicator_ne_zero hy))) |
| 524 | have h_invariant : besselS.FixesLeft fun y : 𝔰.G₁ ↦ ‖X.besselFn .full y‖ₑ ^ 2 := |
| 525 | fun s hs y ↦ by dsimp only; rw [hW.enorm_besselS_mul hs] |
| 526 | -- unfold along `besselU0` (`h_fibre`), then along the frame entries, which lie in discs |
| 527 | have h_le := lintegral_mul_le_of_frameMatrix_le (hW.stronglyMeasurable.eNorm.pow_const 2) |
| 528 | (measurable_one.indicator hA) h_invariant h_fibre h_frame (one_le_mul_of_one_le_of_one_le hR hR) |
| 529 | rwa [X.isCutPair.lintegral_sq_full_eq] at h_le |
| 530 | |
| 531 | /-- Let `W` be a continuous Bessel function on the unitary group `G₁`. Let `A` be compact, `g` |
| 532 | measurable, and `s` and all `t x` in the Bessel subgroup `besselS`. Suppose that |
| 533 | `∫_S ‖∫ β y • W (g x * y)‖² dμ(x) ≤ K ∫ ‖β‖²` for all measurable integrable weights `β` that vanish |
| 534 | off `A`. Then the kernel `W (s * g x * y) ⊗ conj (W (t x * y))`, integrated against volume on `A`, |
| 535 | has operator norm at most one (`IsL2Contraction`) from `L²` of `(μ S)⁻¹ K` times the measure of |
| 536 | density `‖W‖²` on `A` to `L²` of `μ` conditioned on `S`. -/ |
| 537 | lemma New.isL2Contraction_of_columns {𝔰 : Shape} {I : Type*} [Fintype I] [DecidableEq I] |
| 538 | {rep : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) →* unitaryGroup I ℂ} {W : C(𝔰.G₁, EuclideanSpace ℂ I)} |
| 539 | (hW : IsBesselFunction rep W) {A : Set 𝔰.G₁} (hA : IsCompact A) |
| 540 | {T : Type*} [MeasurableSpace T] {μ : Measure T} {S : Set T} {s : 𝔰.G₁} {g t : T → 𝔰.G₁} |
| 541 | (hs : s ∈ besselS) (ht : ∀ x : T, t x ∈ besselS) (hg : Measurable g) {K : ℝ≥0∞} |
| 542 | (h_bound : ∀ β : 𝔰.G₁ → ℂ, Measurable β → Integrable β → Function.support β ⊆ A → |
| 543 | ∫⁻ x : T in S, ‖∫ y : 𝔰.G₁, β y • W (g x * y)‖ₑ ^ 2 ∂μ ≤ K * ∫⁻ y : 𝔰.G₁, ‖β y‖ₑ ^ 2) : |
| 544 | IsL2Contraction μ[|S] (volume.restrict A) |
| 545 | (((μ S)⁻¹ * K) • volume.withDensity fun y : 𝔰.G₁ ↦ A.indicator 1 y * ‖W y‖ₑ ^ 2) |
| 546 | fun (i : I × I) (x : T) (y : 𝔰.G₁) ↦ W (s * g x * y) i.1 * conj (W (t x * y) i.2) := by |
| 547 | -- Apply `h_bound` column by column, to the weights `β j`. |
| 548 | intro φ C hφ hC |
| 549 | have hA_meas : MeasurableSet A := hA.measurableSet |
| 550 | have hψ : Integrable (A.indicator φ) := (volume.integrableOn_of_bounded hA.measure_ne_top |
| 551 | hφ.aestronglyMeasurable (.of_forall hC)).integrable_indicator hA_meas |
| 552 | let β (j : I) (y : 𝔰.G₁) : ℂ := A.indicator φ y * star (W y j) |
| 553 | have hβ_meas (j : I) : Measurable (β j) := |
| 554 | (hφ.indicator hA_meas).mul |
| 555 | (continuous_star.comp ((PiLp.continuous_apply 2 _ j).comp W.continuous)).measurable |
| 556 | have hβ (j : I) : Integrable (β j) := hψ.mul_of_top_left (hW.memLp_top.eval_piLp j).star |
| 557 | have h_columns (x : T) : |
| 558 | ∑ i : I × I, ‖∫ y in A, φ y * (W (s * g x * y) i.1 * star (W (t x * y) i.2))‖ₑ ^ 2 = |
| 559 | ∑ j, ‖∫ y, β j y • W (g x * y)‖ₑ ^ 2 := by |
| 560 | simp only [← integral_indicator hA_meas, Set.indicator_mul_left] |
| 561 | exact sum_enorm_sq_integral_mul_star hW hψ hs (ht x) (g x) |
| 562 | have h_column (j : I) : |
| 563 | ∫⁻ x in S, ‖∫ y, β j y • W (g x * y)‖ₑ ^ 2 ∂μ ≤ K * ∫⁻ y, ‖β j y‖ₑ ^ 2 := |
| 564 | h_bound (β j) (hβ_meas j) (hβ j) fun y hy ↦ |
| 565 | Set.mem_of_indicator_ne_zero (left_ne_zero_of_mul hy) |
| 566 | have h_dens_meas : Measurable fun y : 𝔰.G₁ ↦ A.indicator 1 y * ‖W y‖ₑ ^ 2 := |
| 567 | (measurable_one.indicator hA_meas).mul |
| 568 | ((continuous_eNorm.comp W.continuous).measurable.pow_const 2) |
| 569 | have h_weight : ∑ j, ∫⁻ y, ‖β j y‖ₑ ^ 2 = |
| 570 | ∫⁻ y, ‖φ y‖ₑ ^ 2 ∂volume.withDensity fun y ↦ A.indicator 1 y * ‖W y‖ₑ ^ 2 := by |
| 571 | rw [← lintegral_finsetSum' _ fun j _ ↦ (hβ j).aestronglyMeasurable.eNorm.pow_const 2, |
| 572 | lintegral_withDensity_eq_lintegral_mul _ h_dens_meas (hφ.eNorm.pow_const 2)] |
| 573 | refine lintegral_congr fun y ↦ ?_ |
| 574 | -- Pull out the scalar weight before summing the squared coordinates of W. |
| 575 | simp only [β, eNorm_mul, mul_pow, Complex.star_def, RCLike.eNorm_conj, ← mul_sum, |
| 576 | ← euclidean_enorm_sq_eq_sum, Pi.mul_apply] |
| 577 | by_cases hy : y ∈ A |
| 578 | · simp only [Set.indicator_of_mem hy, Pi.one_apply, one_mul] |
| 579 | exact mul_comm _ _ |
| 580 | · simp only [Set.indicator_of_notMem hy, eNorm_zero, zero_pow two_ne_zero, zero_mul] |
| 581 | have h_col_meas (j : I) : Measurable fun x : T ↦ ‖∫ y : 𝔰.G₁, β j y • W (g x * y)‖ₑ ^ 2 := |
| 582 | (continuous_eNorm.measurable.comp <| New.measurable_integral <| |
| 583 | ((hβ_meas j).comp measurable_snd).smul <| |
| 584 | W.continuous.measurable.comp |
| 585 | ((hg.comp measurable_fst).mul measurable_snd)).pow_const 2 |
| 586 | calc ∫⁻ x, ∑ i : I × I, ‖∫ y in A, φ y * (W (s * g x * y) i.1 * star (W (t x * y) i.2))‖ₑ ^ 2 |
| 587 | ∂μ[|S] |
| 588 | = (μ S)⁻¹ * ∑ j : I, ∫⁻ x in S, ‖∫ y, β j y • W (g x * y)‖ₑ ^ 2 ∂μ := by |
| 589 | rw [lintegral_congr h_columns, ProbabilityTheory.cond, lintegral_smul_measure, |
| 590 | smul_eq_mul, lintegral_finsetSum _ fun j _ ↦ h_col_meas j] |
| 591 | _ ≤ (μ S)⁻¹ * ∑ j : I, (K * ∫⁻ y, ‖β j y‖ₑ ^ 2) := |
| 592 | mul_le_mul' le_rfl (sum_le_sum fun j _ ↦ h_column j) |
| 593 | _ = ∫⁻ y, ‖φ y‖ₑ ^ 2 ∂(((μ S)⁻¹ * K) • |
| 594 | volume.withDensity fun y : 𝔰.G₁ ↦ A.indicator 1 y * ‖W y‖ₑ ^ 2) := by |
| 595 | rw [← mul_sum, h_weight, lintegral_smul_measure, smul_eq_mul, ← mul_assoc] |
| 596 | |
| 597 | /-- The pairs `(h, v)` with `h` in the unitary group `U(κ)` of the positive definite middle part and |
| 598 | `v` in the frame-fixing unipotent subgroup `besselU0` of `G₁`. -/ |
| 599 | abbrev New.Shape.FixerFactors (𝔰 : Shape) : Type := |
| 600 | U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) × (𝔰.middleGram (1 : ℂ)).besselU0 |
| 601 | |
| 602 | /-- Schur's bound at the section `γ_Z = gramSection Z`, in operator form, for the uncut function |
| 603 | `W = X.besselFn .full` of a Bessel system `X` with scale `B`. For `P ≥ B ^ 5` the field |
| 604 | `X.hasSchurBound` gives `HasSchurBound` with the two constants `P` and `D = |I| / X.deg`: `W` and |
| 605 | its right derivatives `V` of each order `l ≤ 2 n²` are Bessel functions, and `φ ↦ ∫ φ(y) V(g y) dy` |
| 606 | has squared norm at most `P ^ (2 l) D` as a map from `L²(G₁)` to functions of `g` in |
| 607 | `L²(besselU∖G₁)` (`SchurLe`). Here `n = ϱ + 1` and `I = X.Index`. |
| 608 | |
| 609 | Let `8 r ≤ P` and `B ^ 5 ≤ P`, where `r` is the size of the matrices in `G₁`, and let `0 < c`. On |
| 610 | the ball of radius `(P ^ 6)⁻¹` about `Z`, let `c ≤ gramDiscReal Y` and `IsBoundedInCell Y P` hold. |
| 611 | Let `A` be a compact set of norm at most `P ^ 20` that contains a subset `Ω` of the frame-fixing |
| 612 | unipotent subgroup `besselU0`, and let `s` and all `t x` lie in the Bessel subgroup. Let `μ` be |
| 613 | `openCellConst · c ^ (|κ| - 1)` times Haar measure (`fixerMeasure`) on the pairs `x = (h, v)` in |
| 614 | `U(κ) × besselU0` (`FixerFactors`). Let `K = P ^ (2000 n²) D`. |
| 615 | |
| 616 | For `x` drawn from `m`, which is `μ` conditioned on `v ∈ Ω`, put `k_(i,j)(x, y) = W_i (s γ_Z (v h)⁻¹ |
| 617 | y) · conj (W_j (t x * y))`. Then `IsL2Contraction` says that, for bounded measurable `φ`, the mean |
| 618 | over `m` of `∑_(i,j) |∫_A φ(y) k_(i,j)(x, y) dy|²` is at most `∫ |φ|²` with respect to |
| 619 | `(μ (U(κ) × Ω))⁻¹ K` times the measure of density `‖W‖²` on `A`. -/ |
| 620 | lemma New.BesselSystem.isL2Contraction_gramSection {𝔰 : Shape} {B P c : ℝ} {f : ℕ} |
| 621 | (X : BesselSystem 𝔰 B f) {Z : 𝔰.FrameMatrix} (hP : 8 * 𝔰.r ≤ P) (hBP : B ^ 5 ≤ P) (hc : 0 < c) |
| 622 | (h_ball : ∀ {Y : 𝔰.FrameMatrix}, |
| 623 | Y ∈ ball Z (P ^ 6)⁻¹ → c ≤ gramDiscReal Y ∧ IsBoundedInCell Y P) |
| 624 | {A : Set 𝔰.G₁} (hA : IsCompact A) |
| 625 | (hA_norm : ∀ y ∈ A, ‖(y : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ ≤ P ^ 20) |
| 626 | {Ω : Set (𝔰.middleGram (1 : ℂ)).besselU0} (hΩ : ∀ v ∈ Ω, (v : 𝔰.G₁) ∈ A) {s : 𝔰.G₁} |
| 627 | (hs : s ∈ besselS) {t : 𝔰.FixerFactors → 𝔰.G₁} (ht : ∀ x : 𝔰.FixerFactors, t x ∈ besselS) |
| 628 | {μ : Measure 𝔰.FixerFactors} (hμ : μ = 𝔰.fixerMeasure c) |
| 629 | {K : ℝ≥0∞} (hK : K = .ofReal (P ^ (2000 * 𝔰.n ^ 2)) * (.ofReal X.deg⁻¹ * card X.Index)) : |
| 630 | IsL2Contraction μ[|.univ ×ˢ Ω] (volume.restrict A) |
| 631 | (((μ (.univ ×ˢ Ω))⁻¹ * K) • |
| 632 | volume.withDensity fun y : 𝔰.G₁ ↦ A.indicator 1 y * ‖X.besselFn .full y‖ₑ ^ 2) |
| 633 | fun (i : X.Index × X.Index) (x : 𝔰.FixerFactors) (y : 𝔰.G₁) ↦ |
| 634 | X.besselFn .full (s * (gramSection Z * (x.2 * embedH x.1)⁻¹) * y) i.1 * |
| 635 | conj (X.besselFn .full (t x * y) i.2) := by |
| 636 | let g₀ (x : 𝔰.FixerFactors) : 𝔰.G₁ := gramSection Z * (x.2 * embedH x.1)⁻¹ |
| 637 | have hg₀_meas : Measurable g₀ := |
| 638 | (continuous_const.fun_mul |
| 639 | ((continuous_subtypeVal.comp continuous_snd).fun_mul |
| 640 | (continuous_embedH.comp continuous_fst)).inv).measurable |
| 641 | have hΩ_ball : .univ ×ˢ Ω ⊆ 𝔰.fixerBall (P ^ 20) := |
| 642 | fun x hx ↦ Shape.mem_fixerBall.2 (hA_norm x.2 (hΩ x.2 hx.2)) |
| 643 | have h_schur (β : 𝔰.G₁ → ℂ) (hβ_meas : Measurable β) (hβ_int : Integrable β) |
| 644 | (hβ_supp : Function.support β ⊆ A) : |
| 645 | ∫⁻ x in .univ ×ˢ Ω, ‖∫ y, β y • X.besselFn .full (g₀ x * y)‖ₑ ^ 2 ∂μ ≤ |
| 646 | K * ∫⁻ y, ‖β y‖ₑ ^ 2 := by |
| 647 | refine (lintegral_mono_set hΩ_ball).trans ?_ |
| 648 | rw [hμ, hK] |
| 649 | exact lintegral_gramSection_integral_le hP (X.hasSchurBound P hBP) hc |
| 650 | (fun Y hY ↦ (h_ball hY).1) (fun Y hY ↦ (h_ball hY).2) hβ_meas hβ_int |
| 651 | fun y hy ↦ hA_norm y (hβ_supp hy) |
| 652 | exact isL2Contraction_of_columns (X.isCutPair.isBesselFunction .full) hA hs ht hg₀_meas h_schur |
| 653 | |
| 654 | /-- For `1 ≤ M`, `M₀ = M ^ (9 n)` and `P = (M₀ ^ 5) ^ n`, the product `P ^ (2000 n²) · M₀ ^ |
| 655 | 5 · (M · P ^ 20 · P ^ 20) ^ (2 n²)` equals `M ^ (93600 n⁴ + 2 n² + 45 n)`, hence is at most |
| 656 | `M ^ (10⁵ n⁴)`. -/ |
| 657 | lemma New.scale_mul_le_pow {R : Type*} [CommSemiring R] [PartialOrder R] [IsOrderedRing R] |
| 658 | {M M₀ P : R} {n : ℕ} (hM : 1 ≤ M) (hM₀ : M₀ = M ^ (9 * n)) (hP : P = (M₀ ^ 5) ^ n) : |
| 659 | P ^ (2000 * n ^ 2) * (M₀ ^ 5 * (M * (P ^ 20 * P ^ 20)) ^ (2 * n ^ 2)) ≤ |
| 660 | M ^ (10 ^ 5 * n ^ 4) := by |
| 661 | have h_le_pow_four : n ≤ n ^ 4 := Nat.le_self_pow four_ne_zero n |
| 662 | have h_sq_le_pow_four : n ^ 2 ≤ n ^ 4 := by linarith [Nat.le_self_pow two_ne_zero (n ^ 2)] |
| 663 | subst hM₀ hP |
| 664 | calc _ = M ^ (93600 * n ^ 4 + 2 * n ^ 2 + 45 * n) := by ring |
| 665 | _ ≤ M ^ (10 ^ 5 * n ^ 4) := pow_le_pow_right₀ hM (by omega) |
| 666 | |
| 667 | /-- Let `a, b, p ≥ 0` and `c, δ > 0` be real, `d` natural. If `m ≤ a ω b d` in `ℝ≥0∞` with `ω` |
| 668 | finite and nonzero, then `ω` cancels: `(c ω)⁻¹ · (p d / δ) · m ≤ p a b d² / (δ c)` as reals. -/ |
| 669 | lemma New.toReal_inv_mul_mul_le {m ω : ℝ≥0∞} {a b c p δ : ℝ} {d : ℕ} (ha : 0 ≤ a) (hb : 0 ≤ b) |
| 670 | (hc : 0 < c) (hp : 0 ≤ p) (hδ : 0 < δ) (hω_zero : ω ≠ 0) (hω_top : ω ≠ ∞) |
| 671 | (hm : m ≤ .ofReal a * ω * .ofReal b * d) : |
| 672 | ((.ofReal c * ω)⁻¹ * (.ofReal p * (.ofReal δ⁻¹ * d)) * m).toReal ≤ |
| 673 | p * (a * b) * (d ^ 2 / (δ * c)) := by |
| 674 | have h_ne_top : .ofReal a * ω * .ofReal b * d ≠ ∞ := |
| 675 | ENNReal.mul_ne_top (ENNReal.mul_ne_top (ENNReal.mul_ne_top ofReal_ne_top hω_top) |
| 676 | ofReal_ne_top) (natCast_ne_top d) |
| 677 | rw [ENNReal.toReal_mul] |
| 678 | refine (mul_le_mul_of_nonneg_left (ENNReal.toReal_mono h_ne_top hm) |
| 679 | ENNReal.toReal_nonneg).trans_eq ?_ |
| 680 | have hω_pos : 0 < ω.toReal := toReal_pos hω_zero hω_top |
| 681 | simp only [ENNReal.toReal_mul, ENNReal.toReal_inv, toReal_ofReal ha, toReal_ofReal hb, |
| 682 | toReal_ofReal hc.le, toReal_ofReal hp, toReal_ofReal (inv_nonneg.2 hδ.le), toReal_natCast] |
| 683 | field_simp [hc.ne', hδ.ne', hω_pos.ne'] |
| 684 | |
| 685 | /-- Let `8 n ≤ M` and `M ^ (9 n) ≤ R`, where `n = 𝔰.n = ϱ + 1`. Let `M⁻¹ ≤ gramDiscReal Z`, the |
| 686 | number |det Z|² − |D_ϱ|² with D_ϱ the leading principal minor of order ϱ, so that `Z` lies in the |
| 687 | open cell. Let `‖Z⁻¹‖ ≤ R`, and let `γ_Z = gramSection Z`, an element of the unitary group `G₁` with |
| 688 | frame Gram matrix `Z`. Let `s` lie in the Bessel subgroup `besselS`, `v` in the frame-fixing |
| 689 | unipotent group `besselU0` and `h` in `U(κ)`, embedded in `G₁` by `embedH`. Suppose that the moved |
| 690 | frame vectors `z⁻¹ f_a` have norm at most `M` (`frameBox`). If also |
| 691 | `besselLength (s γ_Z (v h)⁻¹ z) ≤ M`, then the operator norm of `v⁻¹ z` is at most `R ^ 5`. -/ |
| 692 | lemma New.norm_inv_mul_le_of_besselLength_le {𝔰 : Shape} {M R : ℝ} {Z : 𝔰.FrameMatrix} |
| 693 | {s v z : 𝔰.G₁} {h : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ)} (h_size_le : 8 * (𝔰.ϱ + 1) ≤ M) |
| 694 | (h_pow_le : M ^ (9 * 𝔰.n) ≤ R) (h_disc : M⁻¹ ≤ gramDiscReal Z) (hZ_inv : ‖Z⁻¹‖ ≤ R) |
| 695 | (hs : s ∈ besselS) (hv : v ∈ besselU0) (hz : z ∈ frameBox M) |
| 696 | (h_length : besselLength (s * (gramSection Z * (v * embedH h)⁻¹) * z) ≤ M) : |
| 697 | ‖((v⁻¹ * z : 𝔰.G₁) : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ ≤ R ^ 5 := by |
| 698 | -- `(v h)⁻¹ z` has the frame of `z`, and differs from `v⁻¹ z` by the unitary `embedH h` |
| 699 | have h_box : (v * embedH h)⁻¹ * z ∈ frameBox M := fun a ↦ by |
| 700 | simpa only [frameVector_mul_of_mem_besselFixer (inv_mem (mul_embedH_mem_besselFixer hv h))] |
| 701 | using hz a |
| 702 | rw [mul_assoc, besselLength_besselS_mul hs, mul_assoc] at h_length |
| 703 | rw [show v⁻¹ * z = embedH h * ((v * embedH h)⁻¹ * z) by |
| 704 | rw [_root_.mul_inv_rev, ← mul_assoc, ← mul_assoc, mul_inv_cancel, one_mul], norm_embedH_mul] |
| 705 | exact norm_le_of_besselLength_gramSection_mul_le h_size_le h_pow_le h_disc hZ_inv h_box h_length |
| 706 | |
| 707 | /-- Let `realFrameGram γ`, the matrix of the products `h(f_j, γ f_l)` of the frame |
| 708 | `(f_i) = (e₁, …, e_ϱ, z)` with its translate by `γ`, lie in the open cell `𝔰.openCell`. This means |
| 709 | it is invertible and its inverse has last diagonal entry of absolute value less than 1. Let |
| 710 | `γ_Z = gramSection (realFrameGram γ)` be its section. Then there are `s` in the Bessel subgroup |
| 711 | `besselS` and a measurable map `t`. The map `t` goes from `FixerFactors` (pairs `(h, v)` in |
| 712 | `U(κ) × besselU0`) into the fixer `besselFixer`, the elements fixing each frame vector. They satisfy |
| 713 | `γ t(h, v) = s γ_Z (v h)⁻¹` for all `h` and `v`. -/ |
| 714 | lemma New.exists_mul_eq_mul_gramSection_mul {𝔰 : Shape} {γ : 𝔰.G₁} |
| 715 | (hγ : realFrameGram γ ∈ 𝔰.openCell) : |
| 716 | ∃ s ∈ besselS, ∃ t : 𝔰.FixerFactors → 𝔰.G₁, |
| 717 | Measurable t ∧ |
| 718 | (∀ x : 𝔰.FixerFactors, t x ∈ besselFixer) ∧ |
| 719 | ∀ x : 𝔰.FixerFactors, |
| 720 | γ * t x = s * (gramSection (realFrameGram γ) * (x.2 * embedH x.1)⁻¹) := by |
| 721 | -- Write `γ = u k γ_Z (u' k')⁻¹`, and take `s = u k` and `t(h, v) = u' k' h⁻¹ v⁻¹`. |
| 722 | obtain ⟨u, k, u', k', hγ_eq⟩ := exists_eq_mul_gramSection_mul (Z := realFrameGram γ) hγ rfl |
| 723 | have ht_meas : Measurable fun x : 𝔰.FixerFactors ↦ |
| 724 | unipotentOf u' * embedH (k' * x.1⁻¹) * (x.2⁻¹ : besselU0) := |
| 725 | ((continuous_const.fun_mul |
| 726 | (continuous_embedH.comp (continuous_const.fun_mul continuous_fst.inv))).fun_mul |
| 727 | (continuous_subtypeVal.comp continuous_snd).inv).measurable |
| 728 | refine ⟨unipotentOf u * embedH k, |
| 729 | mem_besselS_of_mem_besselFixer (mul_embedH_mem_besselFixer (unipotentOf_mem_besselU0 u) k), |
| 730 | fun x ↦ unipotentOf u' * embedH (k' * x.1⁻¹) * (x.2⁻¹ : besselU0), ht_meas, |
| 731 | fun (h, v) ↦ mul_mem (mul_embedH_mem_besselFixer (unipotentOf_mem_besselU0 u') _) |
| 732 | (mem_besselFixer_of_mem_besselU0 v⁻¹.prop), ?_⟩ |
| 733 | generalize realFrameGram γ = Z at hγ_eq ⊢ |
| 734 | intro ⟨h, v⟩ |
| 735 | have hkh : embedH (k' * h⁻¹) = embedH k' * (embedH h)⁻¹ := |
| 736 | ((toBesselH 𝔰 (1 : ℂ)).map_mul k' h⁻¹).trans |
| 737 | (congrArg (embedH k' * ·) ((toBesselH 𝔰 (1 : ℂ)).map_inv h)) |
| 738 | dsimp only |
| 739 | rw [hγ_eq, hkh, Subgroup.coe_inv, _root_.mul_inv_rev, _root_.mul_inv_rev] |
| 740 | simp only [mul_assoc, inv_mul_cancel_left] |
| 741 | |
| 742 | /-- The conclusion of the open cell bound at `γ` in `G₁` and scale `ρ`, for the uncut function |
| 743 | `W = X.besselFn .full` of a Bessel system `X`. The shifts `t x`, with `x` drawn from `m`, fix the |
| 744 | frame, and the kernels `W (γ t z) ⊗ conj (W (t z))` on the set `A` are bounded on average by the |
| 745 | measure `ν`. Its mass is at most `pairingBoundSq`, the number |
| 746 | `(ρ ^ (9 n) / 𝗀) ^ (10⁵ n⁴) |I|² / (X.deg · openCellConst · (𝗀 / 2) ^ (k - 1))` with |
| 747 | `𝗀 = gramDiscReal (realFrameGram γ)`, `n = ϱ + 1`, `k = |κ|` and `I = X.Index`. -/ |
| 748 | structure New.BesselSystem.IsOpenCellBound {𝔰 : Shape} {B : ℝ} {f : ℕ} (X : BesselSystem 𝔰 B f) |
| 749 | (γ : 𝔰.G₁) (ρ : ℝ) {T : Type*} [MeasurableSpace T] (A : Set 𝔰.G₁) (ν : Measure 𝔰.G₁) |
| 750 | (m : Measure T) (t : T → 𝔰.G₁) : Prop where |
| 751 | /-- The domain `A` is compact. -/ |
| 752 | isCompact : IsCompact A |
| 753 | /-- The shift is a measurable map. -/ |
| 754 | measurable : Measurable t |
| 755 | /-- Every shift lies in the fixer of the frame. -/ |
| 756 | mem_besselFixer (x : T) : t x ∈ besselFixer |
| 757 | /-- The shifts are averaged by a probability measure. -/ |
| 758 | isProbabilityMeasure : IsProbabilityMeasure m |
| 759 | /-- The mean over `m` of the squared Hilbert–Schmidt norm of |
| 760 | `∫_A φ z • W (γ t z) ⊗ conj (W (t z))` is at most `∫ ‖φ‖ ^ 2 dν`, for bounded measurable `φ`. -/ |
| 761 | isL2Contraction : IsL2Contraction m (volume.restrict A) ν |
| 762 | fun (i : X.Index × X.Index) (x : T) (z : 𝔰.G₁) ↦ |
| 763 | X.besselFn .full (γ * t x * z) i.1 * conj (X.besselFn .full (t x * z) i.2) |
| 764 | /-- The bounding measure is finite. -/ |
| 765 | isFiniteMeasure : IsFiniteMeasure ν |
| 766 | /-- The total mass of the bounding measure is at most `pairingBoundSq`. -/ |
| 767 | measureReal_univ_le : ν.real .univ ≤ pairingBoundSq γ X.deg ρ (card X.Index) |
| 768 | /-- For almost every shift, `A` contains every `z` in `frameBox ρ` such that `γ t z` has |
| 769 | `besselLength` at most `ρ`. -/ |
| 770 | ae_mem_of_besselLength_le : |
| 771 | ∀ᵐ x : T ∂m, ∀ z ∈ frameBox ρ, besselLength (γ * t x * z) ≤ ρ → z ∈ A |
| 772 | |
| 773 | /-- A mean `L²` bound for the kernels `W (g x * z) ⊗ conj (W (t x * z))`, where |
| 774 | `W = X.besselFn .full` is the uncut function of a Bessel system `X`, `x` is drawn from `m` and `z` |
| 775 | ranges over `A`. The bounding measure `ν` has mass at most `C`, and `A` captures the points of |
| 776 | Bessel length at most `M`. -/ |
| 777 | structure New.BesselSystem.IsKernelBound {𝔰 : Shape} {B : ℝ} {f : ℕ} (X : BesselSystem 𝔰 B f) |
| 778 | {T : Type*} [MeasurableSpace T] (g t : T → 𝔰.G₁) (M C : ℝ) (A : Set 𝔰.G₁) (ν : Measure 𝔰.G₁) |
| 779 | (m : Measure T) : Prop where |
| 780 | /-- The domain `A` is compact. -/ |
| 781 | isCompact : IsCompact A |
| 782 | /-- The mean over `m` of the squared Hilbert–Schmidt norm of |
| 783 | `∫_A φ z • W (g x * z) ⊗ conj (W (t x * z))` is at most `∫ ‖φ‖ ^ 2 dν`, for bounded measurable |
| 784 | `φ`. -/ |
| 785 | isL2Contraction : IsL2Contraction m (volume.restrict A) ν |
| 786 | fun (i : X.Index × X.Index) (x : T) (z : 𝔰.G₁) ↦ |
| 787 | X.besselFn .full (g x * z) i.1 * conj (X.besselFn .full (t x * z) i.2) |
| 788 | /-- The parameters are averaged by a probability measure. -/ |
| 789 | isProbabilityMeasure : IsProbabilityMeasure m |
| 790 | /-- The bounding measure is finite. -/ |
| 791 | isFiniteMeasure : IsFiniteMeasure ν |
| 792 | /-- The total mass of the bounding measure is at most `C`. -/ |
| 793 | measureReal_univ_le : ν.real .univ ≤ C |
| 794 | /-- For almost every `x`, `A` contains every `z` in `frameBox M` such that `g x * z` has |
| 795 | `besselLength` at most `M`. -/ |
| 796 | ae_mem_of_besselLength_le : |
| 797 | ∀ᵐ x : T ∂m, ∀ z ∈ frameBox M, besselLength (g x * z) ≤ M → z ∈ A |
| 798 | |
| 799 | private lemma cast_frameRank_le_rank {𝔰 : New.Shape} : (𝔰.n : ℝ) ≤ 𝔰.r := |
| 800 | Nat.cast_le.2 (by simpa only [Fintype.card_fin] using |
| 801 | Fintype.card_le_of_injective 𝔰.besselFrame New.besselFrame_injective) |
| 802 | |
| 803 | /-- The open cell bound at the section `γ_Z = gramSection Z`, for the uncut function |
| 804 | `W = X.besselFn .full` of a Bessel system `X` with scale `B`. Here `n = ϱ + 1` and `I = X.Index`. |
| 805 | |
| 806 | Let `B ≤ M` and `M⁻¹ ≤ gramDiscReal Z = |det Z|² − |D_ϱ|²`, D_ϱ the leading principal minor of order |
| 807 | ϱ, let the entries of `Z` have norm at most `M ^ 2`, and let `s` and all `t x` lie in the Bessel |
| 808 | subgroup `besselS`. For `x = (h, v)` in `U(κ) × besselU0` (`FixerFactors`) put |
| 809 | `g x = s γ_Z (v h)⁻¹`. There are (`IsKernelBound`) a compact set `A`, a probability measure `m` and |
| 810 | a finite measure `ν` such that the kernel `W (g x * z) ⊗ conj (W (t x * z))`, integrated against |
| 811 | volume on `A`, has norm at most one from `L²(ν)` to `L²(m)` (`IsL2Contraction`). The mass of `ν` is |
| 812 | at most `M ^ (10⁵ n⁴) |I|² / (X.deg · openCellConst · (gramDiscReal Z / 2) ^ (k - 1))`, where |
| 813 | `k = |κ|` and `openCellConst` is vol U(k) · (2π^k/(k−1)!) / vol U(r), `r` the rank of `G₁`. Almost |
| 814 | surely `A` contains every `z` with all `‖z⁻¹ f_a‖ ≤ M` and `besselLength (g x * z) ≤ M`. -/ |
| 815 | lemma New.BesselSystem.exists_isKernelBound_gramSection {𝔰 : Shape} {B M : ℝ} {f : ℕ} |
| 816 | (X : BesselSystem 𝔰 B f) {Z : 𝔰.FrameMatrix} (hBM : B ≤ M) (h_disc : M⁻¹ ≤ gramDiscReal Z) |
| 817 | (hZ : ∀ a c : Fin (𝔰.ϱ + 1), ‖Z a c‖ ≤ M ^ 2) {s : 𝔰.G₁} (hs : s ∈ besselS) |
| 818 | {g t : 𝔰.FixerFactors → 𝔰.G₁} (ht : ∀ x : 𝔰.FixerFactors, t x ∈ besselS) |
| 819 | (hg_eq : ∀ x : 𝔰.FixerFactors, g x = s * (gramSection Z * (x.2 * embedH x.1)⁻¹)) : |
| 820 | ∃ (A : Set 𝔰.G₁) (ν : Measure 𝔰.G₁) (m : Measure 𝔰.FixerFactors), |
| 821 | X.IsKernelBound g t M |
| 822 | (M ^ (10 ^ 5 * 𝔰.n ^ 4) * |
| 823 | (card X.Index ^ 2 / (X.deg * 𝔰.openCellConst * (gramDiscReal Z / 2) ^ (𝔰.k - 1)))) |
| 824 | A ν m := by |
| 825 | -- Take for `A` a tube over a set `Ω ⊆ besselU0`, for `m` Haar measure conditioned on `v ∈ Ω`, and |
| 826 | -- for `ν` a multiple of `‖W‖²` on `A`; Schur's bound gives the contraction. |
| 827 | have hB : 8 * 𝔰.r ≤ B := X.eight_mul_rank_le |
| 828 | have hM_eight : 8 * (𝔰.ϱ + 1) ≤ M := by |
| 829 | rw [← Nat.cast_succ] |
| 830 | linarith [cast_frameRank_le_rank (𝔰 := 𝔰)] |
| 831 | have hM_two : 2 ≤ M := by linarith |
| 832 | have h_disc_half : 0 < gramDiscReal Z / 2 := |
| 833 | half_pos (h_disc.trans_lt' (inv_pos.2 (by linarith))) |
| 834 | -- the scales `M ≤ M₀ ≤ M₀ ^ 5 ≤ P` |
| 835 | have hM_one : 1 ≤ M := one_le_two.trans hM_two |
| 836 | set M₀ : ℝ := M ^ (9 * 𝔰.n) with hM₀_def |
| 837 | set P : ℝ := (M₀ ^ 5) ^ 𝔰.n with hP_def |
| 838 | have hM₀ : M ≤ M₀ := le_self_pow₀ hM_one (by dsimp only [Shape.n]; omega) |
| 839 | have h_le_pow : M₀ ≤ M₀ ^ 5 := le_self_pow₀ (hM_one.trans hM₀) (by norm_num) |
| 840 | have h_pow_le : M₀ ^ 5 ≤ P := le_self_pow₀ (by linarith) (by dsimp only [Shape.n]; omega) |
| 841 | have hP_one : 1 ≤ P := hM_one.trans (hM₀.trans (h_le_pow.trans h_pow_le)) |
| 842 | obtain ⟨A, Ω, h_tube⟩ := exists_tube (𝔰 := 𝔰) (T := M₀ ^ 5) (by linarith) |
| 843 | have hA_norm : ∀ y ∈ A, ‖(y : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ ≤ P ^ 20 := fun y hy ↦ |
| 844 | (h_tube.norm_le y hy).trans |
| 845 | ((pow_le_pow_left₀ (by linarith) h_pow_le 10).trans |
| 846 | (pow_le_pow_right₀ hP_one (by norm_num))) |
| 847 | have h_mass : ∫⁻ y, A.indicator 1 y * ‖X.besselFn .full y‖ₑ ^ 2 ≤ |
| 848 | .ofReal (M₀ ^ 5) * 𝔰.besselHaar₀ Ω * .ofReal ((M * (P ^ 20 * P ^ 20)) ^ (2 * 𝔰.n ^ 2)) * |
| 849 | card X.Index := by |
| 850 | have h1 := X.lintegral_indicator_mul_enorm_sq_le h_tube.isCompact.measurableSet |
| 851 | (one_le_pow₀ hP_one) hA_norm h_tube.lintegral_indicator_le |
| 852 | refine h1.trans (mul_le_mul' (mul_le_mul' ?_ ?_) le_rfl) |
| 853 | · exact mul_le_mul' (ofNat_le_ofReal.2 (by linarith)) le_rfl |
| 854 | · refine ENNReal.ofReal_le_ofReal (pow_le_pow_left₀ |
| 855 | (mul_nonneg (by norm_num) (mul_nonneg (pow_nonneg (zero_le_one.trans hP_one) 20) |
| 856 | (pow_nonneg (zero_le_one.trans hP_one) 20))) |
| 857 | (mul_le_mul_of_nonneg_right hM_two (mul_nonneg (pow_nonneg (zero_le_one.trans hP_one) 20) |
| 858 | (pow_nonneg (zero_le_one.trans hP_one) 20))) _) |
| 859 | -- `μ` is the measure and `K` the constant of Schur's bound |
| 860 | set c : ℝ := 𝔰.openCellConst * (gramDiscReal Z / 2) ^ (𝔰.k - 1) with hc_def |
| 861 | have hc : 0 < c := mul_pos 𝔰.openCellConst_pos (pow_pos h_disc_half _) |
| 862 | let μ : Measure 𝔰.FixerFactors := ENNReal.ofReal c • volume.prod 𝔰.besselHaar₀ |
| 863 | let K : ℝ≥0∞ := .ofReal (P ^ (2000 * 𝔰.n ^ 2)) * (.ofReal X.deg⁻¹ * card X.Index) |
| 864 | have hμΩ : μ (.univ ×ˢ Ω) = .ofReal c * 𝔰.besselHaar₀ Ω := by |
| 865 | rw [smul_apply, smul_eq_mul, Measure.prod_prod, measure_univ, one_mul] |
| 866 | have hμ_ne_zero : μ (.univ ×ˢ Ω) ≠ 0 := by |
| 867 | rw [hμΩ] |
| 868 | exact mul_ne_zero (ENNReal.ofReal_pos.2 hc).ne' h_tube.measure_ne_zero |
| 869 | have hμ_ne_top : μ (.univ ×ˢ Ω) ≠ ∞ := by |
| 870 | rw [hμΩ] |
| 871 | exact ENNReal.mul_ne_top ofReal_ne_top h_tube.measure_ne_top |
| 872 | let ν₀ : Measure 𝔰.G₁ := volume.withDensity fun y ↦ A.indicator 1 y * ‖X.besselFn .full y‖ₑ ^ 2 |
| 873 | refine ⟨A, ((μ (.univ ×ˢ Ω))⁻¹ * K) • ν₀, μ[|.univ ×ˢ Ω], h_tube.isCompact, ?_, |
| 874 | cond_isProbabilityMeasure_of_finite hμ_ne_zero hμ_ne_top, ?_, ?_, ?_⟩ |
| 875 | · -- the contraction: the sizes stay bounded by `P` near `Z`, so Schur's bound applies |
| 876 | have hΩA (v : besselU0) (hv : v ∈ Ω) : (v : 𝔰.G₁) ∈ A := by |
| 877 | have h := h_tube.mul_mem v hv 1 (norm_one.trans_le (by linarith)) |
| 878 | rwa [mul_one] at h |
| 879 | have hBP : B ^ 5 ≤ P := |
| 880 | (pow_le_pow_left₀ (by linarith [Nat.cast_nonneg (α := ℝ) 𝔰.r]) (hBM.trans hM₀) 5).trans |
| 881 | h_pow_le |
| 882 | rw [funext hg_eq] |
| 883 | exact X.isL2Contraction_gramSection (by linarith) hBP h_disc_half |
| 884 | (gramDiscReal_div_two_le_and_isBoundedInCell h_disc hM_eight hZ (h_le_pow.trans h_pow_le)) |
| 885 | h_tube.isCompact hA_norm hΩA hs ht rfl rfl |
| 886 | · have h_lt : (∫⁻ y, A.indicator 1 y * ‖X.besselFn .full y‖ₑ ^ 2) < ∞ := |
| 887 | h_mass.trans_lt (mul_lt_top (mul_lt_top (mul_lt_top ofReal_lt_top |
| 888 | h_tube.measure_ne_top.lt_top) ofReal_lt_top) (natCast_lt_top _)) |
| 889 | have : IsFiniteMeasure ν₀ := isFiniteMeasure_withDensity h_lt.ne |
| 890 | exact smul_finite ν₀ (ENNReal.mul_ne_top (ENNReal.inv_ne_top.2 hμ_ne_zero) |
| 891 | (ENNReal.mul_ne_top ofReal_ne_top (ENNReal.mul_ne_top ofReal_ne_top (natCast_ne_top _)))) |
| 892 | · -- in the mass of `ν` the volume of `Ω` cancels |
| 893 | have hν : (((μ (.univ ×ˢ Ω))⁻¹ * K) • ν₀).real .univ = ((μ (.univ ×ˢ Ω))⁻¹ * K * |
| 894 | ∫⁻ y, A.indicator 1 y * ‖X.besselFn .full y‖ₑ ^ 2).toReal := by |
| 895 | rw [Measure.real_def, smul_apply, smul_eq_mul, |
| 896 | withDensity_apply _ MeasurableSet.univ, Measure.restrict_univ] |
| 897 | have h_deg : 0 < X.deg := X.deg_pos |
| 898 | rw [hν, hμΩ, mul_assoc X.deg, ← hc_def] |
| 899 | refine (toReal_inv_mul_mul_le (pow_nonneg (by linarith) 5) |
| 900 | (pow_nonneg (mul_nonneg (zero_le_one.trans hM_one) |
| 901 | (mul_nonneg (pow_nonneg (zero_le_one.trans hP_one) 20) |
| 902 | (pow_nonneg (zero_le_one.trans hP_one) 20))) _) |
| 903 | hc (pow_nonneg (zero_le_one.trans hP_one) _) h_deg |
| 904 | h_tube.measure_ne_zero h_tube.measure_ne_top h_mass).trans ?_ |
| 905 | exact mul_le_mul_of_nonneg_right (scale_mul_le_pow hM_one hM₀_def hP_def) |
| 906 | (div_nonneg (sq_nonneg _) (mul_pos h_deg hc).le) |
| 907 | · -- since `z = v * (v⁻¹ * z)` and `‖v⁻¹ * z‖ ≤ M₀ ^ 5`, the tube property applies |
| 908 | have h_cell : IsBoundedInCell Z M₀ := isBoundedInCell_of_inv_le_gramDiscReal h_disc |
| 909 | ((Nat.cast_succ 𝔰.ϱ).trans_le (by linarith)) hZ |
| 910 | (pow_le_pow_right₀ hM_one (by dsimp only [Shape.n]; omega)) |
| 911 | filter_upwards [ae_cond_mem (.prod .univ h_tube.measurableSet)] with ⟨h, v⟩ ⟨_, hv⟩ z hz hgz |
| 912 | rw [hg_eq] at hgz |
| 913 | have hmem := h_tube.mul_mem v hv ((v : 𝔰.G₁)⁻¹ * z) |
| 914 | (norm_inv_mul_le_of_besselLength_le hM_eight le_rfl h_disc h_cell.norm_inv_le hs v.prop hz |
| 915 | hgz) |
| 916 | rwa [mul_inv_cancel_left] at hmem |
| 917 | |
| 918 | /-- The open cell bound, for the uncut function `W = X.besselFn .full` of a Bessel system `X` of |
| 919 | scale `B`. Let `Z = realFrameGram γ`, the matrix of products of the frame `f_a` with its translate |
| 920 | by `γ`, have `0 < gramDiscReal Z`. Let `B ≤ ρ`, and let some `y` have all `‖y⁻¹ f_a‖` and |
| 921 | `‖y⁻¹ γ f_a‖` at most `ρ` (`frameBox ρ`). There are (`IsOpenCellBound`) a compact set `A`, a |
| 922 | probability measure `m` on the pairs `FixerFactors`, a measurable map `t` from them into the fixer |
| 923 | `besselFixer` of the frame, and a finite measure `ν` of mass at most `pairingBoundSq`, such that the |
| 924 | mean over `m` of the squared Hilbert–Schmidt norm of `∫_A φ z • W (γ t z) ⊗ conj (W (t z))` is at |
| 925 | most `∫ ‖φ‖ ^ 2 dν` for all bounded measurable `φ`. Almost surely `A` contains every |
| 926 | `z ∈ frameBox ρ` with `besselLength (γ t z) ≤ ρ`. With `𝗀 = gramDiscReal Z`, `n = ϱ + 1`, `k = |κ|` |
| 927 | and `I = X.Index`, the number `pairingBoundSq` is `(ρ ^ (9 n) / 𝗀) ^ (10⁵ n⁴) |
| 928 | |I|² / (X.deg · openCellConst · (𝗀 / 2) ^ (k - 1))`. -/ |
| 929 | lemma New.BesselSystem.exists_isOpenCellBound {𝔰 : Shape} {B : ℝ} {f : ℕ} {ρ : ℝ} {γ y : 𝔰.G₁} |
| 930 | (X : BesselSystem 𝔰 B f) (hγ : 0 < gramDiscReal (realFrameGram γ)) |
| 931 | (hy : y ∈ frameBox ρ) (hγy : γ⁻¹ * y ∈ frameBox ρ) (hρ : B ≤ ρ) : |
| 932 | ∃ (A : Set 𝔰.G₁) (ν : Measure 𝔰.G₁) (m : Measure 𝔰.FixerFactors) (t : 𝔰.FixerFactors → 𝔰.G₁), |
| 933 | X.IsOpenCellBound γ ρ A ν m t := by |
| 934 | -- Reduce to the section: with `Z` the Gram matrix of the two frames, the shifts `t` satisfy |
| 935 | -- `γ t(h, v) = s γ_Z (v h)⁻¹`. Use the scale `M = ρ ^ (9 n) / gramDiscReal Z`. |
| 936 | have hρ_n : 𝔰.n ≤ ρ := by |
| 937 | linarith [X.eight_mul_rank_le, Nat.cast_nonneg (α := ℝ) 𝔰.n, cast_frameRank_le_rank (𝔰 := 𝔰)] |
| 938 | have hρ_one : 1 ≤ ρ := (Nat.one_le_cast.2 𝔰.ϱ.succ_pos).trans hρ_n |
| 939 | have hZρ (a c : Fin (𝔰.ϱ + 1)) : ‖realFrameGram γ a c‖ ≤ ρ ^ 2 := |
| 940 | (norm_realFrameGram_le_mul γ y a c).trans |
| 941 | ((mul_le_mul (hy a) (hγy c) (norm_nonneg _) (zero_le_one.trans hρ_one)).trans_eq (sq ρ).symm) |
| 942 | set Z : 𝔰.FrameMatrix := realFrameGram γ |
| 943 | let M : ℝ := ρ ^ (9 * 𝔰.n) / gramDiscReal Z |
| 944 | have hρM : ρ ≤ M := le_pow_div_gramDiscReal hγ hρ_n hZρ |
| 945 | have hZM (a c : Fin (𝔰.ϱ + 1)) : ‖Z a c‖ ≤ M ^ 2 := |
| 946 | (hZρ a c).trans (pow_le_pow_left₀ (zero_le_one.trans hρ_one) hρM 2) |
| 947 | obtain ⟨s, hs, t, h_meas, h_fixer, h_shift⟩ : ∃ s ∈ besselS, ∃ t : 𝔰.FixerFactors → 𝔰.G₁, |
| 948 | Measurable t ∧ (∀ x, t x ∈ besselFixer) ∧ |
| 949 | ∀ x, γ * t x = s * (gramSection Z * (x.2 * embedH x.1)⁻¹) := |
| 950 | exists_mul_eq_mul_gramSection_mul (mem_openCell_iff.2 hγ) |
| 951 | obtain ⟨A, ν, m, h_bound⟩ : ∃ (A : Set 𝔰.G₁) (ν : Measure 𝔰.G₁) (m : Measure 𝔰.FixerFactors), |
| 952 | X.IsKernelBound (fun x ↦ γ * t x) t M (pairingBoundSq γ X.deg ρ (card X.Index)) A ν m := |
| 953 | X.exists_isKernelBound_gramSection (hρ.trans hρM) (inv_pow_div_gramDiscReal_le hγ hρ_one _) |
| 954 | hZM hs (fun x ↦ mem_besselS_of_mem_besselFixer (h_fixer x)) h_shift |
| 955 | exact ⟨A, ν, m, t, { h_bound with |
| 956 | measurable := h_meas |
| 957 | mem_besselFixer := h_fixer |
| 958 | ae_mem_of_besselLength_le := h_bound.ae_mem_of_besselLength_le.mono fun x hx z hz_box hz_size ↦ |
| 959 | hx z (fun a ↦ (hz_box a).trans hρM) (hz_size.trans hρM) }⟩ |
| 960 | |
| 961 | end OpenCellBound |