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 | public import Mathlib.Analysis.LocallyConvex.AbsConvexOpen |
| 5 | import Mathlib.Algebra.Order.Star.Real |
| 6 | import Mathlib.Algebra.Ring.IsFormallyReal |
| 7 | import Mathlib.Analysis.Calculus.Deriv.Pi |
| 8 | import Mathlib.CategoryTheory.Countable |
| 9 | import Mathlib.MeasureTheory.Measure.Lebesgue.VolumeOfBalls |
| 10 | import TauCeti.Topology.Algebra.Group.Units |
| 11 | import TauCeti.Topology.Instances.Matrix |
| 12 | public import New.Spanning.Bessel.GramSection |
| 13 | import Lib.DiscreteSeries.Bessel.SchurBound |
| 14 | import Lib.DiscreteSeries.Bessel.UnipotentHaarMeasure |
| 15 | import Lib.DiscreteSeries.Bruhat.ComplexPlace |
| 16 | import Lib.DiscreteSeries.Haar.TotalMass |
| 17 | import Lib.General.Analysis.GaussianIntegral |
| 18 | import Lib.General.Analysis.PackingAndSobolev |
| 19 | import New.Spanning.Bessel.MeanValue |
| 20 | |
| 21 | /-! |
| 22 | # Unfolding bounds over G₁ and the L² bound at the section γ_Z via Sobolev |
| 23 | |
| 24 | `New.Shape.G₁` is the complex unitary group of the shape `𝔰`, with index set |
| 25 | `New.Shape.BesselIndex`. `𝖴 = New.Shape.Form.besselU` is its Bessel unipotent group, and |
| 26 | `𝖴⁰ = New.Shape.Form.besselU0` is the subgroup of `𝖴` fixing the frame e₁, …, e_ϱ, z; their Haar |
| 27 | measures are `New.Shape.besselHaar` and `New.Shape.besselHaar₀`. An unfolding inequality bounds |
| 28 | suitable integrals over `G₁` by integrals over `𝖴∖G₁`. An `L²` bound on the quotient `𝖴∖G₁` for |
| 29 | convolutions, the hypothesis `New.RealPlace.HasSchurBound`, then gives an `L²` bound on a bounded |
| 30 | part of the orbit of the section `γ_Z = New.RealPlace.gramSection Z`, at the price of a power of a |
| 31 | size bound `P`. |
| 32 | |
| 33 | ## Main definitions and results |
| 34 | |
| 35 | * `New.lintegral_mul_le_of_frameMatrix_le`: the unfolding bound on `G₁`. |
| 36 | * `New.RealPlace.HasDerivWords`: families that behave like iterated right derivatives on `G₁`. |
| 37 | * `New.RealPlace.lintegral_gramSection_integral_le`: the bound for the convolution at `γ_Z (u h)⁻¹`, |
| 38 | integrated over `h ∈ U(κ)` and the `u ∈ 𝖴⁰` with `‖u‖ ≤ P ^ 20`. Sobolev's inequality on a small |
| 39 | cube at `Z` (`New.sobolev_trace_cube`) replaces the value at `Z` by mean squares of derivatives, |
| 40 | which are bounded by integrals over `𝖴∖G₁`. |
| 41 | |
| 42 | Notions from other files: |
| 43 | * `New.Shape.Form.besselS`: the Bessel subgroup, generated by `𝖴` and by the image of `U(κ)` under |
| 44 | `New.RealPlace.embedH`. |
| 45 | * `New.besselQuotMeasure`: the measure on `G₁` that integrates a `𝖴`-invariant function over |
| 46 | `𝖴∖G₁`. |
| 47 | * `New.RealPlace.gramDiscReal`: 𝗀(Z) = |det Z|² − |D_ϱ|², D_ϱ the leading principal minor of order |
| 48 | ϱ. In the coordinates `γ_Z` Haar measure has density at least c_G 𝗀(Z)^{|κ|−1}, with |
| 49 | c_G = `New.Shape.openCellConst` (`New.RealPlace.lintegral_gramSection_le`). |
| 50 | * `New.realFrameGram`: for y in `G₁`, the matrix of hermitian products of the frame vectors with |
| 51 | their images under y; it sends `γ_Z` to Z when Z lies in the open cell Ω = `New.Shape.openCell`. |
| 52 | * `New.RealPlace.IsBoundedInCell Z P`: Z lies in Ω, and ‖Z⁻¹‖, ‖Z‖ and (1 − |ξ|²)^{−1/2} are at |
| 53 | most P, where ξ is the last diagonal entry of Z⁻¹. |
| 54 | |
| 55 | ## Relation to the literature |
| 56 | |
| 57 | See `New.Spanning.Bessel.FillingData` for related work. |
| 58 | -/ |
| 59 | |
| 60 | @[expose] public section |
| 61 | |
| 62 | /-! |
| 63 | ## An unfolding bound over G₁ for suitable weights |
| 64 | |
| 65 | `New.frameMatrix` is the block of a matrix on the frame; the entries of that block above the |
| 66 | diagonal are coordinates on 𝖴⁰∖𝖴. |
| 67 | -/ |
| 68 | |
| 69 | section BoxVolume |
| 70 | |
| 71 | open MeasureTheory New.RealPlace Subgroup |
| 72 | |
| 73 | /-- For `1 ≤ R`, the box of families of entries above the diagonal of a `j × j` complex matrix, all |
| 74 | of norm at most `R`, has volume at most `(2 R) ^ (2 j ^ 2)`. -/ |
| 75 | lemma New.volume_upperEntries_closedBall_le {j : ℕ} {R : ℝ} (hR : 1 ≤ R) : |
| 76 | volume (Set.pi ⊤ fun _ : {p : Fin j × Fin j // p.1 < p.2} ↦ Metric.closedBall (0 : ℂ) R) ≤ |
| 77 | ENNReal.ofReal ((2 * R) ^ (2 * j ^ 2)) := by |
| 78 | -- The box is a product of at most `j ^ 2` discs of area `π R ^ 2 ≤ (2 * R) ^ 2`. |
| 79 | have hR_nonneg : 0 ≤ R := zero_le_one.trans hR |
| 80 | have h_disc : Real.pi * R ^ 2 ≤ (2 * R) ^ 2 := by nlinarith [Real.pi_le_four, sq_nonneg R] |
| 81 | have h_card : Fintype.card {p : Fin j × Fin j // p.1 < p.2} ≤ j ^ 2 := |
| 82 | (Fintype.card_subtype_le _).trans (by simp [sq]) |
| 83 | have h_volume := New.volume_closedBall_pi_complex |
| 84 | (ι := {p : Fin j × Fin j // p.1 < p.2}) hR_nonneg |
| 85 | simp only [closedBall_pi _ hR_nonneg, Pi.zero_apply] at h_volume |
| 86 | rw [Set.top_eq_univ, h_volume] |
| 87 | apply ENNReal.ofReal_le_ofReal |
| 88 | rw [pow_mul] |
| 89 | grw [h_disc, pow_le_pow_right₀ (by nlinarith) h_card] |
| 90 | |
| 91 | /-- For `1 ≤ R` and a measurable `φ` of integral at most `K` on each orbit of `𝖴⁰`, the integral of |
| 92 | `φ (u * y)` over `u ∈ 𝖴` is at most `K (2 R) ^ (2 n ^ 2)`, provided that for every point `x` and |
| 93 | every `s ∈ 𝖴` with `φ x ≠ 0` and `φ (s * x) ≠ 0`, the entries of `frameMatrix s` have norm at most |
| 94 | `R`. -/ |
| 95 | lemma New.lintegral_besselU_le_of_frameMatrix_le {𝔰 : Shape} {φ : 𝔰.G₁ → ENNReal} {K : ENNReal} |
| 96 | {R : ℝ} (hφ : Measurable φ) |
| 97 | (hK : ∀ y : 𝔰.G₁, ∫⁻ u : (𝔰.middleGram (1 : ℂ)).besselU0, φ (u * y) ∂𝔰.besselHaar₀ ≤ K) |
| 98 | (hR : ∀ y : 𝔰.G₁, φ y ≠ 0 → ∀ s ∈ besselU, φ (s * y) ≠ 0 → ∀ a b : Fin (𝔰.ϱ + 1), |
| 99 | ‖frameMatrix s a b‖ ≤ R) (h_one_le : 1 ≤ R) (y : 𝔰.G₁) : |
| 100 | ∫⁻ u : (𝔰.middleGram (1 : ℂ)).besselU, φ (u * y) ∂𝔰.besselHaar ≤ |
| 101 | K * ENNReal.ofReal ((2 * R) ^ (2 * 𝔰.n ^ 2)) := by |
| 102 | -- Write `s = u * liftUnitriangular x * u₀` with `u ∈ besselU0` and `φ (u₀ * y) ≠ 0`: the integral |
| 103 | -- over `u` is at most `K`, and it vanishes unless all coordinates of `x` have norm at most `R`. |
| 104 | let box : Set (UpperEntries 𝔰.n) := .pi ⊤ fun _ ↦ Metric.closedBall 0 R |
| 105 | by_cases! hφy : ∀ u : (𝔰.middleGram (1 : ℂ)).besselU, φ (u * y) = 0 |
| 106 | · rw [lintegral_congr hφy, lintegral_zero] |
| 107 | exact zero_le |
| 108 | obtain ⟨u₀, hu₀⟩ := hφy |
| 109 | -- Outside the box the integrand vanishes, by `hR` at `u₀ * y`. |
| 110 | have h_zero (x : UpperEntries 𝔰.n) (hx : x ∉ box) (u : (𝔰.middleGram (1 : ℂ)).besselU0) : |
| 111 | φ (u * (liftUnitriangular x * (u₀ * y))) = 0 := by |
| 112 | refine by_contra fun hu ↦ hx fun ⟨(a, b), hab⟩ _ ↦ ?_ |
| 113 | obtain ⟨hu_mem, hu_frame⟩ := mem_besselU0_iff.1 u.prop |
| 114 | have h_entry : ‖frameMatrix (u * liftUnitriangular x : 𝔰.G₁) a b‖ ≤ R := |
| 115 | hR _ hu₀ _ (mul_mem hu_mem (liftUnitriangular_mem_besselU x)) (by rwa [mul_assoc]) a b |
| 116 | have h_frame : frameMatrix (u * liftUnitriangular x : 𝔰.G₁) = unitriangularMatrix x := by |
| 117 | simp [frameMatrix_mul, liftUnitriangular_mem_besselU, hu_frame] |
| 118 | simpa [h_frame, unitriangularMatrix, hab] using h_entry |
| 119 | calc |
| 120 | _ = ∫⁻ x, ∫⁻ u, φ (u.val * (liftUnitriangular x * (u₀.val * y))) ∂𝔰.besselHaar₀ := by |
| 121 | -- Translate by u₀, then integrate in the coordinates defining the Haar measure. |
| 122 | let coords (p : UpperEntries 𝔰.n × (𝔰.middleGram (1 : ℂ)).besselU0) : |
| 123 | (𝔰.middleGram (1 : ℂ)).besselU := |
| 124 | ⟨p.2.val * liftUnitriangular p.1, |
| 125 | mul_mem p.2.property.1 (liftUnitriangular_mem_besselU p.1)⟩ |
| 126 | have h_map : Continuous coords := |
| 127 | ((continuous_subtypeVal.comp continuous_snd).mul |
| 128 | (continuous_liftUnitriangular.comp continuous_fst)).subtype_mk _ |
| 129 | have h_fn : Measurable fun u : (𝔰.middleGram (1 : ℂ)).besselU ↦ |
| 130 | φ ((u * u₀ : (𝔰.middleGram (1 : ℂ)).besselU).val * y) := |
| 131 | hφ.comp ((continuous_subtypeVal.mul continuous_const).mul continuous_const).measurable |
| 132 | have h_comp : AEMeasurable (fun p ↦ φ ((coords p * u₀).val * y)) |
| 133 | (volume.prod 𝔰.besselHaar₀) := |
| 134 | (h_fn.comp h_map.measurable).aemeasurable |
| 135 | rw [← lintegral_mul_right_eq_self _ u₀, Shape.besselHaar, |
| 136 | lintegral_map h_fn h_map.measurable, lintegral_prod _ h_comp] |
| 137 | simp only [coords, Subgroup.coe_mul, mul_assoc] |
| 138 | _ = ∫⁻ x in box, ∫⁻ u, φ (u.val * (liftUnitriangular x * (u₀.val * y))) ∂𝔰.besselHaar₀ := |
| 139 | (setLIntegral_eq_of_support_subset <| |
| 140 | Function.support_subset_iff'.2 fun x hx ↦ |
| 141 | (lintegral_congr (h_zero x hx)).trans lintegral_zero).symm |
| 142 | _ ≤ K * volume box := by grw [hK, setLIntegral_const] |
| 143 | _ ≤ _ := mul_le_mul' le_rfl (volume_upperEntries_closedBall_le h_one_le) |
| 144 | |
| 145 | /-- The frame is e₁, …, e_ϱ, z and `frameMatrix s` is the block of `s` on its rows and columns. Let |
| 146 | `w, φ ≥ 0` be measurable functions on `G₁`, `w` left invariant under the Bessel subgroup `besselS` |
| 147 | and `φ` of integral at most `K` on each orbit of `𝖴⁰ = besselU0`, the subgroup of the unipotent |
| 148 | group `𝖴 = besselU` fixing the frame. Suppose that every `s ∈ 𝖴` with `φ y ≠ 0` and `φ (s y) ≠ 0` |
| 149 | for some `y` has `frameMatrix s` with entries of norm at most `R`, where `1 ≤ R`. Then `∫ φ w` over |
| 150 | `G₁` is at most `K (2 R) ^ (2 n ^ 2)`, `n = ϱ + 1`, times the integral of `w` over 𝖴∖G₁. -/ |
| 151 | lemma New.lintegral_mul_le_of_frameMatrix_le {𝔰 : Shape} {w φ : 𝔰.G₁ → ENNReal} {K : ENNReal} |
| 152 | {R : ℝ} (hw : Measurable w) (hφ : Measurable φ) (hw_inv : besselS.FixesLeft w) |
| 153 | (hK : ∀ y : 𝔰.G₁, ∫⁻ u : (𝔰.middleGram (1 : ℂ)).besselU0, φ (u * y) ∂𝔰.besselHaar₀ ≤ K) |
| 154 | (hR : ∀ y : 𝔰.G₁, φ y ≠ 0 → ∀ s ∈ besselU, φ (s * y) ≠ 0 → ∀ a b : Fin (𝔰.ϱ + 1), |
| 155 | ‖frameMatrix s a b‖ ≤ R) (h_one_le : 1 ≤ R) : |
| 156 | ∫⁻ y : 𝔰.G₁, φ y * w y ≤ |
| 157 | K * ENNReal.ofReal ((2 * R) ^ (2 * 𝔰.n ^ 2)) * ∫⁻ y : 𝔰.G₁, w y ∂besselQuotMeasure := by |
| 158 | -- Unfold along `besselU`; it suffices to bound the integral of `φ (s * y)` over `s ∈ besselU`. |
| 159 | have : MeasurableSMul₂ (𝔰.middleGram (1 : ℂ)).besselU 𝔰.G₁ := |
| 160 | ⟨((continuous_subtypeVal.comp continuous_fst).mul continuous_snd).measurable⟩ |
| 161 | have : SMulInvariantMeasure (𝔰.middleGram (1 : ℂ)).besselU 𝔰.G₁ volume := |
| 162 | ⟨fun c s _ ↦ measure_preimage_mul volume c.val s⟩ |
| 163 | calc _ = ∫⁻ y, ∫⁻ u, φ (u • y) * w (u • y) ∂𝔰.besselHaar ∂besselQuotMeasure := |
| 164 | (lintegral_orbitMeasure_lintegral (hφ.mul hw)).symm |
| 165 | -- The weight `w` is left invariant, so it leaves the inner integral. |
| 166 | _ = ∫⁻ y, (∫⁻ u, φ (u.val * y) ∂𝔰.besselHaar) * w y ∂besselQuotMeasure := by |
| 167 | refine lintegral_congr fun y ↦ ?_ |
| 168 | have h_meas : Measurable fun u : (𝔰.middleGram (1 : ℂ)).besselU ↦ φ (u.val * y) := |
| 169 | hφ.comp (continuous_subtypeVal.mul continuous_const).measurable |
| 170 | rw [← lintegral_mul_const _ h_meas] |
| 171 | refine lintegral_congr fun u ↦ ?_ |
| 172 | rw [smul_def, smul_eq_mul, |
| 173 | hw_inv u.val (mem_besselS.2 ⟨u.val, u.prop, 1, one_mem _, (mul_one _).symm⟩)] |
| 174 | _ ≤ _ := by |
| 175 | grw [New.lintegral_besselU_le_of_frameMatrix_le hφ hK hR h_one_le, lintegral_const_mul _ hw] |
| 176 | |
| 177 | end BoxVolume |
| 178 | |
| 179 | section SobolevCell |
| 180 | |
| 181 | open Complex ComplexOrder Set Metric Function Fintype Matrix MeasureTheory Subgroup Norms.L2Operator |
| 182 | Real |
| 183 | |
| 184 | /-- The index set of the real coordinates on the complex matrices of size `ϱ + 1`: the index |
| 185 | `(0, a, b)` stands for the real part of the entry `(a, b)`, and `(1, a, b)` for its imaginary |
| 186 | part. -/ |
| 187 | abbrev New.Shape.FrameCoord (𝔰 : Shape) : Type := Fin 2 × Fin (𝔰.ϱ + 1) × Fin (𝔰.ϱ + 1) |
| 188 | |
| 189 | /-- The positions `(a, b)` of the entries of a matrix in `G₁`; they index the matrix units. -/ |
| 190 | abbrev New.Shape.EntryIndex (𝔰 : Shape) : Type := 𝔰.BesselIndex × 𝔰.BesselIndex |
| 191 | |
| 192 | /-- The product of the Haar measures of `U(κ)` and `𝖴⁰ = besselU0`, times the constant |
| 193 | `openCellConst * c ^ (|κ| - 1)`. The constant is the lower bound of `lintegral_gramSection_le` for |
| 194 | the density of Haar measure of `G₁`, in the coordinates of the open cell, at a matrix `Z` with |
| 195 | `gramDiscReal Z = c`. -/ |
| 196 | noncomputable def New.Shape.fixerMeasure (𝔰 : Shape) (c : ℝ) : |
| 197 | Measure (U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) × (𝔰.middleGram (1 : ℂ)).besselU0) := |
| 198 | ENNReal.ofReal (𝔰.openCellConst * c ^ (𝔰.k - 1)) • volume.prod 𝔰.besselHaar₀ |
| 199 | |
| 200 | instance (𝔰 : New.Shape) (c : ℝ) : SFinite (𝔰.fixerMeasure c) := |
| 201 | inferInstanceAs (SFinite (_ • _)) |
| 202 | |
| 203 | /-- The pairs `(h, u)` in `U(κ) × 𝖴⁰`, `𝖴⁰ = besselU0`, such that `u` has operator norm at most |
| 204 | `R`. -/ |
| 205 | def New.Shape.fixerBall (𝔰 : Shape) (R : ℝ) : |
| 206 | Set (U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) × (𝔰.middleGram (1 : ℂ)).besselU0) := |
| 207 | {ω | ‖(ω.2 : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ ≤ R} |
| 208 | |
| 209 | lemma New.Shape.mem_fixerBall {𝔰 : Shape} {R : ℝ} |
| 210 | {ω : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) × (𝔰.middleGram (1 : ℂ)).besselU0} : |
| 211 | ω ∈ 𝔰.fixerBall R ↔ ‖(ω.2 : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ ≤ R := |
| 212 | Iff.rfl |
| 213 | |
| 214 | lemma New.Shape.measurableSet_fixerBall (𝔰 : Shape) (R : ℝ) : MeasurableSet (𝔰.fixerBall R) := |
| 215 | measurableSet_le |
| 216 | ((Units.continuous_val.comp |
| 217 | (continuous_subtypeVal.comp (continuous_subtypeVal.comp continuous_snd))).norm.measurable) |
| 218 | measurable_const |
| 219 | |
| 220 | /-- The complex matrices of size `ϱ + 1` have real linear coordinates `e` such that `x ↦ Z + e x` |
| 221 | preserves Lebesgue measure and the operator norm of `e x` is at most `2 (ϱ + 1) ^ 2` times the |
| 222 | supremum norm of `x`. -/ |
| 223 | lemma New.RealPlace.exists_real_coordinates {𝔰 : Shape} (Z : 𝔰.FrameMatrix) : |
| 224 | ∃ e : (𝔰.FrameCoord → ℝ) ≃L[ℝ] 𝔰.FrameMatrix, |
| 225 | MeasurePreserving (fun x : 𝔰.FrameCoord → ℝ ↦ Z + e x) ∧ |
| 226 | ∀ x : 𝔰.FrameCoord → ℝ, ‖e x‖ ≤ 2 * (𝔰.ϱ + 1) ^ 2 * ‖x‖ := by |
| 227 | let e : (𝔰.FrameCoord → ℝ) ≃L[ℝ] 𝔰.FrameMatrix := |
| 228 | (basisOneI.smulTower (A := 𝔰.FrameMatrix) |
| 229 | (stdBasis ℂ (Fin (𝔰.ϱ + 1)) (Fin (𝔰.ϱ + 1)))).equivFun.symm.toContinuousLinearEquiv |
| 230 | have e_apply (x : 𝔰.FrameCoord → ℝ) (a b : Fin (𝔰.ϱ + 1)) : |
| 231 | e x a b = x (0, a, b) + x (1, a, b) * I := by |
| 232 | simp [e, ite_and, sum_prod_type, stdBasis_eq_single, Matrix.sum_apply, single_apply] |
| 233 | -- The map `e` matches the sums of squares, so it matches the volumes. |
| 234 | have h_vol : MeasurePreserving e := HasGaussianIntegral.measurePreserving e.toLinearEquiv |
| 235 | fun x ↦ show ∑ a, ∑ b, ‖e x a b‖ ^ 2 = ∑ i, x i ^ 2 by |
| 236 | simp [e_apply, sum_prod_type, ← sq, RCLike.norm_sq_eq_def, Finset.sum_add_distrib] |
| 237 | refine ⟨e, h_vol.add_left volume Z, fun x ↦ ?_⟩ |
| 238 | have entry_le (a b : Fin (𝔰.ϱ + 1)) : ‖e x a b‖ ≤ 2 * ‖x‖ := by |
| 239 | grw [e_apply, norm_add_le, norm_mul, norm_I, mul_one, norm_real, norm_real, norm_le_pi_norm, |
| 240 | norm_le_pi_norm, two_mul] |
| 241 | grw [l2_opNorm_le_of_apply entry_le, Fintype.card_fin, Nat.cast_succ] |
| 242 | linarith |
| 243 | |
| 244 | /-- Let `8 ≤ P` and let `p` be a curve of complex matrices of size `ϱ + 1` whose derivative at `t` |
| 245 | has operator norm at most `P ^ 2 / 4`. Let `Y = p t` be invertible with |ξ| < 1, ξ the last diagonal |
| 246 | entry of `Y⁻¹` (the open cell), and with ‖Y‖, ‖Y⁻¹‖ and (1 − |ξ|²)^{−1/2} at most `P` |
| 247 | (`IsBoundedInCell`). If `‖k‖ ≤ P ^ 20`, then `g s = gramSection (p s) * k` is differentiable at `t` |
| 248 | and its logarithmic derivative `A = g⁻¹ g'` has norm at most `P ^ 85`. -/ |
| 249 | lemma New.RealPlace.exists_hasDerivAt_gramSection_mul_norm_le {𝔰 : Shape} {P t : ℝ} |
| 250 | {p : ℝ → 𝔰.FrameMatrix} {p' : 𝔰.FrameMatrix} (hP : 8 ≤ P) (hp : HasDerivAt p p' t) |
| 251 | (hp' : 4 * ‖p'‖ ≤ P ^ 2) (h_cell : IsBoundedInCell (p t) P) |
| 252 | {k : 𝔰.G₁} (hk : ‖(k : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ ≤ P ^ 20) : |
| 253 | ∃ A : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ, |
| 254 | HasDerivAt |
| 255 | (fun s : ℝ ↦ ((gramSection (p s) * k : 𝔰.G₁) : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)) |
| 256 | ((gramSection (p t) * k : 𝔰.G₁) * A) t ∧ |
| 257 | ‖A‖ ≤ P ^ 85 := by |
| 258 | have hΩ : p t ∈ 𝔰.openCell := h_cell.mem_openCell |
| 259 | let D : 𝔰.FrameMatrix →L[ℝ] Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ := |
| 260 | fderiv ℝ (fun Z ↦ sectionMatrix Z Zᴴ) (p t) |
| 261 | obtain ⟨sec_le, D_le⟩ : ‖sectionMatrix (p t) (p t)ᴴ‖ ≤ P ^ 18 ∧ ‖D‖ ≤ P ^ 25 := |
| 262 | h_cell.norm_sectionMatrix_le (by linarith) |
| 263 | have fderiv_sec : HasFDerivAt (fun Z ↦ ↑(gramSection Z)) D (p t) := |
| 264 | (differentiableAt_sectionMatrix hΩ).hasFDerivAt.congr_of_eventuallyEq |
| 265 | (gramSection_eventuallyEq hΩ) |
| 266 | let g : 𝔰.G₁ := gramSection (p t) * k |
| 267 | let g' : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ := D p' * k |
| 268 | have deriv_g : HasDerivAt (fun s ↦ ↑(gramSection (p s) * k)) g' t := |
| 269 | (fderiv_sec.comp_hasDerivAt t hp).mul_const _ |
| 270 | have norm_inv_g : ‖((g⁻¹ : 𝔰.G₁) : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ ≤ P ^ 18 * P ^ 20 := by |
| 271 | grw [U.norm_inv, coe_mul, Units.val_mul, norm_mul_le, coe_gramSection hΩ, sec_le, hk] |
| 272 | have speed_le : ‖p'‖ ≤ P ^ 2 := by linarith [norm_nonneg p'] |
| 273 | have norm_g' : ‖g'‖ ≤ P ^ 25 * P ^ 2 * P ^ 20 := by |
| 274 | grw [norm_mul_le, hk, D.le_opNorm, D_le, speed_le] |
| 275 | refine ⟨(g⁻¹ : 𝔰.G₁) * g', deriv_g.congr_deriv (Units.mul_inv_cancel_left _ _).symm, ?_⟩ |
| 276 | exact (norm_mul_le_of_le norm_inv_g norm_g').trans_eq (by ring) |
| 277 | |
| 278 | /-- Let `s` lie in the unipotent group `𝖴 = besselU`. If `realFrameGram y` and |
| 279 | `realFrameGram (s * y)` are invertible matrices `Z` with |ξ| < 1 and with ‖Z‖, ‖Z⁻¹‖ and |
| 280 | (1 − |ξ|²)^{−1/2} at most `P`, ξ the last diagonal entry of `Z⁻¹` (`IsBoundedInCell`), then the |
| 281 | entries of `frameMatrix s` have norm at most `P ^ 2`. -/ |
| 282 | lemma New.RealPlace.norm_frameMatrix_le_of_isBoundedInCell {𝔰 : Shape} {P : ℝ} {s y : 𝔰.G₁} |
| 283 | (hs : s ∈ besselU) (hy : IsBoundedInCell (realFrameGram y) P) |
| 284 | (hsy : IsBoundedInCell (realFrameGram (s * y)) P) (a b : Fin (𝔰.ϱ + 1)) : |
| 285 | ‖frameMatrix s a b‖ ≤ P ^ 2 := by |
| 286 | have h_adjoint : realFrameGram y * (realFrameGram (s * y))⁻¹ = (frameMatrix s)ᴴ := by |
| 287 | simp [realFrameGram_eq_frameMatrix_mul y hs, (mem_openCell.1 hsy.mem_openCell).1] |
| 288 | calc ‖frameMatrix s a b‖ |
| 289 | _ = ‖(realFrameGram y * (realFrameGram (s * y))⁻¹) b a‖ := by simp [h_adjoint] |
| 290 | _ ≤ ‖realFrameGram y * (realFrameGram (s * y))⁻¹‖ := norm_apply_le_l2_opNorm _ b a |
| 291 | _ ≤ P * P := norm_mul_le_of_le hy.norm_le hsy.norm_inv_le |
| 292 | _ = P ^ 2 := (sq P).symm |
| 293 | |
| 294 | /-- Let `χ ≥ 0` be measurable with integral `1` over every `𝖴⁰`-orbit, let `w` be measurable and |
| 295 | left invariant under `besselS`, and let `Z ∈ Q` lie in the open cell. Then for `r` in the fixer, |
| 296 | the integral over the fixer of `χ · w` restricted to `realFrameGram ⁻¹' Q`, along `s ↦ s γ_Z r`, |
| 297 | is `w (γ_Z r)`. -/ |
| 298 | private lemma New.RealPlace.lintegral_fixerHaar_indicator_mul {𝔰 : Shape} |
| 299 | {Q : Set 𝔰.FrameMatrix} {χ : 𝔰.G₁ → ENNReal} (χ_meas : Measurable χ) |
| 300 | (hχQ : Measurable ((realFrameGram ⁻¹' Q).indicator χ)) |
| 301 | (χ_orbit : ∀ γ, ∫⁻ u, χ (u.val * γ) ∂𝔰.besselHaar₀ = 1) {w : 𝔰.G₁ → ENNReal} |
| 302 | (hw : Measurable w) (hw_inv : besselS.FixesLeft w) {Z : 𝔰.FrameMatrix} (hZ : Z ∈ Q) |
| 303 | (hZ_cell : Z ∈ 𝔰.openCell) {r : 𝔰.G₁} (hr : r ∈ besselFixer) : |
| 304 | ∫⁻ s, (realFrameGram ⁻¹' Q).indicator χ (s * gramSection Z * r) * |
| 305 | w (s * gramSection Z * r) ∂fixerHaar 𝔰 = w (gramSection Z * r) := by |
| 306 | classical |
| 307 | have h_fiber {s : 𝔰.G₁} (hs : s ∈ besselFixer) : |
| 308 | (realFrameGram ⁻¹' Q).indicator χ (s * gramSection Z * r) * w (s * gramSection Z * r) = |
| 309 | χ (s * gramSection Z * r) * w (gramSection Z * r) := by |
| 310 | have h_gram : realFrameGram (s * gramSection Z * r) = Z := by |
| 311 | simp [(realFrameGram_mul_of_mem_besselFixer _ hr).2, |
| 312 | (realFrameGram_mul_of_mem_besselFixer _ hs).1, realFrameGram_gramSection hZ_cell] |
| 313 | simp only [indicator, mem_preimage, h_gram, ite_eq_left hZ] |
| 314 | rw [mul_assoc s, hw_inv _ (mem_besselS_of_mem_besselFixer hs)] |
| 315 | have h_f : Measurable fun s : 𝔰.G₁ ↦ |
| 316 | (realFrameGram ⁻¹' Q).indicator χ (s * gramSection Z * r) * w (s * gramSection Z * r) := |
| 317 | (hχQ.mul hw).comp ((measurable_id.mul_const _).mul_const _) |
| 318 | rw [lintegral_fixerHaar h_f] |
| 319 | simp_rw [h_fiber (mul_embedH_mem_besselFixer (Subtype.prop _) _)] |
| 320 | refine (lintegral_congr fun h ↦ ?_).trans (by rw [lintegral_const, measure_univ, mul_one]) |
| 321 | have h_χ : Measurable fun u : (𝔰.middleGram (1 : ℂ)).besselU0 ↦ |
| 322 | χ (u.val * (embedH h * (gramSection Z * r))) := |
| 323 | χ_meas.comp (continuous_subtypeVal.mul continuous_const).measurable |
| 324 | simp_rw [mul_assoc] |
| 325 | rw [lintegral_mul_const _ h_χ, χ_orbit, one_mul] |
| 326 | |
| 327 | /-- Let `1 ≤ P` and let `Q` be a measurable set of invertible complex matrices `Z` of size |
| 328 | `n = ϱ + 1` with |ξ| < 1 and with ‖Z‖, ‖Z⁻¹‖ and (1 − |ξ|²)^{−1/2} at most `P`, ξ the last diagonal |
| 329 | entry of `Z⁻¹` (`IsBoundedInCell`), and with `0 < c ≤ gramDiscReal Z` = |det Z|² − |det Z₀|², Z₀ the |
| 330 | upper left `ϱ × ϱ` block. Let `w ≥ 0` be measurable and left invariant under the Bessel subgroup |
| 331 | `besselS`. Then the integral of `w (γ_Z (u h)⁻¹)` over `Z ∈ Q`, `h ∈ U(κ)` and `u ∈ 𝖴⁰ = besselU0`, |
| 332 | with the density `openCellConst * c ^ (|κ| - 1)`, is at most `(2 P ^ 2) ^ (2 n ^ 2)` times the |
| 333 | integral of `w` over 𝖴∖G₁ (`besselQuotMeasure`). -/ |
| 334 | lemma New.RealPlace.lintegral_lintegral_gramSection_le {𝔰 : Shape} {P c : ℝ} (hP : 1 ≤ P) |
| 335 | (hc : 0 < c) {Q : Set 𝔰.FrameMatrix} (hQ : MeasurableSet Q) |
| 336 | (h_disc : ∀ Z ∈ Q, c ≤ gramDiscReal Z) (h_cell : ∀ Z ∈ Q, IsBoundedInCell Z P) |
| 337 | {w : 𝔰.G₁ → ENNReal} (hw : Measurable w) (hw_inv : besselS.FixesLeft w) : |
| 338 | ∫⁻ Z : 𝔰.FrameMatrix in Q, |
| 339 | ∫⁻ ω : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) × (𝔰.middleGram (1 : ℂ)).besselU0, |
| 340 | w (gramSection Z * ((ω.2 : 𝔰.G₁) * embedH ω.1)⁻¹) ∂𝔰.fixerMeasure c ≤ |
| 341 | ENNReal.ofReal ((2 * P ^ 2) ^ (2 * 𝔰.n ^ 2)) * ∫⁻ γ : 𝔰.G₁, w γ ∂besselQuotMeasure := by |
| 342 | classical |
| 343 | -- Let `χ` be a cutoff function for `𝖴⁰` and `χQ` its restriction to `realFrameGram ⁻¹' Q`. |
| 344 | -- Compare both sides with `∫ χQ w` over `G₁`: by the open cell coordinates and by unfolding. |
| 345 | obtain ⟨χ, χ_meas, χ_orbit⟩ : ∃ χ : 𝔰.G₁ → ENNReal, |
| 346 | Measurable χ ∧ ∀ γ, ∫⁻ u, χ (u.val * γ) ∂𝔰.besselHaar₀ = 1 := isUnimodularHaar_besselHaar₀.out |
| 347 | let χQ : 𝔰.G₁ → ENNReal := (realFrameGram ⁻¹' Q).indicator χ |
| 348 | have χQ_meas : Measurable χQ := χ_meas.indicator (hQ.preimage (by fun_prop [frameGram])) |
| 349 | have Q_subset : Q ⊆ 𝔰.openCell := fun Z hZ ↦ (h_cell Z hZ).mem_openCell |
| 350 | have χQ_orbit (y : 𝔰.G₁) : ∫⁻ u, χQ (u.val * y) ∂𝔰.besselHaar₀ ≤ 1 := |
| 351 | (lintegral_mono fun u ↦ indicator_le_self _ χ _).trans_eq (χ_orbit y) |
| 352 | have χQ_cell (y : 𝔰.G₁) (hy : χQ y ≠ 0) : IsBoundedInCell (realFrameGram y) P := |
| 353 | h_cell _ (mem_preimage.1 (mem_of_indicator_ne_zero hy)) |
| 354 | -- Unfolding along `𝖴` costs the volume of the `s ∈ 𝖴`, modulo `𝖴⁰`, whose matrix on the frame |
| 355 | -- has entries of norm at most `P ^ 2`. |
| 356 | have unfolding : ∫⁻ γ, χQ γ * w γ ≤ |
| 357 | 1 * .ofReal ((2 * P ^ 2) ^ (2 * 𝔰.n ^ 2)) * ∫⁻ γ, w γ ∂besselQuotMeasure := |
| 358 | lintegral_mul_le_of_frameMatrix_le hw χQ_meas hw_inv χQ_orbit (fun y hy s hs hsy ↦ |
| 359 | norm_frameMatrix_le_of_isBoundedInCell hs (χQ_cell y hy) (χQ_cell _ hsy)) (one_le_pow₀ hP) |
| 360 | -- The integrand of `∫ χQ w` in the coordinates `γ_Z` of the open cell. |
| 361 | let J (Z : 𝔰.FrameMatrix) : ENNReal := .ofReal (𝔰.openCellConst * gramDiscReal Z ^ (𝔰.k - 1)) * |
| 362 | ∫⁻ s', ∫⁻ s, χQ (s' * gramSection Z * s) * w (s' * gramSection Z * s) |
| 363 | ∂fixerHaar 𝔰 ∂fixerHaar 𝔰 |
| 364 | have h_xw : Measurable fun γ : 𝔰.G₁ ↦ χQ γ * w γ := χQ_meas.mul hw |
| 365 | have le_J (Z : 𝔰.FrameMatrix) (hZ : Z ∈ Q) : |
| 366 | ∫⁻ ω, w (gramSection Z * ((ω.2 : 𝔰.G₁) * embedH ω.1)⁻¹) ∂𝔰.fixerMeasure c ≤ J Z := by |
| 367 | -- Along an orbit of the fixer only `χ` changes, and its integral over `𝖴⁰` is `1`. |
| 368 | have h_orbit {r : 𝔰.G₁} (hr : r ∈ besselFixer) : |
| 369 | ∫⁻ s, χQ (s * gramSection Z * r) * w (s * gramSection Z * r) ∂fixerHaar 𝔰 = |
| 370 | w (gramSection Z * r) := |
| 371 | lintegral_fixerHaar_indicator_mul χ_meas χQ_meas χ_orbit hw hw_inv hZ (Q_subset hZ) hr |
| 372 | unfold J |
| 373 | have h_prod_meas : Measurable fun p : 𝔰.G₁ × 𝔰.G₁ ↦ |
| 374 | χQ (p.1 * gramSection Z * p.2) * w (p.1 * gramSection Z * p.2) := |
| 375 | h_xw.comp ((measurable_fst.mul_const _).mul measurable_snd) |
| 376 | have h_r : Measurable fun r : 𝔰.G₁ ↦ |
| 377 | ∫⁻ s, χQ (s * gramSection Z * r) * w (s * gramSection Z * r) ∂fixerHaar 𝔰 := |
| 378 | (h_prod_meas.comp measurable_swap).lintegral_prod_right' |
| 379 | rw [lintegral_lintegral_swap h_prod_meas.aemeasurable, lintegral_fixerHaar_eq_inv h_r] |
| 380 | simp_rw [h_orbit (inv_mem (mul_embedH_mem_besselFixer (Subtype.prop _) _))] |
| 381 | -- On `Q` the density of the open cell is at least the one of `fixerMeasure c`. |
| 382 | grw [Shape.fixerMeasure, lintegral_smul_measure, smul_eq_mul, ← h_disc Z hZ, lintegral_prod_le] |
| 383 | exact 𝔰.openCellConst_pos.le |
| 384 | calc _ ≤ ∫⁻ Z in Q, J Z := setLIntegral_mono' hQ le_J |
| 385 | _ ≤ ∫⁻ Z in 𝔰.openCell, J Z := lintegral_mono_set Q_subset |
| 386 | _ ≤ ∫⁻ γ, χQ γ * w γ := lintegral_gramSection_le (f := fun γ ↦ χQ γ * w γ) h_xw |
| 387 | _ ≤ _ := by rwa [one_mul] at unfolding |
| 388 | |
| 389 | /-- The family `V` of functions on `G₁`, indexed by the words in an alphabet `L`, behaves like the |
| 390 | iterated right derivatives of `V []`: along a curve `γ` in `G₁` with `γ' = γ X` and `‖X‖ ≤ C` near |
| 391 | `t`, the function `V w ∘ γ` is differentiable at `t`, with derivative of norm at most `Λ C` times |
| 392 | the sum over the letters `l` of the norms of `V (l :: w) (γ t)`. -/ |
| 393 | def New.RealPlace.HasDerivWords {𝔰 : Shape} {I L : Type} [Fintype I] [Fintype L] |
| 394 | (V : List L → 𝔰.G₁ → EuclideanSpace ℂ I) (Λ : ℝ) : Prop := |
| 395 | ∀ (w : List L) (γ : ℝ → 𝔰.G₁) (X : ℝ → Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ) (C t : ℝ), |
| 396 | (∀ᶠ s : ℝ in nhds t, |
| 397 | HasDerivAt (fun s : ℝ ↦ (γ s : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)) (γ s * X s) s ∧ |
| 398 | ‖X s‖ ≤ C) → |
| 399 | ∃ v : EuclideanSpace ℂ I, |
| 400 | HasDerivAt (fun s : ℝ ↦ V w (γ s)) v t ∧ ‖v‖ ≤ ∑ l : L, Λ * C * ‖V (l :: w) (γ t)‖ |
| 401 | |
| 402 | /-- Let the family `V` satisfy `HasDerivWords V Λ`: along a curve in `G₁` with `γ' = γ X` and |
| 403 | `‖X‖ ≤ C`, the derivative of `V w ∘ γ` exists and has norm at most `Λ C ∑ l, ‖V (l :: w) γ‖`. Let |
| 404 | `P ≥ 8`, and let every `Y` within `P⁻⁶` of `Z` be invertible with |ξ| < 1 and with ‖Y‖, ‖Y⁻¹‖ and |
| 405 | (1 − |ξ|²)^{−1/2} at most `P`, ξ the last diagonal entry of `Y⁻¹` (`IsBoundedInCell`); then |
| 406 | `gramSection Y ∈ G₁` has `Y` as the matrix of hermitian products of the frame vectors e₁, …, e_ϱ, z |
| 407 | with their images. Along a curve `p` of matrices with constant derivative of operator norm at |
| 408 | most `P ^ 2 / 4`, at a time `t₀` with `p t₀` within `P⁻⁶` of `Z`, the function |
| 409 | `t ↦ V w (gramSection (p t) * k)` with `‖k‖ ≤ P ^ 20` is differentiable, with derivative of norm |
| 410 | at most `Λ P ^ 85` times the sum of the norms of the `V (l :: w)` at `gramSection (p t₀) * k`. -/ |
| 411 | lemma New.RealPlace.HasDerivWords.exists_hasDerivAt_gramSection_mul {𝔰 : Shape} {I L : Type} |
| 412 | [Fintype I] [Fintype L] {P Λ t₀ : ℝ} {V : List L → 𝔰.G₁ → EuclideanSpace ℂ I} |
| 413 | (hV : HasDerivWords V Λ) (hP : 8 ≤ P) {Z : 𝔰.FrameMatrix} |
| 414 | (h_cell : ∀ Y ∈ ball Z (P ^ 6)⁻¹, IsBoundedInCell Y P) |
| 415 | {p : ℝ → 𝔰.FrameMatrix} {p' : 𝔰.FrameMatrix} |
| 416 | (hp : ∀ t : ℝ, HasDerivAt p p' t) (hp' : 4 * ‖p'‖ ≤ P ^ 2) (ht₀ : p t₀ ∈ ball Z (P ^ 6)⁻¹) |
| 417 | {k : 𝔰.G₁} (hk : ‖(k : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ ≤ P ^ 20) (w : List L) : |
| 418 | ∃ v : EuclideanSpace ℂ I, |
| 419 | HasDerivAt (fun t : ℝ ↦ V w (gramSection (p t) * k)) v t₀ ∧ |
| 420 | ‖v‖ ≤ ∑ l : L, Λ * P ^ 85 * ‖V (l :: w) (gramSection (p t₀) * k)‖ := by |
| 421 | let γ (t : ℝ) : 𝔰.G₁ := gramSection (p t) * k |
| 422 | have log_deriv (t : ℝ) (ht : p t ∈ ball Z (P ^ 6)⁻¹) : |
| 423 | ∃ A : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ, |
| 424 | HasDerivAt (fun s ↦ ↑(γ s)) (γ t * A) t ∧ ‖A‖ ≤ P ^ 85 := |
| 425 | exists_hasDerivAt_gramSection_mul_norm_le hP (hp t) hp' (h_cell _ ht) hk |
| 426 | choose! X hX using log_deriv |
| 427 | exact hV w γ X (P ^ 85) t₀ <| |
| 428 | ((hp t₀).continuousAt.eventually_mem (isOpen_ball.mem_nhds ht₀)).mono hX |
| 429 | |
| 430 | /-- The cost of one real coordinate: if `8 ≤ P` and `0 ≤ N Λ ≤ P ^ 44`, the factor |
| 431 | `2 (1 + (N Λ') ^ 2) / ε` of `sobolev_trace_cube` at `ε = P⁻⁸` and `Λ' = Λ P ^ 85`, times `2 P ^ 2`, |
| 432 | is at most `P ^ 275`. -/ |
| 433 | lemma New.RealPlace.sobolev_const_mul_le_pow {P N Λ : ℝ} (hP : 8 ≤ P) (h_nonneg : 0 ≤ N * Λ) |
| 434 | (h_le : N * Λ ≤ P ^ 44) : |
| 435 | 2 / (P ^ 8)⁻¹ * (1 + (N * (Λ * P ^ 85)) ^ 2) * (2 * P ^ 2) ≤ P ^ 275 := by |
| 436 | have one_le : 1 ≤ P := by linarith |
| 437 | calc |
| 438 | _ = 4 * P ^ 10 * (1 + (N * Λ * P ^ 85) ^ 2) := by rw [div_inv_eq_mul]; ring |
| 439 | _ ≤ 4 * P ^ 10 * (P ^ 258 + (P ^ 44 * P ^ 85) ^ 2) := by |
| 440 | gcongr |
| 441 | exact one_le_pow₀ one_le |
| 442 | _ = 8 * P ^ 268 := by ring |
| 443 | _ ≤ P ^ 275 := by grw [hP, ← pow_succ', pow_le_pow_right₀ one_le (by norm_num : 268 + 1 ≤ 275)] |
| 444 | |
| 445 | /-- Bound the norm of `e x` strictly below `(P ^ 6)⁻¹` for `x` in the cube |
| 446 | `[0, (P ^ 8)⁻¹] ^ FrameCoord` when `‖e x‖ ≤ P ^ 2 * ‖x‖ / 8` and `0 < P`. -/ |
| 447 | private lemma New.RealPlace.norm_apply_lt_inv_pow_six_of_mem_cube {𝔰 : Shape} {P : ℝ} |
| 448 | (hP : 0 < P) {e : (𝔰.FrameCoord → ℝ) ≃L[ℝ] 𝔰.FrameMatrix} |
| 449 | (he : ∀ x : 𝔰.FrameCoord → ℝ, ‖e x‖ ≤ P ^ 2 * ‖x‖ / 8) |
| 450 | {x : 𝔰.FrameCoord → ℝ} |
| 451 | (hx : x ∈ Set.Icc (0 : 𝔰.FrameCoord → ℝ) fun _ ↦ (P ^ 8)⁻¹) : |
| 452 | ‖e x‖ < (P ^ 6)⁻¹ := by |
| 453 | have norm_x_le : ‖x‖ ≤ (P ^ 8)⁻¹ := by |
| 454 | simpa [abs_of_pos hP] using dist_le_of_mem_pi_Icc hx (Set.left_mem_Icc.2 (hx.1.trans hx.2)) |
| 455 | calc ‖e x‖ ≤ P ^ 2 * (P ^ 8)⁻¹ / 8 := by grw [he x, norm_x_le] |
| 456 | _ = (P ^ 6)⁻¹ / 8 := by |
| 457 | rw [show P ^ 8 = P ^ 2 * P ^ 6 by ring, mul_inv, ← mul_assoc, |
| 458 | mul_inv_cancel₀ (pow_ne_zero 2 hP.ne'), one_mul] |
| 459 | _ < (P ^ 6)⁻¹ := div_lt_self (by positivity) (by norm_num) |
| 460 | |
| 461 | /-- For `P ≥ 8 r`, where `r = 𝔰.r` is the size of the matrices in `G₁`, there are real coordinates |
| 462 | `x ↦ Z + e x` on the complex matrices of size `ϱ + 1`, preserving Lebesgue measure, in which the |
| 463 | coordinate vectors have operator norm at most `P ^ 2 / 4` and the cube of the `x` with all |
| 464 | coordinates in `[0, P⁻⁸]` lies within `P⁻⁶` of `Z`. -/ |
| 465 | lemma New.RealPlace.exists_real_coordinates_mapsTo_ball {𝔰 : Shape} {P : ℝ} (hP : 8 * 𝔰.r ≤ P) |
| 466 | (Z : 𝔰.FrameMatrix) : |
| 467 | ∃ e : (𝔰.FrameCoord → ℝ) ≃L[ℝ] 𝔰.FrameMatrix, |
| 468 | MeasurePreserving (fun x : 𝔰.FrameCoord → ℝ ↦ Z + e x) ∧ |
| 469 | (∀ j : 𝔰.FrameCoord, 4 * ‖e (Pi.single j 1)‖ ≤ P ^ 2) ∧ |
| 470 | MapsTo (fun x : 𝔰.FrameCoord → ℝ ↦ Z + e x) (Icc 0 fun _ : 𝔰.FrameCoord ↦ (P ^ 8)⁻¹) |
| 471 | (ball Z (P ^ 6)⁻¹) := by |
| 472 | -- The size of the matrices is `r = ϱ + (k + 1) + ϱ`. |
| 473 | replace hP : 8 * ((𝔰.ϱ : ℝ) + (𝔰.k + 1 + 𝔰.ϱ)) ≤ P := by simpa using hP |
| 474 | have P_pos : 0 < P := hP.trans_lt' (by positivity) |
| 475 | have h_dim : (16 : ℝ) * (𝔰.ϱ + 1) ^ 2 ≤ P ^ 2 := by nlinarith only [hP] |
| 476 | obtain ⟨e, e_preserving, norm_e_le⟩ : ∃ e : (𝔰.FrameCoord → ℝ) ≃L[ℝ] 𝔰.FrameMatrix, |
| 477 | MeasurePreserving (fun x ↦ Z + e x) ∧ ∀ x, ‖e x‖ ≤ 2 * (𝔰.ϱ + 1) ^ 2 * ‖x‖ := |
| 478 | exists_real_coordinates Z |
| 479 | replace norm_e_le (x : 𝔰.FrameCoord → ℝ) : ‖e x‖ ≤ P ^ 2 * ‖x‖ / 8 := by |
| 480 | grw [norm_e_le, ← h_dim] |
| 481 | linarith |
| 482 | refine ⟨e, e_preserving, fun j ↦ ?_, fun x hx ↦ add_mem_ball_iff_norm.2 ?_⟩ |
| 483 | · grw [norm_e_le, Pi.norm_single, norm_one] |
| 484 | linarith [sq_nonneg P] |
| 485 | · exact New.RealPlace.norm_apply_lt_inv_pow_six_of_mem_cube P_pos norm_e_le hx |
| 486 | |
| 487 | namespace New.RealPlace |
| 488 | |
| 489 | /-- For a measurable `v : 𝔰.G₁ → EuclideanSpace ℂ I` with norm left-invariant |
| 490 | under `besselS`, bound the iterated integral of |
| 491 | `‖v (gramSection (Z + e x) * ((ω.2 : 𝔰.G₁) * embedH ω.1)⁻¹)‖ₑ ^ 2` over the |
| 492 | cube of side `(P ^ 8)⁻¹` and the fixer ball of radius `P ^ 20` by |
| 493 | `(2 * P ^ 2) ^ (2 * 𝔰.n ^ 2) * K` whenever `∫⁻ g, ‖v g‖ₑ ^ 2 ∂besselQuotMeasure ≤ K`. -/ |
| 494 | private lemma lintegral_cube_fixerBall_sq_le {𝔰 : Shape} {I : Type} |
| 495 | [Fintype I] {P c : ℝ} {Z : 𝔰.FrameMatrix} (h_one : 1 ≤ P) (hc : 0 < c) |
| 496 | (h_disc : ∀ Y ∈ ball Z (P ^ 6)⁻¹, c ≤ gramDiscReal Y) |
| 497 | (h_cell : ∀ Y ∈ ball Z (P ^ 6)⁻¹, IsBoundedInCell Y P) |
| 498 | {e : (𝔰.FrameCoord → ℝ) ≃L[ℝ] 𝔰.FrameMatrix} |
| 499 | (e_map_preserving : |
| 500 | MeasurePreserving (fun x : 𝔰.FrameCoord → ℝ ↦ Z + e x) volume volume) |
| 501 | (cube_subset : (Icc 0 fun _ : 𝔰.FrameCoord ↦ (P ^ 8)⁻¹ : Set (𝔰.FrameCoord → ℝ)) ⊆ |
| 502 | (fun x ↦ Z + e x) ⁻¹' ball Z (P ^ 6)⁻¹) |
| 503 | {v : 𝔰.G₁ → EuclideanSpace ℂ I} (hv_meas : Measurable v) |
| 504 | (hv_inv : besselS.FixesLeft fun g : 𝔰.G₁ ↦ ‖v g‖ₑ) |
| 505 | {K : ENNReal} (hv_le : ∫⁻ g : 𝔰.G₁, ‖v g‖ₑ ^ 2 ∂besselQuotMeasure ≤ K) : |
| 506 | ∫⁻ x in (Icc 0 fun _ : 𝔰.FrameCoord ↦ (P ^ 8)⁻¹ : Set (𝔰.FrameCoord → ℝ)), |
| 507 | ∫⁻ ω in 𝔰.fixerBall (P ^ 20), |
| 508 | ‖v (gramSection (Z + e x) * ((ω.2 : 𝔰.G₁) * embedH ω.1)⁻¹)‖ₑ ^ 2 |
| 509 | ∂𝔰.fixerMeasure c ≤ |
| 510 | .ofReal ((2 * P ^ 2) ^ (2 * 𝔰.n ^ 2)) * K := by |
| 511 | have hv_sq_inv : besselS.FixesLeft fun g : 𝔰.G₁ ↦ ‖v g‖ₑ ^ 2 := |
| 512 | fun s hs g ↦ congrArg (· ^ 2) (hv_inv s hs g) |
| 513 | calc |
| 514 | _ ≤ ∫⁻ x in (fun x ↦ Z + e x) ⁻¹' ball Z (P ^ 6)⁻¹, |
| 515 | ∫⁻ ω, |
| 516 | ‖v (gramSection (Z + e x) * ((ω.2 : 𝔰.G₁) * embedH ω.1)⁻¹)‖ₑ ^ 2 |
| 517 | ∂𝔰.fixerMeasure c := by |
| 518 | grw [← cube_subset, setLIntegral_le_lintegral (𝔰.fixerBall (P ^ 20))] |
| 519 | _ = ∫⁻ Y in ball Z (P ^ 6)⁻¹, |
| 520 | ∫⁻ ω, |
| 521 | ‖v (gramSection Y * ((ω.2 : 𝔰.G₁) * embedH ω.1)⁻¹)‖ₑ ^ 2 |
| 522 | ∂𝔰.fixerMeasure c := |
| 523 | e_map_preserving.setLIntegral_comp_preimage_emb |
| 524 | (e.toHomeomorph.trans (Homeomorph.addLeft Z)).measurableEmbedding |
| 525 | (fun Y ↦ ∫⁻ ω, ‖v (gramSection Y * ((ω.2 : 𝔰.G₁) * embedH ω.1)⁻¹)‖ₑ ^ 2 |
| 526 | ∂𝔰.fixerMeasure c) (ball Z (P ^ 6)⁻¹) |
| 527 | _ ≤ .ofReal ((2 * P ^ 2) ^ (2 * 𝔰.n ^ 2)) * |
| 528 | ∫⁻ g, ‖v g‖ₑ ^ 2 ∂besselQuotMeasure := |
| 529 | lintegral_lintegral_gramSection_le h_one hc measurableSet_ball h_disc h_cell |
| 530 | (hv_meas.eNorm.pow_const 2) hv_sq_inv |
| 531 | _ ≤ _ := by grw [hv_le] |
| 532 | |
| 533 | end New.RealPlace |
| 534 | |
| 535 | /-- Let `P ≥ 8 r`, where `r = 𝔰.r` is the size of the matrices in `G₁`, and let `n = ϱ + 1`. Let `Z` |
| 536 | be a complex `n × n` matrix (`FrameMatrix`) such that every `Y` within `P⁻⁶` of `Z` is invertible |
| 537 | with |ξ| < 1 and with ‖Y‖, ‖Y⁻¹‖ and (1 − |ξ|²)^{−1/2} at most `P`, ξ the last diagonal entry of |
| 538 | `Y⁻¹` (`IsBoundedInCell`), and has `0 < c ≤ gramDiscReal Y` = |det Y|² − |det Y₀|², Y₀ the upper |
| 539 | left `ϱ × ϱ` block of `Y`. Let `HasDerivWords V Λ` hold: along a curve in `G₁` with `γ' = γ X` and |
| 540 | `‖X‖ ≤ C`, the derivative of `V w ∘ γ` exists and has norm at most `Λ C ∑ l, ‖V (l :: w) γ‖`; let |
| 541 | `0 ≤ Λ` and `card L * Λ ≤ P ^ 44`. Let the `V w` be measurable with norms left invariant under the |
| 542 | Bessel subgroup `besselS`, and let `K` bound their squared norms in `L²(𝖴∖G₁)` (`besselQuotMeasure`) |
| 543 | for the words `w` of length at most `2 n ^ 2`. Then the integral of `‖V [] (γ_Z (u h)⁻¹)‖ ^ 2` over |
| 544 | the `ω = (h, u)` in `U(κ) × 𝖴⁰` with `‖u‖ ≤ P ^ 20` (`fixerBall`), for Haar measure times |
| 545 | `openCellConst * c ^ (|κ| - 1)` (`fixerMeasure`), is at most `P ^ (550 n ^ 2) K`. -/ |
| 546 | theorem New.RealPlace.lintegral_gramSection_le_of_hasDerivWords {𝔰 : Shape} {I L : Type} |
| 547 | [Fintype I] [Fintype L] {P c Λ : ℝ} {Z : 𝔰.FrameMatrix} (hP : 8 * 𝔰.r ≤ P) (hc : 0 < c) |
| 548 | (h_disc : ∀ Y ∈ ball Z (P ^ 6)⁻¹, c ≤ gramDiscReal Y) |
| 549 | (h_cell : ∀ Y ∈ ball Z (P ^ 6)⁻¹, IsBoundedInCell Y P) |
| 550 | {V : List L → 𝔰.G₁ → EuclideanSpace ℂ I} (hV : HasDerivWords V Λ) (hΛ_nonneg : 0 ≤ Λ) |
| 551 | (hΛ : card L * Λ ≤ P ^ 44) (hV_meas : ∀ w : List L, Measurable (V w)) |
| 552 | (hV_inv : ∀ w : List L, besselS.FixesLeft fun g : 𝔰.G₁ ↦ ‖V w g‖ₑ) |
| 553 | {K : ENNReal} (hK : ∀ w : List L, |
| 554 | w.length ≤ 2 * 𝔰.n ^ 2 → ∫⁻ g : 𝔰.G₁, ‖V w g‖ₑ ^ 2 ∂besselQuotMeasure ≤ K) : |
| 555 | ∫⁻ ω : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) × (𝔰.middleGram (1 : ℂ)).besselU0 in 𝔰.fixerBall (P ^ 20), |
| 556 | ‖V [] (gramSection Z * ((ω.2 : 𝔰.G₁) * embedH ω.1)⁻¹)‖ₑ ^ 2 ∂𝔰.fixerMeasure c ≤ |
| 557 | ENNReal.ofReal (P ^ (550 * 𝔰.n ^ 2)) * K := by |
| 558 | -- Sobolev's inequality on a cube of side `P⁻⁸` at `Z`, in the `2 n ^ 2` real coordinates of the |
| 559 | -- matrix; the integrals over the cube are bounded by `lintegral_lintegral_gramSection_le`. |
| 560 | have one_le_rank : (1 : ℝ) ≤ 𝔰.r := Nat.one_le_cast.2 card_pos |
| 561 | obtain ⟨eight_le, one_le⟩ : 8 ≤ P ∧ 1 ≤ P := by constructor <;> linarith |
| 562 | let cube : Set (𝔰.FrameCoord → ℝ) := Icc 0 fun _ ↦ (P ^ 8)⁻¹ |
| 563 | let Q : Set 𝔰.FrameMatrix := ball Z (P ^ 6)⁻¹ |
| 564 | obtain ⟨e, e_preserving, speed_le, e_mapsTo⟩ := exists_real_coordinates_mapsTo_ball hP Z |
| 565 | have cube_subset : cube ⊆ (fun x ↦ Z + e x) ⁻¹' Q := e_mapsTo.subset_preimage |
| 566 | let shift (ω : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) × (𝔰.middleGram (1 : ℂ)).besselU0) : 𝔰.G₁ := |
| 567 | ((ω.2 : 𝔰.G₁) * embedH ω.1)⁻¹ |
| 568 | let f (w : List L) (x : 𝔰.FrameCoord → ℝ) |
| 569 | (ω : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) × (𝔰.middleGram (1 : ℂ)).besselU0) : EuclideanSpace ℂ I := |
| 570 | V w (gramSection (Z + e x) * shift ω) |
| 571 | set μ := 𝔰.fixerMeasure c |
| 572 | set B := 𝔰.fixerBall (P ^ 20) |
| 573 | have h_shift_norm : ∀ {ω : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) × (𝔰.middleGram (1 : ℂ)).besselU0}, |
| 574 | ω ∈ B → ‖(shift ω : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ ≤ P ^ 20 := by |
| 575 | intro ω hω |
| 576 | simp only [shift, _root_.mul_inv_rev, ← map_inv, norm_embedH_mul, U.norm_inv] |
| 577 | exact Shape.mem_fixerBall.1 hω |
| 578 | have deriv_bound (ω : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) × (𝔰.middleGram (1 : ℂ)).besselU0) |
| 579 | (hω : ω ∈ B) (w : List L) (j : 𝔰.FrameCoord) (x : 𝔰.FrameCoord → ℝ) |
| 580 | (t₀ : ℝ) (ht₀ : update x j t₀ ∈ cube) : |
| 581 | ∃ f' : EuclideanSpace ℂ I, HasDerivAt (fun t ↦ f w (update x j t) ω) f' t₀ ∧ |
| 582 | ‖f'‖ ≤ ∑ l, Λ * P ^ 85 * ‖f (l :: w) (update x j t₀) ω‖ := by |
| 583 | have deriv_line (t : ℝ) : HasDerivAt (fun t ↦ Z + e (update x j t)) (e (Pi.single j 1)) t := |
| 584 | (e.hasFDerivAt.comp_hasDerivAt t (hasDerivAt_update x j t)).const_add Z |
| 585 | exact hV.exists_hasDerivAt_gramSection_mul eight_le h_cell deriv_line (speed_le j) |
| 586 | (cube_subset ht₀) (h_shift_norm hω) w |
| 587 | have h_shift_meas : Measurable shift := |
| 588 | ((continuous_subtypeVal.comp continuous_snd).mul |
| 589 | (continuous_embedH.comp continuous_fst)).inv.measurable |
| 590 | have hf_meas (w : List L) : Measurable ↿(f w) := |
| 591 | (hV_meas w).comp |
| 592 | (((measurable_gramSection.comp (measurable_const.add e.continuous.measurable)).comp |
| 593 | measurable_fst).mul (h_shift_meas.comp measurable_snd)) |
| 594 | have cube_bound (w : List L) (hw : w.length ≤ 2 * 𝔰.n ^ 2) : |
| 595 | ∫⁻ x in cube, ∫⁻ ω in B, ‖f w x ω‖ₑ ^ 2 ∂μ ≤ .ofReal ((2 * P ^ 2) ^ (2 * 𝔰.n ^ 2)) * K := |
| 596 | lintegral_cube_fixerBall_sq_le one_le hc h_disc h_cell e_preserving cube_subset |
| 597 | (hV_meas w) (hV_inv w) (hK w hw) |
| 598 | -- Each of the `2 n ^ 2` coordinates costs `a` in Sobolev's inequality and `2 P ^ 2` on the cube. |
| 599 | have hcard : card 𝔰.FrameCoord = 2 * 𝔰.n ^ 2 := by |
| 600 | simp only [Shape.FrameCoord, Shape.n, card_prod, Fintype.card_fin, sq] |
| 601 | let a : ℝ := 2 / (P ^ 8)⁻¹ * (1 + (card L * (Λ * P ^ 85)) ^ 2) |
| 602 | have cost_le : a * (2 * P ^ 2) ≤ P ^ 275 := sobolev_const_mul_le_pow eight_le (by positivity) hΛ |
| 603 | calc |
| 604 | _ = ∫⁻ ω in B, ‖f [] 0 ω‖ₑ ^ 2 ∂μ := by simp only [f, shift, B, μ, map_zero, add_zero] |
| 605 | _ ≤ .ofReal (a ^ card 𝔰.FrameCoord) * (.ofReal ((2 * P ^ 2) ^ (2 * 𝔰.n ^ 2)) * K) := |
| 606 | sobolev_trace_cube f hf_meas (by positivity) |
| 607 | (inv_le_one_of_one_le₀ (one_le_pow₀ one_le)) |
| 608 | (ae_restrict_of_forall_mem (𝔰.measurableSet_fixerBall _) deriv_bound) |
| 609 | fun w hw ↦ cube_bound w (hcard ▸ hw) |
| 610 | _ = .ofReal ((a * (2 * P ^ 2)) ^ (2 * 𝔰.n ^ 2)) * K := by |
| 611 | rw [hcard, ← mul_assoc, ← ENNReal.ofReal_mul (by positivity), ← mul_pow] |
| 612 | _ ≤ .ofReal ((P ^ 275) ^ (2 * 𝔰.n ^ 2)) * K := by gcongr |
| 613 | _ = _ := by rw [← pow_mul, show 275 * (2 * 𝔰.n ^ 2) = 550 * 𝔰.n ^ 2 by ring] |
| 614 | |
| 615 | /-- The letters `((a, b), c, d)` that index the derivatives of a convolution on `G₁`: `(a, b)` is |
| 616 | the matrix unit along which the function is differentiated, and `c`, `d` select the entries of `y` |
| 617 | and `y⁻¹` that the weight gains. -/ |
| 618 | abbrev New.Shape.ConvolutionDerivIndex (𝔰 : Shape) : Type := |
| 619 | (𝔰.BesselIndex × 𝔰.BesselIndex) × 𝔰.BesselIndex × 𝔰.BesselIndex |
| 620 | |
| 621 | /-- The weight on `G₁` attached to a word, starting from `φ` at the empty word: the letter |
| 622 | `((a, b), c, d)` multiplies the weight at `y` by the entry `(a, d)` of `y⁻¹` and the entry `(c, b)` |
| 623 | of `y`, over `R ^ 2`. -/ |
| 624 | noncomputable def New.RealPlace.convolutionWeight {𝔰 : Shape} (R : ℝ) (φ : 𝔰.G₁ → ℂ) : |
| 625 | List 𝔰.ConvolutionDerivIndex → 𝔰.G₁ → ℂ |
| 626 | | [] => φ |
| 627 | | ((a, b), c, d) :: i => fun y ↦ convolutionWeight R φ i y * (y⁻¹.val a d * y.val c b / R ^ 2) |
| 628 | |
| 629 | lemma New.RealPlace.convolutionWeight_nil {𝔰 : Shape} (R : ℝ) (φ : 𝔰.G₁ → ℂ) : |
| 630 | convolutionWeight R φ [] = φ := |
| 631 | rfl |
| 632 | |
| 633 | lemma New.RealPlace.convolutionWeight_cons {𝔰 : Shape} (R : ℝ) (φ : 𝔰.G₁ → ℂ) |
| 634 | (a b c d : 𝔰.BesselIndex) (i : List 𝔰.ConvolutionDerivIndex) (y : 𝔰.G₁) : |
| 635 | convolutionWeight R φ (((a, b), c, d) :: i) y = |
| 636 | convolutionWeight R φ i y * (y⁻¹.val a d * y.val c b / R ^ 2) := |
| 637 | rfl |
| 638 | |
| 639 | lemma New.RealPlace.measurable_convolutionWeight {𝔰 : Shape} (R : ℝ) {φ : 𝔰.G₁ → ℂ} |
| 640 | (hφ : Measurable φ) (i : List 𝔰.ConvolutionDerivIndex) : |
| 641 | Measurable (convolutionWeight R φ i) := by |
| 642 | induction i with |
| 643 | | nil => exact hφ |
| 644 | | cons l i ih => |
| 645 | have hM : Continuous fun y : 𝔰.G₁ ↦ (y : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ) := |
| 646 | Units.continuous_val.comp continuous_subtypeVal |
| 647 | have h_fac : Continuous fun y : 𝔰.G₁ ↦ |
| 648 | y⁻¹.val l.1.1 l.2.2 * y.val l.2.1 l.1.2 / (R : ℂ) ^ 2 := |
| 649 | (((continuous_apply l.2.2).comp ((continuous_apply l.1.1).comp (hM.comp continuous_inv))).mul |
| 650 | ((continuous_apply l.1.2).comp ((continuous_apply l.2.1).comp hM))).div_const _ |
| 651 | exact ih.mul h_fac.measurable |
| 652 | |
| 653 | /-- Let `0 < R` and let the function `φ` on `G₁` vanish at every `y` of operator norm greater than |
| 654 | `R`. The weight `convolutionWeight R φ i` at `y` is `φ y` times one factor for each letter of the |
| 655 | word `i`: an entry of `y⁻¹` times an entry of `y`, divided by `R ^ 2`. Its norm at `y` is at most |
| 656 | `‖φ y‖`. -/ |
| 657 | lemma New.RealPlace.norm_convolutionWeight_le {𝔰 : Shape} {R : ℝ} (hR : 0 < R) {φ : 𝔰.G₁ → ℂ} |
| 658 | (hφ_supp : ∀ y : 𝔰.G₁, φ y ≠ 0 → ‖(y : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ ≤ R) |
| 659 | (i : List 𝔰.ConvolutionDerivIndex) (y : 𝔰.G₁) : ‖convolutionWeight R φ i y‖ ≤ ‖φ y‖ := by |
| 660 | induction i with |
| 661 | | nil => rfl |
| 662 | | cons l i ih => |
| 663 | obtain ⟨⟨a, b⟩, c, d⟩ := l |
| 664 | grw [convolutionWeight_cons, norm_mul, ih] |
| 665 | by_cases hy : φ y = 0 |
| 666 | · simp [hy] |
| 667 | -- Both entries have norm at most `‖y‖ = ‖y⁻¹‖ ≤ R`. |
| 668 | have entry_le : ‖y.val c b‖ ≤ R := (norm_apply_le_l2_opNorm _ c b).trans (hφ_supp y hy) |
| 669 | have inv_entry_le : ‖y⁻¹.val a d‖ ≤ R := by |
| 670 | grw [norm_apply_le_l2_opNorm, U.norm_inv, hφ_supp y hy] |
| 671 | grw [norm_div, norm_mul, entry_le, inv_entry_le] |
| 672 | simp [abs_of_pos hR, hR.ne', ← sq] |
| 673 | |
| 674 | /-- Let `𝔰 : Shape`, `I : Type` be a finite type, and `R : ℝ` satisfy `0 < R`. Let |
| 675 | `V : List 𝔰.EntryIndex → C(𝔰.G₁, EuclideanSpace ℂ I)`, |
| 676 | `ψ : List 𝔰.ConvolutionDerivIndex → 𝔰.G₁ → ℂ`, `i : List 𝔰.ConvolutionDerivIndex`, |
| 677 | `γ : ℝ → 𝔰.G₁`, `X : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ`, `t : ℝ`, and `y : 𝔰.G₁`. Suppose that |
| 678 | for every curve `γ' : ℝ → 𝔰.G₁` and matrix `Y : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ` such that |
| 679 | `s ↦ (γ' s : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)` (for `s : ℝ`) has derivative `γ' t * Y` at `t`, |
| 680 | the composite `V (i.map Prod.fst) ∘ γ'` has derivative |
| 681 | `∑ a : 𝔰.BesselIndex, ∑ b : 𝔰.BesselIndex, Y a b • V ((a, b) :: i.map Prod.fst) (γ' t)` at `t`. |
| 682 | Suppose further that for all `a`, `b`, `c`, `d : 𝔰.BesselIndex`, |
| 683 | `ψ (((a, b), c, d) :: i) y = ψ i y * (y⁻¹.val a d * y.val c b / R ^ 2)`, and that |
| 684 | `s ↦ (γ s : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)` (for `s : ℝ`) has derivative `γ t * X` at `t`. |
| 685 | Then `s ↦ ψ i y • V (i.map Prod.fst) (γ s * y)` (for `s : ℝ`) has derivative |
| 686 | `∑ l : 𝔰.ConvolutionDerivIndex, (R ^ 2 • X) l.2.2 l.2.1 • ψ (l :: i) y • |
| 687 | V ((l :: i).map Prod.fst) (γ t * y)` at `t`. -/ |
| 688 | private lemma New.RealPlace.hasDerivAt_smul_comp_mul_right {𝔰 : Shape} {I : Type} [Fintype I] |
| 689 | {R : ℝ} (hR : 0 < R) |
| 690 | {V : List 𝔰.EntryIndex → C(𝔰.G₁, EuclideanSpace ℂ I)} |
| 691 | {ψ : List 𝔰.ConvolutionDerivIndex → 𝔰.G₁ → ℂ} |
| 692 | {i : List 𝔰.ConvolutionDerivIndex} {γ : ℝ → 𝔰.G₁} |
| 693 | {X : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ} {t : ℝ} {y : 𝔰.G₁} |
| 694 | (V_deriv : ∀ (γ' : ℝ → 𝔰.G₁) (Y : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ), |
| 695 | HasDerivAt (fun s : ℝ ↦ (γ' s : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)) (γ' t * Y) t → |
| 696 | HasDerivAt (V (i.map Prod.fst) ∘ γ') |
| 697 | (∑ a : 𝔰.BesselIndex, ∑ b : 𝔰.BesselIndex, |
| 698 | Y a b • V ((a, b) :: i.map Prod.fst) (γ' t)) t) |
| 699 | (ψ_cons : ∀ (a b c d : 𝔰.BesselIndex), |
| 700 | ψ (((a, b), c, d) :: i) y = ψ i y * (y⁻¹.val a d * y.val c b / R ^ 2)) |
| 701 | (hγ : HasDerivAt (fun s : ℝ ↦ (γ s : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)) (γ t * X) t) : |
| 702 | HasDerivAt (fun s : ℝ ↦ ψ i y • V (i.map Prod.fst) (γ s * y)) |
| 703 | (∑ l : 𝔰.ConvolutionDerivIndex, |
| 704 | (R ^ 2 • X) l.2.2 l.2.1 • ψ (l :: i) y • V ((l :: i).map Prod.fst) (γ t * y)) t := by |
| 705 | let Y : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ := y⁻¹ * X * y |
| 706 | have log_deriv : HasDerivAt (fun s ↦ ((γ s * y : 𝔰.G₁) : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)) |
| 707 | ((γ t * y : 𝔰.G₁) * Y) t := by simpa [Y, mul_assoc] using hγ.mul_const _ |
| 708 | -- The entries of `Y = y⁻¹ * X * y` bring the new factors of the weights. |
| 709 | have Y_apply (a b : 𝔰.BesselIndex) : |
| 710 | ψ i y * Y a b = ∑ c, ∑ d, (R ^ 2 • X) d c * ψ (((a, b), c, d) :: i) y := by |
| 711 | have hR' : (R : ℂ) ^ 2 ≠ 0 := pow_ne_zero 2 (ofReal_ne_zero.2 hR.ne') |
| 712 | simp only [Y, ψ_cons, InvMemClass.coe_inv, coe_units_inv, Matrix.mul_apply, |
| 713 | Finset.sum_mul, Finset.mul_sum, Matrix.smul_apply, real_smul, ofReal_pow] |
| 714 | refine Finset.sum_congr rfl fun c _ ↦ Finset.sum_congr rfl fun d _ ↦ ?_ |
| 715 | rw [mul_div_assoc', mul_div_assoc', mul_assoc ((R : ℂ) ^ 2), mul_div_cancel_left₀ _ hR'] |
| 716 | ring |
| 717 | have F'_eq : ψ i y • ∑ a, ∑ b, Y a b • V ((a, b) :: i.map Prod.fst) (γ t * y) = |
| 718 | ∑ l : 𝔰.ConvolutionDerivIndex, |
| 719 | (R ^ 2 • X) l.2.2 l.2.1 • ψ (l :: i) y • V ((l :: i).map Prod.fst) (γ t * y) := by |
| 720 | simp only [sum_prod_type, List.map_cons, Finset.smul_sum, smul_smul, Y_apply, |
| 721 | Finset.sum_smul] |
| 722 | exact ((V_deriv (fun s ↦ γ s * y) Y log_deriv).fun_const_smul (ψ i y)).congr_deriv F'_eq |
| 723 | |
| 724 | /-- Let `V w` be bounded continuous functions on `G₁` such that along a curve `γ` in `G₁` with |
| 725 | `γ' = γ X` the derivative of `V w ∘ γ` is `∑ X a b • V ((a, b) :: w) ∘ γ`. Since |
| 726 | `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 |
| 727 | which the weight gains an entry of `y⁻¹` and an entry of `y`. If the integrable weights `ψ` carry |
| 728 | these factors divided by `R ^ 2`, the integrals `W i g = ∫ ψ i y • V (i.map Prod.fst) (g y)` satisfy |
| 729 | `HasDerivWords W (R ^ 2)`: along a curve with `γ' = γ X` and `‖X‖ ≤ C` the derivative of `W i ∘ γ` |
| 730 | exists and has norm at most `R ^ 2 C ∑ l, ‖W (l :: i) γ‖`, over the letters `l = ((a, b), c, d)`. -/ |
| 731 | lemma New.RealPlace.hasDerivWords_integral {𝔰 : Shape} {I : Type} [Fintype I] {R : ℝ} (hR : 0 < R) |
| 732 | {V : List 𝔰.EntryIndex → C(𝔰.G₁, EuclideanSpace ℂ I)} |
| 733 | (V_bounded : ∀ w : List 𝔰.EntryIndex, IsBoundedMeasurable (V w)) |
| 734 | (V_deriv : ∀ (w : List 𝔰.EntryIndex) (γ : ℝ → 𝔰.G₁) |
| 735 | (X : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ) (t : ℝ), |
| 736 | HasDerivAt (fun s : ℝ ↦ (γ s : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)) (γ t * X) t → |
| 737 | HasDerivAt (V w ∘ γ) (∑ a : 𝔰.BesselIndex, ∑ b : 𝔰.BesselIndex, X a b • V ((a, b) :: w) (γ t)) |
| 738 | t) |
| 739 | {ψ : List 𝔰.ConvolutionDerivIndex → 𝔰.G₁ → ℂ} |
| 740 | (ψ_cons : ∀ (a b c d : 𝔰.BesselIndex) (i : List 𝔰.ConvolutionDerivIndex) (y : 𝔰.G₁), |
| 741 | ψ (((a, b), c, d) :: i) y = ψ i y * (y⁻¹.val a d * y.val c b / R ^ 2)) |
| 742 | (ψ_int : ∀ i : List 𝔰.ConvolutionDerivIndex, Integrable (ψ i)) : |
| 743 | HasDerivWords |
| 744 | (fun (i : List 𝔰.ConvolutionDerivIndex) (g : 𝔰.G₁) ↦ ∫ y : 𝔰.G₁, |
| 745 | ψ i y • V (i.map Prod.fst) (g * y)) |
| 746 | (R ^ 2) := by |
| 747 | -- Differentiate under the integral; the `V w` are bounded and the weights integrable. |
| 748 | intro i γ X C t₀ h_curve |
| 749 | let T (i : List 𝔰.ConvolutionDerivIndex) (g y : 𝔰.G₁) : EuclideanSpace ℂ I := |
| 750 | ψ i y • V (i.map Prod.fst) (g * y) |
| 751 | have T_int (i : List 𝔰.ConvolutionDerivIndex) (g : 𝔰.G₁) : Integrable (T i g) := |
| 752 | (V_bounded _).integrable_smul (ψ_int i) g |
| 753 | -- The letter `((a, b), c, d)` enters the derivative with the entry `(d, c)` of `R ^ 2 • X t`. |
| 754 | let coeff (t : ℝ) : 𝔰.ConvolutionDerivIndex → ℂ := fun (_, c, d) ↦ (R ^ 2 • X t) d c |
| 755 | let F' (t : ℝ) (y : 𝔰.G₁) : EuclideanSpace ℂ I := ∑ l, coeff t l • T (l :: i) (γ t) y |
| 756 | let N : Set ℝ := {t | HasDerivAt (fun s ↦ (γ s : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)) |
| 757 | (γ t * X t) t ∧ ‖X t‖ ≤ C} |
| 758 | have t₀_mem : t₀ ∈ N := h_curve.self_of_nhds |
| 759 | have coeff_le (t : ℝ) (ht : t ∈ N) (l : 𝔰.ConvolutionDerivIndex) : ‖coeff t l‖ ≤ R ^ 2 * C := by |
| 760 | grw [norm_apply_le_l2_opNorm, norm_smul, ht.2, Real.norm_of_nonneg (by positivity)] |
| 761 | have T_deriv (y : 𝔰.G₁) (t : ℝ) (ht : t ∈ N) : HasDerivAt (fun t ↦ T i (γ t) y) (F' t y) t := |
| 762 | hasDerivAt_smul_comp_mul_right hR (fun γ' Y h ↦ V_deriv _ γ' Y t h) |
| 763 | (fun a b c d ↦ ψ_cons a b c d i y) ht.1 |
| 764 | choose M hM using fun w ↦ (V_bounded w).bounded |
| 765 | have hC : 0 ≤ C := (norm_nonneg _).trans t₀_mem.2 |
| 766 | have F'_le (y : 𝔰.G₁) (t : ℝ) (ht : t ∈ N) : |
| 767 | ‖F' t y‖ ≤ ∑ l, R ^ 2 * C * (‖ψ (l :: i) y‖ * M ((l :: i).map Prod.fst)) := by |
| 768 | grw [norm_sum_le, norm_smul_le, coeff_le t ht, norm_smul_le, hM] |
| 769 | have F'_int : Integrable (F' t₀) := |
| 770 | integrable_finsetSum _ fun l _ ↦ (T_int (l :: i) (γ t₀)).smul (coeff t₀ l) |
| 771 | have deriv_integral : HasDerivAt (fun t ↦ ∫ y, T i (γ t) y) (∫ y, F' t₀ y) t₀ := |
| 772 | (hasDerivAt_integral_of_dominated_loc_of_deriv_le (s := N) h_curve |
| 773 | (.of_forall fun x ↦ (T_int i (γ x)).aestronglyMeasurable) |
| 774 | (T_int i (γ t₀)) F'_int.aestronglyMeasurable (.of_forall F'_le) |
| 775 | (integrable_finsetSum _ fun l _ ↦ ((ψ_int (l :: i)).norm.mul_const _).const_mul _) |
| 776 | (.of_forall T_deriv)).2 |
| 777 | refine ⟨∫ y, F' t₀ y, deriv_integral, ?_⟩ |
| 778 | calc |
| 779 | _ = ‖∑ l, coeff t₀ l • ∫ y, T (l :: i) (γ t₀) y‖ := by |
| 780 | rw [show ∫ y, F' t₀ y = ∑ l, coeff t₀ l • ∫ y, T (l :: i) (γ t₀) y from |
| 781 | (integral_finsetSum (f := fun l y ↦ coeff t₀ l • T (l :: i) (γ t₀) y) Finset.univ |
| 782 | fun l _ ↦ (T_int (l :: i) (γ t₀)).smul (coeff t₀ l)).trans |
| 783 | (Finset.sum_congr rfl fun l _ ↦ integral_smul _ _)] |
| 784 | _ ≤ _ := by grw [norm_sum_le, norm_smul_le, coeff_le t₀ t₀_mem] |
| 785 | |
| 786 | /-- Let `P ≥ 8 r`, where `r = 𝔰.r` is the size of the matrices in `G₁`, and let `n = ϱ + 1`. Let `F` |
| 787 | and its iterated right derivatives `V w` be Bessel functions of type `rep`, that is, bounded |
| 788 | functions that transform on the left by a fixed character under the unipotent group `𝖴` and by the |
| 789 | unitary representation `rep` under `U(κ)`, such that `g ↦ ∫ ψ y • V w (g y)` has squared norm at |
| 790 | most `P ^ (2 |w|) D ∫ ‖ψ‖ ^ 2` in `L²(𝖴∖G₁)` when `|w| ≤ 2 n ^ 2` (`HasSchurBound`). Let `Z` be a |
| 791 | complex `n × n` matrix (`FrameMatrix`) such that every `Y` within `P⁻⁶` of `Z` is invertible with |
| 792 | |ξ| < 1 and with ‖Y‖, ‖Y⁻¹‖ and (1 − |ξ|²)^{−1/2} at most `P`, ξ the last diagonal entry of `Y⁻¹` |
| 793 | (`IsBoundedInCell`), and has `0 < c ≤ gramDiscReal Y` = |det Y|² − |det Y₀|², Y₀ the upper left |
| 794 | `ϱ × ϱ` block of `Y`. Let the measurable integrable function `φ` vanish where the operator norm |
| 795 | exceeds `P ^ 20`. Then the integral of `‖∫ φ y • F (γ_Z (u h)⁻¹ y)‖ ^ 2` over the `ω = (h, u)` in |
| 796 | `U(κ) × 𝖴⁰` with `‖u‖ ≤ P ^ 20` (`fixerBall`), for Haar measure times |
| 797 | `openCellConst * c ^ (|κ| - 1)` (`fixerMeasure`), is at most `P ^ (2000 n ^ 2) D ∫ ‖φ‖ ^ 2`. -/ |
| 798 | theorem New.RealPlace.lintegral_gramSection_integral_le {𝔰 : Shape} {I : Type} [Fintype I] |
| 799 | [DecidableEq I] {P c : ℝ} {D : ENNReal} {rep : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) →* unitaryGroup I ℂ} |
| 800 | {F : 𝔰.G₁ → EuclideanSpace ℂ I} {Z : 𝔰.FrameMatrix} (hP : 8 * 𝔰.r ≤ P) |
| 801 | (hF_schur : HasSchurBound F rep P D) (hc : 0 < c) |
| 802 | (h_disc : ∀ Y ∈ ball Z (P ^ 6)⁻¹, c ≤ gramDiscReal Y) |
| 803 | (h_cell : ∀ Y ∈ ball Z (P ^ 6)⁻¹, IsBoundedInCell Y P) |
| 804 | {φ : 𝔰.G₁ → ℂ} (hφ : Measurable φ) (hφ_int : Integrable φ) |
| 805 | (hφ_supp : ∀ y : 𝔰.G₁, φ y ≠ 0 → ‖(y : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ)‖ ≤ P ^ 20) : |
| 806 | ∫⁻ ω : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) × (𝔰.middleGram (1 : ℂ)).besselU0 in 𝔰.fixerBall (P ^ 20), |
| 807 | ‖∫ y : 𝔰.G₁, φ y • F (gramSection Z * ((ω.2 : 𝔰.G₁) * embedH ω.1)⁻¹ * y)‖ₑ ^ 2 |
| 808 | ∂𝔰.fixerMeasure c ≤ |
| 809 | ENNReal.ofReal (P ^ (2000 * 𝔰.n ^ 2)) * D * ∫⁻ y : 𝔰.G₁, ‖φ y‖ₑ ^ 2 := by |
| 810 | -- The weighted integrals of the derivatives `V w` of `F` form a family of derivatives whose |
| 811 | -- first member is `g ↦ ∫ φ y • F (g y)`; apply `lintegral_gramSection_le_of_hasDerivWords`. |
| 812 | have one_le_rank : (1 : ℝ) ≤ 𝔰.r := Nat.one_le_cast.2 card_pos |
| 813 | have rank_le : (𝔰.r : ℝ) ≤ P := by linarith |
| 814 | have one_le : 1 ≤ P := by linarith |
| 815 | obtain ⟨V, hF, hV⟩ := hF_schur |
| 816 | have V_bessel (w : List 𝔰.EntryIndex) : IsBesselFunction rep (V w) := (hV w).1 |
| 817 | have V_deriv (w : List 𝔰.EntryIndex) := (hV w).2.1 |
| 818 | have V_schur (w : List 𝔰.EntryIndex) := (hV w).2.2 |
| 819 | let ψ : List 𝔰.ConvolutionDerivIndex → 𝔰.G₁ → ℂ := convolutionWeight (P ^ 20) φ |
| 820 | have ψ_meas (i : List 𝔰.ConvolutionDerivIndex) : Measurable (ψ i) := |
| 821 | measurable_convolutionWeight _ hφ i |
| 822 | have norm_ψ_le (i : List 𝔰.ConvolutionDerivIndex) (y : 𝔰.G₁) : ‖ψ i y‖ ≤ ‖φ y‖ := |
| 823 | norm_convolutionWeight_le (by positivity) hφ_supp i y |
| 824 | have ψ_int (i : List 𝔰.ConvolutionDerivIndex) : Integrable (ψ i) := |
| 825 | hφ_int.mono (ψ_meas i).aestronglyMeasurable (.of_forall (norm_ψ_le i)) |
| 826 | let W (i : List 𝔰.ConvolutionDerivIndex) (g : 𝔰.G₁) : EuclideanSpace ℂ I := |
| 827 | ∫ y, ψ i y • V (i.map Prod.fst) (g * y) |
| 828 | have W_deriv : HasDerivWords W ((P ^ 20) ^ 2) := |
| 829 | hasDerivWords_integral (by positivity) (fun w ↦ (V_bessel w).toIsBoundedMeasurable) V_deriv |
| 830 | (convolutionWeight_cons (P ^ 20) φ) ψ_int |
| 831 | have W_inv (i : List 𝔰.ConvolutionDerivIndex) : besselS.FixesLeft fun g : 𝔰.G₁ ↦ ‖W i g‖ₑ := |
| 832 | fun s hs g ↦ (V_bessel (i.map Prod.fst)).enorm_integral_besselS_mul hs (ψ i) g |
| 833 | -- There are `r ^ 4` letters, and each costs `(P ^ 20) ^ 2`. |
| 834 | have letters_le : card 𝔰.ConvolutionDerivIndex * (P ^ 20) ^ 2 ≤ P ^ 44 := by |
| 835 | calc |
| 836 | _ = (𝔰.r : ℝ) ^ 4 * P ^ 40 := by |
| 837 | simp only [card_prod, Nat.cast_mul] |
| 838 | ring |
| 839 | _ ≤ P ^ 44 := by grw [rank_le, ← pow_add] |
| 840 | -- Schur's bound for the derivatives, at the price `P ^ 2` for each letter. |
| 841 | have schur (i : List 𝔰.ConvolutionDerivIndex) (hi : i.length ≤ 2 * 𝔰.n ^ 2) : |
| 842 | ∫⁻ g, ‖W i g‖ₑ ^ 2 ∂besselQuotMeasure ≤ |
| 843 | .ofReal (P ^ (2 * (2 * 𝔰.n ^ 2))) * D * ∫⁻ y, ‖φ y‖ₑ ^ 2 := by |
| 844 | have h_len : (i.map Prod.fst).length ≤ 2 * 𝔰.n ^ 2 := by rwa [List.length_map] |
| 845 | refine (V_schur (i.map Prod.fst) h_len (ψ i) (ψ_int i)).trans ?_ |
| 846 | rw [List.length_map] |
| 847 | exact mul_le_mul' |
| 848 | (mul_le_mul' (ENNReal.ofReal_le_ofReal (pow_le_pow_right₀ one_le (Nat.mul_le_mul_left 2 hi))) |
| 849 | le_rfl) |
| 850 | (lintegral_mono fun y ↦ pow_le_pow_left' (eNorm_le_iff_norm_le.2 (norm_ψ_le i y)) 2) |
| 851 | have W_meas (i : List 𝔰.ConvolutionDerivIndex) : Measurable (W i) := |
| 852 | ((((ψ_meas i).comp measurable_snd).smul |
| 853 | ((V (i.map Prod.fst)).continuous.measurable.comp |
| 854 | (measurable_fst.mul measurable_snd))).stronglyMeasurable.integral_prod_right').measurable |
| 855 | calc |
| 856 | _ ≤ .ofReal (P ^ (550 * 𝔰.n ^ 2)) * |
| 857 | (.ofReal (P ^ (2 * (2 * 𝔰.n ^ 2))) * D * ∫⁻ y, ‖φ y‖ₑ ^ 2) := by |
| 858 | simpa only [W, ψ, convolutionWeight_nil, List.map_nil, ← hF] using |
| 859 | lintegral_gramSection_le_of_hasDerivWords hP hc h_disc h_cell W_deriv (by positivity) |
| 860 | letters_le W_meas W_inv schur |
| 861 | _ ≤ _ := by |
| 862 | grw [← mul_assoc, ← mul_assoc, ← ENNReal.ofReal_mul (by positivity), ← pow_add, |
| 863 | show 550 * 𝔰.n ^ 2 + 2 * (2 * 𝔰.n ^ 2) ≤ 2000 * 𝔰.n ^ 2 by omega] |
| 864 | |
| 865 | end SobolevCell |