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.IndefiniteUnitaryGroup |
| 4 | import Mathlib.MeasureTheory.Function.SpecialFunctions.Inner |
| 5 | import Mathlib.Topology.Separation.CompletelyRegular |
| 6 | import TauCeti.Topology.Algebra.Group.Units |
| 7 | import TauCeti.Topology.Instances.Matrix |
| 8 | public import New.Spanning.Bessel.Basic |
| 9 | public import New.Spanning.Frames.Depth |
| 10 | import New.Spanning.Frames.QuadricPlancherel |
| 11 | import New.Spanning.Frames.TwoGauges |
| 12 | |
| 13 | /-! |
| 14 | # The densities as integrals over pairs of frames |
| 15 | |
| 16 | For a cut Bessel function `W` and two heads (sequences of units `p`, `q`), the form of floor `j` is |
| 17 | a density times an integral, over a position `x` and two frames, of a weighted product of two |
| 18 | correlations. The file defines these forms and their majorants, and proves the descent from one |
| 19 | floor to the next. |
| 20 | |
| 21 | Notions from other files: |
| 22 | * `F : PlaceData ι T m` is the data of a place: the measures of the floors, the level `F.levelUnit` |
| 23 | and the compact set `F.boxSet` (the box) of the unitary group `T.G`; a `Gauge F` is a notion of |
| 24 | size with a number Λ = `Γ.loss` whose powers bound moduli and volumes. |
| 25 | * G^(l) = `floorGroup l` and R^(l) = `partialUnitriangularGroup l` are the subgroups described in |
| 26 | `New.Spanning.Frames.Lengths`, and 𝖴 = `T.besselU` is the Bessel unipotent group. A point `g` is |
| 27 | near at `j` (`F.IsNear j g`) if R^(j) g meets the box. |
| 28 | * θ_j = `F.floorMeasure j` is the measure of floor `j`, 𝗆_j = `F.partialGroupMeasure 0 j` the |
| 29 | convolution of the Heisenberg and floor measures of the floors below `j`, and 𝖬 = `F.groupMeasure` |
| 30 | that of all floors. |
| 31 | * `F.partialCorrelation j k g y` is the correlation from floor `j` on, the integral of |
| 32 | `k (σ g) (σ y)` against `F.quotientMeasureFrom j`, the convolution of the θ_l with l ≥ j. |
| 33 | * w_p = `weylElem j p` is the Weyl element of the first `j` hyperbolic pairs with the entries `p a`, |
| 34 | and `weylRatio j p q` is the diagonal element w_q⁻¹ w_p. |
| 35 | |
| 36 | ## Main definitions and results |
| 37 | |
| 38 | * `New.Floors.PlaceData.IsCut`, `New.Floors.PlaceData.floorForm`, |
| 39 | `New.Floors.PlaceData.formIntegrandL1Norm`, `New.Floors.PlaceData.formMajorant`: the forms and |
| 40 | their majorants. |
| 41 | * `New.Floors.Gauge.inner_besselOrbitalIntegral`: the product of two orbital integrals as a double |
| 42 | integral. |
| 43 | * `New.Floors.Gauge.isPairingKernel_frameCorrelation`: the rules for correlations. |
| 44 | * `New.Floors.PlaceData.floorForm_zero_eq_integral`: the mass: the form of floor 0 is the integral |
| 45 | of a square. |
| 46 | * `New.Floors.Gauge.integral_weight_mul_floorForm_succ`, |
| 47 | `New.Floors.Gauge.integral_psi_mul_floorForm_succ`: descent from one floor to the next. |
| 48 | |
| 49 | ## Relation to the literature |
| 50 | |
| 51 | See `New.Spanning.MainTerm.EnergyEstimate` for related work. |
| 52 | -/ |
| 53 | |
| 54 | @[expose] public section |
| 55 | |
| 56 | noncomputable section |
| 57 | |
| 58 | namespace New.Floors |
| 59 | |
| 60 | open Matrix MeasureTheory Measure ENNReal Fintype FloorGroups ComplexConjugate InnerProductSpace |
| 61 | PlaceData Finset Function RCLike Place |
| 62 | |
| 63 | variable {A : Type} [CommRing A] [StarRing A] [TopologicalSpace A] [MeasureSpace A] [P : Place A] |
| 64 | {ι : Type} [Fintype ι] [DecidableEq ι] {m : ℕ} {𝔰 : Shape} (j : ℕ) |
| 65 | {T : 𝔰.Form A} [H : IsHermitianUnit T.splitGram] |
| 66 | {F : PlaceData ι T m} (p q : ℕ → Aˣ) {I : Type} [Fintype I] |
| 67 | (W : T.G → EuclideanSpace ℂ I) (x : T.G) (Γ : Gauge F) |
| 68 | |
| 69 | section |
| 70 | |
| 71 | /-- The density κ_j of two sequences of units `p`, `q`: the product over `a < j` of |
| 72 | `modulus (p a * q a) ^ (d a / 2)` with `d a = 𝔰.k + 1 + 2 * (𝔰.ϱ - (a + 1))`. The power `d a / 2` is |
| 73 | written as the `d a`-th power of a square root. -/ |
| 74 | def PlaceData.headDensity (_ : PlaceData ι T m) : ℝ≥0∞ := |
| 75 | ∏ a ∈ .range j, (P.modulus (p a * q a) ^ (2⁻¹ : ℝ)) ^ (𝔰.k + 1 + 2 * (𝔰.ϱ - (a + 1))) |
| 76 | |
| 77 | /-- The correlation `⟨W x, W (d y)⟩` of two points, the second translated by `d`. -/ |
| 78 | @[simp] abbrev frameCorrelation (d x y : T.G) : ℂ := ⟪W x, W (d * y)⟫_ℂ |
| 79 | |
| 80 | /-- W is a Bessel function of frequency η: bounded, measurable, with W(ux) = ψ(η σ(u))W(x) for u in |
| 81 | 𝖴 = `T.besselU`, where σ(u) = `simpleRootSum u` is the superdiagonal sum of the frame block. -/ |
| 82 | structure Place.IsBessel (η : Aˣ) : Prop extends IsBoundedMeasurable W where |
| 83 | /-- Left translation by u in the Bessel unipotent group multiplies W by |
| 84 | ψ(η · `simpleRootSum u`). -/ |
| 85 | map_unipotent_mul : ∀ u ∈ T.besselU, ∀ x : T.G, W (u * x) = ψ (η * simpleRootSum u) • W x |
| 86 | |
| 87 | /-- W is a cut Bessel function for the place datum: Bessel of frequency `F.levelUnit⁻¹`, and zero at |
| 88 | x unless ux lies in the box `F.boxSet` for some u in 𝖴 = `T.besselU`. -/ |
| 89 | structure PlaceData.IsCut : Prop extends P.IsBessel W F.levelUnit⁻¹ where |
| 90 | /-- W vanishes off the translates of the box `F.boxSet` by the Bessel unipotent group. -/ |
| 91 | exists_mul_mem_box : ∀ {x : T.G}, W x ≠ 0 → ∃ u ∈ T.besselU, u * x ∈ F.boxSet |
| 92 | |
| 93 | /-- The squared L² norm of the correlation ⟪W x, W y⟫ for the measure `F.quotientMeasureFrom 0` in |
| 94 | both variables, which stands for integration over 𝖴∖G. -/ |
| 95 | def PlaceData.pairingNormSq : ℝ≥0∞ := |
| 96 | ∫⁻ x : T.G, ∫⁻ y : T.G, ‖⟪W x, W y⟫_ℂ‖ₑ ^ 2 ∂F.quotientMeasureFrom 0 ∂F.quotientMeasureFrom 0 |
| 97 | |
| 98 | /-- At the position `x`: the correlation from floor `j` on (`F.partialCorrelation j`) of the kernel |
| 99 | ⟨W y, W y'⟩ at the points `g`, `g x`, times the conjugate of that of the kernel ⟨W y, W (d y')⟩ at |
| 100 | `w⁻¹ g`, `w⁻¹ g x`. -/ |
| 101 | def PlaceData.partialCorrelationProduct (d w g : T.G) : ℂ := |
| 102 | F.partialCorrelation j (frameCorrelation W 1) g (g * x) * |
| 103 | conj (F.partialCorrelation j (frameCorrelation W d) (w⁻¹ * g) (w⁻¹ * g * x)) |
| 104 | |
| 105 | /-- At the position x and the point g, the double integral ∬ ω(στ⁻¹) k(σg, σgx) |
| 106 | conj(k'(τw_p⁻¹g, τw_p⁻¹gx)) dθ_j(τ) dθ_j(σ). Here θ_j = `F.floorMeasure j`, w_p = `weylElem j p`, |
| 107 | and k, k' are the correlations from floor j + 1 on of |
| 108 | `New.Floors.PlaceData.partialCorrelationProduct` for the twist `weylRatio j p q`. -/ |
| 109 | def PlaceData.formIntegrand (ω : T.G → ℂ) (g : T.G) : ℂ := |
| 110 | ∫ σ : T.G, ∫ τ : T.G, ω (σ * τ⁻¹) * |
| 111 | F.partialCorrelationProduct (j + 1) W x (weylRatio j p q) (σ * weylElem j p * τ⁻¹) |
| 112 | (σ * g) ∂F.floorMeasure j ∂F.floorMeasure j |
| 113 | |
| 114 | /-- The form 𝓘_j(p, q; ω): the density κ_j = `F.headDensity j p q` times the integral of the double |
| 115 | integral `New.Floors.PlaceData.formIntegrand` over the position against 𝖬 = `F.groupMeasure` and |
| 116 | over the point against 𝗆_j = `F.partialGroupMeasure 0 j`. -/ |
| 117 | def PlaceData.floorForm (ω : T.G → ℂ) : ℂ := |
| 118 | (F.headDensity j p q).toReal * |
| 119 | ∫ z : T.G × T.G, F.formIntegrand j p q W z.1 ω z.2 ∂F.groupMeasure.prod |
| 120 | (F.partialGroupMeasure 0 j) |
| 121 | |
| 122 | /-- The number 𝖥_j(x; ω): at the position x, the integral against 𝗆_j = `F.partialGroupMeasure 0 j` |
| 123 | of the modulus of the double integral `New.Floors.PlaceData.formIntegrand` that defines |
| 124 | `F.floorForm`. -/ |
| 125 | def PlaceData.formIntegrandL1Norm (ω : T.G → ℂ) : ℝ≥0∞ := |
| 126 | ∫⁻ g : T.G, ‖F.formIntegrand j p q W x ω g‖ₑ ∂F.partialGroupMeasure 0 j |
| 127 | |
| 128 | /-- The majorant of the form at the position `x`: the integral against |
| 129 | 𝗆_j = `F.partialGroupMeasure 0 j` of the product of two factors `F.pivotL1Norm j`, one for each |
| 130 | kernel, each the integral over floor j of the modulus of the partial correlation from floor j + 1 |
| 131 | on. -/ |
| 132 | def PlaceData.formMajorant : ℝ≥0∞ := |
| 133 | ∫⁻ g : T.G, F.pivotL1Norm j (frameCorrelation W 1) g (g * x) * |
| 134 | F.pivotL1Norm j (frameCorrelation W (weylRatio j p q)) ((weylElem j p)⁻¹ * g) |
| 135 | ((weylElem j p)⁻¹ * g * x) ∂F.partialGroupMeasure 0 j |
| 136 | |
| 137 | /-- The product of the second moments `F.weightedSquareIntegral` of the two correlations at `x`, |
| 138 | times the constant made of the squared product of `F.floorModulus a (p a)⁻¹` over a < j and of the |
| 139 | cube of `Γ.floorsConst`. A number has the gain `ς` at `x` if its square is at most `ς ^ 2` times |
| 140 | this product; the density `F.headDensity` is not included. -/ |
| 141 | def Gauge.weightedSquareProduct : ℝ≥0∞ := |
| 142 | (∏ a ∈ .range j, F.floorModulus a (p a)⁻¹) ^ 2 * Γ.floorsConst ^ 3 * |
| 143 | F.weightedSquareIntegral 0 (frameCorrelation W 1) x * F.weightedSquareIntegral j |
| 144 | (frameCorrelation W (weylRatio j p q)) x |
| 145 | |
| 146 | /-- At the position `x`, the point `y` is active for the heads `p`, `q`: the correlation of `y` and |
| 147 | `y x` is not zero, and both points are near at `j` after the Weyl elements are undone. -/ |
| 148 | structure PlaceData.IsActive (y : T.G) : Prop where |
| 149 | /-- The correlation of the two points is not zero. -/ |
| 150 | inner_ne_zero : ⟪W y, W (y * x)⟫_ℂ ≠ 0 |
| 151 | /-- The point `w_p⁻¹ y` is near at `j`. -/ |
| 152 | isNear_left : F.IsNear j ((weylElem j p)⁻¹ * y) |
| 153 | /-- The point `w_q⁻¹ y x` is near at `j`. -/ |
| 154 | isNear_right : F.IsNear j ((weylElem j q)⁻¹ * (y * x)) |
| 155 | |
| 156 | /-- At the position `x`, every active point `y` has a frame vector e_a with `j ≤ a` whose depth |
| 157 | `F.depth a y x` is at least `D`. -/ |
| 158 | def PlaceData.HasDeepVector (D : ℝ≥0∞) : Prop := |
| 159 | ∀ y : T.G, F.IsActive j p q W x y → ∃ a : Fin 𝔰.ϱ, j ≤ a ∧ D ≤ F.depth a y x |
| 160 | |
| 161 | variable {j p q W x} |
| 162 | |
| 163 | /-- Every active point `y` at the position `x` has a frame vector e_a with `j ≤ a` of depth at least |
| 164 | `σ⁻¹` if and only if it has such a vector whose set of products `F.stableProducts a y x` has volume |
| 165 | at most `σ`. -/ |
| 166 | lemma PlaceData.hasDeepVector_inv_iff {σ : ℝ≥0∞} : F.HasDeepVector j p q W x σ⁻¹ ↔ |
| 167 | ∀ y : T.G, F.IsActive j p q W x y → |
| 168 | ∃ a : Fin 𝔰.ϱ, j ≤ a ∧ volume (F.stableProducts a y x) ≤ σ := by |
| 169 | simp only [HasDeepVector, le_depth_iff, inv_inv] |
| 170 | |
| 171 | omit [TopologicalSpace A] [MeasureSpace A] [Place A] [IsHermitianUnit T.splitGram] in |
| 172 | /-- For b ≤ ϱ, let x be in both R^(b+1) = `partialUnitriangularGroup (b + 1)` and G^(b) = |
| 173 | `floorGroup b`, so that x fixes the frame vector f_b. Then multiplying y by x on the left or on the |
| 174 | right leaves the diagonal entry h(f_b, y f_b) of Z(y) = `T.frameGram y` unchanged. -/ |
| 175 | theorem frameGram_diag_mul {x : T.G} {b : Fin 𝔰.n} |
| 176 | (h : x ∈ partialUnitriangularGroup (b + 1) ⊓ floorGroup b) (y : T.G) : |
| 177 | T.frameGram (x * y : T.G) b b = T.frameGram y b b ∧ |
| 178 | T.frameGram (y * x : T.G) b b = T.frameGram y b b := by |
| 179 | -- The entry pairs the orbit points of the factors, and both `x` and `x⁻¹` fix the frame vector. |
| 180 | have h_one : orbitPoint b (1 : T.G) = Pi.single (𝔰.besselFrame b) 1 := |
| 181 | orbitPoint_eq_iff.2 (one_mulVec _) |
| 182 | have h_fix {g : T.G} (hg : g ∈ partialUnitriangularGroup (b + 1) ⊓ floorGroup b) : |
| 183 | orbitPoint b g = orbitPoint b (1 : T.G) := by |
| 184 | exact ((mem_partialUnitriangularGroup_succ_iff (b := b) (s := g) hg.2).1 hg.1).trans h_one.symm |
| 185 | have entry (g k : T.G) := frameGram_eq_form_orbitPoint (σ := g) (τ := k) (b := b) |
| 186 | constructor |
| 187 | · have hxy := entry x y⁻¹ |
| 188 | rw [h_fix h, ← entry 1 y⁻¹] at hxy |
| 189 | simpa only [inv_inv, one_mul] using hxy |
| 190 | · have hyx := entry y x⁻¹ |
| 191 | rw [h_fix (inv_mem h), ← entry y 1] at hyx |
| 192 | simpa only [inv_inv, inv_one, mul_one] using hyx |
| 193 | |
| 194 | end |
| 195 | |
| 196 | variable {j p q W x} |
| 197 | |
| 198 | /-- The form of floor `j` with the weight `ω` is bounded by its L¹-norm version: |
| 199 | |𝓘_j(p, q; ω)| ≤ κ_j ∫ 𝖥_j(x; ω) d𝖬(x), where 𝓘_j = `F.floorForm j`, κ_j = `F.headDensity j p q`, |
| 200 | 𝖥_j = `F.formIntegrandL1Norm j` and 𝖬 = `F.groupMeasure`. -/ |
| 201 | theorem PlaceData.enorm_floorForm_le (ω : T.G → ℂ) : |
| 202 | ‖F.floorForm j p q W ω‖ₑ ≤ |
| 203 | F.headDensity j p q * ∫⁻ x : T.G, F.formIntegrandL1Norm j p q W x ω ∂F.groupMeasure := by |
| 204 | have h_density : ‖((F.headDensity j p q).toReal : ℂ)‖ₑ ≤ F.headDensity j p q := by |
| 205 | rw [← ofReal_norm, Complex.norm_real, Real.norm_of_nonneg toReal_nonneg] |
| 206 | exact ofReal_toReal_le |
| 207 | have h_integral : ‖∫ z : T.G × T.G, F.formIntegrand j p q W z.1 ω z.2 |
| 208 | ∂F.groupMeasure.prod (F.partialGroupMeasure 0 j)‖ₑ ≤ |
| 209 | ∫⁻ x : T.G, F.formIntegrandL1Norm j p q W x ω ∂F.groupMeasure := |
| 210 | (eNorm_integral_le_lintegral_eNorm _).trans (lintegral_prod_le _) |
| 211 | rw [floorForm, eNorm_mul] |
| 212 | exact mul_le_mul' h_density h_integral |
| 213 | |
| 214 | /-- The partial group measure of the last two floors, `ϱ` and `ϱ + 1`, is the convolution of the |
| 215 | Haar measure `F.measureH` of the group H = `besselH`, which is the measure of floor `ϱ + 1`, with |
| 216 | the measure of floor `ϱ`. -/ |
| 217 | theorem PlaceData.partialGroupMeasure_top : |
| 218 | F.partialGroupMeasure 𝔰.ϱ 2 = F.measureH ∗ₘ F.floorMeasure 𝔰.ϱ := by |
| 219 | simp [descConv] |
| 220 | |
| 221 | /-- The elements of the unitary group whose matrix entries have size `j` for the gauge `Γ` form a |
| 222 | compact set. -/ |
| 223 | lemma Gauge.isCompact_hasMatrixSize {j : ℕ} (Γ : Gauge F) : |
| 224 | IsCompact {y : T.G | Γ.HasMatrixSize j (y : Matrix 𝔰.BesselIndex 𝔰.BesselIndex A)} := |
| 225 | (Matrix.unitaryGroupOf.isClosedEmbedding_val H.isUnit).isCompact_preimage |
| 226 | (Γ.isCompact_ofSize _).matrix |
| 227 | |
| 228 | /-- A cut Bessel function `W` vanishes off the points near at `j`, for every `j`: if `W x ≠ 0`, then |
| 229 | `u x` lies in the box `F.boxSet` for some `u` in `partialUnitriangularGroup j`. -/ |
| 230 | theorem PlaceData.IsCut.isNear_of_ne_zero (hk : F.IsCut W) (h : W x ≠ 0) : F.IsNear j x := by |
| 231 | obtain ⟨u, hu, hu_box⟩ : ∃ u ∈ T.besselU, u * x ∈ F.boxSet := hk.exists_mul_mem_box h |
| 232 | exact ⟨u, mem_partialUnitriangularGroup_of_mem_besselU hu, hu_box⟩ |
| 233 | |
| 234 | /-- The two floor variables separate after taking norms, giving one pivot integral for each. -/ |
| 235 | private lemma PlaceData.IsCut.lintegral_formTerm_le {W : T.G → EuclideanSpace ℂ I} |
| 236 | (hW : F.IsCut W) {ω : T.G → ℂ} (hω : ∀ y : T.G, ‖ω y‖ ≤ 1) (x g : T.G) : |
| 237 | ∫⁻ σ : T.G, ∫⁻ τ : T.G, ‖ω (σ * τ⁻¹) * F.partialCorrelationProduct (j + 1) W x |
| 238 | (weylRatio j p q) (σ * weylElem j p * τ⁻¹) (σ * g)‖ₑ ∂F.floorMeasure j ∂F.floorMeasure j ≤ |
| 239 | F.pivotL1Norm j (frameCorrelation W 1) g (g * x) * |
| 240 | F.pivotL1Norm j (frameCorrelation W (weylRatio j p q)) ((weylElem j p)⁻¹ * g) |
| 241 | ((weylElem j p)⁻¹ * g * x) := by |
| 242 | have hW_meas := hW.stronglyMeasurable |
| 243 | have hχ (y : T.G) : ‖ω y‖ₑ ≤ 1 := by simpa [← ofReal_norm] using ofReal_le_one.2 (hω y) |
| 244 | simp only [eNorm_mul] |
| 245 | grw [hχ] |
| 246 | simp only [one_mul, pivotL1Norm, partialCorrelationProduct, eNorm_mul, eNorm_conj, |
| 247 | _root_.mul_inv_rev, inv_inv, mul_assoc, inv_mul_cancel_left] |
| 248 | exact (lintegral_lintegral_mul |
| 249 | (by apply Measurable.aemeasurable; fun_prop [partialCorrelation]) |
| 250 | (by apply Measurable.aemeasurable; fun_prop [partialCorrelation])).le |
| 251 | |
| 252 | /-- Let W be a cut Bessel function and |ω| ≤ 1 everywhere. For every floor `j : ℕ`, all sequences of |
| 253 | units `p q : ℕ → Aˣ` and every point x of the group, the L¹ norm 𝖥_j(x; ω) of the form integrand at |
| 254 | x is at most the majorant `F.formMajorant j p q W x`. -/ |
| 255 | theorem PlaceData.IsCut.formIntegrandL1Norm_le_formMajorant {W : T.G → EuclideanSpace ℂ I} {x : T.G} |
| 256 | (hW : F.IsCut W) {ω : T.G → ℂ} (hω_le : ∀ y : T.G, ‖ω y‖ ≤ 1) : |
| 257 | F.formIntegrandL1Norm j p q W x ω ≤ F.formMajorant j p q W x := by |
| 258 | rw [formIntegrandL1Norm, formMajorant] |
| 259 | refine lintegral_mono fun g ↦ (eNorm_integral_le_lintegral_eNorm _).trans ?_ |
| 260 | exact (lintegral_mono fun σ ↦ eNorm_integral_le_lintegral_eNorm _).trans |
| 261 | (hW.lintegral_formTerm_le hω_le x g) |
| 262 | |
| 263 | /-- Compact support of the orbital integrals, with a bound. Let W be a cut Bessel function, p a head |
| 264 | of length ϱ for the gauge Γ, with Weyl element w_p = `weylElem 𝔰.ϱ p`, and x in |
| 265 | G^(ϱ) = `floorGroup 𝔰.ϱ`. If W(y) ≠ 0 and W((w_p x)⁻¹y) ≠ 0, then the entries of y have size 60 n², |
| 266 | where n = `𝔰.n` = ϱ + 1: the unipotent factors that move the two points into the box are solved from |
| 267 | the minors of the head. -/ |
| 268 | theorem Gauge.hasMatrixSize_of_ne_zero {p : ℕ → Aˣ} {W : T.G → EuclideanSpace ℂ I} {x : T.G} |
| 269 | (Γ : Gauge F) (hW : F.IsCut W) {y : T.G} (hp : Γ.IsHead 𝔰.ϱ p) (hx_top : x ∈ floorGroup 𝔰.ϱ) |
| 270 | (hy : W y ≠ 0) (hy' : W ((weylElem 𝔰.ϱ p * x)⁻¹ * y) ≠ 0) : |
| 271 | Γ.HasMatrixSize (60 * 𝔰.n ^ 2) (y : Matrix 𝔰.BesselIndex 𝔰.BesselIndex A) := by |
| 272 | obtain ⟨u, hu, hu_box⟩ : ∃ u ∈ T.besselU, u * y ∈ F.boxSet := hW.exists_mul_mem_box hy |
| 273 | -- The factor `x⁻¹` lies in `floorGroup 𝔰.ϱ`, so it does not affect nearness at the floor `𝔰.ϱ`. |
| 274 | have h_near_mul : F.IsNear 𝔰.ϱ (x⁻¹ * ((weylElem 𝔰.ϱ p)⁻¹ * y)) := by |
| 275 | simpa [mul_assoc] using hW.isNear_of_ne_zero hy' |
| 276 | have h_near : F.IsNear 𝔰.ϱ ((weylElem 𝔰.ϱ p)⁻¹ * y) := |
| 277 | h_near_mul.of_floorGroup_mul (inv_mem hx_top) |
| 278 | have hu_below : u ∈ unipotentBelow 𝔰.ϱ := (unipotentBelow_eq_besselU .refl).ge hu |
| 279 | have hu_unitri : u ∈ partialUnitriangularGroup 𝔰.ϱ := |
| 280 | mem_partialUnitriangularGroup_of_mem_besselU hu |
| 281 | obtain ⟨hy_size, -⟩ := |
| 282 | Size.hasMatrixSize_of_isHead Γ.hasMatrixSize_boxSet .refl h_near ⟨hu_unitri, hu_box⟩ hp hu_below |
| 283 | exact hy_size |
| 284 | |
| 285 | /-- The inner product of two orbital integrals as an integral over two copies of the group. Let Γ be |
| 286 | a gauge for the place datum F and μ a Haar measure. Let W be a continuous cut Bessel function, that |
| 287 | is a Bessel function that vanishes off the 𝖴-translates of the box of F. Let p and q be heads of |
| 288 | length ϱ for Γ, with Weyl elements w_p = `weylElem 𝔰.ϱ p` and w_q, and let x be in the subgroup |
| 289 | G^(ϱ) = `floorGroup 𝔰.ϱ`. Write J(γ) = ∫ W(y) ⊗ W(γ⁻¹y)^* dμ(y) for `besselOrbitalIntegral μ W γ`. |
| 290 | Then ⟨J(w_p x), J(w_q x)⟩ is the μ×μ-integral over (y, y') of ⟨Wy, Wy'⟩ times the conjugate of |
| 291 | ⟨W((w_p x)⁻¹y), W((w_q x)⁻¹y')⟩. -/ |
| 292 | theorem Gauge.inner_besselOrbitalIntegral {p q : ℕ → Aˣ} {W : T.G → EuclideanSpace ℂ I} {x : T.G} |
| 293 | (Γ : Gauge F) (hk : F.IsCut W) {μ : Measure T.G} [IsHaarMeasure μ] (hW : Continuous W) |
| 294 | (hp : Γ.IsHead 𝔰.ϱ p) (hq : Γ.IsHead 𝔰.ϱ q) (hx_top : x ∈ floorGroup 𝔰.ϱ) : |
| 295 | ⟪besselOrbitalIntegral μ W (weylElem 𝔰.ϱ p * x), |
| 296 | besselOrbitalIntegral μ W (weylElem 𝔰.ϱ q * x)⟫_ℂ = |
| 297 | ∫ z : T.G × T.G, ⟪W z.1, W z.2⟫_ℂ * |
| 298 | conj ⟪W ((weylElem 𝔰.ϱ p * x)⁻¹ * z.1), W ((weylElem 𝔰.ϱ q * x)⁻¹ * z.2)⟫_ℂ ∂μ.prod μ := by |
| 299 | -- The coordinate `i` of `besselOrbitalIntegral μ W (weylElem 𝔰.ϱ r * x)` is the integral of |
| 300 | -- `f r i`. |
| 301 | let f (r : ℕ → Aˣ) (i : I × I) (y : T.G) : ℂ := |
| 302 | W y i.1 * conj (W ((weylElem 𝔰.ϱ r * x)⁻¹ * y) i.2) |
| 303 | -- For a head `r`, `f r i` is continuous by `hW` and lives on the compact set of points of size |
| 304 | -- 60 n². |
| 305 | have h_integrable {r : ℕ → Aˣ} (hr : Γ.IsHead 𝔰.ϱ r) (i : I × I) : Integrable (f r i) μ := by |
| 306 | have h_support : HasCompactSupport (f r i) := by |
| 307 | refine .intro (Γ.isCompact_hasMatrixSize (j := 60 * 𝔰.n ^ 2)) fun y hy ↦ ?_ |
| 308 | by_contra h_ne |
| 309 | obtain ⟨h_left, h_right⟩ : |
| 310 | W y i.1 ≠ 0 ∧ conj (W ((weylElem 𝔰.ϱ r * x)⁻¹ * y) i.2) ≠ 0 := mul_ne_zero_iff.1 h_ne |
| 311 | refine hy (Γ.hasMatrixSize_of_ne_zero hk hr hx_top (fun h_zero ↦ ?_) fun h_zero ↦ ?_) |
| 312 | · exact h_left (by rw [h_zero, PiLp.zero_apply]) |
| 313 | · exact h_right (by rw [h_zero, PiLp.zero_apply, map_zero]) |
| 314 | exact h_support.integrable |
| 315 | have h_integrable_prod (i : I × I) : |
| 316 | Integrable (fun z : T.G × T.G ↦ conj (f p i z.1) * f q i z.2) (μ.prod μ) := |
| 317 | (Complex.conjCLE.integrable_comp_iff.2 (h_integrable hp i)).mul_prod (h_integrable hq i) |
| 318 | calc ⟪besselOrbitalIntegral μ W (weylElem 𝔰.ϱ p * x), |
| 319 | besselOrbitalIntegral μ W (weylElem 𝔰.ϱ q * x)⟫_ℂ |
| 320 | _ = ∑ i : I × I, conj (∫ y : T.G, f p i y ∂μ) * ∫ y : T.G, f q i y ∂μ := by |
| 321 | simp only [PiLp.inner_apply, inner_apply', besselOrbitalIntegral, f] |
| 322 | _ = ∑ i : I × I, ∫ z : T.G × T.G, conj (f p i z.1) * f q i z.2 ∂μ.prod μ := by |
| 323 | simp only [← integral_conj, ← integral_prod_mul] |
| 324 | _ = ∫ z : T.G × T.G, ∑ i : I × I, conj (f p i z.1) * f q i z.2 ∂μ.prod μ := |
| 325 | (integral_finsetSum _ fun i _ ↦ h_integrable_prod i).symm |
| 326 | _ = ∫ z : T.G × T.G, ⟪W z.1, W z.2⟫_ℂ * conj ⟪W ((weylElem 𝔰.ϱ p * x)⁻¹ * z.1), |
| 327 | W ((weylElem 𝔰.ϱ q * x)⁻¹ * z.2)⟫_ℂ ∂μ.prod μ := by |
| 328 | refine integral_congr_ae (.of_forall fun z : T.G × T.G ↦ ?_) |
| 329 | simp only [f, PiLp.inner_apply, inner_apply', sum_prod_type, Finset.sum_mul_sum, |
| 330 | _root_.map_sum, map_mul, conj_conj] |
| 331 | exact sum_congr rfl fun i _ ↦ sum_congr rfl fun i' _ ↦ by ring |
| 332 | |
| 333 | /-- Let `W` be a cut Bessel function for the place datum `F`, which has a gauge, and `p`, `q` two |
| 334 | sequences of units. The kernel `⟪W g, W (w y)⟫`, with `w` = `weylRatio j p q`, satisfies the rules |
| 335 | of `New.Floors.PlaceData.IsPairingKernel`: it is measurable, transforms by a character under the |
| 336 | unipotent groups, its `w` commutes with the group of floor `j`, it has bounded mass, and its partial |
| 337 | correlations vanish unless the first point is near. -/ |
| 338 | lemma Gauge.isPairingKernel_frameCorrelation (Γ : Gauge F) (hW : F.IsCut W) (j : ℕ) (p q : ℕ → Aˣ) : |
| 339 | F.IsPairingKernel j (frameCorrelation W (weylRatio j p q)) (weylRatio j p q) := by |
| 340 | have hW_meas : StronglyMeasurable W := hW.stronglyMeasurable |
| 341 | obtain ⟨C, hC⟩ : ∃ C : ℝ, ∀ y : T.G, ‖W y‖ ≤ C := hW.bounded |
| 342 | refine |
| 343 | { measurable := by fun_prop |
| 344 | equivariance := fun {l u v} hu hv g y ↦ ?_ |
| 345 | conj_eq_self := fun σ hσ ↦ ?_ |
| 346 | exists_lintegral_le := fun l ↦ ?_ |
| 347 | isNear_of_partialCorrelation_ne_zero := fun {l g y} h_ne ↦ ?_ } |
| 348 | · -- The law holds under the integral. Move `u` and `v` to the left by conjugation; they stay in |
| 349 | -- the Bessel group `besselU`, where `W` transforms by the character |
| 350 | -- `ψ (simpleRootSum · / F.levelUnit)`. |
| 351 | simp only [partialCorrelation, ← integral_const_mul] |
| 352 | refine integral_congr_ae ?_ |
| 353 | filter_upwards [ae_descConv_mem ae_floorMeasure_mem] with σ hσ |
| 354 | have hσ' : σ ∈ floorGroup l := floorGroup_anti l.le_succ hσ |
| 355 | have h_left : W (σ * (u * g)) = ψ (F.levelUnit⁻¹.val * simpleRootSum (σ * u * σ⁻¹)) • W |
| 356 | (σ * g) := by |
| 357 | rw [show σ * (u * g) = σ * u * σ⁻¹ * (σ * g) by group] |
| 358 | exact hW.map_unipotent_mul _ (unipotentBelow_le_besselU (conj_mem_unipotentBelow hσ' hu)) |
| 359 | (σ * g) |
| 360 | let v' : T.G := (weylRatio j q p)⁻¹ * (σ * v * σ⁻¹) * weylRatio j q p |
| 361 | have hv' : v' ∈ T.besselU := |
| 362 | conj_mem_unitriangular (by simp [coe_weylRatio, blockTriangular_diagonal]) |
| 363 | (unipotentBelow_le_besselU (conj_mem_unipotentBelow hσ' hv)) |
| 364 | have h_right : W (weylRatio j p q * (σ * (v * y))) = |
| 365 | ψ (F.levelUnit⁻¹.val * simpleRootSum v') • W (weylRatio j p q * (σ * y)) := by |
| 366 | have h_point : weylRatio j p q * (σ * (v * y)) = v' * (weylRatio j p q * (σ * y)) := by |
| 367 | simp [v', weylRatio, mul_assoc] |
| 368 | rw [h_point, hW.map_unipotent_mul v' hv'] |
| 369 | -- Conjugation by `σ` keeps the entries summed by `simpleRootSum`, and `weylRatio` is diagonal. |
| 370 | have h_sum_left : simpleRootSum (σ * u * σ⁻¹) = simpleRootSum u := |
| 371 | sum_congr rfl fun a _ ↦ superdiag_conj_eq hu hσ |
| 372 | have h_sum_right : |
| 373 | simpleRootSum v' = simpleRootSum (weylRatio j p q * v * (weylRatio j p q)⁻¹) := by |
| 374 | -- `besselFrame_castSucc` would rewrite the indices that `superdiag_conj_eq` has to match. |
| 375 | simp [v', simpleRootSum, ← superdiag_conj_eq hv hσ, -besselFrame_castSucc, weylRatio_inv, |
| 376 | coe_weylRatio] |
| 377 | simp only [frameCorrelation, h_left, h_right] |
| 378 | -- The first scalar leaves the inner product conjugated, that is inverted. |
| 379 | rw [h_sum_left, h_sum_right, inner_smul_left, inner_smul_right, mul_sub, P.ψ.map_sub_eq_div, |
| 380 | ← inv_eq_conj (P.norm_psi _), div_eq_mul_inv] |
| 381 | ring |
| 382 | · exact (commute_weylRatio hσ).mul_inv_cancel |
| 383 | · -- The kernel is bounded and lives on near points, whose mass on each floor is at most the |
| 384 | -- finite number `V` given by `floorMassLe_one`. |
| 385 | obtain ⟨V, hV_ne, hV⟩ : ∃ V : ℝ≥0∞, V ≠ ∞ ∧ ∀ a : Fin 𝔰.n, F.FloorMassLe a V 1 := by |
| 386 | refine ⟨_, ne_of_lt ?_, Γ.floorMassLe_one⟩ |
| 387 | grw [Γ.volume_ofSize_le] |
| 388 | finiteness [Γ.loss_ne_top] |
| 389 | refine ⟨.ofReal (|C| * C) * V ^ (𝔰.n - l), by finiteness, fun g y ↦ ?_⟩ |
| 390 | let near : Set T.G := {σ : T.G | F.IsNear (𝔰.ϱ + 2) (σ * g)} |
| 391 | let modulus (σ : T.G) : ℝ≥0∞ := ‖⟪W (σ * g), W (weylRatio j p q * (σ * y))⟫_ℂ‖ₑ |
| 392 | have h_supp : support modulus ⊆ near := fun σ hσ ↦ |
| 393 | hW.isNear_of_ne_zero fun h_zero ↦ hσ (by simp [modulus, h_zero]) |
| 394 | have h_bound (σ : T.G) : modulus σ ≤ .ofReal (|C| * C) := by |
| 395 | unfold modulus |
| 396 | grw [← ofReal_norm, norm_inner_le_norm, hC, le_abs_self C, hC] |
| 397 | calc ∫⁻ σ : T.G, modulus σ ∂F.quotientMeasureFrom l |
| 398 | _ = ∫⁻ σ : T.G in near, modulus σ ∂F.quotientMeasureFrom l := |
| 399 | (setLIntegral_eq_of_support_subset h_supp).symm |
| 400 | _ ≤ ∫⁻ _ : T.G in near, .ofReal (|C| * C) ∂F.quotientMeasureFrom l := lintegral_mono h_bound |
| 401 | _ = .ofReal (|C| * C) * F.quotientMeasureFrom l near := setLIntegral_const _ _ |
| 402 | _ ≤ .ofReal (|C| * C) * V ^ (𝔰.n - l) := by |
| 403 | gcongr |
| 404 | exact quotientMeasureFrom_isNear_le hV l g |
| 405 | · -- If `g` is not near, the first factor `W (σ * g)` vanishes for all `σ` in `floorGroup l`. |
| 406 | by_contra h_far |
| 407 | refine h_ne (integral_eq_zero_of_ae ?_) |
| 408 | filter_upwards [ae_descConv_mem ae_floorMeasure_mem] with σ hσ |
| 409 | have h_zero : W (σ * g) = 0 := by |
| 410 | by_contra hσg |
| 411 | exact h_far ((hW.isNear_of_ne_zero hσg).of_floorGroup_mul hσ) |
| 412 | simp [h_zero] |
| 413 | |
| 414 | /-- For a place datum F with a gauge and a cut Bessel function W, the function (x, y) ↦ ⟨W(x), W(y)⟩ |
| 415 | is a kernel in the sense of `New.Floors.PlaceData.IsPairingKernel` at floor j, with twisting element |
| 416 | 1. -/ |
| 417 | theorem Gauge.isPairingKernel_frameCorrelation_one {W : T.G → EuclideanSpace ℂ I} (Γ : Gauge F) |
| 418 | (hk : F.IsCut W) (j : ℕ) : F.IsPairingKernel j (frameCorrelation W 1) 1 := by |
| 419 | simpa [weylRatio] using Γ.isPairingKernel_frameCorrelation hk j 1 1 |
| 420 | |
| 421 | /-- Let the place datum `F` have a gauge and let `W` be a cut Bessel function. For every floor |
| 422 | `j : ℕ`, all sequences of units `p q : ℕ → Aˣ` and every position `x`, the double integral over |
| 423 | floor `j` with the weight `1`, `F.formIntegrand j p q W x 1`, is the product of two correlations |
| 424 | from floor `j` on, `F.partialCorrelationProduct j W x (weylRatio j p q) (weylElem j p)`. -/ |
| 425 | lemma PlaceData.partialCorrelationProduct_eq {W : T.G → EuclideanSpace ℂ I} {x : T.G} (Γ : Gauge F) |
| 426 | (hW : F.IsCut W) : |
| 427 | F.partialCorrelationProduct j W x (weylRatio j p q) (weylElem j p) = F.formIntegrand j p q W x |
| 428 | 1 := by |
| 429 | -- With weight 1 the double integral splits into the averages of the two kernels over floor `j`. |
| 430 | have h_plain (y z : T.G) : F.partialCorrelation j (frameCorrelation W 1) y z = |
| 431 | ∫ σ : T.G, F.partialCorrelation (j + 1) (frameCorrelation W 1) (σ * y) (σ * z) ∂F.floorMeasure |
| 432 | j := |
| 433 | (Γ.isPairingKernel_frameCorrelation_one hW j).partialCorrelation_eq_integral_floorMeasure |
| 434 | have h_twisted (y z : T.G) : F.partialCorrelation j (frameCorrelation W (weylRatio j p q)) y z = |
| 435 | ∫ σ : T.G, F.partialCorrelation (j + 1) (frameCorrelation W (weylRatio j p q)) (σ * y) (σ * z) |
| 436 | ∂F.floorMeasure j := |
| 437 | (Γ.isPairingKernel_frameCorrelation hW j p q).partialCorrelation_eq_integral_floorMeasure |
| 438 | funext g |
| 439 | simp [← h_plain, ← h_twisted, integral_conj, partialCorrelationProduct, mul_assoc, formIntegrand, |
| 440 | integral_const_mul, integral_mul_const] |
| 441 | |
| 442 | /-- The mass. For a place datum `F` with a gauge and a cut Bessel function `W`, the form of floor |
| 443 | `0` for the weight `1` is the integral of `|k₀(1, z)|²` in `z` against `F.groupMeasure`. Here |
| 444 | `k₀ = F.partialCorrelation 0 k` is the correlation from floor `0` on, an integral over all floors, |
| 445 | of the kernel `k = frameCorrelation W 1`. -/ |
| 446 | theorem PlaceData.floorForm_zero_eq_integral (Γ : Gauge F) (hW : F.IsCut W) (p q : ℕ → Aˣ) : |
| 447 | F.floorForm 0 p q W 1 = |
| 448 | (∫ z : T.G, ‖F.partialCorrelation 0 (frameCorrelation W 1) 1 z‖ ^ 2 ∂F.groupMeasure : ℝ) := by |
| 449 | -- Below floor `0` there is only the point `1`, and the Weyl elements of length `0` are trivial. |
| 450 | have h_point (z : T.G) : F.formIntegrand 0 p q W z 1 1 = |
| 451 | (‖F.partialCorrelation 0 (frameCorrelation W 1) 1 z‖ ^ 2 : ℝ) := by |
| 452 | rw [← partialCorrelationProduct_eq Γ hW] |
| 453 | simp [partialCorrelationProduct, weylRatio, Complex.mul_conj'] |
| 454 | have h_density : F.headDensity 0 p q = 1 := prod_range_zero _ |
| 455 | have h_stack : F.partialGroupMeasure 0 0 = dirac 1 := rfl |
| 456 | rw [floorForm, h_density, h_stack, prod_dirac, |
| 457 | (measurableEmbedding_prod_mk_right 1).integral_map, ← integral_complex_ofReal] |
| 458 | simp only [h_point, toReal_one, Complex.ofReal_one, one_mul] |
| 459 | |
| 460 | /-- The form of floor `b` as an integral of products of correlations from floor `b + 1` on. Let the |
| 461 | place datum `F` have a gauge, let `W` be a cut Bessel function whose majorant |
| 462 | `F.formMajorant b p q W`, for sequences of units `p q : ℕ → Aˣ`, has a finite integral against |
| 463 | 𝖬 = `F.groupMeasure`, and let φ be measurable with |φ| ≤ 1. Let `F.floorMeasure b` be the image |
| 464 | under `(c, n) ↦ (v c)⁻¹ * n` of the product of `volume.withDensity ρ` and `ζ`, where `v` and `ρ` are |
| 465 | measurable, `ρ` is a.e. finite and `ζ` is carried by |
| 466 | `partialUnitriangularGroup (b + 1) ⊓ floorGroup b`. Write Z(x) for the Gram entry |
| 467 | `T.frameGram x b b`. Let `Ψ c` be, for almost every `c`, the product of `t`, the density |
| 468 | `F.headDensity b p q`, `ρ c`, φ(Z(v c)) and the integral over positions and points of |
| 469 | `F.partialCorrelationProduct (b + 1)` for the twist `weylRatio b p q` and the element |
| 470 | `weylElem b p * v c`. Then `Ψ` is integrable, and its integral is `t` times the form |
| 471 | `F.floorForm b p q W (φ ∘ Z)`. -/ |
| 472 | lemma PlaceData.integrable_and_integral_succ_eq_mul_floorForm {W : T.G → EuclideanSpace ℂ I} |
| 473 | (Γ : Gauge F) (hW : F.IsCut W) (b : Fin 𝔰.n) {ζ : Measure T.G} [SFinite ζ] {v : A → T.G} |
| 474 | {ρ : A → ℝ≥0∞} {Ψ φ : A → ℂ} {t : ℂ} (hφ : Measurable φ) (hφ_le : ∀ c : A, ‖φ c‖ ≤ 1) |
| 475 | (h_fin : ∫⁻ x : T.G, F.formMajorant b p q W x ∂F.groupMeasure ≠ ∞) |
| 476 | (hζ : ∀ᵐ n : T.G ∂ζ, n ∈ partialUnitriangularGroup (b + 1) ⊓ floorGroup b) |
| 477 | (hρ : ∀ᵐ c : A, ρ c < ∞) |
| 478 | (h_conv : F.floorMeasure b = (volume.withDensity ρ).map (fun c : A ↦ (v c)⁻¹) ∗ₘ ζ) |
| 479 | (hΨ : ∀ᵐ c : A, |
| 480 | Ψ c = t * |
| 481 | (F.headDensity b p q * ρ c).toReal • |
| 482 | (φ (T.frameGram (v c) b b) * |
| 483 | ∫ z : T.G × T.G, F.partialCorrelationProduct (b + 1) W z.1 (weylRatio b p q) |
| 484 | (weylElem b p * v c) |
| 485 | z.2 ∂F.groupMeasure.prod ((ζ ∗ₘ F.floorMeasure b) ∗ₘ F.partialGroupMeasure 0 b))) |
| 486 | (hv : Measurable v := by fun_prop) (hρm : Measurable ρ := by fun_prop) : |
| 487 | Integrable Ψ ∧ ∫ c : A, Ψ c = |
| 488 | t * F.floorForm b p q W fun x : T.G ↦ φ (T.frameGram x b b) := by |
| 489 | -- The substitution `τ = (v c)⁻¹ n σ`, `g' = n σ g` (`n` under `ζ`) shows that the integrand |
| 490 | -- `succTerm` on floor `b + 1` and the integrand `formTerm` of `formIntegrand` have the same image |
| 491 | -- measure; Fubini does the rest. |
| 492 | let χ (x : T.G) : ℂ := φ (T.frameGram x b b) |
| 493 | have hχ : Measurable χ := by fun_prop [frameGram] |
| 494 | have hχ_left {n : T.G} (hn : n ∈ partialUnitriangularGroup (b + 1) ⊓ floorGroup b) (y : T.G) : |
| 495 | χ (n * y) = χ y := congrArg φ (frameGram_diag_mul hn y).1 |
| 496 | have hχ_right {n : T.G} (hn : n ∈ partialUnitriangularGroup (b + 1) ⊓ floorGroup b) (y : T.G) : |
| 497 | χ (y * n) = χ y := congrArg φ (frameGram_diag_mul hn y).2 |
| 498 | have h_plain : F.IsPairingKernel b (frameCorrelation W 1) 1 := |
| 499 | Γ.isPairingKernel_frameCorrelation_one hW b |
| 500 | have h_twisted : F.IsPairingKernel b (frameCorrelation W (weylRatio b p q)) (weylRatio b p q) := |
| 501 | Γ.isPairingKernel_frameCorrelation hW b p q |
| 502 | let succTerm : (T.G × T.G) × A → ℂ := fun (z, c) ↦ |
| 503 | χ (v c) * F.partialCorrelationProduct (b + 1) W z.1 (weylRatio b p q) (weylElem b p * v c) z.2 |
| 504 | let formTerm : ((T.G × T.G) × T.G) × T.G → ℂ := fun (((x, g), σ), τ) ↦ |
| 505 | χ (σ * τ⁻¹) * F.partialCorrelationProduct (b + 1) W x (weylRatio b p q) (σ * weylElem b p * τ⁻¹) |
| 506 | (σ * g) |
| 507 | have h_succ_meas : Measurable succTerm := by |
| 508 | unfold succTerm |
| 509 | fun_prop [partialCorrelationProduct] |
| 510 | have h_form_meas : Measurable formTerm := by |
| 511 | unfold formTerm |
| 512 | fun_prop [partialCorrelationProduct] |
| 513 | let ν : Measure (T.G × T.G) := |
| 514 | F.groupMeasure.prod ((ζ ∗ₘ F.floorMeasure b) ∗ₘ F.partialGroupMeasure 0 b) |
| 515 | let μ_succ : Measure ((T.G × T.G) × A) := ν.prod (volume.withDensity ρ) |
| 516 | let μ_form : Measure (((T.G × T.G) × T.G) × T.G) := |
| 517 | ((F.groupMeasure.prod (F.partialGroupMeasure 0 b)).prod (F.floorMeasure b)).prod |
| 518 | (F.floorMeasure b) |
| 519 | have h_invariant (x g σ τ : T.G) {s : T.G} |
| 520 | (hs : s ∈ partialUnitriangularGroup (b + 1) ⊓ floorGroup b) : |
| 521 | formTerm (((x, g), σ), s * τ) = formTerm (((x, g), σ), τ) := by |
| 522 | simp [formTerm, partialCorrelationProduct, mul_assoc s, ← mul_assoc σ, hχ_right (inv_mem hs), |
| 523 | h_twisted.partialCorrelation_mul_left (b : ℕ).le_succ hs] |
| 524 | have h_subst (x g : T.G) (c : A) {σ n : T.G} (hσ : σ ∈ floorGroup b) |
| 525 | (hn : n ∈ partialUnitriangularGroup (b + 1) ⊓ floorGroup b) : |
| 526 | formTerm (((x, g), σ), (v c)⁻¹ * n * σ) = succTerm ((x, n * σ * g), c) := by |
| 527 | simp [formTerm, succTerm, partialCorrelationProduct, weylElem_mul_left_comm hn.2, |
| 528 | weylElem_mul_left_comm hσ, h_plain.partialCorrelation_mul_left (b : ℕ).le_succ hn, |
| 529 | hχ_left (inv_mem hn), mul_assoc] |
| 530 | -- For fixed `x`, `g`, `σ`: translate `τ` by `σ`, then expand `F.floorMeasure b` by `h_conv`. |
| 531 | have h_fiber {f : ℂ → ℝ≥0∞} (hf : Measurable f) (x g : T.G) {σ : T.G} (hσ : σ ∈ floorGroup b) : |
| 532 | ∫⁻ n : T.G, ∫⁻ c : A, f (succTerm ((x, n * σ * g), c)) ∂volume.withDensity ρ ∂ζ = |
| 533 | ∫⁻ τ : T.G, f (formTerm (((x, g), σ), τ)) ∂F.floorMeasure b := |
| 534 | calc |
| 535 | _ = ∫⁻ n : T.G, ∫⁻ c : A, f (formTerm (((x, g), σ), (v c)⁻¹ * n * σ)) |
| 536 | ∂volume.withDensity ρ ∂ζ := |
| 537 | lintegral_congr_of_ae_imp hζ fun n hn ↦ by simp only [h_subst x g _ hσ hn] |
| 538 | _ = ∫⁻ τ : T.G, f (formTerm (((x, g), σ), τ * σ)) ∂F.floorMeasure b := by |
| 539 | rw [h_conv, lintegral_mconv_symm (by fun_prop)] |
| 540 | exact lintegral_congr fun n ↦ by rw [lintegral_map (by fun_prop) (by fun_prop)] |
| 541 | _ = ∫⁻ τ : T.G, f (formTerm (((x, g), σ), τ)) ∂F.floorMeasure b := |
| 542 | lintegral_floorMeasure_mul_right (f := fun τ : T.G ↦ f (formTerm (((x, g), σ), τ))) le_rfl |
| 543 | (fun s hs τ ↦ congrArg f (h_invariant x g σ τ hs)) |
| 544 | ⟨mem_partialUnitriangularGroup_of_mem_floorGroup hσ, hσ⟩ |
| 545 | have h_law : ProbabilityTheory.IdentDistrib succTerm formTerm μ_succ μ_form := by |
| 546 | refine ⟨h_succ_meas.aemeasurable, h_form_meas.aemeasurable, ext_of_lintegral _ fun f hf ↦ ?_⟩ |
| 547 | rw [lintegral_map hf h_succ_meas, lintegral_map hf h_form_meas] |
| 548 | -- Write both sides as iterated integrals over `x`, `g`, `σ` and the remaining variables. |
| 549 | dsimp only [μ_succ, μ_form, ν] |
| 550 | have hs : Measurable fun z ↦ f (succTerm z) := hf.comp h_succ_meas |
| 551 | have hF : Measurable fun z ↦ f (formTerm z) := hf.comp h_form_meas |
| 552 | rw [lintegral_prod _ hs.aemeasurable, lintegral_prod _ hs.lintegral_prod_right'.aemeasurable, |
| 553 | lintegral_prod _ hF.aemeasurable, lintegral_prod _ hF.lintegral_prod_right'.aemeasurable, |
| 554 | lintegral_prod _ hF.lintegral_prod_right'.lintegral_prod_right'.aemeasurable] |
| 555 | refine lintegral_congr fun x ↦ ?_ |
| 556 | rw [lintegral_mconv_symm (by fun_prop)] |
| 557 | refine lintegral_congr fun g ↦ ?_ |
| 558 | rw [lintegral_mconv_symm (by fun_prop)] |
| 559 | exact lintegral_congr_of_ae_imp ae_floorMeasure_mem fun σ hσ ↦ h_fiber hf x g hσ |
| 560 | -- As `‖χ‖ ≤ 1`, the integral of `‖formTerm‖` is at most that of `F.formMajorant`. |
| 561 | have h_form_le : ∫⁻ z : ((T.G × T.G) × T.G) × T.G, ‖formTerm z‖ₑ ∂μ_form ≤ |
| 562 | ∫⁻ x : T.G, F.formMajorant b p q W x ∂F.groupMeasure := by |
| 563 | dsimp only [μ_form] |
| 564 | have hF := h_form_meas.eNorm |
| 565 | rw [lintegral_prod _ hF.aemeasurable, lintegral_prod _ hF.lintegral_prod_right'.aemeasurable, |
| 566 | lintegral_prod _ hF.lintegral_prod_right'.lintegral_prod_right'.aemeasurable] |
| 567 | refine lintegral_mono fun x ↦ lintegral_mono fun g ↦ ?_ |
| 568 | exact hW.lintegral_formTerm_le (ω := χ) (fun y ↦ hφ_le _) x g |
| 569 | have h_form_int : Integrable formTerm μ_form := |
| 570 | ⟨h_form_meas.aestronglyMeasurable, h_form_le.trans_lt h_fin.lt_top⟩ |
| 571 | have h_succ_int : Integrable succTerm μ_succ := h_law.integrable_iff.2 h_form_int |
| 572 | constructor |
| 573 | · have h_int : Integrable fun c : A ↦ (ρ c).toReal • ∫ z : T.G × T.G, succTerm (z, c) ∂ν := |
| 574 | (integrable_withDensity_iff_integrable_smul' hρm hρ).1 h_succ_int.integral_prod_right |
| 575 | simpa [succTerm, χ, ν, integrable_congr hΨ, mul_assoc, integral_const_mul] using |
| 576 | (h_int.const_mul _).const_mul t |
| 577 | · -- The integrals of `succTerm` and `formTerm` are equal; Fubini gives the two sides. |
| 578 | have h_fubini : ∫ c : A, (ρ c).toReal • ∫ z : T.G × T.G, succTerm (z, c) ∂ν = |
| 579 | ∫ z : T.G × T.G, ∫ σ : T.G, ∫ τ : T.G, formTerm ((z, σ), τ) ∂F.floorMeasure b |
| 580 | ∂F.floorMeasure b ∂F.groupMeasure.prod (F.partialGroupMeasure 0 b) := by |
| 581 | have h_eq : ∫ z, succTerm z ∂μ_succ = ∫ z, formTerm z ∂μ_form := h_law.integral_eq |
| 582 | rwa [integral_prod_symm _ h_succ_int, integral_prod _ h_form_int, |
| 583 | integral_prod _ h_form_int.integral_prod_left, |
| 584 | integral_withDensity_eq_integral_toReal_smul hρm hρ] at h_eq |
| 585 | calc ∫ c : A, Ψ c |
| 586 | _ = t * ((F.headDensity b p q).toReal * |
| 587 | ∫ c : A, (ρ c).toReal • ∫ z : T.G × T.G, succTerm (z, c) ∂ν) := by |
| 588 | simp [succTerm, χ, ν, integral_congr_ae hΨ, mul_assoc, integral_const_mul] |
| 589 | _ = t * F.floorForm b p q W χ := by |
| 590 | simp only [h_fubini, formTerm, floorForm, formIntegrand] |
| 591 | |
| 592 | /-- Descent. Let the place datum F have a gauge, let W be a cut Bessel function, `p q : ℕ → Aˣ` |
| 593 | sequences of units and a < ϱ. Let the majorant `F.formMajorant a p q W` have a finite integral |
| 594 | against 𝖬 = `F.groupMeasure`, and let φ be a measurable function on A with |φ| ≤ 1. Then |
| 595 | c ↦ φ(c) · t · 𝓘_{a+1}((p, c), (q, c); 1) is integrable, with integral t · 𝓘_a(p, q; φ(Z_{a,a})). |
| 596 | Here 𝓘_j(p, q; ω) is `F.floorForm j p q W ω`, (p, c) is p with the entry a replaced by c, and |
| 597 | Z_{a,a}(x) = h(f_a, x f_a) is a diagonal entry of `T.frameGram x`. -/ |
| 598 | theorem Gauge.integral_weight_mul_floorForm_succ {W : T.G → EuclideanSpace ℂ I} (Γ : Gauge F) |
| 599 | (hk : F.IsCut W) (a : Fin 𝔰.ϱ) (t : ℂ) {φ : A → ℂ} (hφ : Measurable φ) |
| 600 | (hφ_le : ∀ c : A, ‖φ c‖ ≤ 1) |
| 601 | (h_fin : ∫⁻ x : T.G, F.formMajorant a p q W x ∂F.groupMeasure ≠ ∞) : |
| 602 | let f (c : A) : ℂ := |
| 603 | φ c * (t * F.floorForm (a + 1) (update p a (unitOrOne c)) (update q a (unitOrOne c)) W 1) |
| 604 | Integrable f ∧ |
| 605 | ∫ c : A, f c = |
| 606 | t * F.floorForm a p q W fun x : T.G ↦ φ (T.frameGram x a.castSucc a.castSucc) := by |
| 607 | -- This is `integrable_and_integral_succ_eq_mul_floorForm` for the big cell: `F.floorMeasure a` is |
| 608 | -- the law of `(floorWeyl a c)⁻¹ * n`, for `c` with the density `ρ` and `n` under |
| 609 | -- `heisenbergMeasure a`. |
| 610 | have h_cell : F.floorMeasure a.castSucc = |
| 611 | (volume.withDensity fun c : A ↦ P.modulus c ^ (𝔰.k + 1 + 2 * (𝔰.ϱ - (a + 1)))).map |
| 612 | (fun c : A ↦ (floorWeyl a.castSucc c)⁻¹) ∗ₘ heisenbergMeasure a.castSucc := |
| 613 | ite_eq_left a.isLt |
| 614 | refine integrable_and_integral_succ_eq_mul_floorForm Γ hk a.castSucc hφ hφ_le h_fin |
| 615 | (ae_mem_floorUnipotent.mono fun n hn ↦ ⟨unipotentBelow_le_partialUnitriangularGroup hn.2, hn.1⟩) |
| 616 | (ae_isUnit.mono ?_) h_cell (ae_isUnit.mono ?_) measurable_floorWeyl |
| 617 | (P.measurable_modulus.pow_const _) |
| 618 | · rintro _ ⟨c, rfl⟩ |
| 619 | simp [Ne.lt_top] |
| 620 | · -- At a unit `c` the integrand is the one of `integrable_and_integral_succ_eq_mul_floorForm`: |
| 621 | -- the Weyl element of floor `a + 1` is `weylElem a p * floorWeyl a c`, the twist `weylRatio` is |
| 622 | -- unchanged, `floorWeyl a c` has Gram entry `c`, and the new factor of `headDensity` gives the |
| 623 | -- density `ρ c`. |
| 624 | rintro _ ⟨c, rfl⟩ |
| 625 | have h_density : F.headDensity (a + 1) (update p a c) (update q a c) = |
| 626 | F.headDensity a p q * P.modulus (c : A) ^ (𝔰.k + 1 + 2 * (𝔰.ϱ - (a + 1))) := by |
| 627 | simp [headDensity, ← sq, LT.lt.ne, ← rpow_two, -rpow_ofNat, field, prod_range, |
| 628 | Fin.prod_univ_castSucc] |
| 629 | have h_weyl : (weylElem (a + 1) (update p a c) : T.G) = weylElem a p * floorWeyl a (c : A) := by |
| 630 | simp [weylElem_succ, (commute_weylElem _).eq] |
| 631 | have h_ratio : (weylRatio (a + 1) (update p a c) (update q a c) : T.G) = weylRatio a p q := by |
| 632 | simp [weylRatio, weylElem_succ, mul_assoc] |
| 633 | have h_form : F.floorForm (a + 1) (update p a c) (update q a c) W 1 = |
| 634 | (F.headDensity (a + 1) (update p a c) (update q a c)).toReal * |
| 635 | ∫ z : T.G × T.G, F.partialCorrelationProduct (a + 1) W z.1 (weylRatio a p q) |
| 636 | (weylElem a p * floorWeyl a (c : A)) z.2 |
| 637 | ∂F.groupMeasure.prod (F.partialGroupMeasure 0 (a + 1)) := by |
| 638 | simp only [floorForm, ← h_weyl, ← h_ratio, ← partialCorrelationProduct_eq Γ hk] |
| 639 | have h_stack : F.partialGroupMeasure 0 (a + 1) = |
| 640 | (heisenbergMeasure a ∗ₘ F.floorMeasure a) ∗ₘ F.partialGroupMeasure 0 a := descConv_succ a |
| 641 | simp only [Fin.val_castSucc, unitOrOne_val, h_form, h_density, h_stack, frameGram_floorWeyl, |
| 642 | Complex.real_smul] |
| 643 | ring |
| 644 | |
| 645 | /-- Descent for a character: the case φ(c) = ψ(ηc) of |
| 646 | `New.Floors.Gauge.integral_weight_mul_floorForm_succ`, for a cut Bessel function `W` whose majorant |
| 647 | on floor `a` has a finite integral against `F.groupMeasure`. As a function of the common entry `c` |
| 648 | of `p` and `q` at `a`, ψ(ηc) times `t` times the form of floor `a + 1` with weight `1` is |
| 649 | integrable, and its integral is `t` times the form of floor `a` with the weight ψ(η Z(x)), where |
| 650 | Z(x) is the Gram entry `T.frameGram x a a`. -/ |
| 651 | theorem Gauge.integral_psi_mul_floorForm_succ (Γ : Gauge F) (hW : F.IsCut W) (a : Fin 𝔰.ϱ) (t : ℂ) |
| 652 | (η : A) (h_fin : ∫⁻ x : T.G, F.formMajorant a p q W x ∂F.groupMeasure ≠ ∞) : |
| 653 | let f (c : A) : ℂ := |
| 654 | ψ (η * c) * |
| 655 | (t * F.floorForm (a + 1) (update p a (unitOrOne c)) (update q a (unitOrOne c)) W 1) |
| 656 | Integrable f ∧ |
| 657 | ∫ c : A, f c = |
| 658 | t * F.floorForm a p q W fun x : T.G ↦ ψ (η * T.frameGram x a.castSucc a.castSucc) := |
| 659 | Γ.integral_weight_mul_floorForm_succ hW a t (φ := fun c : A ↦ ψ (η * c)) (by fun_prop) |
| 660 | (fun c ↦ (P.norm_psi (η * c)).le) h_fin |
| 661 | |
| 662 | end New.Floors |
| 663 | |
| 664 | end |