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 Mathlib.CategoryTheory.Countable |
| 4 | import TauCeti.Topology.Algebra.Group.Units |
| 5 | import TauCeti.Topology.Instances.Matrix |
| 6 | public import Lib.DiscreteSeries.Bruhat.FloorMeasures |
| 7 | public import New.Spanning.Frames.Lengths |
| 8 | import Lib.Base |
| 9 | |
| 10 | /-! |
| 11 | # Place data, floor measures and depth |
| 12 | |
| 13 | A place datum `F` fixes a unit M, a compact set K and a basis adapted to the frame. The group |
| 14 | measure is built floor by floor: floor `l ≤ ϱ` chooses the frame vector f_l on its quadric and an |
| 15 | element of the Heisenberg group along it, and floor ϱ + 1 carries the measure of H. The letters |
| 16 | Y^(l), K and M are those of the head of `New.Spanning.Frames.Lengths`. |
| 17 | |
| 18 | Notions from other files: |
| 19 | * G = `T.G` is the unitary group of `T.splitGram`, a hermitian form with ϱ = `𝔰.ϱ` hyperbolic pairs |
| 20 | e_a, e*_a; its basis vectors are indexed by `𝔰.BesselIndex`, and n = `𝔰.n` is ϱ + 1. |
| 21 | * G^(l) = `floorGroup l` is the group of isometries that fix the basis vectors of floor below l; |
| 22 | H = `besselH` is G^(ϱ+1). |
| 23 | * R^(l) = `partialUnitriangularGroup l` is the group of isometries that are unitriangular on the |
| 24 | first l frame vectors, and U = `besselU` is the Bessel unipotent group. |
| 25 | * `orbitPoint b g` is the vector g⁻¹ f_b, where f_b is the frame vector of floor b, and |
| 26 | `F.floorQuadricMeasure b` is the measure on the quadric through f_b. |
| 27 | * η_l = `heisenbergMeasure l` is the measure of the Heisenberg group of floor l, and `weylLaw l` is |
| 28 | a measure carried by the inverse Weyl elements of floor l. |
| 29 | |
| 30 | ## Main definitions and results |
| 31 | |
| 32 | * `New.Floors.PlaceData`, `New.Floors.PlaceData.floorMeasure`, `New.Floors.PlaceData.groupMeasure`: |
| 33 | the data and the measures. |
| 34 | * `New.Floors.PlaceData.IsNear`, `New.Floors.PlaceData.IsStable`, |
| 35 | `New.Floors.PlaceData.stableProducts`, `New.Floors.PlaceData.depth`, |
| 36 | `New.Floors.PlaceData.depthWeight`: points near K, stable vectors, their products with e_a, depth |
| 37 | and the weight. |
| 38 | * `New.Floors.PlaceData.measurePreserving_orbitPoint`: a floor measure maps to the measure of the |
| 39 | quadric. |
| 40 | * `New.Floors.PlaceData.partialGroupMeasure_mconv_dirac`, |
| 41 | `New.Floors.PlaceData.lintegral_partialGroupMeasure_weylElem_inv_mul`: invariance on the right, |
| 42 | and invariance under a Weyl element on the left for the lower floors, for integrals of functions |
| 43 | fixed on the left by G^(j), when the group measure is Haar. |
| 44 | |
| 45 | ## Relation to the literature |
| 46 | |
| 47 | See `New.Spanning.MainTerm.EnergyEstimate` for related work. |
| 48 | -/ |
| 49 | |
| 50 | @[expose] public section |
| 51 | |
| 52 | noncomputable section |
| 53 | |
| 54 | namespace New.Floors |
| 55 | |
| 56 | section LevelGauge |
| 57 | |
| 58 | open Matrix MeasureTheory Measure BesselIndex ENNReal Fintype FloorGroups Place TraceOne Function |
| 59 | Filter |
| 60 | |
| 61 | variable {A : Type} [CommRing A] [StarRing A] [TopologicalSpace A] [MeasureSpace A] [P : Place A] |
| 62 | (ι : Type) [Fintype ι] [DecidableEq ι] {𝔰 : Shape} (T : 𝔰.Form A) (m : ℕ) |
| 63 | [IsHermitianUnit T.splitGram] {l i j : ℕ} |
| 64 | |
| 65 | /-! |
| 66 | ## Place data, floor measures and their invariance |
| 67 | |
| 68 | `New.Floors.descConv σ a i` is the convolution `σ (a + i - 1) ∗ ⋯ ∗ σ a`, and `η_l` is |
| 69 | `New.Floors.Place.heisenbergMeasure l`. |
| 70 | -/ |
| 71 | |
| 72 | /-- The data of a place: a basis of hyperbolic pairs and orthonormal vectors, the measures of the |
| 73 | top floor and of H, the level M (the field `levelUnit`), the close pairs of vectors, the compact set |
| 74 | K of the group and the set of positions. -/ |
| 75 | structure PlaceData extends HyperbolicBasis ι T m where |
| 76 | /-- The measure of the top floor, on G^(ϱ) = `floorGroup 𝔰.ϱ`. -/ |
| 77 | topFloorMeasure : Measure T.G |
| 78 | /-- A right invariant measure carried by H = `besselH`; see |
| 79 | `measureH_mem_and_invariant_and_le_one`. -/ |
| 80 | measureH : Measure T.G |
| 81 | /-- The level M, a unit by which differences of vectors and frequencies are divided. -/ |
| 82 | levelUnit : Aˣ |
| 83 | /-- The close pairs (ω₁, ω₂) of vectors. In the place data that are used they are the pairs with |
| 84 | |ω₁|² + |ω₂|² < 1 at a real place, and those with ω₁ in the lattice and ω₂ ≡ ω₁ modulo M at the |
| 85 | finite places. -/ |
| 86 | closePairs : Set ((𝔰.BesselIndex → A) × (𝔰.BesselIndex → A)) |
| 87 | /-- The compact set K in the unitary group G. -/ |
| 88 | boxSet : Set T.G |
| 89 | /-- The positions: the elements of G by which the second point of a pair differs from the |
| 90 | first. -/ |
| 91 | positions : Set T.G |
| 92 | /-- The measure `topFloorMeasure` is s-finite. -/ |
| 93 | [sFinite_topFloorMeasure : SFinite topFloorMeasure] |
| 94 | /-- The measure of H is s-finite. -/ |
| 95 | [sFinite_measureH : SFinite measureH] |
| 96 | /-- The measure of H is not zero. -/ |
| 97 | [neZero_measureH : NeZero measureH] |
| 98 | /-- `topFloorMeasure` is carried by G^(ϱ), and σ ↦ σ⁻¹ f_ϱ maps it to the measure of the top |
| 99 | quadric. -/ |
| 100 | topFloorMeasure_mem_and_map_eq : |
| 101 | (∀ᵐ x : T.G ∂topFloorMeasure, x ∈ floorGroup 𝔰.ϱ) ∧ |
| 102 | topFloorMeasure.map (orbitPoint 𝔰.top) = toHyperbolicBasis.floorQuadricMeasure 𝔰.top |
| 103 | /-- The measure of H is carried by H, is invariant under right translation by H, and for every g |
| 104 | gives mass at most 1 to the h with h g ∈ U K. -/ |
| 105 | measureH_mem_and_invariant_and_le_one : |
| 106 | (∀ᵐ x : T.G ∂measureH, x ∈ besselH) ∧ |
| 107 | (∀ s ∈ besselH, measureH ∗ₘ dirac s = measureH) ∧ |
| 108 | ∀ g : T.G, measureH {h : T.G | ∃ u ∈ besselU, u * (h * g) ∈ boxSet} ≤ 1 |
| 109 | /-- The level is fixed by the involution. -/ |
| 110 | star_levelUnit : star levelUnit.val = levelUnit |
| 111 | /-- The set of close pairs is open, contains 0 and has compact closure. -/ |
| 112 | isOpen_closePairs_and_zero_mem_and_isCompact_closure : |
| 113 | IsOpen closePairs ∧ 0 ∈ closePairs ∧ IsCompact (closure closePairs) |
| 114 | /-- The set K is compact and the set of positions is measurable. -/ |
| 115 | isCompact_boxSet_and_measurableSet_positions : IsCompact boxSet ∧ MeasurableSet positions |
| 116 | |
| 117 | variable {ι T m} {ν ρ : Measure T.G} [SFinite ν] [SFinite ρ] |
| 118 | {s : T.G} {S : Subgroup T.G} {f Φ : T.G → ℝ≥0∞} (F : PlaceData ι T m) (b : Fin 𝔰.n) |
| 119 | |
| 120 | namespace PlaceData |
| 121 | |
| 122 | attribute [instance] sFinite_topFloorMeasure sFinite_measureH neZero_measureH |
| 123 | |
| 124 | /-- The measure `F.topFloorMeasure` of the top floor is carried by G^(ϱ) = `floorGroup 𝔰.ϱ`. -/ |
| 125 | lemma ae_topFloorMeasure_mem_floorGroup (F : PlaceData ι T m) : ∀ᵐ x : T.G ∂F.topFloorMeasure, |
| 126 | x ∈ floorGroup 𝔰.ϱ := |
| 127 | F.topFloorMeasure_mem_and_map_eq.left |
| 128 | |
| 129 | /-- The map `orbitPoint 𝔰.top`, σ ↦ σ⁻¹ f_ϱ with f_ϱ = z the last frame vector, carries |
| 130 | `F.topFloorMeasure`, the measure of the top floor that is part of the place data `F`, to |
| 131 | `F.floorQuadricMeasure 𝔰.top`, the measure on the top quadric. -/ |
| 132 | lemma map_orbitPoint_topFloorMeasure (F : PlaceData ι T m) : |
| 133 | F.topFloorMeasure.map (orbitPoint 𝔰.top) = F.floorQuadricMeasure 𝔰.top := |
| 134 | F.topFloorMeasure_mem_and_map_eq.right |
| 135 | |
| 136 | /-- The measure `F.measureH` is carried by H = `besselH`, the fixer of the hyperbolic pairs and the |
| 137 | last frame vector. -/ |
| 138 | lemma ae_measureH_mem_besselH (F : PlaceData ι T m) : ∀ᵐ x : T.G ∂F.measureH, x ∈ besselH := |
| 139 | F.measureH_mem_and_invariant_and_le_one.left |
| 140 | |
| 141 | /-- The measure `F.measureH` is invariant under right translation by H = `besselH`. -/ |
| 142 | lemma measureH_mconv_dirac (F : PlaceData ι T m) {s : T.G} (hs : s ∈ besselH) : |
| 143 | F.measureH ∗ₘ dirac s = F.measureH := by |
| 144 | obtain ⟨-, h_right, -⟩ := F.measureH_mem_and_invariant_and_le_one |
| 145 | exact h_right s hs |
| 146 | |
| 147 | /-- For every g, the h with h g ∈ U K, that is u h g ∈ K for some u in U, have mass at most 1 for |
| 148 | `F.measureH`. Here U = `besselU` is the Bessel unipotent group and K = `F.boxSet`. -/ |
| 149 | lemma measureH_setOf_mul_mem_boxSet_le_one (g : T.G) : |
| 150 | F.measureH {h : T.G | ∃ u ∈ besselU, u * (h * g) ∈ F.boxSet} ≤ 1 := by |
| 151 | obtain ⟨-, -, h_mass⟩ := F.measureH_mem_and_invariant_and_le_one |
| 152 | exact h_mass g |
| 153 | |
| 154 | /-- The measure θ_l of floor l on G^(l). For l ≤ ϱ the map `orbitPoint l` carries it to the quadric |
| 155 | measure `F.floorQuadricMeasure l`, and for l < ϱ it lives on the big cell. Floor n = ϱ + 1 carries |
| 156 | the measure of H, and higher floors a unit mass at 1. -/ |
| 157 | def floorMeasure (l : ℕ) : Measure T.G := |
| 158 | if l < 𝔰.ϱ then weylLaw l ∗ₘ heisenbergMeasure l |
| 159 | else if l = 𝔰.ϱ then F.topFloorMeasure |
| 160 | else if l = 𝔰.n then F.measureH |
| 161 | else dirac 1 |
| 162 | |
| 163 | /-- Every floor measure is s-finite. -/ |
| 164 | instance : SFinite (F.floorMeasure l) := by |
| 165 | fun_cases floorMeasure |
| 166 | all_goals infer_instance |
| 167 | |
| 168 | /-- `partialGroupMeasure l i` convolves the Heisenberg and floor measures of the i floors from l on. |
| 169 | For l + i = ϱ + 2 it is invariant under right translation by G^(l) |
| 170 | (`partialGroupMeasure_mconv_dirac`). -/ |
| 171 | abbrev partialGroupMeasure : ℕ → ℕ → Measure T.G := |
| 172 | descConv fun a : ℕ ↦ heisenbergMeasure a ∗ₘ F.floorMeasure a |
| 173 | |
| 174 | /-- The measure (η_{ϱ+1}∗θ_{ϱ+1}) ∗ ⋯ ∗ (η₀∗θ₀) on the unitary group, the convolution over all |
| 175 | floors, where η_a = `heisenbergMeasure a` and θ_a = `F.floorMeasure a`. -/ |
| 176 | abbrev groupMeasure : Measure T.G := F.partialGroupMeasure 0 (𝔰.ϱ + 2) |
| 177 | |
| 178 | /-- The convolution θ_(ϱ+1) ∗ ⋯ ∗ θ_l of the floor measures from l on. It serves to integrate |
| 179 | functions on G^(l) that are left invariant under U ∩ G^(l). -/ |
| 180 | @[simp] |
| 181 | abbrev quotientMeasureFrom (l : ℕ) : Measure T.G := descConv F.floorMeasure l (𝔰.ϱ + 2 - l) |
| 182 | |
| 183 | /-- A point g is near at j if R^(j) g meets K = `F.boxSet`, where R^(j) = |
| 184 | `partialUnitriangularGroup j`. -/ |
| 185 | def IsNear (j : ℕ) (g : T.G) : Prop := ∃ ξ ∈ T.partialUnitriangularGroup j, ξ * g ∈ F.boxSet |
| 186 | |
| 187 | /-- The rank 2 m + 2 of a block of orthonormal basis vectors in which the equation of a quadric is |
| 188 | solved. -/ |
| 189 | abbrev blockRank (_ : PlaceData ι T m) : ℕ := 2 * m + 2 |
| 190 | |
| 191 | /-- The indices of the orthonormal basis vectors that remain when two blocks are set aside. These |
| 192 | vectors span the space X'. -/ |
| 193 | abbrev FreeIndex : Type := Fin (card ι - 2 * F.blockRank) |
| 194 | |
| 195 | /-- The index in ι of a basis vector of X'. These are the first `card ι - 2 * F.blockRank` |
| 196 | orthonormal basis vectors in a fixed numbering of ι. -/ |
| 197 | def freeIndex (i : F.FreeIndex) : ι := |
| 198 | (equivFin ι).symm (i.castLE (Nat.sub_le (card ι) (2 * F.blockRank))) |
| 199 | |
| 200 | /-- The matrix whose columns are the basis vectors of X'; it embeds X' into the space. For a vector |
| 201 | y, we write y_X for the vector of the products of these columns with y. -/ |
| 202 | abbrev orthonormalPart : Matrix 𝔰.BesselIndex F.FreeIndex A := |
| 203 | fromRows 0 ((F.basisMatrix.toCols₂.toCols₂.toCols₁.submatrix id F.freeIndex).fromRows 0) |
| 204 | |
| 205 | /-- A vector ω is short from g and g' if (g⁻¹ ω, g'⁻¹ ω) is a close pair. -/ |
| 206 | abbrev IsShortFrom (g g' : T.G) (ω : 𝔰.BesselIndex → A) : Prop := |
| 207 | (g⁻¹.val.val *ᵥ ω, g'⁻¹.val.val *ᵥ ω) ∈ F.closePairs |
| 208 | |
| 209 | /-- The class of ω in Y^(l) is stable at g and g', with ω as its lift at g: the vector ω is |
| 210 | orthogonal to the e_b, b < l, and (g⁻¹ ω, g'⁻¹ ω') is a close pair for some ω' that agrees with ω |
| 211 | at all indices k with l ≤ `level k` (for l ≤ ϱ, another lift of the class). -/ |
| 212 | def IsStable (l : ℕ) (g g' : T.G) (ω : 𝔰.BesselIndex → A) : Prop := |
| 213 | IsOrthogonalBelow l ω ∧ ∃ ω' : 𝔰.BesselIndex → A, |
| 214 | CongrBelow l ω ω' ∧ (g⁻¹.val.val *ᵥ ω, g'⁻¹.val.val *ᵥ ω') ∈ F.closePairs |
| 215 | |
| 216 | /-- The set 𝔡_a at the points x and x y: the products ⟨e_a, ω⟩ with the vectors ω of Y^(a) that are |
| 217 | stable at x and x y. In the place data that are used it is a disc at a real place, and at the finite |
| 218 | places a fractional ideal, contained in the integers if x is near at a + 1. -/ |
| 219 | def stableProducts (a : Fin 𝔰.ϱ) (x y : T.G) : Set A := |
| 220 | (fun ω : 𝔰.BesselIndex → A ↦ ω (eStar a)) '' |
| 221 | {ω : 𝔰.BesselIndex → A | F.IsStable a x (x * y) ω} |
| 222 | |
| 223 | /-- The depth of the vector e_a at the points x and x y: the inverse of the volume of 𝔡_a. In the |
| 224 | place data that are used it is as follows. At the finite places it is the index of the ideal 𝔡_a if |
| 225 | x is near at a + 1. At a real |
| 226 | place it is 1 / π times the infimum of |ζ|² at x plus |ζ|² at x y over the duals ζ of e_a in Y^(a) |
| 227 | (`New.Floors.RealPlaceSizes.depth_eq`). -/ |
| 228 | def depth (a : Fin 𝔰.ϱ) (x y : T.G) : ℝ≥0∞ := (volume (F.stableProducts a x y))⁻¹ |
| 229 | |
| 230 | /-- The exponent s of the depths in `depthWeight`: the rank of X' minus (3 n + 1 + m). -/ |
| 231 | abbrev volumeExponent : ℕ := card F.FreeIndex - (3 * 𝔰.n + 1 + m) |
| 232 | |
| 233 | /-- The weight of length j at the points x and x y: the product of the powers depth^(-s), |
| 234 | s = `F.volumeExponent`, over the first j vectors e_a. -/ |
| 235 | def depthWeight (j : ℕ) (x y : T.G) : ℝ≥0∞ := |
| 236 | ∏ a : Fin 𝔰.ϱ with a.val < j, (F.depth a x y)⁻¹ ^ F.volumeExponent |
| 237 | |
| 238 | /-- The common vectors: the ω in X' that are killed by the rows of v and are short from g |
| 239 | and g z. -/ |
| 240 | def commonVectors (g z : T.G) (v : Matrix (Fin 𝔰.ϱ) F.FreeIndex A) : Set (F.FreeIndex → A) := |
| 241 | {ω : F.FreeIndex → A | v *ᵥ ω = 0 ∧ F.IsShortFrom g (g * z) (F.orthonormalPart *ᵥ ω)} |
| 242 | |
| 243 | /-- The numbers (⟨ω₁, ω'₁⟩ - ⟨ω₂, ω'₂⟩) / M for two pairs (ω₁, ω₂), (ω'₁, ω'₂) in `closePairs`. In |
| 244 | the place data that are used they lie in the disc of radius 1 at a real place and are integral at |
| 245 | the finite places. -/ |
| 246 | def productDifferences : Set A := |
| 247 | {c : A | ∃ z ∈ F.closePairs, ∃ z' ∈ F.closePairs, |
| 248 | c = F.levelUnit⁻¹ * (star z.1 ⬝ᵥ T.splitGram *ᵥ z'.1 - star z.2 ⬝ᵥ T.splitGram *ᵥ z'.2)} |
| 249 | |
| 250 | /-- The function φ on X' controls the products with the set W of vectors, and its s-th power, |
| 251 | s = `F.volumeExponent`, has integral at most Λ^(99 n (j+1)) over the vectors of size j for the |
| 252 | scale `S`. -/ |
| 253 | structure IsCommonBound (S : Size T) (Λ : ℝ≥0∞) (W : Set (F.FreeIndex → A)) |
| 254 | (φ : (F.FreeIndex → A) → ℝ≥0∞) : Prop where |
| 255 | /-- The function φ is measurable. -/ |
| 256 | measurable : Measurable φ |
| 257 | /-- φ(u) bounds 1 / vol ⟨u, W⟩. -/ |
| 258 | inv_volume_le (u : F.FreeIndex → A) : |
| 259 | (volume ((fun ω : F.FreeIndex → A ↦ star u ⬝ᵥ ω) '' W))⁻¹ ≤ φ u |
| 260 | /-- φ(u) bounds the volume of the numbers c with ⟨c u, W⟩ inside `productDifferences`. -/ |
| 261 | volume_le (u : F.FreeIndex → A) : |
| 262 | volume {c : A | ∀ ω ∈ W, star (c • u) ⬝ᵥ ω ∈ F.productDifferences} ≤ φ u |
| 263 | /-- The integral of φ^s over the vectors of size j is at most Λ^(99 n (j+1)). -/ |
| 264 | lintegral_le (j : ℕ) : |
| 265 | ∫⁻ u : F.FreeIndex → A in S.vecsOfSize j, φ u ^ F.volumeExponent ≤ Λ ^ (99 * 𝔰.n * (j + 1)) |
| 266 | |
| 267 | /-- The number |g|^(r+1/2), where r = k + 1 + 2 (ϱ - (l + 1)) is the rank of the vector part of the |
| 268 | Heisenberg group of floor l; by default g is the level M. -/ |
| 269 | def floorModulus (l : ℕ) (g := F.levelUnit) : ℝ≥0∞ := |
| 270 | P.modulus g ^ (𝔰.k + 1 + 2 * (𝔰.ϱ - (l + 1))) * P.modulus g ^ (2⁻¹ : ℝ) |
| 271 | |
| 272 | variable {F} |
| 273 | |
| 274 | /-- The enumeration of the basis of V_a, the span of the basis vectors of floor at least a: first |
| 275 | the hyperbolic pair e_a, e*_a, then the basis vectors of the higher floors. -/ |
| 276 | def floorIndexEnum (a : Fin 𝔰.ϱ) : |
| 277 | Fin 2 ⊕ {i : 𝔰.BesselIndex // a + 1 ≤ floorOf i} → 𝔰.BesselIndex := |
| 278 | ![.inl a, eStar a] ⊕ᵥ Subtype.val |
| 279 | |
| 280 | /-- The Gram matrix of the basis vectors of floor at least l. -/ |
| 281 | def upperGram (l : ℕ) : |
| 282 | Matrix {i : 𝔰.BesselIndex // l ≤ floorOf i} {i : 𝔰.BesselIndex // l ≤ floorOf i} A := |
| 283 | T.splitGram.submatrix Subtype.val Subtype.val |
| 284 | |
| 285 | /-- The enumeration `floorIndexEnum a` of the basis of V_a has no repetitions. -/ |
| 286 | lemma floorIndexEnum_injective (a : Fin 𝔰.ϱ) : Injective (floorIndexEnum a) := by |
| 287 | -- the only coincidences to exclude are those of `e_a`, `e*_a` with a higher pair |
| 288 | suffices (∀ c : Fin 𝔰.ϱ, a < c → a ≠ c) ∧ ∀ c : Fin 𝔰.ϱ, a < c → c ≠ a by |
| 289 | simpa [floorIndexEnum, Injective] using this |
| 290 | exact ⟨fun c hc ↦ hc.ne, fun c hc ↦ hc.ne'⟩ |
| 291 | |
| 292 | /-- The enumeration `floorIndexEnum a` lists exactly the basis indices of floor at least a. -/ |
| 293 | lemma mem_range_floorIndexEnum (a : Fin 𝔰.ϱ) (i : 𝔰.BesselIndex) : |
| 294 | i ∈ Set.range (floorIndexEnum a) ↔ a.val ≤ floorOf i := by |
| 295 | have h_le (c : Fin 𝔰.ϱ) : c = a ∨ a < c ↔ a ≤ c := by rw [le_iff_eq_or_lt, eq_comm] |
| 296 | obtain c | (k | z) | c := i |
| 297 | · -- `e_c` is listed if `c = a` or `a < c` |
| 298 | simp [floorIndexEnum, h_le] |
| 299 | · -- the middle indices other than `z` have floor `n` |
| 300 | have ha : a.val ≤ 𝔰.n := by grind |
| 301 | simp [floorIndexEnum, ha] |
| 302 | · -- `z` has floor ϱ |
| 303 | simp [floorIndexEnum] |
| 304 | · -- `e*_c` is listed if `c = a` or `a < c` |
| 305 | simp [floorIndexEnum, h_le] |
| 306 | |
| 307 | omit [IsHermitianUnit T.splitGram] [TopologicalSpace A] [MeasureSpace A] [Place A] in |
| 308 | /-- In the basis `floorIndexEnum a` of V_a, the form `T.splitGram` is a hyperbolic plane plus the |
| 309 | form `upperGram (a + 1)` on the higher floors. -/ |
| 310 | lemma gram_inclMatrix_floorIndexEnum (a : Fin 𝔰.ϱ) : |
| 311 | (inclMatrix A (floorIndexEnum a))ᴴ * T.splitGram * inclMatrix A (floorIndexEnum a) = |
| 312 | planeSumGram (upperGram (T := T) (a + 1)) := by |
| 313 | rw [conjTranspose_inclMatrix_mul_mul_inclMatrix] |
| 314 | -- the pair of floor `a` is orthogonal to the higher pairs |
| 315 | suffices (∀ c : Fin 𝔰.ϱ, a < c → a = c → (1 : A) = 0) ∧ |
| 316 | ∀ c : Fin 𝔰.ϱ, a < c → c = a → (1 : A) = 0 by |
| 317 | simpa [floorIndexEnum, upperGram, ← ext_iff] using this |
| 318 | exact ⟨fun c hc h ↦ absurd h hc.ne, fun c hc h ↦ absurd h hc.ne'⟩ |
| 319 | |
| 320 | /-- For a < ϱ, the measure `F.floorQuadricMeasure a.castSucc` on the quadric h(v, v) = 0 of V_a can |
| 321 | be computed in the basis `floorIndexEnum a`. It is the image, under extension by zero, of the |
| 322 | measure `quadricMeasure` with parameter 0 of a hyperbolic plane plus the form `upperGram (a + 1)` on |
| 323 | the higher floors. -/ |
| 324 | lemma floorQuadricMeasure_castSucc_eq_map (a : Fin 𝔰.ϱ) : |
| 325 | F.floorQuadricMeasure a.castSucc = |
| 326 | (quadricMeasure (upperGram (T := T) (a + 1)) 0).map |
| 327 | (inclMatrix A (floorIndexEnum a) *ᵥ ·) := by |
| 328 | -- Disintegrations of `floorVolume a` along `h(v, v)` are unique, and both sides are the member |
| 329 | -- at `h(e_a, e_a) = 0` of such a disintegration. |
| 330 | let E : Matrix 𝔰.BesselIndex (Fin 2 ⊕ {i : 𝔰.BesselIndex // a + 1 ≤ floorOf i}) A := |
| 331 | inclMatrix A (floorIndexEnum a) |
| 332 | have h_left : Eᴴ * E = 1 := inclMatrix_gram_eq_one (floorIndexEnum_injective a) |
| 333 | have h_vol : volume.map (E *ᵥ ·) = floorVolume a.castSucc := |
| 334 | map_inclMatrix_eq_floorVolume _ (floorIndexEnum_injective a) (mem_range_floorIndexEnum a) |
| 335 | have h_herm : (upperGram (T := T) (a + 1)).IsHermitian := |
| 336 | IsHermitian.submatrix IsHermitianUnit.conjTranspose_eq _ |
| 337 | have h_dis : |
| 338 | IsDisintegration (volume.map (E *ᵥ ·)) T.splitGram fun β : skewAdjoint A ↦ |
| 339 | (quadricMeasure (upperGram (T := T) (a + 1)) β).map (E *ᵥ ·) := |
| 340 | (isDisintegration_quadricMeasure (T := upperGram (T := T) (a + 1)) h_herm).map |
| 341 | (gram_inclMatrix_floorIndexEnum a) h_left |
| 342 | have h_zero : |
| 343 | skewUnitMul (T.splitGram (𝔰.besselFrame a.castSucc) (𝔰.besselFrame a.castSucc)) = 0 := by |
| 344 | ext |
| 345 | simp |
| 346 | rw [← h_zero] |
| 347 | exact (F.isDisintegration_floorVolume _ h_vol).unique h_dis |
| 348 | |
| 349 | /-- Let a < ϱ, let t be a unit, u a vector on the floors above a and β skew. The point ((t, t u), β) |
| 350 | of the chart `flatChart` of the quadric h(v, v) = 0 for a hyperbolic plane plus `upperGram (a + 1)` |
| 351 | is sent by `inclMatrix A (floorIndexEnum a)` to the image of e_a under the product of the Heisenberg |
| 352 | element `heisenbergElem a (u, β)` and the Weyl element `floorWeyl a t`. -/ |
| 353 | lemma inclMatrix_mulVec_flatChart_eq_heisenbergElem_mulVec (a : Fin 𝔰.ϱ) (t : Aˣ) |
| 354 | (u : {i : 𝔰.BesselIndex // a + 1 ≤ floorOf i} → A) (β : skewAdjoint A) : |
| 355 | inclMatrix A (floorIndexEnum a) *ᵥ |
| 356 | flatChart (upperGram (T := T) (a + 1)) 0 ((t, t.val • u), β) = |
| 357 | (heisenbergElem (T := T) a (u, β)).val.val *ᵥ |
| 358 | (floorWeyl a t.val : T.G).val.val *ᵥ Pi.single (.inl a) 1 := by |
| 359 | have h_weyl : (floorWeyl a t.val : T.G).val.val *ᵥ Pi.single (.inl a) 1 = |
| 360 | Pi.single (eStar a) t.val := by |
| 361 | ext i |
| 362 | simp [floorWeyl, weylOn, level, ← Pi.single_apply, col_apply'] |
| 363 | -- `c = h(u, u)`, written with the Gram matrix of the higher floors or after extension by zero |
| 364 | set c : A := star u ⬝ᵥ upperGram (T := T) (a + 1) *ᵥ u with hc |
| 365 | have h_form : star (inclMatrix A Subtype.val *ᵥ u) ⬝ᵥ T.splitGram *ᵥ inclMatrix A Subtype.val *ᵥ u |
| 366 | = c := by |
| 367 | rw [hc, upperGram, ← conjTranspose_inclMatrix_mul_mul_inclMatrix, star_mulVec_dotProduct, |
| 368 | mulVec_mulVec, mulVec_mulVec] |
| 369 | -- the coordinates of the chart point, where `h(t u, t u) = t̄ t c` |
| 370 | have h_chart : flatChart (upperGram (T := T) (a + 1)) 0 ((t, t.val • u), β) = |
| 371 | ![(β - element * c) * t, t] ⊕ᵥ t.val • u := by |
| 372 | have h_cancel : Ring.inverse (star t.val) * star t.val = 1 := |
| 373 | Ring.inverse_mul_cancel _ t.isUnit.star |
| 374 | have h_scale : star (t.val • u) ⬝ᵥ upperGram (T := T) (a + 1) *ᵥ t.val • u = |
| 375 | star t.val * (t * c) := by |
| 376 | simp [mulVec_smul, hc, mul_left_comm] |
| 377 | rw [flatChart, h_scale] |
| 378 | congr 2 |
| 379 | rw [ZeroMemClass.coe_zero] |
| 380 | linear_combination (-element * t * c) * h_cancel |
| 381 | have h_incl (x y : A) (w : {i : 𝔰.BesselIndex // a + 1 ≤ floorOf i} → A) : |
| 382 | inclMatrix A (floorIndexEnum a) *ᵥ (![x, y] ⊕ᵥ w) = |
| 383 | Pi.single (eStar a) y + inclMatrix A Subtype.val *ᵥ w + x • Pi.single (.inl a) 1 := by |
| 384 | ext i |
| 385 | simp [floorIndexEnum, inclMatrix, mulVec_apply_eq_sum, Pi.single_apply, Matrix.one_apply, |
| 386 | add_comm, add_assoc] |
| 387 | -- the two sums differ only in their `Fintype` instances |
| 388 | congr! |
| 389 | rw [h_chart, h_incl, mulVec_smul, h_weyl, heisenbergElem_mulVec, h_form] |
| 390 | simp [inclMatrix_val_mulVec, ↓splitGram_col] |
| 391 | |
| 392 | /-- Let f be the b-th vector of the frame (e_0, …, e_{ϱ-1}, z) = `𝔰.besselFrame`. The map |
| 393 | `orbitPoint b`, σ ↦ σ⁻¹ f, carries the measure `F.floorMeasure b` on the isometries fixing the basis |
| 394 | vectors of floor below b to the measure `F.floorQuadricMeasure b` on the quadric h(v, v) = h(f, f) |
| 395 | in the span of the other basis vectors. -/ |
| 396 | lemma measurePreserving_orbitPoint {F : PlaceData ι T m} (b : Fin 𝔰.n) : |
| 397 | MeasurePreserving (orbitPoint b) (F.floorMeasure b) (F.floorQuadricMeasure b) := by |
| 398 | refine ⟨by fun_prop, b.lastCases (by simp [floorMeasure, map_orbitPoint_topFloorMeasure]) fun a ↦ |
| 399 | ?_⟩ |
| 400 | -- Below floor ϱ, integrate a test function `Φ` in the flat chart `χ` of the quadric. A chart |
| 401 | -- point is the value of `orbitPoint` at a point of the big cell, the inverse of `floorWeyl a t` |
| 402 | -- times a Heisenberg element. |
| 403 | refine ext_of_lintegral _ fun Φ hΦ ↦ ?_ |
| 404 | let V : Type := {i : 𝔰.BesselIndex // a + 1 ≤ floorOf i} → A |
| 405 | let χ (t : A) (u : V) (β : skewAdjoint A) : 𝔰.BesselIndex → A := |
| 406 | inclMatrix A (floorIndexEnum a) *ᵥ flatChart (upperGram (T := T) (a + 1)) 0 ((t, u), β) |
| 407 | set d : ℕ := 𝔰.k + 1 + 2 * (𝔰.ϱ - (a + 1)) with hd |
| 408 | -- both integrals are iterated integrals over `t`, the higher floors and the skew elements |
| 409 | have h_floor : ∫⁻ v, Φ v ∂(F.floorMeasure a.castSucc).map (orbitPoint a.castSucc) = |
| 410 | ∫⁻ t : A, modulus t ^ d * ∫⁻ u : V, ∫⁻ β : skewAdjoint A, |
| 411 | Φ (orbitPoint a.castSucc ((floorWeyl a t : T.G)⁻¹ * heisenbergElem a (u, β))) |
| 412 | ∂P.skewMeasure := by |
| 413 | simp (disch := fun_prop) only [floorMeasure, Fin.val_castSucc, Fin.is_lt, ↓reduceIte, mconv, |
| 414 | heisenbergMeasure, ↓reduceDIte, lintegral_map, lintegral_prod, hd] |
| 415 | rw [weylLaw, lintegral_map (by fun_prop) (by fun_prop), |
| 416 | lintegral_withDensity_eq_lintegral_mul _ (by fun_prop) (by fun_prop)] |
| 417 | rfl |
| 418 | have h_quadric : ∫⁻ v, Φ v ∂F.floorQuadricMeasure a.castSucc = |
| 419 | ∫⁻ t : A, ∫⁻ u : V, ∫⁻ β : skewAdjoint A, Φ (χ t u β) ∂P.skewMeasure := by |
| 420 | rw [floorQuadricMeasure_castSucc_eq_map] |
| 421 | simp (disch := fun_prop) only [lintegral_map, volume_eq_prod, lintegral_prod, V, χ] |
| 422 | rw [lintegral_prod _ (by fun_prop)] |
| 423 | rw [h_floor, h_quadric] |
| 424 | refine lintegral_congr_of_ae_imp ae_isUnit ?_ |
| 425 | rintro _ ⟨t, rfl⟩ |
| 426 | calc _ = modulus t.val ^ d * |
| 427 | ∫⁻ u : V, ∫⁻ β : skewAdjoint A, Φ (χ t (t.val • u) β) ∂P.skewMeasure := by |
| 428 | -- `orbitPoint` inverts, and the inverse of `heisenbergElem a (u, β)` has parameters |
| 429 | -- `(-u, c - β)` with `c` independent of `β`; both substitutions keep the measure |
| 430 | rw [← lintegral_neg_eq_self] |
| 431 | refine congrArg _ (lintegral_congr fun u ↦ ?_) |
| 432 | let v : 𝔰.BesselIndex → A := inclMatrix A (↑) *ᵥ (-u) |
| 433 | let c : skewAdjoint A := skewPart (element * star v ⬝ᵥ T.splitGram *ᵥ v) |
| 434 | have h_point (β : skewAdjoint A) : |
| 435 | orbitPoint a.castSucc ((floorWeyl a t.val : T.G)⁻¹ * heisenbergElem a (-u, β)) = |
| 436 | χ t (t.val • u) (c - β) := by |
| 437 | refine .trans ?_ (inclMatrix_mulVec_flatChart_eq_heisenbergElem_mulVec a t u (c - β)).symm |
| 438 | rw [mulVec_mulVec] |
| 439 | simp [orbitPoint, heisenbergElem_inv, c, v] |
| 440 | simp only [h_point] |
| 441 | exact lintegral_sub_left_eq_self (fun β : skewAdjoint A ↦ Φ (χ t (t.val • u) β)) c |
| 442 | _ = ∫⁻ u : V, ∫⁻ β : skewAdjoint A, Φ (χ t u β) ∂P.skewMeasure := by |
| 443 | -- scaling the higher floors by `t` has modulus `modulus t` to the power of their dimension |
| 444 | have h_scale : (volume : Measure V).map (t.val • ·) = (modulus t.val ^ d)⁻¹ • volume := by |
| 445 | simpa only [card_subtype_succ_le_floorOf_eq] using |
| 446 | Place.map_smul_volume_pi {i : 𝔰.BesselIndex // a + 1 ≤ floorOf i} t |
| 447 | rw [eq_comm, lintegral_eq_mul_lintegral_map h_scale (by simp) (by simp), |
| 448 | lintegral_map (by fun_prop) (by fun_prop)] |
| 449 | |
| 450 | /-- For a floor `b : Fin 𝔰.n`, that is b ≤ ϱ, and s in G^(b) = `floorGroup b`, the map σ ↦ s σ⁻¹ f, |
| 451 | with f the frame vector of floor b, carries the floor measure `F.floorMeasure b` to the quadric |
| 452 | measure `F.floorQuadricMeasure b`. -/ |
| 453 | lemma measurePreserving_mulVec_orbitPoint {s : T.G} {F : PlaceData ι T m} (b : Fin 𝔰.n) |
| 454 | (hs : s ∈ floorGroup b) : |
| 455 | MeasurePreserving (s *ᵥ orbitPoint b ·) (F.floorMeasure b) (F.floorQuadricMeasure b) := by |
| 456 | -- `s` preserves `floorVolume b` and the form, hence the disintegration along the form. |
| 457 | let M : Matrix 𝔰.BesselIndex 𝔰.BesselIndex A := s |
| 458 | have h_incl : MeasurePreserving |
| 459 | (fun v : {i : 𝔰.BesselIndex // b ≤ floorOf i} → A ↦ inclMatrix A Subtype.val *ᵥ v) |
| 460 | volume (floorVolume b) := |
| 461 | (by fun_prop : Measurable _).measurePreserving volume |
| 462 | -- extension by zero intertwines `M` with its block on the floors from `b` on |
| 463 | have h_vol : MeasurePreserving (M *ᵥ ·) (floorVolume b) (floorVolume b) := |
| 464 | h_incl.of_semiconj (measurePreserving_floor_block_mulVec hs) |
| 465 | (inclMatrix_mulVec_floor_block b.is_le hs) (by fun_prop) |
| 466 | have h_form : Mᴴ * T.splitGram * M = T.splitGram := mem_unitaryGroupOf_iff.1 s.prop |
| 467 | have h_inv : s⁻¹.val.val * M = 1 := s.val.inv_mul |
| 468 | have h_image : IsDisintegration ((floorVolume b).map (M *ᵥ ·)) T.splitGram |
| 469 | fun β : skewAdjoint A ↦ (F.floorQuadricMeasure b β).map (M *ᵥ ·) := |
| 470 | (F.isDisintegration_floorVolume b rfl).map h_form h_inv |
| 471 | have h_same : IsDisintegration ((floorVolume b).map (M *ᵥ ·)) T.splitGram |
| 472 | fun β : skewAdjoint A ↦ F.floorQuadricMeasure b β := |
| 473 | F.isDisintegration_floorVolume b h_vol.map_eq |
| 474 | have h_quadric : |
| 475 | MeasurePreserving (M *ᵥ ·) (F.floorQuadricMeasure b) (F.floorQuadricMeasure b) := |
| 476 | { measurable := h_vol.measurable, map_eq := h_image.unique h_same } |
| 477 | exact h_quadric.comp (measurePreserving_orbitPoint b) |
| 478 | |
| 479 | /-- The measure θ_l = `F.floorMeasure l` of floor l is concentrated on the group |
| 480 | G^(l) = `floorGroup l`: almost every `x` lies in `floorGroup l`. -/ |
| 481 | lemma ae_floorMeasure_mem : ∀ᵐ x : T.G ∂F.floorMeasure l, x ∈ floorGroup l := by |
| 482 | fun_cases floorMeasure |
| 483 | · -- below floor ϱ, both factors are carried by G^(l) |
| 484 | have h_heisenberg : ∀ᵐ x : T.G ∂heisenbergMeasure l, x ∈ floorGroup l := |
| 485 | ae_mem_floorUnipotent.mono fun x hx ↦ hx.1 |
| 486 | have h_weyl : ∀ᵐ x : T.G ∂weylLaw l, x ∈ floorGroup l := by |
| 487 | simp [ae_map_iff measurable_floorWeyl.fun_inv.aemeasurable, measurableSet_floorGroup] |
| 488 | exact ae_mem_mconv h_weyl h_heisenberg measurableSet_floorGroup |
| 489 | -- floors ϱ and ϱ + 1 carry `F.topFloorMeasure` and `F.measureH`, the higher ones the Dirac |
| 490 | -- measure at 1 |
| 491 | case case2 h_floor => simp [ae_topFloorMeasure_mem_floorGroup, h_floor] |
| 492 | case case3 h_floor => simp [ae_measureH_mem_besselH, h_floor] |
| 493 | case case4 => simp |
| 494 | |
| 495 | /-- Congruence rule for integrals over floor `l`: since `F.floorMeasure l` is carried by the group |
| 496 | G^(l) = `floorGroup l`, the integrand may be changed outside G^(l). -/ |
| 497 | @[congr] |
| 498 | lemma lintegral_floorMeasure_congr {μ : Measure T.G} (hμ : F.floorMeasure l = μ) |
| 499 | (h_eq : ∀ σ ∈ floorGroup l, f σ = Φ σ) : |
| 500 | lintegral (F.floorMeasure l) f = lintegral μ Φ := by |
| 501 | rw [← hμ] |
| 502 | exact lintegral_congr_of_ae_imp ae_floorMeasure_mem h_eq |
| 503 | |
| 504 | /-- The measure of floor `𝔰.n = ϱ + 1` is the measure of H. -/ |
| 505 | @[simp] |
| 506 | lemma floorMeasure_top : F.floorMeasure 𝔰.n = F.measureH := by simp [floorMeasure] |
| 507 | |
| 508 | /-- The convolution θ_{ϱ+1} ∗ ⋯ ∗ θ_l of the floor measures from floor `l` on is the convolution |
| 509 | from floor `l + 1` on, convolved with θ_l = `F.floorMeasure l`. -/ |
| 510 | lemma quotientMeasureFrom_eq_succ_mconv : |
| 511 | F.quotientMeasureFrom l = F.quotientMeasureFrom (l + 1) ∗ₘ F.floorMeasure l := by |
| 512 | obtain hl | hl : l < 𝔰.ϱ + 2 ∨ 𝔰.ϱ + 2 ≤ l := lt_or_ge l (𝔰.ϱ + 2) |
| 513 | · rw [quotientMeasureFrom, show 𝔰.ϱ + 2 - l = 𝔰.ϱ + 2 - (l + 1) + 1 by lia, descConv] |
| 514 | · -- all three measures are the Dirac measure at 1 |
| 515 | have h_dirac : F.floorMeasure l = dirac 1 := by grind [floorMeasure] |
| 516 | rw [h_dirac, mconv_dirac_one, quotientMeasureFrom, quotientMeasureFrom, |
| 517 | Nat.sub_eq_zero_of_le hl, |
| 518 | Nat.sub_eq_zero_of_le (hl.trans l.le_succ), descConv, descConv] |
| 519 | |
| 520 | /-- Let l < ϱ = `𝔰.ϱ`, the number of hyperbolic pairs, and let θ_a = `F.floorMeasure a`. Then |
| 521 | θ_{l+i} ∗ ⋯ ∗ θ_l equals `weylLaw l` ∗ (θ_{l+i} ∗ ⋯ ∗ θ_{l+1}) ∗ η_l. Here `weylLaw l` is carried by |
| 522 | the inverses of the elements `floorWeyl l c` that swap the lines of e_l and e*_l, and |
| 523 | η_l = `heisenbergMeasure l` is the Haar measure of the Heisenberg group attached to e_l. -/ |
| 524 | lemma descConv_floorMeasure_succ {F : PlaceData ι T m} (h : l < 𝔰.ϱ) : |
| 525 | descConv F.floorMeasure l (i + 1) = |
| 526 | (weylLaw l ∗ₘ descConv F.floorMeasure (l + 1) i) ∗ₘ heisenbergMeasure l := by |
| 527 | -- `weylLaw l` commutes with the higher floors, which are carried by `G^(l+1)` |
| 528 | have h_comm : |
| 529 | descConv F.floorMeasure (l + 1) i ∗ₘ weylLaw l = |
| 530 | weylLaw l ∗ₘ descConv F.floorMeasure (l + 1) i := by |
| 531 | refine mconv_comm_of_ae ((ae_descConv_mem ae_floorMeasure_mem).mono fun s hs ↦ ?_) |
| 532 | have h_commute (c : A) : (floorWeyl l c : T.G)⁻¹ * s = s * (floorWeyl l c)⁻¹ := |
| 533 | (commute_weylOn (by lia) hs).inv_left.eq |
| 534 | simp (disch := fun_prop) [dirac_mconv, mconv_dirac, Measure.map_map, comp_def, h_commute] |
| 535 | rw [descConv, floorMeasure, ite_eq_left h, ← mconv_assoc, h_comm] |
| 536 | |
| 537 | omit [TopologicalSpace A] [MeasureSpace A] [Place A] [IsHermitianUnit T.splitGram] in |
| 538 | /-- Let j < ϱ and let w_j(c) = `floorWeyl j c` be the Weyl element of floor j with unit parameter |
| 539 | c. The diagonal elements `weylRatio (j + 1) p q` and `weylRatio j p q`, with entries p_a / q_a at |
| 540 | the e_a, differ by a factor that takes w_j((p_j / q_j) c)⁻¹ to w_j(c)⁻¹. -/ |
| 541 | lemma weylRatio_succ_mul_floorWeyl_inv (hj : j < 𝔰.ϱ) (p q : ℕ → Aˣ) (c : Aˣ) : |
| 542 | weylRatio (j + 1) p q * (floorWeyl j ((p j / q j).val * c : A))⁻¹ = |
| 543 | (weylRatio j p q * (floorWeyl j (c : A))⁻¹ : T.G) := by |
| 544 | -- Compare the entries: both sides are a diagonal matrix times a monomial matrix. The `simp` call |
| 545 | -- writes the entries as case distinctions on the floor and level of the two indices. |
| 546 | ext a b |
| 547 | simp [coe_weylRatio, floorWeyl, weylOn, division_def, Ring.mul_inverse_rev] |
| 548 | grind [Units.inv_mul, =_ star_mul, oppositeIndex_involutive_and_floorOf_level] |
| 549 | |
| 550 | /-- Let j ≤ ϱ = `𝔰.ϱ`, the number of hyperbolic pairs e_a, e*_a, and let `weylRatio j p q` be the |
| 551 | diagonal isometry that scales e_a by p_a / q_a for a < j. Left translation by it multiplies the |
| 552 | integral of a measurable Φ ≥ 0 for `F.quotientMeasureFrom 0`, the convolution of all the measures |
| 553 | `F.floorMeasure a`, by the product over a < j of |p_a / q_a| ^ (k + 2 (ϱ - a)). Here k = `𝔰.k` and |
| 554 | |·| is the `modulus` of the ring `A`, the factor by which a unit scales its volume. -/ |
| 555 | lemma lintegral_weylRatio_mul {Φ : T.G → ℝ≥0∞} {F : PlaceData ι T m} {p q : ℕ → Aˣ} (hj : j ≤ 𝔰.ϱ) |
| 556 | (hΦ : Measurable Φ) : |
| 557 | ∫⁻ x : T.G, Φ (weylRatio j p q * x) ∂F.quotientMeasureFrom 0 = |
| 558 | (∏ a ∈ Finset.range j, modulus (p a / q a).val ^ (𝔰.k + 2 * (𝔰.ϱ - a))) * |
| 559 | ∫⁻ x : T.G, Φ x ∂F.quotientMeasureFrom 0 := by |
| 560 | induction j with |
| 561 | | zero => simp [weylRatio] |
| 562 | | succ j ih => |
| 563 | -- split off the Weyl element of floor `j`; `μ` is the rest of the convolution |
| 564 | let μ : Measure T.G := |
| 565 | descConv F.floorMeasure (j + 1) (𝔰.ϱ - j + 1) ∗ₘ heisenbergMeasure j ∗ₘ |
| 566 | descConv F.floorMeasure 0 j |
| 567 | have hμ : F.quotientMeasureFrom 0 = weylLaw j ∗ₘ μ := by |
| 568 | rw [quotientMeasureFrom, show 𝔰.ϱ + 2 - 0 = j + (𝔰.ϱ - j + 1 + 1) by lia, |
| 569 | descConv_add, zero_add, descConv_floorMeasure_succ hj, mconv_assoc, mconv_assoc] |
| 570 | -- integrate first over the parameter `c` of that Weyl element |
| 571 | have h_split (Ψ : T.G → ℝ≥0∞) (hΨ : Measurable Ψ) : |
| 572 | ∫⁻ x : T.G, Ψ x ∂F.quotientMeasureFrom 0 = |
| 573 | ∫⁻ c : A, P.modulus c ^ (𝔰.k + 1 + 2 * (𝔰.ϱ - (j + 1))) * |
| 574 | ∫⁻ y : T.G, Ψ ((floorWeyl j c)⁻¹ * y) ∂μ := by |
| 575 | rw [hμ, lintegral_mconv hΨ, lintegral_map (by fun_prop) (by fun_prop), |
| 576 | lintegral_withDensity_eq_lintegral_mul _ (by fun_prop) (by fun_prop)] |
| 577 | simp only [Pi.mul_apply] |
| 578 | -- rescaling the parameter of the Weyl element by `r` absorbs the new factor |
| 579 | set r : Aˣ := p j / q j with hr |
| 580 | have h_shift (c : Aˣ) : |
| 581 | weylRatio (j + 1) p q * (floorWeyl j (r * c : A))⁻¹ = |
| 582 | (weylRatio j p q * (floorWeyl j (c : A))⁻¹ : T.G) := |
| 583 | weylRatio_succ_mul_floorWeyl_inv hj p q c |
| 584 | have h_exp : 𝔰.k + 2 * (𝔰.ϱ - j) = 𝔰.k + 1 + 2 * (𝔰.ϱ - (j + 1)) + 1 := by lia |
| 585 | have hΦ_shift (n : ℕ) : Measurable fun x : T.G ↦ Φ (weylRatio n p q * x) := by fun_prop |
| 586 | -- by induction it suffices to compare the translations by the elements of length `j + 1`, `j` |
| 587 | rw [Finset.prod_range_succ_comm, ← hr, mul_assoc, ← ih (by lia), h_split _ (hΦ_shift (j + 1)), |
| 588 | h_split _ (hΦ_shift j)] |
| 589 | -- substitute `r * c` for `c` on the left, which costs the factor `modulus r` |
| 590 | rw [lintegral_eq_mul_lintegral_map (map_mul_volume r) (modulus_ne_zero r) (modulus_ne_top r), |
| 591 | lintegral_map (by fun_prop) (by fun_prop), ← lintegral_const_mul _ (by fun_prop), |
| 592 | ← lintegral_const_mul _ (by fun_prop)] |
| 593 | -- almost every parameter is a unit, where `h_shift` applies |
| 594 | refine lintegral_congr_ae (ae_isUnit.mono ?_) |
| 595 | rintro _ ⟨c, rfl⟩ |
| 596 | simp [h_exp, h_shift, mul_pow, ← mul_assoc, pow_succ'] |
| 597 | |
| 598 | /-- Let S be a subgroup that contains G^(l) = `floorGroup l`, the isometries fixing the basis |
| 599 | vectors of floor below l, and let R^(l) = `partialUnitriangularGroup l` be the group of the |
| 600 | isometries unitriangular on the first l frame vectors. If f ≥ 0 is measurable and left invariant |
| 601 | under R^(l+1) ∩ S, its integral for the measure `F.floorMeasure l` on G^(l) does not change under |
| 602 | right translation by an element s of R^(l) ∩ S. -/ |
| 603 | lemma lintegral_floorMeasure_mul_right {s : T.G} {S : Subgroup T.G} {f : T.G → ℝ≥0∞} |
| 604 | {F : PlaceData ι T m} (hS : floorGroup l ≤ S) |
| 605 | (hf_inv : (partialUnitriangularGroup (l + 1) ⊓ S).FixesLeft f) |
| 606 | (hs : s ∈ partialUnitriangularGroup l ⊓ S) (hf : Measurable f := by fun_prop) : |
| 607 | ∫⁻ x : T.G, f (x * s) ∂F.floorMeasure l = ∫⁻ x : T.G, f x ∂F.floorMeasure l := by |
| 608 | obtain ⟨hs_unitri, hsS⟩ := Subgroup.mem_inf.mp hs |
| 609 | obtain ⟨γ, hγ, ν, hν, rfl⟩ := exists_floorGroup_mul_unipotentBelow hs_unitri |
| 610 | -- The factor ν drops out: x γ ν = ((x γ) ν (x γ)⁻¹) x γ, and f is invariant under the conjugate. |
| 611 | have h_drop (x : T.G) (hx : x ∈ floorGroup l) : f (x * (γ * ν)) = f (x * γ) := by |
| 612 | have h_unitri : x * γ * ν * (x * γ)⁻¹ ∈ partialUnitriangularGroup (l + 1) := |
| 613 | unipotentBelow_le_partialUnitriangularGroup (conj_mem_unipotentBelow (mul_mem hx hγ) hν) |
| 614 | have h_mem : x * γ * ν * (x * γ)⁻¹ ∈ S := by |
| 615 | rw [mul_assoc x γ] |
| 616 | exact mul_mem (mul_mem (hS hx) hsS) (inv_mem (hS (mul_mem hx hγ))) |
| 617 | calc f (x * (γ * ν)) = f (x * γ * ν * (x * γ)⁻¹ * (x * γ)) := by |
| 618 | rw [inv_mul_cancel_right, mul_assoc] |
| 619 | _ = f (x * γ) := hf_inv _ ⟨h_unitri, h_mem⟩ (x * γ) |
| 620 | rw [lintegral_floorMeasure_congr rfl h_drop] |
| 621 | obtain h | rfl | h := lt_trichotomy l 𝔰.n |
| 622 | · -- On G^(l), `f = f₀ ∘ orbitPoint b`; the points of `x` and of `x γ` differ by the action of |
| 623 | -- `γ⁻¹`, and both maps carry the floor measure to the same quadric measure. |
| 624 | let b : Fin 𝔰.n := ⟨l, h⟩ |
| 625 | obtain ⟨f₀, hf₀, hf_eq⟩ : ∃ f₀ : (𝔰.BesselIndex → A) → ℝ≥0∞, |
| 626 | Measurable f₀ ∧ ∀ x ∈ floorGroup l, f x = f₀ (orbitPoint b x) := |
| 627 | exists_factor_orbitPoint b hf fun t ⟨ht_unitri, ht⟩ ↦ hf_inv t ⟨ht_unitri, hS ht⟩ |
| 628 | calc ∫⁻ x : T.G, f (x * γ) ∂F.floorMeasure l |
| 629 | = ∫⁻ x : T.G, f₀ ((γ⁻¹ : T.G) *ᵥ orbitPoint b x) ∂F.floorMeasure l := by |
| 630 | refine lintegral_floorMeasure_congr rfl fun x hx ↦ ?_ |
| 631 | rw [hf_eq _ (mul_mem hx hγ), orbitPoint_mul] |
| 632 | _ = ∫⁻ v : 𝔰.BesselIndex → A, f₀ v ∂F.floorQuadricMeasure b := |
| 633 | (measurePreserving_mulVec_orbitPoint b (inv_mem hγ)).lintegral_comp hf₀ |
| 634 | _ = ∫⁻ x : T.G, f₀ (orbitPoint b x) ∂F.floorMeasure l := |
| 635 | ((measurePreserving_orbitPoint b).lintegral_comp hf₀).symm |
| 636 | _ = ∫⁻ x : T.G, f x ∂F.floorMeasure l := (lintegral_floorMeasure_congr rfl hf_eq).symm |
| 637 | · -- on the last floor G^(l) is H, under which `F.measureH` is right invariant |
| 638 | rw [floorMeasure_top, ← lintegral_mconv_dirac, F.measureH_mconv_dirac (by simpa using hγ)] |
| 639 | · -- above the last floor the group G^(l) is trivial |
| 640 | have hγ_one : γ = 1 := by simpa [floorGroup_eq_bot h] using hγ |
| 641 | simp [hγ_one] |
| 642 | |
| 643 | /-- The convolution `F.partialGroupMeasure l i` of the Heisenberg and floor measures of the `i` |
| 644 | floors from `l` on is carried by G^(l) = `floorGroup l`, the isometries fixing the basis vectors of |
| 645 | floor below `l`. -/ |
| 646 | lemma ae_partialGroupMeasure_mem {F : PlaceData ι T m} : |
| 647 | ∀ᵐ x : T.G ∂F.partialGroupMeasure l i, x ∈ floorGroup l := by |
| 648 | have h_heisenberg {a : ℕ} : ∀ᵐ x : T.G ∂heisenbergMeasure a, x ∈ floorGroup a := |
| 649 | ae_mem_floorUnipotent.mono fun x hx ↦ hx.1 |
| 650 | exact ae_descConv_mem (ae_mem_mconv h_heisenberg ae_floorMeasure_mem) |
| 651 | |
| 652 | /-- Let η_a = `heisenbergMeasure a` and θ_a = `F.floorMeasure a`. If l + i = ϱ + 2, the convolution |
| 653 | (η_{ϱ+1}∗θ_{ϱ+1}) ∗ ⋯ ∗ (η_l∗θ_l) of i factors is invariant under right translation by every s in |
| 654 | G^(l) = `floorGroup l`. -/ |
| 655 | lemma partialGroupMeasure_mconv_dirac {s : T.G} {F : PlaceData ι T m} (h : l + i = 𝔰.ϱ + 2) |
| 656 | (hs : s ∈ floorGroup l) : |
| 657 | F.partialGroupMeasure l i ∗ₘ dirac s = F.partialGroupMeasure l i := by |
| 658 | induction i generalizing l s with |
| 659 | | zero => |
| 660 | rw [floorGroup_eq_bot (by lia)] at hs |
| 661 | rw [hs, mconv_dirac_one] |
| 662 | | succ i ih => |
| 663 | -- Write the measure as `ρ ∗ₘ F.floorMeasure l` and apply `lintegral_floorMeasure_mul_right` to |
| 664 | -- the `ρ`-average of a test function. |
| 665 | let ρ : Measure T.G := F.partialGroupMeasure (l + 1) i ∗ₘ heisenbergMeasure l |
| 666 | have h_split : F.partialGroupMeasure l (i + 1) = ρ ∗ₘ F.floorMeasure l := by |
| 667 | rw [partialGroupMeasure, descConv, mconv_assoc] |
| 668 | -- An element `t` of `R^(l+1) ∩ G^(l)` is `u * n` with `u` in `G^(l+1)`, absorbed by induction, |
| 669 | -- and `n` in the Heisenberg group of floor `l`, absorbed by `heisenbergMeasure l`. |
| 670 | have hρ_right (t : T.G) (ht : t ∈ partialUnitriangularGroup (l + 1) ⊓ floorGroup l) : |
| 671 | ρ ∗ₘ dirac t = ρ := by |
| 672 | obtain ⟨u, hu, n, hn, rfl⟩ := exists_floorGroup_mul_floorUnipotent ht |
| 673 | dsimp only [ρ] |
| 674 | rw [← dirac_mconv_dirac, ← mconv_assoc, mconv_assoc (F.partialGroupMeasure (l + 1) i), |
| 675 | ← dirac_mconv_heisenbergMeasure_comm hu, ← mconv_assoc, ih (by lia) hu, mconv_assoc, |
| 676 | (heisenbergMeasure_mconv_dirac hn).1] |
| 677 | refine ext_of_lintegral _ fun f hf ↦ ?_ |
| 678 | let avg (y : T.G) : ℝ≥0∞ := ∫⁻ x : T.G, f (x * y) ∂ρ |
| 679 | have h_inv : (partialUnitriangularGroup (l + 1) ⊓ floorGroup l).FixesLeft avg := |
| 680 | fun t ht g ↦ by |
| 681 | simp only [avg, ← lintegral_mconv_dirac, ← dirac_mconv_dirac, ← mconv_assoc, hρ_right t ht] |
| 682 | rw [lintegral_mconv_dirac, h_split, lintegral_mconv_symm (by fun_prop), lintegral_mconv_symm hf] |
| 683 | simpa only [avg, mul_assoc] using lintegral_floorMeasure_mul_right le_rfl h_inv |
| 684 | ⟨mem_partialUnitriangularGroup_of_mem_floorGroup hs, hs⟩ |
| 685 | |
| 686 | /-- The group measure, the convolution over all floors, is right invariant. -/ |
| 687 | instance isMulRightInvariant_groupMeasure : F.groupMeasure.IsMulRightInvariant where |
| 688 | map_mul_right_eq_self g := by |
| 689 | -- G^(0) is the whole group |
| 690 | have hg : g ∈ floorGroup 0 := by simp |
| 691 | rw [← mconv_dirac, groupMeasure, partialGroupMeasure_mconv_dirac (zero_add (𝔰.ϱ + 2)) hg] |
| 692 | |
| 693 | /-- Let η_a = `heisenbergMeasure a` and θ_a = `F.floorMeasure a`. The measure |
| 694 | `F.partialGroupMeasure 0 j` = (η_{j−1}∗θ_{j−1}) ∗ ⋯ ∗ (η₀∗θ₀) equals the ascending convolution η₀ ∗ |
| 695 | ⋯ ∗ η_{j−1} convolved with the descending convolution θ_{j−1} ∗ ⋯ ∗ θ₀. -/ |
| 696 | lemma partialGroupMeasure_zero_eq {F : PlaceData ι T m} : |
| 697 | F.partialGroupMeasure 0 j = ascConv heisenbergMeasure j ∗ₘ descConv F.floorMeasure 0 j := by |
| 698 | induction j with |
| 699 | | zero => simp [descConv, ascConv] |
| 700 | | succ j ih => |
| 701 | -- `F.floorMeasure j` is carried by `floorGroup j`, so it commutes with the lower |
| 702 | -- `heisenbergMeasure`. |
| 703 | have h_comm : |
| 704 | F.floorMeasure j ∗ₘ ascConv heisenbergMeasure j = |
| 705 | ascConv heisenbergMeasure j ∗ₘ F.floorMeasure j := |
| 706 | mconv_comm_of_ae (F.ae_floorMeasure_mem.mono ascConv_heisenbergMeasure_dirac_comm) |
| 707 | calc F.partialGroupMeasure 0 (j + 1) |
| 708 | = (heisenbergMeasure j ∗ₘ F.floorMeasure j) ∗ₘ F.partialGroupMeasure 0 j := by |
| 709 | simp only [partialGroupMeasure, descConv_succ] |
| 710 | _ = heisenbergMeasure j ∗ₘ ((F.floorMeasure j ∗ₘ ascConv heisenbergMeasure j) ∗ₘ |
| 711 | descConv F.floorMeasure 0 j) := by |
| 712 | simp only [ih, mconv_assoc] |
| 713 | _ = ascConv heisenbergMeasure (j + 1) ∗ₘ descConv F.floorMeasure 0 (j + 1) := by |
| 714 | simp only [h_comm, descConv_succ, ascConv_heisenbergMeasure_succ, mconv_assoc] |
| 715 | |
| 716 | /-- The measure θ_l = `F.floorMeasure l` of every floor of the place datum `F` is non-zero. -/ |
| 717 | lemma floorMeasure_ne_zero {F : PlaceData ι T m} (l : ℕ) : F.floorMeasure l ≠ 0 := by |
| 718 | obtain hl | rfl | hl : l < 𝔰.n ∨ l = 𝔰.n ∨ 𝔰.n < l := lt_trichotomy l 𝔰.n |
| 719 | · -- the measure maps onto a non-zero quadric measure |
| 720 | have h_map := measurePreserving_orbitPoint (F := F) ⟨l, hl⟩ |
| 721 | have h_quadric : F.floorQuadricMeasure ⟨l, hl⟩ ≠ 0 := by |
| 722 | simp (disch := fun_prop) [NeZero.ne] |
| 723 | exact (Measure.map_ne_zero_iff h_map.aemeasurable).1 (h_map.map_eq ▸ h_quadric) |
| 724 | · rw [floorMeasure_top] |
| 725 | exact NeZero.ne F.measureH |
| 726 | · have h_dirac : F.floorMeasure l = dirac 1 := by grind [floorMeasure] |
| 727 | rw [h_dirac] |
| 728 | exact dirac_ne_zero |
| 729 | |
| 730 | /-- The measure `F.partialGroupMeasure l i` of the place data `F` is non-zero. It is the convolution |
| 731 | of the measures `heisenbergMeasure a` and `F.floorMeasure a` over the `i` floors l ≤ a < l + i. |
| 732 | Floor a < ϱ is the hyperbolic pair e_a, e*_a, floor ϱ is z, and floor ϱ + 1 holds the other middle |
| 733 | vectors. -/ |
| 734 | lemma partialGroupMeasure_ne_zero {F : PlaceData ι T m} : F.partialGroupMeasure l i ≠ 0 := by |
| 735 | have h_heis (a : ℕ) : (heisenbergMeasure a : Measure T.G) ≠ 0 := by |
| 736 | obtain ha | ha : a < 𝔰.ϱ ∨ 𝔰.ϱ ≤ a := lt_or_ge a 𝔰.ϱ |
| 737 | · -- it is a factor of `F.floorMeasure a` |
| 738 | intro h_zero |
| 739 | apply F.floorMeasure_ne_zero a |
| 740 | rw [floorMeasure, ite_eq_left ha, h_zero, mconv_zero] |
| 741 | · rw [heisenbergMeasure_eq_dirac_one ha] |
| 742 | exact dirac_ne_zero |
| 743 | -- the total mass of a convolution is the product of the total masses |
| 744 | have h_univ (μ μ' : Measure T.G) [SFinite μ] [SFinite μ'] : |
| 745 | (μ ∗ₘ μ') Set.univ = μ Set.univ * μ' Set.univ := by |
| 746 | simp [mconv_apply_eq_lintegral .univ] |
| 747 | rw [← measure_univ_ne_zero] |
| 748 | induction i generalizing l with |
| 749 | | zero => simp [descConv] |
| 750 | | succ i ih => |
| 751 | have h_mass : F.partialGroupMeasure l (i + 1) Set.univ = F.partialGroupMeasure (l + 1) i |
| 752 | Set.univ * |
| 753 | (heisenbergMeasure (T := T) l Set.univ * F.floorMeasure l Set.univ) := by |
| 754 | rw [partialGroupMeasure, descConv, h_univ, h_univ] |
| 755 | rw [h_mass] |
| 756 | refine mul_ne_zero ih ?_ |
| 757 | simp [h_heis, floorMeasure_ne_zero] |
| 758 | |
| 759 | /-- Let the measure `F.groupMeasure` on the unitary group, the convolution over all floors, be a |
| 760 | Haar measure and equal `ρ ∗ ν`, with `ρ` carried by the subgroup `S`, right invariant under `S` and |
| 761 | commuting with the unit mass at `s`. Then left translation by `s` does not change the `ν`-integral |
| 762 | of a measurable `Φ ≥ 0` that is invariant under left translation by `S` (`S.FixesLeft Φ`). -/ |
| 763 | lemma lintegral_mul_left_eq_of_factor {ν ρ : Measure T.G} [SFinite ν] [SFinite ρ] {s : T.G} |
| 764 | {S : Subgroup T.G} {Φ : T.G → ℝ≥0∞} {F : PlaceData ι T m} [F.groupMeasure.IsHaarMeasure] |
| 765 | (h_factor : F.groupMeasure = ρ ∗ₘ ν) (hρ_mem : ∀ᵐ y : T.G ∂ρ, y ∈ S) |
| 766 | (hρ_right : ∀ t ∈ S, ρ ∗ₘ dirac t = ρ) (hs : dirac s ∗ₘ ρ = ρ ∗ₘ dirac s) (hΦ : Measurable Φ) |
| 767 | (hΦ_inv : S.FixesLeft Φ) : |
| 768 | ∫⁻ g : T.G, Φ (s * g) ∂ν = lintegral ν Φ := by |
| 769 | -- Take `f > 0` integrable for `F.groupMeasure`. For any `μ` with `F.groupMeasure = ρ ∗ₘ μ`, the |
| 770 | -- integral of `Φ` for `μ` is the integral for `F.groupMeasure` of `Φ * f` divided by the |
| 771 | -- `ρ`-average of `f`, an expression that does not mention `μ`. |
| 772 | obtain ⟨f, hf_pos, hf, hf_int⟩ := |
| 773 | exists_pos_lintegral_lt_of_sigmaFinite F.groupMeasure top_ne_zero |
| 774 | let avg (g : T.G) : ℝ≥0∞ := ∫⁻ y : T.G, f (y * g) ∂ρ |
| 775 | have h_avg (y : T.G) (hy : y ∈ S) (g : T.G) : avg (y * g) = avg g := |
| 776 | calc ∫⁻ x : T.G, f (x * (y * g)) ∂ρ |
| 777 | = ∫⁻ x : T.G, f (x * g) ∂(ρ ∗ₘ dirac y) := by |
| 778 | rw [lintegral_mconv_dirac] |
| 779 | simp only [mul_assoc] |
| 780 | _ = avg g := by rw [hρ_right y hy] |
| 781 | have hρ : ρ ≠ 0 := by |
| 782 | rintro rfl |
| 783 | exact F.partialGroupMeasure_ne_zero (h_factor.trans (zero_mconv ν)) |
| 784 | have h_avg_ne (g : T.G) : avg g ≠ 0 := by |
| 785 | have hf_ne (x : T.G) : f x ≠ 0 := (hf_pos x).ne' |
| 786 | simpa (disch := fun_prop) [avg, EventuallyEq, hf_ne] using hρ |
| 787 | have h_formula (μ : Measure T.G) [SFinite μ] (hμ : F.groupMeasure = ρ ∗ₘ μ) : |
| 788 | ∫⁻ x : T.G, Φ x / avg x * f x ∂F.groupMeasure = lintegral μ Φ := by |
| 789 | rw [hμ, lintegral_mconv_symm (by fun_prop)] at hf_int ⊢ |
| 790 | have h_avg_lt : ∀ᵐ g : T.G ∂μ, avg g < ∞ := ae_lt_top (by fun_prop) hf_int.ne |
| 791 | refine lintegral_congr_ae (h_avg_lt.mono fun g hg ↦ ?_) |
| 792 | calc ∫⁻ y : T.G, Φ (y * g) / avg (y * g) * f (y * g) ∂ρ |
| 793 | = ∫⁻ y : T.G, Φ g / avg g * f (y * g) ∂ρ := |
| 794 | lintegral_congr_ae (hρ_mem.mono fun y hy ↦ by simp only [hΦ_inv y hy g, h_avg y hy]) |
| 795 | _ = Φ g / avg g * avg g := lintegral_const_mul _ (by fun_prop) |
| 796 | _ = Φ g := ENNReal.div_mul_cancel (h_avg_ne g) hg.ne |
| 797 | -- the translate of `ν` by `s` is such a measure too, as `F.groupMeasure` is left invariant |
| 798 | have h_translate : F.groupMeasure = ρ ∗ₘ (dirac s ∗ₘ ν) := by |
| 799 | rw [← mconv_assoc, ← hs, mconv_assoc, ← h_factor, dirac_mconv, map_mul_left_eq_self] |
| 800 | rw [← lintegral_dirac_mconv, ← h_formula _ h_translate, h_formula ν h_factor] |
| 801 | |
| 802 | /-- Let `F.groupMeasure`, the convolution of the measures `heisenbergMeasure a` and |
| 803 | `F.floorMeasure a` over all ϱ + 2 floors a (ϱ = `𝔰.ϱ`), be a Haar measure. Let j ≤ ϱ + 2 and let `p` |
| 804 | be a sequence of units. Let w be the inverse of the Weyl element `weylElem j p`, which sends e_a to |
| 805 | p_a e*_a and e*_a to e_a / p̄_a for a < j and fixes the other basis vectors. If Φ ≥ 0 is measurable |
| 806 | and left invariant under G^(j) = `floorGroup j`, the isometries fixing the basis vectors of floor |
| 807 | below j, then Φ(w g) and Φ(g) have the same integral for the convolution `F.partialGroupMeasure 0 j` |
| 808 | over the floors below j. -/ |
| 809 | lemma lintegral_partialGroupMeasure_weylElem_inv_mul {Φ : T.G → ℝ≥0∞} {F : PlaceData ι T m} |
| 810 | [F.groupMeasure.IsHaarMeasure] (p : ℕ → Aˣ) (hΦ : Measurable Φ) |
| 811 | (hΦ_inv : (floorGroup j).FixesLeft Φ) (hj : j ≤ 𝔰.ϱ + 2 := by lia) : |
| 812 | ∫⁻ g : T.G, Φ ((weylElem j p)⁻¹ * g) ∂F.partialGroupMeasure 0 j = |
| 813 | ∫⁻ g : T.G, Φ g ∂F.partialGroupMeasure 0 j := by |
| 814 | -- Apply `lintegral_mul_left_eq_of_factor` to the floors `j, …, ϱ + 1` of `F.groupMeasure`; they |
| 815 | -- are carried by `floorGroup j`, which commutes with `weylElem j p`. |
| 816 | obtain ⟨i, hij⟩ : ∃ i : ℕ, 𝔰.ϱ + 2 = j + i := Nat.exists_eq_add_of_le hj |
| 817 | have hM : F.groupMeasure = F.partialGroupMeasure j i ∗ₘ F.partialGroupMeasure 0 j := by |
| 818 | rw [groupMeasure, hij, partialGroupMeasure, descConv_add, zero_add] |
| 819 | have h_comm : F.partialGroupMeasure j i ∗ₘ dirac (weylElem j p)⁻¹ = |
| 820 | dirac (weylElem j p)⁻¹ ∗ₘ F.partialGroupMeasure j i := by |
| 821 | refine mconv_comm_of_ae (ae_partialGroupMeasure_mem.mono fun s hs ↦ ?_) |
| 822 | have h_commute : (weylElem j p : T.G)⁻¹ * s = s * (weylElem j p)⁻¹ := |
| 823 | (commute_weylElem hs).inv_left.eq |
| 824 | rw [dirac_mconv_dirac, dirac_mconv_dirac, h_commute] |
| 825 | have h_right (t : T.G) (ht : t ∈ floorGroup j) : |
| 826 | F.partialGroupMeasure j i ∗ₘ dirac t = F.partialGroupMeasure j i := |
| 827 | partialGroupMeasure_mconv_dirac hij.symm ht |
| 828 | exact lintegral_mul_left_eq_of_factor hM ae_partialGroupMeasure_mem h_right h_comm.symm hΦ hΦ_inv |
| 829 | |
| 830 | end PlaceData |
| 831 | |
| 832 | end LevelGauge |
| 833 | |
| 834 | end New.Floors |
| 835 | |
| 836 | end |