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.MeasureTheory.Group.IntegralConvolution |
| 4 | import TauCeti.Topology.Algebra.Group.Units |
| 5 | import TauCeti.Topology.Instances.Matrix |
| 6 | public import New.Spanning.Frames.Densities |
| 7 | public import New.Spanning.Frames.StandardLevel |
| 8 | import Lib.General.LinearAlgebra.HermiteForm |
| 9 | |
| 10 | /-! |
| 11 | # The Bessel vector at the finite places |
| 12 | |
| 13 | Let `A` collect finitely many finite places, with integers `R` and character `ψ`, and let `F` be a |
| 14 | large lattice datum of modulus `g` for the unitary group `T.G`. Write `𝖴 = T.besselU`, `K(g)` for |
| 15 | the principal congruence subgroup and `K = K(1)`, and let `K(g) ≤ Z ≤ K`. This file constructs a cut |
| 16 | Bessel function from the translates of the Bessel character by the cosets of `K(g)` in `Z`, and |
| 17 | computes its correlations and norms. |
| 18 | |
| 19 | ## Main definitions and results |
| 20 | |
| 21 | * `New.Floors.IntegralPlace.extendedBesselChar`: the Bessel character of `𝖴`, extended to `𝖴 K(g)` |
| 22 | and by zero outside it. |
| 23 | * `New.Floors.PlaceData.IntermediateGroup.besselVector`, |
| 24 | `New.Floors.IntegralPlace.IsLargeLatticeData.isCut_besselVector`: the vector of its translates by |
| 25 | the cosets of `K(g)` in `Z`; it is a cut Bessel function. |
| 26 | * `New.Floors.IntegralPlace.IsLargeLatticeData.unipotentMass_mul_inner_besselVector`: its |
| 27 | correlations as integrals over `𝖴` of the extended character, cut off by `Z`. |
| 28 | * `New.Floors.IntegralPlace.IsLargeLatticeData.lintegral_enorm_sq_besselVector`, |
| 29 | `New.Floors.IntegralPlace.IsLargeLatticeData.pairingNormSq_mul_le_massRatio`: its norms. |
| 30 | |
| 31 | Notions from other files: |
| 32 | * `New.Shape.Form.besselU`: the Bessel unipotent group `𝖴` of the block upper unitriangular |
| 33 | isometries of `T.splitGram`. |
| 34 | * `New.simpleRootSum`: the sum `σ(s)` of the entries of `s` just above the diagonal of its block on |
| 35 | the frame vectors. |
| 36 | * `New.unitaryLevel`: `unitaryLevel R g J` is the group `K(g)` of integral isometries of `J` that |
| 37 | are congruent to `1` modulo the unit `g`. |
| 38 | * `New.Floors.PlaceData`: the data `F` of a place, among them the modulus `F.levelUnit`, the compact |
| 39 | set `F.boxSet` and the measures whose product over all floors is `F.groupMeasure`. |
| 40 | * `New.Floors.PlaceData.IsCut`: a Bessel function of frequency `F.levelUnit⁻¹` that vanishes off the |
| 41 | translates of `F.boxSet` by `𝖴`. |
| 42 | |
| 43 | ## Relation to the literature |
| 44 | |
| 45 | See `New.Spanning.MainTerm.EnergyEstimate` for related work. |
| 46 | -/ |
| 47 | |
| 48 | @[expose] public section |
| 49 | |
| 50 | noncomputable section |
| 51 | |
| 52 | namespace New.Floors |
| 53 | |
| 54 | open Matrix MeasureTheory Measure ENNReal Fintype FloorGroups InnerProductSpace Subgroup |
| 55 | IntegralPlace Place Set PlaceData Size SemilocalField QuotientGroup Finset |
| 56 | |
| 57 | variable {A ι : Type} {𝔰 : Shape} [SemilocalField A] [StarRing A] [P : IntegralPlace A] |
| 58 | [Fintype ι] [DecidableEq ι] {m : ℕ} {T : 𝔰.Form A} |
| 59 | |
| 60 | section Phase |
| 61 | |
| 62 | open scoped Classical in |
| 63 | /-- The function χ_g on the unitary group: equal to ψ(σ(u) / g) on u K(g) for `u` in the Bessel |
| 64 | unipotent group 𝖴 = `besselU`, and to 0 off 𝖴 K(g). Here ψ is the character of the place, |
| 65 | σ = `simpleRootSum` is the sum of the entries at the simple roots, and K(g) is the principal |
| 66 | congruence subgroup of level `g`. The value does not depend on the chosen `u`: see |
| 67 | `extendedBesselChar_eq`. -/ |
| 68 | def IntegralPlace.extendedBesselChar (g : Aˣ) (z : T.G) : ℂ := |
| 69 | if h : ∃ u ∈ T.besselU, u⁻¹ * z ∈ unitaryLevel integers g T.splitGram then |
| 70 | P.ψ (g⁻¹.val * simpleRootSum h.choose) |
| 71 | else |
| 72 | 0 |
| 73 | |
| 74 | /-- The function χ_g = `extendedBesselChar g` vanishes off 𝖴 K(g), the product of the Bessel |
| 75 | unipotent group and the principal congruence subgroup of level `g`. -/ |
| 76 | theorem IntegralPlace.extendedBesselChar_eq_zero {y : T.G} {g : Aˣ} |
| 77 | (hy : ¬∃ u ∈ T.besselU, u⁻¹ * y ∈ unitaryLevel integers g T.splitGram) : |
| 78 | extendedBesselChar g y = 0 := |
| 79 | dite_eq_right hy |
| 80 | |
| 81 | /-- A point where χ_g = `extendedBesselChar g` does not vanish lies in 𝖴 K(g), the product of the |
| 82 | Bessel unipotent group and the principal congruence subgroup of level `g`. -/ |
| 83 | theorem IntegralPlace.exists_besselU_of_extendedBesselChar_ne_zero {y : T.G} {g : Aˣ} |
| 84 | (hy : extendedBesselChar g y ≠ 0) : |
| 85 | ∃ u ∈ T.besselU, u⁻¹ * y ∈ unitaryLevel integers g T.splitGram := |
| 86 | by_contra fun h_none ↦ hy (extendedBesselChar_eq_zero h_none) |
| 87 | |
| 88 | /-- The values of χ_g = `extendedBesselChar g` have absolute value at most 1. -/ |
| 89 | theorem IntegralPlace.norm_extendedBesselChar_le_one {y : T.G} {g : Aˣ} : |
| 90 | ‖extendedBesselChar g y‖ ≤ 1 := by |
| 91 | fun_cases extendedBesselChar |
| 92 | · exact (P.norm_psi _).le |
| 93 | · simp |
| 94 | |
| 95 | /-- If `y` lies in u K(g), with `u` in the Bessel unipotent group and K(g) the principal congruence |
| 96 | subgroup, then χ_g = `extendedBesselChar g` has the value ψ(σ(u) / g) at `y`, where σ = |
| 97 | `simpleRootSum`. -/ |
| 98 | lemma IntegralPlace.extendedBesselChar_eq {y u : T.G} {g : Aˣ} (hu : u ∈ T.besselU) |
| 99 | (huy : u⁻¹ * y ∈ unitaryLevel integers g T.splitGram) : |
| 100 | extendedBesselChar g y = P.ψ (g⁻¹.val * simpleRootSum u) := by |
| 101 | -- `extendedBesselChar` is defined with a chosen `v` in place of `u`; the two differ by an element |
| 102 | -- of K(g). |
| 103 | have hex : ∃ v ∈ T.besselU, v⁻¹ * y ∈ unitaryLevel integers g T.splitGram := ⟨u, hu, huy⟩ |
| 104 | rw [extendedBesselChar, dite_eq_left hex] |
| 105 | set v : T.G := hex.choose |
| 106 | obtain ⟨hv, hvy⟩ : v ∈ T.besselU ∧ v⁻¹ * y ∈ unitaryLevel integers g T.splitGram := |
| 107 | hex.choose_spec |
| 108 | have h_lev : v⁻¹ * u ∈ unitaryLevel integers g T.splitGram := by |
| 109 | simpa using mul_mem hvy (inv_mem huy) |
| 110 | -- The character `ψ` is trivial on the integers, which are self-dual. |
| 111 | have h_int : g⁻¹.val * simpleRootSum (v⁻¹ * u) ∈ integers := inv_mul_simpleRootSum_mem h_lev |
| 112 | have h_triv : P.ψ (g⁻¹.val * simpleRootSum (v⁻¹ * u)) = 1 := by |
| 113 | simpa using (self_dual _).2 h_int 1 (one_mem _) |
| 114 | have h_add : simpleRootSum u = simpleRootSum v + simpleRootSum (v⁻¹ * u) := by |
| 115 | rw [← simpleRootSum_mul (mem_partialUnitriangularGroup_of_mem_besselU hv) |
| 116 | (mem_partialUnitriangularGroup_of_mem_besselU (mul_mem (inv_mem hv) hu)), mul_inv_cancel_left] |
| 117 | rw [h_add, mul_add, P.ψ.map_add_eq_mul, h_triv, mul_one] |
| 118 | |
| 119 | /-- Let `x` lie in the Bessel subgroup `besselS`, which contains and normalises the Bessel unipotent |
| 120 | group 𝖴, and in u K(g), with `u` in 𝖴 and K(g) the principal congruence subgroup. Then left |
| 121 | translation by `x` multiplies χ_g = `extendedBesselChar g` by ψ(σ(u) / g). -/ |
| 122 | theorem IntegralPlace.extendedBesselChar_besselS_mul {x y u : T.G} {g : Aˣ} (hx : x ∈ T.besselS) |
| 123 | (hu : u ∈ T.besselU) (hux : u⁻¹ * x ∈ unitaryLevel integers g T.splitGram) : |
| 124 | extendedBesselChar g (x * y) = P.ψ (g⁻¹.val * simpleRootSum u) * extendedBesselChar g y := by |
| 125 | -- `x` normalises `besselU`, so `y ∈ v K(g)` iff `x * y ∈ (x * v * x⁻¹ * u) K(g)`. |
| 126 | by_cases hy : ∃ v ∈ T.besselU, v⁻¹ * y ∈ unitaryLevel integers g T.splitGram |
| 127 | · obtain ⟨v, hv, hvy⟩ := hy |
| 128 | have hvS : v ∈ T.besselS := mem_partialUnitriangularGroup_of_mem_besselU hv |
| 129 | have hS := mul_mem (mul_mem hx hvS) (inv_mem hx) |
| 130 | have h_inv : simpleRootSum (x * v * x⁻¹) = simpleRootSum v := add_right_cancel <| by |
| 131 | rw [← simpleRootSum_mul hS hx, inv_mul_cancel_right, simpleRootSum_mul hx hvS, add_comm] |
| 132 | rw [extendedBesselChar_eq (mul_mem ((besselS_le_normalizer_besselU hx v).1 hv) hu) |
| 133 | (by simpa [mul_assoc] using mul_mem hux hvy), extendedBesselChar_eq hv hvy, |
| 134 | simpleRootSum_mul hS (mem_partialUnitriangularGroup_of_mem_besselU hu), h_inv, |
| 135 | add_comm, mul_add, P.ψ.map_add_eq_mul] |
| 136 | · rw [extendedBesselChar_eq_zero hy, mul_zero, extendedBesselChar_eq_zero] |
| 137 | rintro ⟨v, hv, hvxy⟩ |
| 138 | exact hy ⟨x⁻¹ * (v * u⁻¹) * x, |
| 139 | (besselS_le_normalizer_besselU (inv_mem hx) _).1 (mul_mem hv (inv_mem hu)), |
| 140 | by simpa [mul_assoc] using mul_mem (inv_mem hux) hvxy⟩ |
| 141 | |
| 142 | /-- The function χ_g = `extendedBesselChar g` is invariant under right translation by the principal |
| 143 | congruence subgroup K(g). -/ |
| 144 | theorem IntegralPlace.extendedBesselChar_mul_of_mem_unitaryLevel {y k : T.G} {g : Aˣ} |
| 145 | (hk : k ∈ unitaryLevel integers g T.splitGram) : |
| 146 | extendedBesselChar g (y * k) = extendedBesselChar g y := by |
| 147 | classical |
| 148 | simp only [extendedBesselChar, ← mul_assoc, mul_mem_cancel_right hk] |
| 149 | |
| 150 | /-- Left translation by an element `u` of the Bessel unipotent group multiplies χ_g = |
| 151 | `extendedBesselChar g` by ψ(σ(u) / g), where ψ is the character of the place and σ = |
| 152 | `simpleRootSum`. -/ |
| 153 | theorem IntegralPlace.extendedBesselChar_besselU_mul {y u : T.G} {g : Aˣ} (hu : u ∈ T.besselU) : |
| 154 | extendedBesselChar g (u * y) = P.ψ (g⁻¹.val * simpleRootSum u) * extendedBesselChar g y := |
| 155 | extendedBesselChar_besselS_mul (mem_partialUnitriangularGroup_of_mem_besselU hu) hu (by simp) |
| 156 | |
| 157 | /-- The function χ_g = `extendedBesselChar g`, the Bessel character extended to 𝖴 K(g) and by zero |
| 158 | outside it, is continuous. -/ |
| 159 | @[fun_prop] |
| 160 | theorem IntegralPlace.continuous_extendedBesselChar {g : Aˣ} : |
| 161 | Continuous (extendedBesselChar (T := T) g) := by |
| 162 | -- `extendedBesselChar g` is fixed by right translation by the open subgroup K(g), so it is |
| 163 | -- locally constant. |
| 164 | have h_fix : ∀ᶠ k : T.G in nhds 1, ∀ y : T.G, |
| 165 | extendedBesselChar g (y * k) = extendedBesselChar g y := by |
| 166 | filter_upwards [unitaryLevel_open_compact.1.mem_nhds (one_mem _)] with k hk y |
| 167 | exact extendedBesselChar_mul_of_mem_unitaryLevel hk |
| 168 | exact (isLocallyConstant_of_eventually_mul h_fix).continuous |
| 169 | |
| 170 | /-- The principal congruence subgroup K(g) = `unitaryLevel integers g T.splitGram` of level `g` lies |
| 171 | in the integral unitary group K(1) = `unitaryLevel integers 1 T.splitGram`. -/ |
| 172 | theorem IntegralPlace.unitaryLevel_le_unitaryLevel_one {g : Aˣ} : |
| 173 | unitaryLevel integers g T.splitGram ≤ unitaryLevel integers 1 T.splitGram := by |
| 174 | rintro k ⟨hk_int, -⟩ |
| 175 | rw [unitaryLevel_one] |
| 176 | exact hk_int |
| 177 | |
| 178 | end Phase |
| 179 | |
| 180 | variable [IsHermitianUnit T.splitGram] |
| 181 | |
| 182 | /-- The type of all subgroups Z with K(g) ≤ Z ≤ K. Here K(g) = `F.congruenceSubgroup` is the |
| 183 | principal congruence subgroup of the place datum `F` and K is the integral unitary group. -/ |
| 184 | abbrev PlaceData.IntermediateGroup (F : PlaceData ι T (m + 1)) : Type := |
| 185 | ↥(Set.Icc F.congruenceSubgroup (unitaryLevel integers 1 T.splitGram)) |
| 186 | |
| 187 | /-- The product fl over the floors l < ϱ of the volumes `F.floorModulus l`. At a large lattice datum |
| 188 | it is the mass of 𝖴 ∩ K(g) in the Bessel unipotent group 𝖴, where K(g) = `F.congruenceSubgroup`. -/ |
| 189 | abbrev PlaceData.unipotentMass (F : PlaceData ι T (m + 1)) : ℝ≥0∞ := |
| 190 | ∏ l ∈ Finset.range 𝔰.ϱ, F.floorModulus l |
| 191 | |
| 192 | /-- The number ϰ(Z) = ∫_G |∫_Z χ_g(y x y⁻¹) dy|² dx for a subgroup `Z` of the unitary group G, both |
| 193 | integrals for the measure `F.groupMeasure`, with χ_g = `New.Floors.IntegralPlace.extendedBesselChar |
| 194 | F.levelUnit`. -/ |
| 195 | def PlaceData.massIntegral (F : PlaceData ι T (m + 1)) (Z : Subgroup T.G) : ℝ≥0∞ := |
| 196 | ∫⁻ x : T.G, ‖∫ y : T.G in Z, extendedBesselChar F.levelUnit (y * x * y⁻¹) ∂F.groupMeasure‖ₑ ^ 2 |
| 197 | ∂F.groupMeasure |
| 198 | |
| 199 | variable {F : PlaceData ι T (m + 1)} {x y : T.G} (Z : F.IntermediateGroup) |
| 200 | |
| 201 | /-- Every intermediate group `Z` of the place datum `F` lies in |
| 202 | `unitaryLevel integers 1 T.splitGram`, the group of unitary elements with integral entries. -/ |
| 203 | theorem PlaceData.IntermediateGroup.le_unitaryLevel_one (Z : F.IntermediateGroup) : |
| 204 | Z.val ≤ unitaryLevel integers 1 T.splitGram := |
| 205 | Z.prop.2 |
| 206 | |
| 207 | /-- The cosets K(g) a of K(g) = `F.congruenceSubgroup` in a group `Z` with K(g) ≤ Z ≤ K, for a in |
| 208 | `Z`. -/ |
| 209 | def PlaceData.IntermediateGroup.Cosets (Z : F.IntermediateGroup) : Type := |
| 210 | Quotient (rightRel (F.congruenceSubgroup.subgroupOf Z)) |
| 211 | |
| 212 | /-- The group K(g) has finitely many cosets in `Z`. -/ |
| 213 | instance : Fintype Z.Cosets := |
| 214 | -- The open subgroup K(g) has finite index in the compact integral group, hence in `Z`. |
| 215 | letI : Fintype (Z ⧸ F.congruenceSubgroup.subgroupOf Z) := |
| 216 | fintypeOfIndexNeZero fun h_zero ↦ |
| 217 | unitaryLevel_open_compact.2.relIndex_ne_zero unitaryLevel_open_compact.1 |
| 218 | (relIndex_eq_zero_of_le_right Z.le_unitaryLevel_one h_zero) |
| 219 | fintypeQuotientRightRel |
| 220 | |
| 221 | /-- The number vol(Z) · vol(K(g)) / fl² for a group `Z` with K(g) ≤ Z ≤ K, where |
| 222 | vol = `F.groupMeasure`, K(g) = `F.congruenceSubgroup` and fl = `F.unipotentMass`. -/ |
| 223 | def PlaceData.IntermediateGroup.massRatio (Z : F.IntermediateGroup) : ℝ≥0∞ := |
| 224 | F.groupMeasure Z * F.groupMeasure F.congruenceSubgroup / F.unipotentMass ^ 2 |
| 225 | |
| 226 | /-- The finite Bessel vector of `y`: its coordinate at the coset K(g) z in `Z` is χ_g(y z⁻¹), with |
| 227 | χ_g = `extendedBesselChar F.levelUnit`. The definition uses a chosen representative z of each |
| 228 | coset. -/ |
| 229 | def PlaceData.IntermediateGroup.besselVector (y : T.G) : EuclideanSpace ℂ Z.Cosets := |
| 230 | WithLp.toLp 2 fun c ↦ extendedBesselChar F.levelUnit (y * c.out.val⁻¹) |
| 231 | |
| 232 | /-- The product `F.unipotentMass` of the floor volumes of a place datum `F` is positive and |
| 233 | finite. -/ |
| 234 | @[simp] |
| 235 | lemma PlaceData.unipotentMass_ne_zero_and_ne_top : F.unipotentMass ≠ 0 ∧ F.unipotentMass ≠ ∞ := by |
| 236 | simp [unipotentMass, floorModulus, prod_eq_zero_iff, prod_ne_top, mul_eq_top] |
| 237 | |
| 238 | /-- Let `Z` be a group with K(g) ≤ Z ≤ K. If the values at `x` and `y` of the finite Bessel vector |
| 239 | of `Z` are not orthogonal, there are `u`, `v` in the Bessel unipotent group such that `u x` lies in |
| 240 | K and `v y` lies in the coset `u x K(g)`. -/ |
| 241 | theorem PlaceData.exists_mem_congruenceSubgroup_of_inner_ne_zero (Z : F.IntermediateGroup) |
| 242 | (h_inner : ⟪Z.besselVector x, Z.besselVector y⟫_ℂ ≠ 0) : |
| 243 | ∃ u ∈ T.besselU, ∃ v ∈ T.besselU, |
| 244 | u * x ∈ unitaryLevel integers 1 T.splitGram ∧ (u * x)⁻¹ * (v * y) ∈ F.congruenceSubgroup := by |
| 245 | -- Some coset `c` contributes a nonzero term to the inner product: neither vector vanishes there. |
| 246 | obtain ⟨c, -, hc⟩ : ∃ c ∈ (Finset.univ : Finset Z.Cosets), |
| 247 | ⟪extendedBesselChar F.levelUnit (x * c.out.val⁻¹), |
| 248 | extendedBesselChar F.levelUnit (y * c.out.val⁻¹)⟫_ℂ ≠ 0 := |
| 249 | exists_ne_zero_of_sum_ne_zero h_inner |
| 250 | obtain ⟨u, hu, hux⟩ : ∃ u ∈ T.besselU, u⁻¹ * (x * c.out.val⁻¹) ∈ F.congruenceSubgroup := |
| 251 | exists_besselU_of_extendedBesselChar_ne_zero fun h_zero ↦ hc (by rw [h_zero, inner_zero_left]) |
| 252 | obtain ⟨v, hv, hvy⟩ : ∃ v ∈ T.besselU, v⁻¹ * (y * c.out.val⁻¹) ∈ F.congruenceSubgroup := |
| 253 | exists_besselU_of_extendedBesselChar_ne_zero fun h_zero ↦ hc (by rw [h_zero, inner_zero_right]) |
| 254 | -- The representative of `c` is integral, so it normalises K(g). |
| 255 | have hc_int : c.out.val ∈ unitaryLevel integers 1 T.splitGram := Z.le_unitaryLevel_one c.out.prop |
| 256 | refine ⟨u⁻¹, inv_mem hu, v⁻¹, inv_mem hv, ?_, ?_⟩ |
| 257 | · simpa [mul_assoc] using mul_mem (unitaryLevel_le_unitaryLevel_one hux) hc_int |
| 258 | · simpa [mul_assoc] using conj_mem_unitaryLevel (inv_mem hc_int) (mul_mem (inv_mem hux) hvy) |
| 259 | |
| 260 | /-- A group `Z` with K(g) ≤ Z ≤ K is open, since it contains the open subgroup K(g). -/ |
| 261 | theorem PlaceData.IntermediateGroup.isOpen : Z.val.IsOpen := |
| 262 | isOpen_mono Z.prop.1 unitaryLevel_open_compact.1 |
| 263 | |
| 264 | /-- Let K(g) ≤ Z ≤ K, with K(g) = `F.congruenceSubgroup`. For `y` in `Z` there is exactly one coset |
| 265 | `c` of K(g) in `Z` whose chosen representative `c.out` satisfies `y * c.out⁻¹ ∈ K(g)`. -/ |
| 266 | theorem PlaceData.IntermediateGroup.exists_forall_mul_inv_mem_congruenceSubgroup_iff_eq |
| 267 | (Z : F.IntermediateGroup) (hy : y ∈ Z.val) : |
| 268 | ∃ d : Z.Cosets, ∀ c : Z.Cosets, y * c.out.val⁻¹ ∈ F.congruenceSubgroup ↔ c = d := by |
| 269 | -- `d` is the coset of `y` itself. |
| 270 | refine ⟨⟦⟨y, hy⟩⟧, fun c ↦ Iff.symm ?_⟩ |
| 271 | calc c = ⟦⟨y, hy⟩⟧ ↔ rightRel (F.congruenceSubgroup.subgroupOf Z) c.out ⟨y, hy⟩ := |
| 272 | Quotient.eq_mk_iff_out |
| 273 | _ ↔ ⟨y, hy⟩ * c.out⁻¹ ∈ F.congruenceSubgroup.subgroupOf Z.val := by rw [rightRel_apply] |
| 274 | _ ↔ y * c.out.val⁻¹ ∈ F.congruenceSubgroup := mem_subgroupOf |
| 275 | |
| 276 | /-- Let `u` lie in the Bessel unipotent group with `u * y` in `Z`. Then exactly one coset `d` |
| 277 | satisfies `u * (y * d.out⁻¹) ∈ F.congruenceSubgroup`, and at `d` the coordinate of |
| 278 | `Z.besselVector (y * x)` times the conjugate coordinate of `Z.besselVector y` is χ_g(u y x (u y)⁻¹), |
| 279 | where χ_g = `extendedBesselChar F.levelUnit`. -/ |
| 280 | private lemma PlaceData.IntermediateGroup.exists_besselVector_mul_star_eq {u : T.G} |
| 281 | (hu : u ∈ T.besselU) (huy : u * y ∈ Z.val) : |
| 282 | ∃ d : Z.Cosets, (∀ c : Z.Cosets, u * (y * c.out.val⁻¹) ∈ F.congruenceSubgroup ↔ c = d) ∧ |
| 283 | Z.besselVector (y * x) d * star (Z.besselVector y d) = |
| 284 | extendedBesselChar F.levelUnit (u * y * x * (u * y)⁻¹) := by |
| 285 | obtain ⟨d, hS⟩ : ∃ d : Z.Cosets, |
| 286 | ∀ c : Z.Cosets, u * (y * c.out.val⁻¹) ∈ F.congruenceSubgroup ↔ c = d := by |
| 287 | simpa [mul_assoc] using Z.exists_forall_mul_inv_mem_congruenceSubgroup_iff_eq huy |
| 288 | have hu_mem : u * (y * d.out.val⁻¹) ∈ F.congruenceSubgroup := (hS d).2 rfl |
| 289 | have h_right : Z.besselVector y d = P.ψ (F.levelUnit⁻¹.val * simpleRootSum u⁻¹) := |
| 290 | extendedBesselChar_eq (inv_mem hu) (hu_mem) |
| 291 | have h_left : Z.besselVector (y * x) d = |
| 292 | P.ψ (F.levelUnit⁻¹.val * simpleRootSum u⁻¹) * extendedBesselChar F.levelUnit |
| 293 | (u * y * x * (u * y)⁻¹) := by |
| 294 | rw [← extendedBesselChar_mul_of_mem_unitaryLevel hu_mem, |
| 295 | ← extendedBesselChar_besselU_mul (inv_mem hu)] |
| 296 | simp [IntermediateGroup.besselVector, mul_assoc] |
| 297 | refine ⟨d, hS, ?_⟩ |
| 298 | simp [h_left, h_right, mul_comm (P.ψ _), mul_assoc, Complex.conj_mul'] |
| 299 | |
| 300 | /-- For a place datum `F` on `T`, an intermediate subgroup `Z` with |
| 301 | `F.congruenceSubgroup ≤ Z ≤ unitaryLevel integers 1 T.splitGram`, elements `y`, `x` of `T.G`, and |
| 302 | `u` in the Bessel unipotent group `T.besselU`, the extended Bessel character |
| 303 | `extendedBesselChar F.levelUnit` of `u y x (u y)⁻¹`, restricted to `u y ∈ Z`, equals the sum over |
| 304 | the cosets `c` of `F.congruenceSubgroup` in `Z` of the coefficient |
| 305 | `Z.besselVector (y * x) c * star (Z.besselVector y c)` on the set of elements that carry |
| 306 | `y * c.out⁻¹` into `F.congruenceSubgroup`. -/ |
| 307 | private lemma PlaceData.IntermediateGroup.indicator_extendedBesselChar_eq_sum {u : T.G} |
| 308 | (hu : u ∈ T.besselU) : |
| 309 | Set.indicator Z (fun z : T.G ↦ extendedBesselChar F.levelUnit (z * x * z⁻¹)) (u * y) = |
| 310 | ∑ c : Z.Cosets, |
| 311 | ({v : T.G | v * (y * c.out.val⁻¹) ∈ F.congruenceSubgroup}).indicator |
| 312 | (fun _ ↦ Z.besselVector (y * x) c * star (Z.besselVector y c)) u := by |
| 313 | classical |
| 314 | by_cases huy : u * y ∈ Z.val |
| 315 | · -- `u` lies in exactly one coset set; there the characters of `u⁻¹` in the two factors cancel. |
| 316 | obtain ⟨d, hS, h_cancel⟩ := Z.exists_besselVector_mul_star_eq (x := x) hu huy |
| 317 | simpa [huy, hS, Set.indicator] using h_cancel.symm |
| 318 | · -- `u` lies in no coset set, as K(g) ≤ `Z`. |
| 319 | obtain ⟨h_lower, -⟩ : F.congruenceSubgroup ≤ Z.val ∧ Z.val ≤ unitaryLevel integers 1 |
| 320 | T.splitGram := |
| 321 | Z.prop |
| 322 | have hS (c : Z.Cosets) : u ∉ {v : T.G | v * (y * c.out.val⁻¹) ∈ F.congruenceSubgroup} := |
| 323 | fun hc ↦ huy (by simpa [mul_assoc] using mul_mem (h_lower hc) c.out.prop) |
| 324 | simp [huy, hS] |
| 325 | |
| 326 | /-- The inverse modulus of a unit `u` is its generalised index `genIndex u` (the inverse of the |
| 327 | factor by which `u` scales Haar measure), written as the square of its square root. -/ |
| 328 | theorem IntegralPlace.inv_modulus_eq_sqrt_genIndex_sq (u : Aˣ) : |
| 329 | (P.modulus u)⁻¹ = (ENNReal.ofReal √(genIndex u.val)) ^ 2 := by |
| 330 | simp [modulus_eq_inv_genIndex, ← ofReal_pow, genIndex_pos, le_of_lt] |
| 331 | |
| 332 | /-- Leading coordinates of a lattice. Let the matrix `X` over `A` have a left inverse, and let the |
| 333 | index `i` be alone in its weight `wt i`. Consider the vectors `v` that vanish at the indices of |
| 334 | larger weight and such that `X *ᵥ v` has entries in the ring of integers R = `integers`. Their |
| 335 | coordinates at `i` form the set c R for some unit c of `A`. -/ |
| 336 | theorem IntegralPlace.exists_unit_leadingCoord_iff_mem_integers {n κ : Type} [Fintype n] [Fintype κ] |
| 337 | [DecidableEq n] [DecidableEq κ] {X : Matrix n κ A} (hX : HasLeftInv X) (wt : κ → ℕ) (i : κ) |
| 338 | (hi : ∀ l : κ, wt l = wt i → l = i) : |
| 339 | ∃ c : Aˣ, ∀ t : A, |
| 340 | (∃ v : κ → A, X *ᵥ v ∈ intVectors P.integers n ∧ (∀ l : κ, wt i < wt l → v l = 0) ∧ v i = t) ↔ |
| 341 | c⁻¹.val * t ∈ P.integers := by |
| 342 | -- The lattice of the `v` with `X *ᵥ v` integral has a triangular basis `b`, and the diagonal |
| 343 | -- entry `b i i` is the unit sought. |
| 344 | obtain ⟨b, hb_tri, hXb, L, hL, hLXb⟩ : ∃ b : GL κ A, b.val.BlockTriangular wt ∧ |
| 345 | IsIntMatrix integers (X * b.val) ∧ ∃ L : Matrix κ n A, |
| 346 | IsIntMatrix integers L ∧ L * (X * b.val) = 1 := |
| 347 | isValuationPair.exists_isPrimitiveMatrix_mul hX wt |
| 348 | have h_col (l : κ) (hl : wt i < wt l) : b.val l i = 0 := hb_tri hl |
| 349 | -- On vectors that vanish at the larger weights the row `i` of `b⁻¹` sees only the entry `i`. |
| 350 | have h_row (v : κ → A) (hv : ∀ l : κ, wt i < wt l → v l = 0) : |
| 351 | (b⁻¹.val *ᵥ v) i = b⁻¹.val i i * v i := by |
| 352 | have h_inv_tri : b⁻¹.val.BlockTriangular wt := by |
| 353 | simpa using blockTriangular_inv_of_blockTriangular hb_tri |
| 354 | refine sum_eq_single i (fun l _ hl ↦ ?_) (by simp) |
| 355 | obtain h_lt | h_gt : wt l < wt i ∨ wt i < wt l := Nat.lt_or_gt_of_ne (mt (hi l) hl) |
| 356 | · exact mul_eq_zero_of_left (h_inv_tri h_lt) _ |
| 357 | · exact mul_eq_zero_of_right _ (hv l h_gt) |
| 358 | have h_unit : b.val i i * b⁻¹.val i i = 1 := by |
| 359 | have h_one : (b⁻¹.val * b.val) i i = b⁻¹.val i i * b.val i i := h_row (b.val.col i) h_col |
| 360 | rw [mul_comm, ← h_one, Units.inv_mul, one_apply_eq] |
| 361 | let c : Aˣ := .mkOfMulEqOne (b.val i i) (b⁻¹.val i i) h_unit |
| 362 | refine ⟨c, fun t ↦ ⟨?_, fun ht ↦ ?_⟩⟩ |
| 363 | · -- For `v` in the lattice `b⁻¹ *ᵥ v = L *ᵥ X *ᵥ v` is integral. |
| 364 | rintro ⟨v, hv_int, hv, rfl⟩ |
| 365 | have h_inv : b⁻¹.val = L * X := by |
| 366 | rw [coe_units_inv, inv_eq_left_inv ((L.mul_assoc X b.val).trans hLXb)] |
| 367 | change b⁻¹.val i i * v i ∈ integers |
| 368 | rw [← h_row v hv, h_inv, ← mulVec_mulVec] |
| 369 | exact hL.mulVec hv_int i |
| 370 | · -- Conversely, `t` is the coordinate of the multiple `c⁻¹ * t` of the column `i` of `b`. |
| 371 | refine ⟨(c⁻¹.val * t) • b.val.col i, fun k ↦ ?_, fun l hl ↦ by simp [h_col l hl], ?_⟩ |
| 372 | · rw [mulVec_smul] |
| 373 | change c⁻¹.val * t * (X * b.val) k i ∈ integers |
| 374 | exact mul_mem ht (hXb k i) |
| 375 | · change c⁻¹.val * t * c.val = t |
| 376 | rw [mul_right_comm, Units.inv_mul, one_mul] |
| 377 | |
| 378 | namespace IntegralPlace.IsLargeLatticeData |
| 379 | |
| 380 | variable [h : IsLargeLatticeData F] |
| 381 | |
| 382 | /-- For a large lattice datum `F` (hypothesis `IsLargeLatticeData F`), a subgroup `S` of the |
| 383 | integral unitary group `unitaryLevel integers 1 T.splitGram` has finite measure `F.groupMeasure S`, |
| 384 | for the convolution measure `F.groupMeasure` on the unitary group. -/ |
| 385 | theorem groupMeasure_ne_top {S : Subgroup (U T.splitGram)} |
| 386 | (hS : S ≤ unitaryLevel integers 1 T.splitGram) : |
| 387 | F.groupMeasure S ≠ ∞ := |
| 388 | (measure_lt_top_mono hS unitaryLevel_open_compact.2.measure_lt_top).ne |
| 389 | |
| 390 | /-- For a large lattice datum and K(g) ≤ Z ≤ K, the number `Z.massRatio` = vol(Z) · vol(K(g)) / fl², |
| 391 | with fl = `F.unipotentMass`, is positive and finite. -/ |
| 392 | theorem massRatio_ne_zero_and_ne_top : Z.massRatio ≠ 0 ∧ Z.massRatio ≠ ∞ := by |
| 393 | -- `Z` and K(g) are open, so of positive Haar measure, and integral, so of finite measure. |
| 394 | have hZ_pos : F.groupMeasure Z ≠ 0 := Z.isOpen.measure_ne_zero _ ⟨1, one_mem _⟩ |
| 395 | have hK_pos : F.groupMeasure F.congruenceSubgroup ≠ 0 := |
| 396 | unitaryLevel_open_compact.1.measure_ne_zero _ ⟨1, one_mem _⟩ |
| 397 | have hZ_fin : F.groupMeasure Z ≠ ∞ := groupMeasure_ne_top Z.le_unitaryLevel_one |
| 398 | have hK_fin : F.groupMeasure F.congruenceSubgroup ≠ ∞ := |
| 399 | groupMeasure_ne_top unitaryLevel_le_unitaryLevel_one |
| 400 | simp [IntermediateGroup.massRatio, hZ_pos, hK_pos, hZ_fin, hK_fin, div_eq_top, mul_eq_top] |
| 401 | |
| 402 | /-- For a large lattice datum `F` (hypothesis `IsLargeLatticeData F`) and a group `Z` with |
| 403 | K(g) ≤ Z ≤ K, the contribution of K(g) = `F.congruenceSubgroup` to the integral `F.massIntegral Z` |
| 404 | is vol(Z)² · vol(K(g)), where vol = `F.groupMeasure`. -/ |
| 405 | theorem setLIntegral_congruenceSubgroup_integral_sq : |
| 406 | ∫⁻ x : T.G in F.congruenceSubgroup, |
| 407 | ‖∫ y : T.G in Z, extendedBesselChar F.levelUnit (y * x * y⁻¹) ∂F.groupMeasure‖ₑ ^ 2 |
| 408 | ∂F.groupMeasure = |
| 409 | F.groupMeasure Z ^ 2 * F.groupMeasure F.congruenceSubgroup := by |
| 410 | -- For `x` in K(g) the integrand is a constant of modulus `1` on `Z`, as `Z` normalises K(g). |
| 411 | have h_const (x : T.G) (hx : x ∈ F.congruenceSubgroup) (y : T.G) (hy : y ∈ Z.val) : |
| 412 | extendedBesselChar F.levelUnit (y * x * y⁻¹) = P.ψ |
| 413 | (F.levelUnit⁻¹.val * simpleRootSum (1 : T.G)) := by |
| 414 | have h_conj : y * x * y⁻¹ ∈ F.congruenceSubgroup := |
| 415 | conj_mem_unitaryLevel (Z.le_unitaryLevel_one hy) hx |
| 416 | exact extendedBesselChar_eq (one_mem _) (by simpa using h_conj) |
| 417 | have h_inner (x : T.G) (hx : x ∈ F.congruenceSubgroup) : |
| 418 | ‖∫ y : T.G in Z, extendedBesselChar F.levelUnit (y * x * y⁻¹) ∂F.groupMeasure‖ₑ ^ 2 = |
| 419 | F.groupMeasure Z ^ 2 := by |
| 420 | rw [setIntegral_congr_fun Z.isOpen.measurableSet (h_const x hx)] |
| 421 | simp [Measure.real, ← ofReal_norm, groupMeasure_ne_top Z.le_unitaryLevel_one, Set.univ_inter] |
| 422 | rw [setLIntegral_congr_fun measurableSet_unitaryLevel h_inner, setLIntegral_const] |
| 423 | |
| 424 | /-- For a large lattice datum `F` (hypothesis `IsLargeLatticeData F`) and `Z` with K(g) ≤ Z ≤ K, the |
| 425 | finite Bessel vector W = `Z.besselVector` is a cut Bessel function (`F.IsCut`). That is: W is |
| 426 | bounded and measurable; W(u x) = ψ(σ(u) / g) W(x) for u in the Bessel unipotent group 𝖴, where |
| 427 | σ = `simpleRootSum` and g = `F.levelUnit`; and W vanishes off the translates by 𝖴 of the compact set |
| 428 | `F.boxSet`. -/ |
| 429 | theorem isCut_besselVector : F.IsCut Z.besselVector := by |
| 430 | -- Each coordinate has norm at most `1`. |
| 431 | have h_bdd (x : T.G) : ‖Z.besselVector x‖ ≤ √(∑ _ : Z.Cosets, 1 ^ 2) := by |
| 432 | grw [EuclideanSpace.norm_eq, IntermediateGroup.besselVector, norm_extendedBesselChar_le_one] |
| 433 | have h_meas : StronglyMeasurable Z.besselVector := by fun_prop [IntermediateGroup.besselVector] |
| 434 | have h_law (u : T.G) (hu : u ∈ T.besselU) (x : T.G) : |
| 435 | Z.besselVector (u * x) = P.ψ (F.levelUnit⁻¹.val * simpleRootSum u) • Z.besselVector x := by |
| 436 | ext c |
| 437 | simp [IntermediateGroup.besselVector, extendedBesselChar_besselU_mul hu, mul_assoc] |
| 438 | have h_supp {x : T.G} (hx : Z.besselVector x ≠ 0) : ∃ u ∈ T.besselU, u * x ∈ F.boxSet := by |
| 439 | obtain ⟨u, hu, -, -, hux, -⟩ : ∃ u ∈ T.besselU, ∃ v ∈ T.besselU, |
| 440 | u * x ∈ unitaryLevel integers 1 T.splitGram ∧ (u * x)⁻¹ * (v * x) ∈ F.congruenceSubgroup := |
| 441 | exists_mem_congruenceSubgroup_of_inner_ne_zero Z (inner_self_ne_zero.2 hx) |
| 442 | exact ⟨u, hu, boxSet_eq.ge hux⟩ |
| 443 | exact { toIsBoundedMeasurable := ⟨h_meas, _, |
| 444 | h_bdd⟩, map_unipotent_mul := h_law, exists_mul_mem_box := h_supp } |
| 445 | |
| 446 | open scoped Classical in |
| 447 | /-- The ascending Heisenberg convolution gives the coset `K c⁻¹` mass `F.unipotentMass` |
| 448 | if it meets `T.besselU`, and zero otherwise, where `K = F.congruenceSubgroup`. -/ |
| 449 | lemma ascConv_congruenceSubgroup_coset (c : T.G) : |
| 450 | ascConv heisenbergMeasure (𝔰.ϱ + 2) {u : T.G | u * c ∈ F.congruenceSubgroup} = |
| 451 | if ∃ u ∈ T.besselU, u * c ∈ F.congruenceSubgroup then F.unipotentMass else 0 := by |
| 452 | simpa only [mconv_dirac_one, dirac_apply' _ measurableSet_exists_mul_mem_level, Set.indicator, |
| 453 | mem_ofPred_eq, one_mul, Pi.one_apply, mul_ite, mul_one, mul_zero] using |
| 454 | h.ascConv_mconv_unitaryLevel_coset (c := c) (θ := dirac 1) h.integral_data.2.2 |
| 455 | |
| 456 | /-- The pairing of two translates of the finite Bessel vector as an integral over the Bessel |
| 457 | unipotent group 𝖴. For a large lattice datum and K(g) ≤ Z ≤ K, let fl = `F.unipotentMass` be the |
| 458 | mass of 𝖴 ∩ K(g), let W_Z = `Z.besselVector`, and let χ_g = `extendedBesselChar F.levelUnit` be the |
| 459 | Bessel character of 𝖴, extended to 𝖴 K(g) and by zero outside it. Then fl·⟨W_Z(y), W_Z(yx)⟩ is the |
| 460 | integral of 1_Z(uy)·χ_g(uyx(uy)⁻¹) over u for `ascConv heisenbergMeasure (𝔰.ϱ + 2)`. This is the |
| 461 | convolution η_0 ∗ ⋯ ∗ η_{ϱ+1} of the measures η_l = `heisenbergMeasure l`, where ϱ = `𝔰.ϱ` is the |
| 462 | number of hyperbolic planes of the shape 𝔰. It is carried by 𝖴. -/ |
| 463 | theorem unipotentMass_mul_inner_besselVector (y x : T.G) : |
| 464 | F.unipotentMass.toReal * ⟪Z.besselVector y, Z.besselVector (y * x)⟫_ℂ = |
| 465 | ∫ u : T.G, Set.indicator Z (fun z : T.G ↦ extendedBesselChar F.levelUnit (z * x * z⁻¹)) |
| 466 | (u * y) |
| 467 | ∂ascConv heisenbergMeasure (𝔰.ϱ + 2) := by |
| 468 | classical |
| 469 | -- On `besselU` the integrand is the sum over the cosets `c` of `a c` times the indicator of a set |
| 470 | -- `S c`, and `S c` has mass `F.unipotentMass` whenever `a c` does not vanish. |
| 471 | let ν : Measure T.G := ascConv heisenbergMeasure (𝔰.ϱ + 2) |
| 472 | let S : Z.Cosets → Set T.G := fun c ↦ {u : T.G | u * (y * c.out.val⁻¹) ∈ F.congruenceSubgroup} |
| 473 | let a : Z.Cosets → ℂ := fun c ↦ Z.besselVector (y * x) c * star (Z.besselVector y c) |
| 474 | have hS_meas (c : Z.Cosets) : MeasurableSet (S c) := |
| 475 | measurable_mul_const _ measurableSet_unitaryLevel |
| 476 | have h_integrand (u : T.G) (hu : u ∈ T.besselU) : |
| 477 | Set.indicator Z (fun z : T.G ↦ extendedBesselChar F.levelUnit (z * x * z⁻¹)) (u * y) = |
| 478 | ∑ c : Z.Cosets, (S c).indicator (fun _ ↦ a c) u := |
| 479 | Z.indicator_extendedBesselChar_eq_sum hu |
| 480 | have h_ae : ∀ᵐ u : T.G ∂ν, Set.indicator Z |
| 481 | (fun z : T.G ↦ extendedBesselChar F.levelUnit (z * x * z⁻¹)) (u * y) = |
| 482 | ∑ c : Z.Cosets, (S c).indicator (fun _ ↦ a c) u := |
| 483 | ae_ascConv_mem_unipotentBelow.mono fun u hu ↦ h_integrand u (unipotentBelow_le_besselU hu) |
| 484 | have h_fin (c : Z.Cosets) : ν (S c) ≠ ∞ := by |
| 485 | simp only [S, ν, h.ascConv_congruenceSubgroup_coset] |
| 486 | split |
| 487 | · exact unipotentMass_ne_zero_and_ne_top.2 |
| 488 | · exact ENNReal.zero_ne_top |
| 489 | rw [integral_congr_ae h_ae, |
| 490 | integral_finsetSum _ fun c _ ↦ (integrableOn_const (h_fin c)).integrable_indicator (hS_meas c), |
| 491 | PiLp.inner_apply, mul_sum] |
| 492 | refine sum_congr rfl fun c _ ↦ ?_ |
| 493 | by_cases hc : Z.besselVector y c = 0 |
| 494 | · simp [a, hc] |
| 495 | -- A nonzero coordinate means that the coset meets the Bessel unipotent group. |
| 496 | have h_meets : ∃ u ∈ T.besselU, u * (y * c.out.val⁻¹) ∈ F.congruenceSubgroup := |
| 497 | T.besselU.exists_inv_mem_iff_exists_mem.mp (exists_besselU_of_extendedBesselChar_ne_zero hc) |
| 498 | simp only [integral_indicator_const _ (hS_meas c), Measure.real, S, ν, |
| 499 | h.ascConv_congruenceSubgroup_coset, ite_eq_left h_meets] |
| 500 | simp [a, Complex.real_smul] |
| 501 | |
| 502 | /-- For a large lattice datum `F` and a group `Z` with K(g) ≤ Z ≤ K, the set of `u` with `u y ∈ Z` |
| 503 | has mass at most one for the convolution of the measures `heisenbergMeasure`, which is carried by |
| 504 | the Bessel unipotent group 𝖴. -/ |
| 505 | theorem ascConv_setOf_mul_mem_le_one (y : T.G) : |
| 506 | ascConv heisenbergMeasure (𝔰.ϱ + 2) {u : T.G | u * y ∈ Z.val} ≤ 1 := by |
| 507 | -- `Z` lies in the integral points, and at level `1` the floor volumes are `1`. |
| 508 | calc ascConv heisenbergMeasure (𝔰.ϱ + 2) {u : T.G | u * y ∈ Z.val} |
| 509 | _ ≤ (∏ l ∈ Finset.range 𝔰.ϱ, F.floorModulus l 1) * 1 := by |
| 510 | grw [Z.le_unitaryLevel_one, ← mconv_dirac_one (ascConv heisenbergMeasure (𝔰.ϱ + 2)), |
| 511 | h.ascConv_mconv_unitaryLevel_coset (by simp), prob_le_one] |
| 512 | _ = 1 := by simp [floorModulus] |
| 513 | |
| 514 | /-- For a large lattice datum and K(g) ≤ Z ≤ K, let `fl = F.unipotentMass` be the mass of 𝖴 ∩ K(g) |
| 515 | and `W_Z = Z.besselVector`. Then `fl ‖W_Z y‖²` is the mass of the `u` with `u y ∈ Z` for |
| 516 | `ascConv heisenbergMeasure (𝔰.ϱ + 2)`. This is the convolution η_0 ∗ ⋯ ∗ η_{ϱ+1} of the measures |
| 517 | η_l = `heisenbergMeasure l`, where ϱ = `𝔰.ϱ` is the number of hyperbolic planes of the shape 𝔰. It |
| 518 | is carried by the Bessel unipotent group 𝖴. -/ |
| 519 | theorem enorm_sq_besselVector_mul_unipotentMass (y : T.G) : |
| 520 | ‖Z.besselVector y‖ₑ ^ 2 * F.unipotentMass = |
| 521 | ascConv heisenbergMeasure (𝔰.ϱ + 2) {u : T.G | u * y ∈ Z.val} := by |
| 522 | -- This is `unipotentMass_mul_inner_besselVector` at `x = 1`, where the extended Bessel character |
| 523 | -- is constant. |
| 524 | let ν : Measure T.G := ascConv heisenbergMeasure (𝔰.ϱ + 2) |
| 525 | have h_meas : MeasurableSet {u : T.G | u * y ∈ Z.val} := |
| 526 | measurable_mul_const y Z.isOpen.measurableSet |
| 527 | have h_phase : ‖extendedBesselChar F.levelUnit (1 : T.G)‖ₑ = 1 := by |
| 528 | rw [extendedBesselChar_eq (one_mem _) (by simp), ← ofReal_norm] |
| 529 | simp |
| 530 | have h_indicator (u : T.G) : Set.indicator Z |
| 531 | (fun z : T.G ↦ extendedBesselChar F.levelUnit (z * 1 * z⁻¹)) (u * y) = |
| 532 | {u : T.G | u * y ∈ Z.val}.indicator (fun _ ↦ extendedBesselChar F.levelUnit (1 : T.G)) u := by |
| 533 | by_cases huy : u * y ∈ Z.val |
| 534 | · simp [huy] |
| 535 | · simp [huy] |
| 536 | have h_unfold : F.unipotentMass.toReal * ⟪Z.besselVector y, Z.besselVector y⟫_ℂ = |
| 537 | ν.real {u : T.G | u * y ∈ Z.val} • extendedBesselChar F.levelUnit (1 : T.G) := by |
| 538 | rw [← integral_indicator_const _ h_meas] |
| 539 | simpa only [mul_one y, h_indicator] using unipotentMass_mul_inner_besselVector Z y 1 |
| 540 | calc ‖Z.besselVector y‖ₑ ^ 2 * F.unipotentMass |
| 541 | _ = ‖F.unipotentMass.toReal * ⟪Z.besselVector y, Z.besselVector y⟫_ℂ‖ₑ := by |
| 542 | -- `toReal_prod` would expand the product `F.unipotentMass`. |
| 543 | simp [← ofReal_norm, mul_comm F.unipotentMass, -toReal_prod] |
| 544 | _ = ν {u : T.G | u * y ∈ Z.val} := by |
| 545 | rw [h_unfold, eNorm_smul, h_phase, mul_one, Real.eNorm_of_nonneg measureReal_nonneg, |
| 546 | ofReal_measureReal ((ascConv_setOf_mul_mem_le_one Z y).trans_lt one_lt_top).ne] |
| 547 | |
| 548 | /-- For a large lattice datum `F` and a group `Z` with K(g) ≤ Z ≤ K, the normalised Bessel vector |
| 549 | `√fl W_Z` has norm at most one at every point, where `fl = F.unipotentMass` is the mass of 𝖴 ∩ K(g) |
| 550 | and `W_Z = Z.besselVector`. -/ |
| 551 | theorem enorm_sq_besselVector_mul_le_one (y : T.G) : |
| 552 | ‖Z.besselVector y‖ₑ ^ 2 * F.unipotentMass ≤ 1 := |
| 553 | (enorm_sq_besselVector_mul_unipotentMass Z y).trans_le (ascConv_setOf_mul_mem_le_one Z y) |
| 554 | |
| 555 | /-- For a large lattice datum `F` and a group `Z` with K(g) ≤ Z ≤ K, let `fl = F.unipotentMass` be |
| 556 | the mass of 𝖴 ∩ K(g) and `W_Z = Z.besselVector`. The squared norm of `√fl W_Z` on 𝖴∖G is the measure |
| 557 | of `Z`, which is the number of cosets of K(g) in `Z` times the |
| 558 | measure of K(g). Functions on 𝖴∖G are integrated against `F.quotientMeasureFrom 0`, the product of |
| 559 | the measures of all floors. -/ |
| 560 | theorem lintegral_enorm_sq_besselVector : |
| 561 | F.unipotentMass * ∫⁻ y : T.G, ‖Z.besselVector y‖ₑ ^ 2 ∂F.quotientMeasureFrom 0 = |
| 562 | F.groupMeasure Z := by |
| 563 | let ν : Measure T.G := ascConv heisenbergMeasure (𝔰.ϱ + 2) |
| 564 | have h_conv : F.groupMeasure = ν ∗ₘ F.quotientMeasureFrom 0 := F.partialGroupMeasure_zero_eq |
| 565 | obtain ⟨-, h_top⟩ : F.unipotentMass ≠ 0 ∧ F.unipotentMass ≠ ∞ := |
| 566 | unipotentMass_ne_zero_and_ne_top |
| 567 | calc F.unipotentMass * ∫⁻ y : T.G, ‖Z.besselVector y‖ₑ ^ 2 ∂F.quotientMeasureFrom 0 |
| 568 | _ = ∫⁻ y : T.G, ‖Z.besselVector y‖ₑ ^ 2 * F.unipotentMass ∂F.quotientMeasureFrom 0 := by |
| 569 | rw [mul_comm, lintegral_mul_const' _ _ h_top] |
| 570 | _ = ∫⁻ y : T.G, ν {u : T.G | u * y ∈ Z.val} ∂F.quotientMeasureFrom 0 := |
| 571 | lintegral_congr (enorm_sq_besselVector_mul_unipotentMass Z) |
| 572 | _ = (ν ∗ₘ F.quotientMeasureFrom 0) Z := (mconv_apply_eq_lintegral Z.isOpen.measurableSet).symm |
| 573 | _ = F.groupMeasure Z := by rw [h_conv] |
| 574 | |
| 575 | /-- For a large lattice datum `F` and a group `Z` with K(g) ≤ Z ≤ K, let `fl = F.unipotentMass` be |
| 576 | the mass of 𝖴 ∩ K(g) and `W_Z = Z.besselVector`. For fixed `x`, the integral of |⟨W_Z(x), W_Z(y)⟩|² |
| 577 | over `y` in 𝖴∖G, that is against `F.quotientMeasureFrom 0`, times fl², is at most |
| 578 | ‖W_Z(x)‖² · vol(K(g)). -/ |
| 579 | theorem lintegral_inner_besselVector_sq_mul_le (x : T.G) : |
| 580 | (∫⁻ y : T.G, ‖⟪Z.besselVector x, Z.besselVector y⟫_ℂ‖ₑ ^ 2 ∂F.quotientMeasureFrom 0) * |
| 581 | F.unipotentMass * F.unipotentMass ≤ |
| 582 | ‖Z.besselVector x‖ₑ ^ 2 * F.groupMeasure F.congruenceSubgroup := by |
| 583 | -- Only the `y` in a set `S` of mass vol(K(g)) / fl count, and `√fl ‖W_Z y‖ ≤ 1` bounds |
| 584 | -- `√fl |⟨W_Z x, W_Z y⟩|` by `‖W_Z x‖`. |
| 585 | let θ : Measure T.G := F.quotientMeasureFrom 0 |
| 586 | have h_conv : F.groupMeasure = ascConv heisenbergMeasure (𝔰.ϱ + 2) ∗ₘ θ := |
| 587 | F.partialGroupMeasure_zero_eq |
| 588 | by_cases hx : Z.besselVector x = 0 |
| 589 | · simp [hx] |
| 590 | obtain ⟨u, hu, hux⟩ : ∃ u ∈ T.besselU, u * x ∈ F.boxSet := |
| 591 | (isCut_besselVector Z).exists_mul_mem_box hx |
| 592 | let S : Set T.G := {y : T.G | ∃ v ∈ T.besselU, v * (y * (u * x)⁻¹) ∈ F.congruenceSubgroup} |
| 593 | -- By right invariance K(g) has the measure of the coset K(g) `u * x`; unfold along `besselU`. |
| 594 | have h_mass : F.groupMeasure F.congruenceSubgroup = F.unipotentMass * θ S := by |
| 595 | have hg : F.levelUnit.val ∈ integers ∧ star F.levelUnit.val = F.levelUnit := h.integral_data.2.2 |
| 596 | calc F.groupMeasure F.congruenceSubgroup |
| 597 | _ = F.groupMeasure {z : T.G | z * (u * x)⁻¹ ∈ F.congruenceSubgroup} := |
| 598 | (measure_preimage_mul_right _ (u * x)⁻¹ _).symm |
| 599 | _ = F.unipotentMass * θ S := by |
| 600 | rw [h_conv] |
| 601 | exact h.ascConv_mconv_unitaryLevel_coset hg |
| 602 | -- The pairing vanishes outside `S`: the integral point `u * x` normalises K(g). |
| 603 | have h_supp (y : T.G) (hy : ⟪Z.besselVector x, Z.besselVector y⟫_ℂ ≠ 0) : y ∈ S := by |
| 604 | obtain ⟨v, hv, w, hw, -, h_close⟩ : ∃ v ∈ besselU, ∃ w ∈ besselU, |
| 605 | v * x ∈ unitaryLevel integers 1 T.splitGram ∧ (v * x)⁻¹ * (w * y) ∈ F.congruenceSubgroup := |
| 606 | exists_mem_congruenceSubgroup_of_inner_ne_zero Z hy |
| 607 | refine ⟨u * v⁻¹ * w, mul_mem (mul_mem hu (inv_mem hv)) hw, ?_⟩ |
| 608 | simpa [mul_assoc] using conj_mem_unitaryLevel (boxSet_eq.le hux) h_close |
| 609 | have h_bound (y : T.G) : |
| 610 | ‖⟪Z.besselVector x, Z.besselVector y⟫_ℂ‖ₑ ^ 2 * F.unipotentMass ≤ |
| 611 | S.indicator (fun _ ↦ ‖Z.besselVector x‖ₑ ^ 2) y := by |
| 612 | by_cases hy : ⟪Z.besselVector x, Z.besselVector y⟫_ℂ = 0 |
| 613 | · simp [hy] |
| 614 | have h_schwarz : ‖⟪Z.besselVector x, Z.besselVector y⟫_ℂ‖ₑ ≤ |
| 615 | ‖Z.besselVector x‖ₑ * ‖Z.besselVector y‖ₑ := |
| 616 | coe_le_coe.2 (nnNorm_inner_le_nnNorm _ _) |
| 617 | rw [Set.indicator_of_mem (h_supp y hy)] |
| 618 | grw [h_schwarz, mul_pow, mul_assoc, enorm_sq_besselVector_mul_le_one, mul_one] |
| 619 | calc |
| 620 | _ ≤ (∫⁻ y : T.G, S.indicator (fun _ ↦ ‖Z.besselVector x‖ₑ ^ 2) y ∂θ) * F.unipotentMass := by |
| 621 | grw [lintegral_mul_const_le, lintegral_mono h_bound] |
| 622 | _ ≤ ‖Z.besselVector x‖ₑ ^ 2 * F.groupMeasure F.congruenceSubgroup := by |
| 623 | grw [lintegral_indicator_const_le, h_mass, mul_assoc, mul_comm F.unipotentMass] |
| 624 | |
| 625 | /-- For a large lattice datum `F` and a group `Z` with K(g) ≤ Z ≤ K, let `fl = F.unipotentMass` be |
| 626 | the mass of 𝖴 ∩ K(g) and `W_Z = Z.besselVector`. The integral `F.pairingNormSq` of |⟨W_Z(x), |
| 627 | W_Z(y)⟩|² over (𝖴∖G)², times fl, is at most `Z.massRatio`, the number vol(Z) · vol(K(g)) / fl² for |
| 628 | the Haar measure vol = `F.groupMeasure`. -/ |
| 629 | theorem pairingNormSq_mul_le_massRatio : |
| 630 | F.pairingNormSq Z.besselVector * F.unipotentMass ≤ Z.massRatio := by |
| 631 | -- Bound the integral over `y`, then integrate over `x` by `lintegral_enorm_sq_besselVector`. |
| 632 | let θ : Measure T.G := F.quotientMeasureFrom 0 |
| 633 | rw [IntermediateGroup.massRatio, |
| 634 | ENNReal.le_div_iff_mul_le (.inl (by simp)) (.inl (by simp))] |
| 635 | calc F.pairingNormSq Z.besselVector * F.unipotentMass * F.unipotentMass ^ 2 |
| 636 | _ = F.unipotentMass * |
| 637 | (F.pairingNormSq Z.besselVector * F.unipotentMass * F.unipotentMass) := by ring |
| 638 | _ ≤ F.unipotentMass * |
| 639 | ∫⁻ x : T.G, ‖Z.besselVector x‖ₑ ^ 2 * F.groupMeasure F.congruenceSubgroup ∂θ := by |
| 640 | gcongr |
| 641 | refine le_trans ?_ (lintegral_mono (lintegral_inner_besselVector_sq_mul_le Z)) |
| 642 | grw [← lintegral_mul_const_le, ← lintegral_mul_const_le] |
| 643 | rfl |
| 644 | _ = F.groupMeasure Z * F.groupMeasure F.congruenceSubgroup := by |
| 645 | rw [lintegral_mul_const' _ _ (groupMeasure_ne_top unitaryLevel_le_unitaryLevel_one), |
| 646 | ← mul_assoc, lintegral_enorm_sq_besselVector] |
| 647 | |
| 648 | /-- For a large lattice datum `F`, a group `Z` with K(g) ≤ Z ≤ K and `x` in the unitary group `T.G`, |
| 649 | write χ_g = `extendedBesselChar F.levelUnit` and W_Z = `Z.besselVector`. The absolute value of ∫_Z |
| 650 | χ_g(y x y⁻¹) dy for `F.groupMeasure`, the inner integral of `F.massIntegral Z`, is the absolute |
| 651 | value of an integral times the mass `F.unipotentMass` of 𝖴 ∩ K(g). That integral is the integral of |
| 652 | ⟨W_Z(z), W_Z(z x)⟩ over z for `F.quotientMeasureFrom 0`. -/ |
| 653 | theorem enorm_integral_extendedBesselChar_eq_enorm_mul : |
| 654 | ‖∫ y : T.G in Z, extendedBesselChar F.levelUnit (y * x * y⁻¹) ∂F.groupMeasure‖ₑ = |
| 655 | ‖F.partialCorrelation 0 (frameCorrelation Z.besselVector 1) 1 x‖ₑ * F.unipotentMass := by |
| 656 | let ν : Measure T.G := ascConv heisenbergMeasure (𝔰.ϱ + 2) |
| 657 | let θ : Measure T.G := F.quotientMeasureFrom 0 |
| 658 | have h_conv : F.groupMeasure = ν ∗ₘ θ := F.partialGroupMeasure_zero_eq |
| 659 | let f : T.G → ℂ := Set.indicator Z fun z : T.G ↦ extendedBesselChar F.levelUnit (z * x * z⁻¹) |
| 660 | have h_on : IntegrableOn (fun z : T.G ↦ extendedBesselChar F.levelUnit (z * x * z⁻¹)) Z |
| 661 | F.groupMeasure := |
| 662 | integrableOn_of_bounded (groupMeasure_ne_top Z.le_unitaryLevel_one) (by fun_prop) |
| 663 | (.of_forall fun _ ↦ norm_extendedBesselChar_le_one) |
| 664 | have h_int : Integrable f (ν ∗ₘ θ) := by |
| 665 | rw [← h_conv] |
| 666 | exact h_on.integrable_indicator Z.isOpen.measurableSet |
| 667 | have h_pairing : F.partialCorrelation 0 (frameCorrelation Z.besselVector 1) 1 x = |
| 668 | ∫ y : T.G, ⟪Z.besselVector y, Z.besselVector (y * x)⟫_ℂ ∂θ := by |
| 669 | simp [partialCorrelation, θ] |
| 670 | -- Integrate `unipotentMass_mul_inner_besselVector` over `y` against `θ`. |
| 671 | have h_unfold : ∫ y : T.G in Z, extendedBesselChar F.levelUnit (y * x * y⁻¹) ∂F.groupMeasure = |
| 672 | F.unipotentMass.toReal * F.partialCorrelation 0 (frameCorrelation Z.besselVector 1) 1 x := |
| 673 | calc |
| 674 | _ = ∫ z : T.G, f z ∂(ν ∗ₘ θ) := by rw [← integral_indicator Z.isOpen.measurableSet, h_conv] |
| 675 | _ = ∫ y : T.G, ∫ u : T.G, f (u * y) ∂ν ∂θ := |
| 676 | integral_mconv_symm h_int |
| 677 | _ = ∫ y : T.G, F.unipotentMass.toReal * ⟪Z.besselVector y, Z.besselVector (y * x)⟫_ℂ ∂θ := by |
| 678 | simp only [unipotentMass_mul_inner_besselVector Z, f, ν] |
| 679 | _ = F.unipotentMass.toReal * F.partialCorrelation 0 (frameCorrelation Z.besselVector 1) 1 |
| 680 | x := by |
| 681 | rw [integral_const_mul, h_pairing] |
| 682 | -- `toReal_prod` would expand the product `F.unipotentMass`. |
| 683 | simp [h_unfold, mul_comm F.unipotentMass, ← ofReal_norm, -toReal_prod] |
| 684 | |
| 685 | end IntegralPlace.IsLargeLatticeData |
| 686 | |
| 687 | end New.Floors |
| 688 | |
| 689 | end |