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.Algebra.Order.Star.Int |
| 4 | import Mathlib.Algebra.Order.Star.Real |
| 5 | import Mathlib.Analysis.InnerProductSpace.Trace |
| 6 | import Mathlib.RingTheory.Coalgebra.CoassocSimps |
| 7 | import TauCeti.Analysis.Normed.Ring.Ultra |
| 8 | import TauCeti.NumberTheory.NumberField.Countable |
| 9 | public import New.Spanning.SecondMoment.FewTranslates |
| 10 | public import Lib.General.Groups.CharacterTheory |
| 11 | public import Lib.Shimura.ComplexTheta.AppellHumbertData |
| 12 | public import New.Spanning.Frames.FixedLines |
| 13 | public import New.Spanning.RemainingTerms.Size |
| 14 | import New.Spanning.Frames.FiniteDepth |
| 15 | import New.Spanning.Frames.FiniteShells |
| 16 | import New.Spanning.MainTerm.GlobalToLocal |
| 17 | import New.Spanning.Unfolding.MomentBounds |
| 18 | import New.Spanning.Unfolding.SquareExpansion |
| 19 | |
| 20 | /-! |
| 21 | # The second moments of the operators `P* s P`, and good forms |
| 22 | |
| 23 | Let `S` be admissible filling data, with size parameter `b = S.b`. The finite group |
| 24 | `Ḡ = S.ResidueGL` has one factor for each of the two level primes `p_i = S.levelPrime i`, and |
| 25 | `R̄₀ = S.reducedImage besselS` is the image of the Bessel subgroup in it. The source is the space of |
| 26 | dimension `D_X = S.sourceDim` with coordinates indexed by the classes and the coordinates of the |
| 27 | Bessel function. For a map `P` from the source to a representation `ρ` of `Ḡ` put `P_s = P* ρ(s) P`; |
| 28 | all norms of operators are Hilbert–Schmidt norms. The file proves the two moment bounds for the |
| 29 | `P_s`, and deduces that `e₀ P` is almost an isometry for the projection `e₀` onto the target forms. |
| 30 | We write `𝒟_id = S.identitySecondMoment` and `𝒟_main = S.mainSecondMoment`. |
| 31 | |
| 32 | ## Main definitions and results |
| 33 | |
| 34 | * `New.Filling.HasAmplitudeBlocks`: the blocks of `P_s` are the conjugates of the amplitude sums, |
| 35 | divided by the covolume. |
| 36 | * `New.Filling.besselTranslate`: the unitary representation `r_ψ` of `R̄₀` on the source, extended |
| 37 | by `0`. |
| 38 | * `New.Filling.HasAmplitudeBlocks.sum_hilbertSchmidtNorm_sub_besselTranslate_sq_le`: over `R̄₀` |
| 39 | times one factor of `Ḡ`, `∑ ‖P_s - r_ψ(s)‖² ≤ b⁻¹² 𝒟_id`. |
| 40 | * `New.Filling.HasAmplitudeBlocks.hilbertSchmidtNorm_sub_one_sq_le`: `‖P* P - 1‖² ≤ b⁻¹² D_X`. |
| 41 | * `New.Filling.HasAmplitudeBlocks.sum_hilbertSchmidtNorm_sq_le`: `∑ ‖P_s‖² ≤ (1 + 9 b⁻⁴) 𝒟_main` |
| 42 | over `Ḡ`. |
| 43 | * `New.Filling.HasAmplitudeBlocks.isNearIsometry_piTensorElem_comp`: `e₀ P` is almost an isometry in |
| 44 | mean square, with the error `5 b⁻⁴`. |
| 45 | |
| 46 | Notions from other files: |
| 47 | * `New.Filling.reduction`: the homomorphism from the stabilizer `K = S.latticeStabilizer` of the |
| 48 | lattice to `Ḡ` that reduces matrix entries modulo the chosen places above `p₀` and `p₁`. |
| 49 | * `New.Filling.termsOver`: the terms over a block `(c, s, c')`, the rational `γ` such that |
| 50 | `h_c⁻¹ γ h_c'` lies in `K` and has reduction `s`. |
| 51 | * `New.Filling.amplitudeSum`: the sum of the amplitudes of the terms of a set over a block. |
| 52 | * `New.Filling.identitySecondMoment`, `New.Filling.mainSecondMoment`: the numbers `#R̄₀ · D_X` and |
| 53 | `D_X² / (deg · mass)`, with `deg = S.besselDegree` and the mass `New.mass` of the genus of the |
| 54 | standard lattice of rank `r`. |
| 55 | |
| 56 | ## Relation to the literature |
| 57 | |
| 58 | For the normalised Poincaré map `P`, the mean over level translates `s` of `‖P* s P‖²` is at most |
| 59 | nearly `D_X² / D₀`, with `D₀` the expected dimension of the target, and bad types carry little of |
| 60 | `P`. In rank one, Poisson summation on a product of two Kloosterman sides with a sharp diagonal term |
| 61 | is known in the literature. Related work: Herman, Beyond endoscopy for the Rankin–Selberg |
| 62 | L-function, 2011; Iwaniec–Li, The orthogonality of Hecke eigenvalues, 2007; |
| 63 | Michel–Ramakrishnan–Yang, Bessel periods on U(2,1)×U(1,1), 2023. |
| 64 | |
| 65 | See `New.Spanning.SecondMoment.SpanningTheorem` and `New.Spanning.RemainingTerms.Sum` for related |
| 66 | work. |
| 67 | -/ |
| 68 | |
| 69 | @[expose] public section |
| 70 | |
| 71 | namespace New.Filling |
| 72 | |
| 73 | /-! |
| 74 | ## The operators `P_s` and `r_ψ(s)`, and the second moments |
| 75 | |
| 76 | In statements about `P`, `ρ` is a representation of `Ḡ`, unitary where stated, on a space of finite |
| 77 | dimension. |
| 78 | -/ |
| 79 | |
| 80 | section Moments |
| 81 | |
| 82 | open Matrix Complex Module InnerProductSpace EuclideanSpace Finset Fintype |
| 83 | |
| 84 | attribute [local instance low] Fintype.ofFinite |
| 85 | |
| 86 | variable {E : Type} [Field E] [CMType E] {𝔰 : Shape} {S : Filling E 𝔰} [ok : S.IsAdmissible] |
| 87 | {V : Type} [NormedAddCommGroup V] [InnerProductSpace ℂ V] |
| 88 | |
| 89 | open scoped Classical in |
| 90 | variable (S) in |
| 91 | /-- Let `Ḡ = S.ResidueGL` be the product of the general linear groups over the residue fields at the |
| 92 | chosen places of `S`. The source is the Euclidean space with coordinates `(c, i)`, where `c` is a |
| 93 | class (a double coset of the definite unitary group `U(X₀)` for the level) and `i` is a coordinate |
| 94 | of the Bessel function `W` at the infinite places. For a representation `ρ` of `Ḡ` on `V` and a |
| 95 | linear map `P` from the source to `V`, this says that the block `(c, c')` of `P_s = P* ρ(s) P` is |
| 96 | the complex conjugate of `A(c, s, c') / ν`. Here `ν = unipotentCovolume`, and |
| 97 | `A(c, s, c') = amplitudeSum .full .univ c s c'` is the sum of the amplitudes |
| 98 | `∫ β_c(y) β_c'(γ⁻¹ y) W(y) ⊗ W(γ⁻¹ y)^* dy` over all terms, the rational `γ` such that |
| 99 | `h_c⁻¹ γ h_c'` is integral with reduction `s`; `h_c` represents the class `c` and |
| 100 | `β_c = classCutoff c`. This holds for the Poincaré map after scaling. -/ |
| 101 | def HasAmplitudeBlocks (ρ : Representation ℂ S.ResidueGL V) |
| 102 | (P : EuclideanSpace ℂ (S.Classes × S.BesselCoord) →ₗ[ℂ] V) : Prop := |
| 103 | ∀ (s : S.ResidueGL) (x y : S.Classes × S.BesselCoord), ⟪ρ s (P (.single y 1)), |
| 104 | P (.single x 1)⟫_ℂ = |
| 105 | S.amplitudeSum .full .univ x.1 s y.1 (x.2, y.2) / S.unipotentCovolume |
| 106 | |
| 107 | variable [FiniteDimensional ℂ V] {ρ : Representation ℂ S.ResidueGL V} |
| 108 | {P : EuclideanSpace ℂ (S.Classes × S.BesselCoord) →ₗ[ℂ] V} |
| 109 | |
| 110 | open scoped Classical in |
| 111 | omit ok [FiniteDimensional ℂ V] in |
| 112 | /-- Let `S` be filling data for a unitary group over the CM field `E`, and `Ḡ = S.ResidueGL` the |
| 113 | product of the general linear groups over the residue fields at the chosen places. Let `ρ` be a |
| 114 | representation of `Ḡ` on `V` and `P` a linear map to `V` from the Euclidean space with basis `e_x`, |
| 115 | where `x` is a pair of a class (a double coset of the definite unitary group `U(X₀)` for the level) |
| 116 | and a coordinate of the Bessel function `W` at the infinite places. Suppose that |
| 117 | `⟪ρ(s) P e_y, P e_x⟫` is `c > 0` times the entry of `amplitudeSum .full .univ`, the sum over all |
| 118 | rational terms of the amplitude integrals of the uncut function `W`. Then `(c ν) ^ (-1/2) P` |
| 119 | satisfies `HasAmplitudeBlocks`, the same identity with `ν⁻¹` in place of `c`, where |
| 120 | `ν = S.unipotentCovolume > 0`. -/ |
| 121 | lemma hasAmplitudeBlocks_smul_of_inner_eq {c : ℝ} (hc : 0 < c) |
| 122 | (hP : ∀ (s : S.ResidueGL) (x y : S.Classes × S.BesselCoord), |
| 123 | ⟪ρ s (P (.single y 1)), P (.single x 1)⟫_ℂ = |
| 124 | ofReal c * S.amplitudeSum .full .univ x.1 s y.1 (x.2, y.2)) : |
| 125 | S.HasAmplitudeBlocks ρ (ofReal √(c * S.unipotentCovolume)⁻¹ • P) := by |
| 126 | intro s x y |
| 127 | have hν : 0 < S.unipotentCovolume := S.unipotentCovolume_pos |
| 128 | rw [LinearMap.smul_apply, LinearMap.smul_apply, map_smul, inner_smul_left, inner_smul_right, |
| 129 | hP, conj_ofReal, ← mul_assoc, ← ofReal_mul, Real.mul_self_sqrt (by positivity)] |
| 130 | push_cast |
| 131 | field [ofReal_ne_zero.2 hc.ne'] |
| 132 | |
| 133 | open scoped Classical in |
| 134 | omit ok in |
| 135 | private lemma hilbertSchmidtNorm_sq_of_entries |
| 136 | {L : Module.End ℂ (EuclideanSpace ℂ (S.Classes × S.BesselCoord))} |
| 137 | {A : S.Classes → S.ResidueGL → S.Classes → EuclideanSpace ℂ (S.BesselCoord × S.BesselCoord)} |
| 138 | {s : S.ResidueGL} (h : ∀ x y : S.Classes × S.BesselCoord, |
| 139 | ⟪L (.single y 1), .single x 1⟫_ℂ = A x.1 s y.1 (x.2, y.2) / S.unipotentCovolume) : |
| 140 | hilbertSchmidtNorm L ^ 2 = secondMoment (S := S) A {s} := by |
| 141 | rw [hilbertSchmidtNorm_sq_eq_sum_entries (basisFun _ ℂ) (basisFun _ ℂ)] |
| 142 | simp only [basisFun_apply, h] |
| 143 | simp [secondMoment, sum_filter, norm_sq_eq, sum_prod_type, sum_div, div_pow, |
| 144 | sum_comm (α := S.Classes) (γ := S.BesselCoord)] |
| 145 | |
| 146 | omit ok in |
| 147 | /-- Let `S` be filling data (`Filling`) for a unitary group `G` over the CM field `E`, and let |
| 148 | `Ḡ = S.ResidueGL` be the product of the general linear groups over the residue fields at the chosen |
| 149 | places above the two level primes `p₀`, `p₁`. The source is the Euclidean space with coordinates |
| 150 | `(c, i)`, where `c` is a class (a double coset of the definite unitary group `U(X₀)` for the level) |
| 151 | and `i` is a coordinate of the Bessel function `W` at the infinite places. Let `ρ` be a |
| 152 | representation of `Ḡ` on `V` and `P` a linear map from the source to `V`. Suppose |
| 153 | `HasAmplitudeBlocks`: the block `(c, c')` of `P_s = P* ρ(s) P` is the conjugate of |
| 154 | `A(c, s, c') / ν`, where `ν = S.unipotentCovolume > 0` and `A(c, s, c')` is the sum, over the |
| 155 | rational `γ` in `G` such that `h_c⁻¹ γ h_c'` is integral with reduction `s`, of an integral of |
| 156 | `W(y) ⊗ W(γ⁻¹ y)^*` against cutoffs (`h_c` represents the class `c`). Then the squared |
| 157 | Hilbert–Schmidt norm of `P_s` is `∑ ‖A(c, s, c')‖² / ν²` over pairs of classes, the second moment at |
| 158 | `s` of all terms (`.univ`) for the uncut function `W` (`.full`). -/ |
| 159 | lemma HasAmplitudeBlocks.hilbertSchmidtNorm_sq_eq_secondMoment (hP : S.HasAmplitudeBlocks ρ P) |
| 160 | (s : S.ResidueGL) : |
| 161 | hilbertSchmidtNorm (P.adjoint ∘ₗ ρ s ∘ₗ P) ^ 2 = |
| 162 | secondMoment (S.amplitudeSum .full .univ) {s} := by |
| 163 | apply hilbertSchmidtNorm_sq_of_entries |
| 164 | intro x y |
| 165 | simpa [LinearMap.adjoint_inner_left] using hP s x y |
| 166 | |
| 167 | open scoped Classical in |
| 168 | variable (S) in |
| 169 | /-- The operator `r_ψ(s)` on the source: its blocks are the complex conjugates of the sums of |
| 170 | amplitudes (`amplitudeSum`) of the terms in the Bessel subgroup, divided by `unipotentCovolume`. For |
| 171 | `s` in the image `R̄₀` of the Bessel subgroup it is the translation by `s`, twisted by the |
| 172 | character: each class `c` has a term of the Bessel subgroup over some block `(c, s, c')` |
| 173 | (`exists_besselS_mem_termsOver`), its matrix is given by `besselFn_mul_of_eq_embedH`, and |
| 174 | `besselTranslate_apply` gives the value of the operator. -/ |
| 175 | noncomputable def besselTranslate (s : S.ResidueGL) : |
| 176 | EuclideanSpace ℂ (S.Classes × S.BesselCoord) →ₗ[ℂ] |
| 177 | EuclideanSpace ℂ (S.Classes × S.BesselCoord) := |
| 178 | toEuclideanLin <| of fun x y ↦ |
| 179 | star (S.amplitudeSum .full (S.ratMiddle E).besselS x.1 s y.1 (x.2, y.2) / S.unipotentCovolume) |
| 180 | |
| 181 | omit ok in |
| 182 | /-- The operator `r_ψ(s) = besselTranslate s`, whose blocks are sums over rational elements of the |
| 183 | Bessel subgroup with reduction `s`, vanishes for `s` off the image of that subgroup in |
| 184 | `S.ResidueGL`. -/ |
| 185 | lemma besselTranslate_eq_zero {s : S.ResidueGL} (hs : s ∉ S.reducedImage besselS) : |
| 186 | S.besselTranslate s = 0 := by |
| 187 | ext φ x |
| 188 | simp [besselTranslate, amplitudeSum_besselS_eq_zero hs, mulVec, dotProduct] |
| 189 | |
| 190 | /-- Let `S` be admissible filling data for a unitary group `G` over the CM field `E`, which contains |
| 191 | a primitive `5040`-th root of unity, and let `Ḡ = S.ResidueGL` be the product of the general linear |
| 192 | groups over the residue fields at the chosen places above the two level primes `p₀`, `p₁`. Let |
| 193 | `r_ψ(s) = S.besselTranslate s` be the operator on the source `ℂ^(classes × Bessel coordinates)` |
| 194 | whose blocks are the complex conjugates of the normalised amplitude sums of the rational elements of |
| 195 | the Bessel subgroup `besselS`. Let `γ` be a rational element of that subgroup over the block |
| 196 | `(c, s, c')`: `h_c⁻¹ γ h_c'` is integral with reduction `s`, where `h_c` represents the class `c`. |
| 197 | Suppose `W(γ y) = M W(y)` for all points `y` of `G` at the infinite places, where |
| 198 | `W = S.besselFn .full` is the vector of Bessel functions. Then the value of `r_ψ(s) φ` at the class |
| 199 | `c` is the entrywise conjugate of `M` applied to the value of `φ` at `c'`. -/ |
| 200 | lemma besselTranslate_apply [HasPrimitiveRoot5040 E] {γ : S.G E} {c c' : S.Classes} |
| 201 | {s : S.ResidueGL} (hγ : γ ∈ besselS) (hγ_over : γ ∈ S.termsOver c s c') |
| 202 | {M : Matrix S.BesselCoord S.BesselCoord ℂ} |
| 203 | (hM : ∀ y : NumberField.InfinitePlace E → 𝔰.G₁, |
| 204 | S.besselFn .full (S.ratToInf γ * y) = M *ᵥ S.besselFn .full y) |
| 205 | (φ : EuclideanSpace ℂ (S.Classes × S.BesselCoord)) (i : S.BesselCoord) : |
| 206 | S.besselTranslate s φ (c, i) = ∑ j : S.BesselCoord, star (M i j) * φ (c', j) := by |
| 207 | classical |
| 208 | simp [besselTranslate, mulVec, dotProduct, sum_prod_type, |
| 209 | amplitudeSum_besselS_apply hγ hγ_over hM, apply_ite, ite_div, S.unipotentCovolume_pos.ne'] |
| 210 | |
| 211 | /-- For admissible filling data `S` over a CM field `E` with a primitive `5040`-th root of unity, |
| 212 | the operator `r_ψ(1) = besselTranslate 1` is the identity. -/ |
| 213 | lemma besselTranslate_one [HasPrimitiveRoot5040 E] : S.besselTranslate 1 = 1 := by |
| 214 | ext φ ⟨c, i⟩ |
| 215 | have h_over : (1 : S.G E) ∈ S.termsOver c 1 c := (S.classUnipotent c).one_mem.2 |
| 216 | rw [besselTranslate_apply (one_mem _) h_over (M := 1) (by simp)] |
| 217 | simp [Matrix.one_apply, apply_ite] |
| 218 | |
| 219 | /-- Let `S` be admissible filling data for a unitary group `G` over the CM field `E`, which contains |
| 220 | a primitive `5040`-th root of unity, and let `Ḡ = S.ResidueGL` be the product of the general linear |
| 221 | groups over the residue fields at the chosen places above the two level primes `p₀`, `p₁`. Then |
| 222 | `r_ψ(s t) = r_ψ(s) r_ψ(t)` for `s` and `t` in `R̄₀`. -/ |
| 223 | lemma besselTranslate_mul [HasPrimitiveRoot5040 E] {s t : S.ResidueGL} |
| 224 | (hs : s ∈ S.reducedImage besselS) (ht : t ∈ S.reducedImage besselS) : |
| 225 | S.besselTranslate (s * t) = S.besselTranslate s * S.besselTranslate t := by |
| 226 | -- If `γ` lies over `(c, s, c')` and `δ` over `(c', t, c'')`, then `γ δ` is over `(c, s t, c'')`. |
| 227 | ext φ ⟨c, i⟩ |
| 228 | obtain ⟨c', γ, hγ, hγ_over⟩ := exists_besselS_mem_termsOver c hs |
| 229 | obtain ⟨c'', δ, hδ, hδ_over⟩ := exists_besselS_mem_termsOver c' ht |
| 230 | obtain ⟨M, -, hM⟩ := exists_unitary_besselFn_mul (side := .full) hγ |
| 231 | obtain ⟨N, -, hN⟩ := exists_unitary_besselFn_mul (side := .full) hδ |
| 232 | have hMN (y : NumberField.InfinitePlace E → 𝔰.G₁) : |
| 233 | S.besselFn .full (S.ratToInf (γ * δ) * y) = (M * N) *ᵥ S.besselFn .full y := by |
| 234 | rw [map_mul, mul_assoc, hM, hN, mulVec_mulVec] |
| 235 | have h_matrix : S.besselTranslate (s * t) φ (c, i) = |
| 236 | ∑ k : S.BesselCoord, star ((M * N) i k) * φ (c'', k) := |
| 237 | besselTranslate_apply (mul_mem hγ hδ) (termsOver.mul hγ_over hδ_over) hMN φ i |
| 238 | rw [h_matrix, mul_apply_eq_comp, besselTranslate_apply hγ hγ_over hM] |
| 239 | simp only [besselTranslate_apply hδ hδ_over hN, Matrix.mul_apply, star_sum, star_mul', sum_mul, |
| 240 | mul_sum, mul_assoc] |
| 241 | exact sum_comm |
| 242 | |
| 243 | /-- Let `S` be admissible filling data for a unitary group `G` over the CM field `E`, which contains |
| 244 | a primitive `5040`-th root of unity, and let `Ḡ = S.ResidueGL` be the product of the general linear |
| 245 | groups over the residue fields at the chosen places above the two level primes `p₀`, `p₁`. Then |
| 246 | `r_ψ(t s) = r_ψ(t) r_ψ(s)` for `t` in `R̄₀` and every `s` in `Ḡ`. -/ |
| 247 | lemma besselTranslate_mul_left [HasPrimitiveRoot5040 E] {t : S.ResidueGL} |
| 248 | (ht : t ∈ S.reducedImage besselS) (s : S.ResidueGL) : |
| 249 | S.besselTranslate (t * s) = S.besselTranslate t * S.besselTranslate s := by |
| 250 | by_cases hs : s ∈ S.reducedImage besselS |
| 251 | · exact besselTranslate_mul ht hs |
| 252 | · rw [besselTranslate_eq_zero hs, mul_zero, |
| 253 | besselTranslate_eq_zero (mt (mul_mem_cancel_left ht).1 hs)] |
| 254 | |
| 255 | /-- Let `S` be admissible filling data over a CM field `E` with a primitive `5040`-th root of unity. |
| 256 | The adjoint of `r_ψ(s) = besselTranslate s` is `r_ψ(s⁻¹)`. So, by `besselTranslate_mul` and |
| 257 | `besselTranslate_one`, `r_ψ` is a unitary representation of the image of the Bessel subgroup. -/ |
| 258 | lemma adjoint_besselTranslate [HasPrimitiveRoot5040 E] (s : S.ResidueGL) : |
| 259 | (S.besselTranslate s).adjoint = S.besselTranslate s⁻¹ := by |
| 260 | classical |
| 261 | rw [besselTranslate, besselTranslate, ← toEuclideanLin_conjTranspose_eq_adjoint] |
| 262 | congr 1 |
| 263 | ext x y |
| 264 | -- The block at `(c', s⁻¹, c)` is the adjoint of that at `(c, s, c')`. |
| 265 | simp [amplitudeSum_besselS_inv y.1 x.1 s] |
| 266 | |
| 267 | /-- Let `S` be admissible filling data for a unitary group `G` over the CM field `E`, which contains |
| 268 | a primitive `5040`-th root of unity, and let `Ḡ = S.ResidueGL` be the product of the general linear |
| 269 | groups over the residue fields at the chosen places above the two level primes `p₀`, `p₁`. For `t` |
| 270 | in `R̄₀` the operator `r_ψ(t)` is unitary, so composing an operator `A` of the source on the left |
| 271 | with it does not change the Hilbert–Schmidt norm. -/ |
| 272 | lemma hilbertSchmidtNorm_besselTranslate_comp [HasPrimitiveRoot5040 E] {t : S.ResidueGL} |
| 273 | (ht : t ∈ S.reducedImage besselS) |
| 274 | (A : EuclideanSpace ℂ (S.Classes × S.BesselCoord) →ₗ[ℂ] |
| 275 | EuclideanSpace ℂ (S.Classes × S.BesselCoord)) : |
| 276 | hilbertSchmidtNorm (S.besselTranslate t ∘ₗ A) = hilbertSchmidtNorm A := by |
| 277 | have h_adjoint : (S.besselTranslate t).adjoint * S.besselTranslate t = 1 := by |
| 278 | rw [adjoint_besselTranslate, ← besselTranslate_mul (inv_mem ht) ht, inv_mul_cancel, |
| 279 | besselTranslate_one] |
| 280 | have h_norm (x : EuclideanSpace ℂ (S.Classes × S.BesselCoord)) : |
| 281 | ‖S.besselTranslate t x‖ = ‖x‖ := by |
| 282 | rw [norm_eq_sqrt_re_inner (𝕜 := ℂ), ← LinearMap.adjoint_inner_right, ← mul_apply_eq_comp, |
| 283 | h_adjoint, one_apply_eq_self, ← norm_eq_sqrt_re_inner] |
| 284 | exact le_antisymm (hilbertSchmidtNorm_le_of_norm_le fun x ↦ (h_norm (A x)).le) |
| 285 | (hilbertSchmidtNorm_le_of_norm_le fun x ↦ (h_norm (A x)).ge) |
| 286 | |
| 287 | /-- Let `S` be admissible filling data over a CM field `E` with a primitive `5040`-th root of unity. |
| 288 | The trace of `r_ψ(s) = besselTranslate s` is a sum over classes `c` and Bessel coordinates `i`. Each |
| 289 | summand is the `(i, i)` entry of the full amplitude sum `amplitudeSum` of the terms in the Bessel |
| 290 | subgroup `besselS` over the block `(c, s⁻¹, c)`, divided by `unipotentCovolume`. -/ |
| 291 | lemma trace_besselTranslate [HasPrimitiveRoot5040 E] (s : S.ResidueGL) : |
| 292 | LinearMap.trace ℂ (EuclideanSpace ℂ (S.Classes × S.BesselCoord)) (S.besselTranslate s) = |
| 293 | ∑ y : S.Classes × S.BesselCoord, |
| 294 | S.amplitudeSum .full (S.ratMiddle E).besselS y.1 s⁻¹ y.1 (y.2, y.2) / |
| 295 | S.unipotentCovolume := by |
| 296 | classical |
| 297 | simp [LinearMap.trace_eq_sum_inner _ (basisFun _ ℂ), besselTranslate, inner_single_left, |
| 298 | amplitudeSum_besselS_inv] |
| 299 | |
| 300 | /-- Equivariance on the right. Let `S` be admissible filling data for a unitary group `G` over the |
| 301 | CM field `E`, which contains a primitive `5040`-th root of unity, and let `Ḡ = S.ResidueGL` be the |
| 302 | product of the general linear groups over the residue fields at the chosen places above the two |
| 303 | level primes `p₀`, `p₁`. The source is the Euclidean space with coordinates `(c, i)`, where `c` is a |
| 304 | class (a double coset of the definite unitary group `U(X₀)` for the level) and `i` is a coordinate |
| 305 | of the Bessel function `W` at the infinite places. Let `ρ` be a representation of `Ḡ` on `V` and `P` |
| 306 | a linear map from the source to `V`. Suppose `HasAmplitudeBlocks`: the block `(c, c')` of |
| 307 | `P_s = P* ρ(s) P` is the conjugate of `A(c, s, c') / ν`, where `ν = S.unipotentCovolume > 0` and |
| 308 | `A(c, s, c')` is the sum, over the rational `γ` in `G` such that `h_c⁻¹ γ h_c'` is integral with |
| 309 | reduction `s`, of an integral of `W(y) ⊗ W(γ⁻¹ y)^*` against cutoffs (`h_c` represents the class |
| 310 | `c`). Let `r_ψ(s) = S.besselTranslate s` be the operator on the source with the same blocks, but |
| 311 | summed only over the `γ` in the Bessel subgroup `besselS` (block unitriangular elements times |
| 312 | `U(X₀)`), and let `R̄₀` be the image of that subgroup in `Ḡ`. Then `P_(s t) = P_s r_ψ(t)` for `t` in |
| 313 | `R̄₀`. -/ |
| 314 | lemma HasAmplitudeBlocks.adjoint_comp_rep_mul_right [HasPrimitiveRoot5040 E] |
| 315 | (hP : S.HasAmplitudeBlocks ρ P) (s : S.ResidueGL) {t : S.ResidueGL} |
| 316 | (ht : t ∈ S.reducedImage besselS) : |
| 317 | P.adjoint ∘ₗ ρ (s * t) ∘ₗ P = (P.adjoint ∘ₗ ρ s ∘ₗ P) ∘ₗ S.besselTranslate t := by |
| 318 | classical |
| 319 | refine (basisFun _ ℂ).toBasis.ext fun ⟨d, j⟩ ↦ ext_inner_right_basis (basisFun _ ℂ).toBasis ?_ |
| 320 | rintro ⟨c, i⟩ |
| 321 | -- A term `δ` of the Bessel subgroup over `(d, t⁻¹, d')` gives column `(d, j)` of `r_ψ(t)`. |
| 322 | obtain ⟨d', δ, hδ, hδ_over⟩ := exists_besselS_mem_termsOver d (inv_mem ht) |
| 323 | obtain ⟨N, -, hN⟩ := exists_unitary_besselFn_mul (side := .full) hδ |
| 324 | have h_col : S.besselTranslate t (.single (d, j) 1) = |
| 325 | ∑ k : S.BesselCoord, N j k • EuclideanSpace.single (d', k) 1 := by |
| 326 | ext ⟨e, k⟩ |
| 327 | have h_block : starRingEnd ℂ (S.amplitudeSum .full (S.ratMiddle E).besselS e t d (k, j)) = |
| 328 | if d' = e then S.unipotentCovolume * N j k else 0 := by |
| 329 | rw [← Complex.star_def, ← amplitudeSum_besselS_inv, amplitudeSum_besselS_apply hδ hδ_over hN] |
| 330 | by_cases h : d' = e |
| 331 | · simp [besselTranslate, h_block, h, S.unipotentCovolume_pos.ne', Pi.single_apply, |
| 332 | Function.swap] |
| 333 | · simp [besselTranslate, h_block, h, Ne.symm h] |
| 334 | -- The blocks of all terms transform in the same way, as the set of all terms is stable. |
| 335 | have h_move : S.amplitudeSum .full .univ c (s * t) d (i, j) = |
| 336 | ∑ k : S.BesselCoord, star (N j k) * S.amplitudeSum .full .univ c s d' (i, k) := by |
| 337 | simpa using amplitudeSum_mul_inv_apply (by simp [IsStable] : S.IsStable Set.univ) hδ hδ_over |
| 338 | (fun γ ↦ by simp) hN c s i j |
| 339 | simp only [OrthonormalBasis.coe_toBasis, basisFun_apply] |
| 340 | calc ⟪(P.adjoint ∘ₗ ρ (s * t) ∘ₗ P) (.single (d, j) 1), .single (c, i) 1⟫_ℂ |
| 341 | = ∑ k : S.BesselCoord, |
| 342 | star (N j k) * (S.amplitudeSum .full .univ c s d' (i, k) / S.unipotentCovolume) := by |
| 343 | rw [LinearMap.comp_apply, LinearMap.adjoint_inner_left, LinearMap.comp_apply, |
| 344 | hP (s * t) (c, i) (d, j), h_move, sum_div] |
| 345 | simp only [mul_div_assoc] |
| 346 | _ = ⟪((P.adjoint ∘ₗ ρ s ∘ₗ P) ∘ₗ S.besselTranslate t) (.single (d, j) 1), |
| 347 | .single (c, i) 1⟫_ℂ := by |
| 348 | simp only [LinearMap.comp_apply, h_col, map_sum, map_smul, sum_inner, inner_smul_left, |
| 349 | LinearMap.adjoint_inner_left, hP s (c, i), Complex.star_def] |
| 350 | |
| 351 | /-- Let `S` be admissible filling data for a unitary group `G` over the CM field `E`, which contains |
| 352 | a primitive `5040`-th root of unity, and let `Ḡ = S.ResidueGL` be the product of the general linear |
| 353 | groups over the residue fields at the chosen places above the two level primes `p₀`, `p₁`. The |
| 354 | source is the Euclidean space with coordinates `(c, i)`, where `c` is a class (a double coset of the |
| 355 | definite unitary group `U(X₀)` for the level) and `i` is a coordinate of the Bessel function `W` at |
| 356 | the infinite places. Let `ρ` be a unitary representation of `Ḡ` on `V` and `P` a linear map from the |
| 357 | source to `V`. Suppose `HasAmplitudeBlocks`: the block `(c, c')` of `P_s = P* ρ(s) P` is the |
| 358 | conjugate of `A(c, s, c') / ν`, where `ν = S.unipotentCovolume > 0` and `A(c, s, c')` is the sum, |
| 359 | over the rational `γ` in `G` such that `h_c⁻¹ γ h_c'` is integral with reduction `s`, of an integral |
| 360 | of `W(y) ⊗ W(γ⁻¹ y)^*` against cutoffs (`h_c` represents the class `c`). Let |
| 361 | `r_ψ(s) = S.besselTranslate s` be the operator on the source with the same blocks, but summed only |
| 362 | over the `γ` in the Bessel subgroup `besselS` (block unitriangular elements times `U(X₀)`), and let |
| 363 | `R̄₀` be the image of that subgroup in `Ḡ`. Then `ρ(t) P = P r_ψ(t)` for `t` in `R̄₀`. -/ |
| 364 | lemma HasAmplitudeBlocks.rep_comp_eq_comp_besselTranslate [HasPrimitiveRoot5040 E] |
| 365 | (hP : S.HasAmplitudeBlocks ρ P) |
| 366 | (hρ : ∀ (s : S.ResidueGL) (x y : V), ⟪ρ s x, ρ s y⟫_ℂ = ⟪x, y⟫_ℂ) {t : S.ResidueGL} |
| 367 | (ht : t ∈ S.reducedImage besselS) : |
| 368 | ρ t ∘ₗ P = P ∘ₗ S.besselTranslate t := by |
| 369 | -- The difference `d` is orthogonal to all translates of the image of `P`, hence to itself. |
| 370 | ext1 φ |
| 371 | set d : V := ρ t (P φ) - P (S.besselTranslate t φ) with hd |
| 372 | have h_orth (s : S.ResidueGL) (φ' : EuclideanSpace ℂ (S.Classes × S.BesselCoord)) : |
| 373 | ⟪ρ s (P φ'), d⟫_ℂ = 0 := by |
| 374 | have h_apply : P.adjoint (ρ (s⁻¹ * t) (P φ)) = |
| 375 | P.adjoint (ρ s⁻¹ (P (S.besselTranslate t φ))) := |
| 376 | LinearMap.congr_fun (hP.adjoint_comp_rep_mul_right s⁻¹ ht) φ |
| 377 | have h_zero : P.adjoint (ρ s⁻¹ d) = 0 := by |
| 378 | rw [hd, map_sub, map_sub, ← h_apply, map_mul, mul_apply_eq_comp, sub_self] |
| 379 | rw [← hρ s⁻¹, ρ.inv_self_apply, ← LinearMap.adjoint_inner_right, h_zero, inner_zero_right] |
| 380 | have h_self : ⟪d, d⟫_ℂ = 0 := by |
| 381 | calc ⟪d, d⟫_ℂ = ⟪ρ t (P φ), d⟫_ℂ - ⟪P (S.besselTranslate t φ), d⟫_ℂ := inner_sub_left .. |
| 382 | _ = 0 := by simpa [h_orth t φ] using h_orth 1 (S.besselTranslate t φ) |
| 383 | exact sub_eq_zero.1 (inner_self_eq_zero.1 h_self) |
| 384 | |
| 385 | /-- Equivariance on the left. Let `S` be admissible filling data for a unitary group `G` over the CM |
| 386 | field `E`, which contains a primitive `5040`-th root of unity, and let `Ḡ = S.ResidueGL` be the |
| 387 | product of the general linear groups over the residue fields at the chosen places above the two |
| 388 | level primes `p₀`, `p₁`. The source is the Euclidean space with coordinates `(c, i)`, where `c` is a |
| 389 | class (a double coset of the definite unitary group `U(X₀)` for the level) and `i` is a coordinate |
| 390 | of the Bessel function `W` at the infinite places. Let `ρ` be a unitary representation of `Ḡ` on `V` |
| 391 | and `P` a linear map from the source to `V`. Suppose `HasAmplitudeBlocks`: the block `(c, c')` of |
| 392 | `P_s = P* ρ(s) P` is the conjugate of `A(c, s, c') / ν`, where `ν = S.unipotentCovolume > 0` and |
| 393 | `A(c, s, c')` is the sum, over the rational `γ` in `G` such that `h_c⁻¹ γ h_c'` is integral with |
| 394 | reduction `s`, of an integral of `W(y) ⊗ W(γ⁻¹ y)^*` against cutoffs (`h_c` represents the class |
| 395 | `c`). Let `r_ψ(s) = S.besselTranslate s` be the operator on the source with the same blocks, but |
| 396 | summed only over the `γ` in the Bessel subgroup `besselS` (block unitriangular elements times |
| 397 | `U(X₀)`), and let `R̄₀` be the image of that subgroup in `Ḡ`. Then `P_(t s) = r_ψ(t) P_s` for `t` in |
| 398 | `R̄₀`. -/ |
| 399 | lemma HasAmplitudeBlocks.adjoint_comp_rep_mul_left [HasPrimitiveRoot5040 E] |
| 400 | (hP : S.HasAmplitudeBlocks ρ P) |
| 401 | (hρ : ∀ (s : S.ResidueGL) (x y : V), ⟪ρ s x, ρ s y⟫_ℂ = ⟪x, y⟫_ℂ) (s : S.ResidueGL) |
| 402 | {t : S.ResidueGL} (ht : t ∈ S.reducedImage besselS) : |
| 403 | P.adjoint ∘ₗ ρ (t * s) ∘ₗ P = S.besselTranslate t ∘ₗ (P.adjoint ∘ₗ ρ s ∘ₗ P) := by |
| 404 | -- The adjoint of `t⁻¹ P = P r_ψ(t⁻¹)` is `P* t = r_ψ(t) P*`. |
| 405 | have h_adjoint : P.adjoint ∘ₗ ρ t = S.besselTranslate t ∘ₗ P.adjoint := by |
| 406 | simpa [LinearMap.adjoint_comp, adjoint_rep_of_unitary hρ, adjoint_besselTranslate] using |
| 407 | congrArg LinearMap.adjoint (hP.rep_comp_eq_comp_besselTranslate hρ (inv_mem ht)) |
| 408 | rw [map_mul, End.mul_eq_comp, ← LinearMap.comp_assoc, ← LinearMap.comp_assoc, h_adjoint] |
| 409 | simp only [LinearMap.comp_assoc] |
| 410 | |
| 411 | /-- Let `S` be admissible filling data for a unitary group `G` over the CM field `E`, which contains |
| 412 | a primitive `5040`-th root of unity, and let `Ḡ = S.ResidueGL` be the product of the general linear |
| 413 | groups over the residue fields at the chosen places above the two level primes `p₀`, `p₁`. The |
| 414 | source is the Euclidean space with coordinates `(c, i)`. Suppose `HasAmplitudeBlocks`: the block |
| 415 | `(c, c')` of `P_s = P* ρ(s) P` is the conjugate of `A(c, s, c') / ν`, where |
| 416 | `ν = S.unipotentCovolume > 0` and `A(c, s, c')` is the sum, over the rational `γ` in `G` such that |
| 417 | `h_c⁻¹ γ h_c'` is integral with reduction `s`, of an integral of `W(y) ⊗ W(γ⁻¹ y)^*` against cutoffs |
| 418 | (`h_c` represents the class `c`). Then the squared Hilbert–Schmidt norm of `P_s - r_ψ(s)` is the |
| 419 | second moment `∑ ‖A'(c, s, c')‖² / ν²` over pairs of classes, where `A'` is summed over the `γ` |
| 420 | outside the Bessel subgroup and `‖·‖` is the Euclidean norm of the entries. -/ |
| 421 | lemma HasAmplitudeBlocks.hilbertSchmidtNorm_sub_besselTranslate_sq [HasPrimitiveRoot5040 E] |
| 422 | (hP : S.HasAmplitudeBlocks ρ P) (s : S.ResidueGL) : |
| 423 | hilbertSchmidtNorm (P.adjoint ∘ₗ ρ s ∘ₗ P - S.besselTranslate s) ^ 2 = |
| 424 | secondMoment (S.amplitudeSum .full (S.ratMiddle E).besselSᶜ) {s} := by |
| 425 | classical |
| 426 | apply hilbertSchmidtNorm_sq_of_entries |
| 427 | intro x y |
| 428 | rw [LinearMap.sub_apply, inner_sub_left, LinearMap.comp_apply, LinearMap.adjoint_inner_left, |
| 429 | LinearMap.comp_apply, hP s x y, amplitudeSum_eq_inter_compl_add_inter Set.univ |
| 430 | (S.ratMiddle E).besselS] |
| 431 | simp [besselTranslate, inner_single_right, add_div, Set.univ_inter] |
| 432 | |
| 433 | open scoped Classical in |
| 434 | /-- **Second moment near the Bessel subgroup.** Let `S` be admissible filling data for a unitary |
| 435 | group `G` over the CM field `E`, which contains a primitive `5040`-th root of unity, and let |
| 436 | `Ḡ = S.ResidueGL` be the product of the general linear groups over the residue fields at the chosen |
| 437 | places above the two level primes `p₀`, `p₁`. The source is the Euclidean space with coordinates |
| 438 | `(c, i)`, where `c` is a class (a double coset of the definite unitary group `U(X₀)` for the level) |
| 439 | and `i` is a coordinate of the Bessel function `W` at the infinite places. Let `ρ` be a |
| 440 | representation of `Ḡ` on `V` and `P` a linear map from the source to `V`. Suppose |
| 441 | `HasAmplitudeBlocks`: the block `(c, c')` of `P_s = P* ρ(s) P` is the conjugate of |
| 442 | `A(c, s, c') / ν`, where `ν = S.unipotentCovolume > 0` and `A(c, s, c')` is the sum, over the |
| 443 | rational `γ` in `G` such that `h_c⁻¹ γ h_c'` is integral with reduction `s`, of an integral of |
| 444 | `W(y) ⊗ W(γ⁻¹ y)^*` against cutoffs (`h_c` represents the class `c`). Let |
| 445 | `r_ψ(s) = S.besselTranslate s` be the operator on the source with the same blocks, but summed only |
| 446 | over the `γ` in the Bessel subgroup `besselS` (block unitriangular elements times `U(X₀)`), and let |
| 447 | `R̄₀` be the image of that subgroup in `Ḡ`. Then `∑ ‖P_s - r_ψ(s)‖² ≤ b⁻¹² 𝒟_id` in Hilbert–Schmidt |
| 448 | norm, the sum being over the `s` that coincide with an element of `R̄₀` above the prime `p_(i+1)` |
| 449 | other than `p_i`. Here `b = S.b ≥ 1000` is the size parameter of `S`, and |
| 450 | `𝒟_id = S.identitySecondMoment` is `#R̄₀` times the dimension of the source. -/ |
| 451 | theorem HasAmplitudeBlocks.sum_hilbertSchmidtNorm_sub_besselTranslate_sq_le [HasPrimitiveRoot5040 E] |
| 452 | (hP : S.HasAmplitudeBlocks ρ P) (i : Fin 2) : |
| 453 | ∑ s : S.ResidueGL with ∃ t ∈ S.reducedImage besselS, s (i + 1) = t (i + 1), |
| 454 | hilbertSchmidtNorm (P.adjoint ∘ₗ ρ s ∘ₗ P - S.besselTranslate s) ^ 2 ≤ |
| 455 | (S.b ^ 12)⁻¹ * S.identitySecondMoment := by |
| 456 | simp only [hP.hilbertSchmidtNorm_sub_besselTranslate_sq] |
| 457 | exact (secondMoment_eq_sum_secondMoment_singleton _ |
| 458 | {s | ∃ t ∈ S.reducedImage besselS, s (i + 1) = t (i + 1)}).symm.trans_le |
| 459 | (secondMoment_compl_besselS_le (i + 1)) |
| 460 | |
| 461 | omit ok in |
| 462 | open scoped Classical in |
| 463 | /-- If `#R̄₀ · y ≤ b⁻¹² 𝒟_id`, then `y ≤ b⁻¹² D_X`. Here `R̄₀` is the image of the Bessel subgroup |
| 464 | in `S.ResidueGL`, `b = S.b`, `D_X = sourceDim` and `𝒟_id = identitySecondMoment = #R̄₀ · D_X`. -/ |
| 465 | lemma le_sourceDim_div_of_card_nsmul_le {y : ℝ} |
| 466 | (h_le : #{s : S.ResidueGL | s ∈ S.reducedImage besselS} • y ≤ |
| 467 | (S.b ^ 12)⁻¹ * S.identitySecondMoment) : |
| 468 | y ≤ S.sourceDim / S.b ^ 12 := by |
| 469 | rw [identitySecondMoment, nsmul_eq_mul, ← Fintype.card_subtype, card_eq_nat_card, mul_left_comm, |
| 470 | ← div_eq_inv_mul] at h_le |
| 471 | exact le_of_mul_le_mul_left h_le (Nat.cast_pos.2 Nat.card_pos) |
| 472 | |
| 473 | /-- Suppose `HasAmplitudeBlocks`. For `s` in `S.reducedImage besselS` we have |
| 474 | `P* ρ(s) P - r_ψ(s) = (P* P - 1) r_ψ(s)` with `r_ψ(s) = S.besselTranslate s`, so this operator has |
| 475 | the Hilbert–Schmidt norm of `P* P - 1`. -/ |
| 476 | private lemma HasAmplitudeBlocks.hilbertSchmidtNorm_sub_one_eq [HasPrimitiveRoot5040 E] |
| 477 | (hP : S.HasAmplitudeBlocks ρ P) {s : S.ResidueGL} (hs : s ∈ S.reducedImage besselS) : |
| 478 | hilbertSchmidtNorm (P.adjoint ∘ₗ P - 1) = |
| 479 | hilbertSchmidtNorm (P.adjoint ∘ₗ ρ s ∘ₗ P - S.besselTranslate s) := by |
| 480 | have h_right : P.adjoint ∘ₗ ρ s ∘ₗ P = (P.adjoint ∘ₗ P) ∘ₗ S.besselTranslate s := by |
| 481 | simpa [End.one_eq_id] using hP.adjoint_comp_rep_mul_right 1 hs |
| 482 | calc hilbertSchmidtNorm (P.adjoint ∘ₗ P - 1) |
| 483 | _ = hilbertSchmidtNorm (S.besselTranslate s⁻¹ ∘ₗ (P.adjoint ∘ₗ P - 1).adjoint) := by |
| 484 | rw [hilbertSchmidtNorm_besselTranslate_comp (inv_mem hs), hilbertSchmidtNorm_adjoint] |
| 485 | _ = hilbertSchmidtNorm ((P.adjoint ∘ₗ P - 1) ∘ₗ S.besselTranslate s) := by |
| 486 | rw [← adjoint_besselTranslate, ← LinearMap.adjoint_comp, hilbertSchmidtNorm_adjoint] |
| 487 | _ = hilbertSchmidtNorm (P.adjoint ∘ₗ ρ s ∘ₗ P - S.besselTranslate s) := by |
| 488 | rw [h_right, LinearMap.sub_comp, End.one_eq_id, LinearMap.id_comp] |
| 489 | |
| 490 | /-- **Near isometry.** Let `S` be admissible filling data for a unitary group `G` over the CM field |
| 491 | `E`, which contains a primitive `5040`-th root of unity, and let `Ḡ = S.ResidueGL` be the product of |
| 492 | the general linear groups over the residue fields at the chosen places above the two level primes |
| 493 | `p₀`, `p₁`. The source is the Euclidean space with coordinates `(c, i)`, where `c` is a class (a |
| 494 | double coset of the definite unitary group `U(X₀)` for the level) and `i` is a coordinate of the |
| 495 | Bessel function `W` at the infinite places. Let `ρ` be a representation of `Ḡ` on `V` and `P` a |
| 496 | linear map from the source to `V`. Suppose `HasAmplitudeBlocks`: the block `(c, c')` of |
| 497 | `P_s = P* ρ(s) P` is the conjugate of `A(c, s, c') / ν`, where `ν = S.unipotentCovolume > 0` and |
| 498 | `A(c, s, c')` is the sum, over the rational `γ` in `G` such that `h_c⁻¹ γ h_c'` is integral with |
| 499 | reduction `s`, of an integral of `W(y) ⊗ W(γ⁻¹ y)^*` against cutoffs (`h_c` represents the class |
| 500 | `c`). Then `‖P* P - 1‖² ≤ b⁻¹² D_X` in Hilbert–Schmidt norm, where `D_X = S.sourceDim` is the |
| 501 | dimension of the source and `b = S.b ≥ 1000` is the size parameter of `S`. -/ |
| 502 | theorem HasAmplitudeBlocks.hilbertSchmidtNorm_sub_one_sq_le [HasPrimitiveRoot5040 E] |
| 503 | (hP : S.HasAmplitudeBlocks ρ P) : |
| 504 | hilbertSchmidtNorm (P.adjoint ∘ₗ P - 1) ^ 2 ≤ S.sourceDim / S.b ^ 12 := by |
| 505 | classical |
| 506 | -- For `s ∈ R̄₀` we have `P_s - r_ψ(s) = (P* P - 1) r_ψ(s)`, which has the norm of `P* P - 1`. |
| 507 | set D : End ℂ (EuclideanSpace ℂ (S.Classes × S.BesselCoord)) := P.adjoint ∘ₗ P - 1 |
| 508 | have h_eq (s : S.ResidueGL) (hs : s ∈ S.reducedImage besselS) : |
| 509 | hilbertSchmidtNorm D = hilbertSchmidtNorm (P.adjoint ∘ₗ ρ s ∘ₗ P - S.besselTranslate s) := |
| 510 | hP.hilbertSchmidtNorm_sub_one_eq hs |
| 511 | refine le_sourceDim_div_of_card_nsmul_le ?_ |
| 512 | calc #{s : S.ResidueGL | s ∈ S.reducedImage besselS} • hilbertSchmidtNorm D ^ 2 |
| 513 | _ ≤ ∑ s with s ∈ S.reducedImage besselS, |
| 514 | hilbertSchmidtNorm (P.adjoint ∘ₗ ρ s ∘ₗ P - S.besselTranslate s) ^ 2 := |
| 515 | card_nsmul_le_sum _ _ _ fun s hs ↦ by rw [h_eq s (mem_filter.1 hs).2] |
| 516 | _ ≤ ∑ s with ∃ t ∈ S.reducedImage besselS, s (0 + 1) = t (0 + 1), |
| 517 | hilbertSchmidtNorm (P.adjoint ∘ₗ ρ s ∘ₗ P - S.besselTranslate s) ^ 2 := |
| 518 | sum_le_sum_of_subset_of_nonneg (monotone_filter_right _ fun s _ hs ↦ ⟨s, hs, rfl⟩) |
| 519 | fun s _ _ ↦ sq_nonneg _ |
| 520 | _ ≤ (S.b ^ 12)⁻¹ * S.identitySecondMoment := |
| 521 | hP.sum_hilbertSchmidtNorm_sub_besselTranslate_sq_le 0 |
| 522 | |
| 523 | omit ok in |
| 524 | /-- The identity of the source has squared Hilbert–Schmidt norm `D_X = sourceDim`. -/ |
| 525 | lemma hilbertSchmidtNorm_one_sq_eq_sourceDim : |
| 526 | hilbertSchmidtNorm (1 : End ℂ (EuclideanSpace ℂ (S.Classes × S.BesselCoord))) ^ 2 = |
| 527 | S.sourceDim := by |
| 528 | simp [hilbertSchmidtNorm_sq_eq_sum (basisFun _ ℂ), sourceDim] |
| 529 | |
| 530 | /-- Let `S` be admissible filling data (`Filling`, `IsAdmissible`) for a unitary group `G` over the |
| 531 | CM field `E`, which contains a primitive `5040`-th root of unity, and let `Ḡ = S.ResidueGL` be the |
| 532 | product of the general linear groups over the residue fields at the chosen places above the two |
| 533 | level primes `p₀`, `p₁`. The source is the Euclidean space with coordinates `(c, i)`, where `c` is a |
| 534 | class (a double coset of the definite unitary group `U(X₀)` for the level) and `i` is a coordinate |
| 535 | of the Bessel function `W` at the infinite places. Let `ρ` be a representation of `Ḡ` on `V` and `P` |
| 536 | a linear map from the source to `V`. Suppose `HasAmplitudeBlocks`: the block `(c, c')` of |
| 537 | `P_s = P* ρ(s) P` is the conjugate of `A(c, s, c') / ν`, where `ν = S.unipotentCovolume > 0` and |
| 538 | `A(c, s, c')` is the sum, over the rational `γ` in `G` such that `h_c⁻¹ γ h_c'` is integral with |
| 539 | reduction `s`, of an integral of `W(y) ⊗ W(γ⁻¹ y)^*` against cutoffs (`h_c` represents the class |
| 540 | `c`). Then `‖P* P‖² ≤ 2 D_X` in Hilbert–Schmidt norm, where `D_X = S.sourceDim` is the dimension of |
| 541 | the source. -/ |
| 542 | lemma HasAmplitudeBlocks.hilbertSchmidtNorm_adjoint_comp_sq_le [HasPrimitiveRoot5040 E] |
| 543 | (hP : S.HasAmplitudeBlocks ρ P) : |
| 544 | hilbertSchmidtNorm (P.adjoint ∘ₗ P) ^ 2 ≤ 2 * S.sourceDim := by |
| 545 | -- `‖P* P‖ ≤ ‖P* P - 1‖ + ‖1‖ ≤ (1/3 + 1) ‖1‖` |
| 546 | have hb : 1000 ≤ S.b := S.thousand_le_b |
| 547 | set one : End ℂ (EuclideanSpace ℂ (S.Classes × S.BesselCoord)) := 1 |
| 548 | have h_triangle : hilbertSchmidtNorm (P.adjoint ∘ₗ P) ≤ hilbertSchmidtNorm (P.adjoint ∘ₗ P - one) |
| 549 | + hilbertSchmidtNorm one := by |
| 550 | simpa [hilbertSchmidtNorm] using norm_add_le (hilbertSchmidtVector (P.adjoint ∘ₗ P - one)) |
| 551 | (hilbertSchmidtVector one) |
| 552 | have h_near : hilbertSchmidtNorm (P.adjoint ∘ₗ P - one) ≤ hilbertSchmidtNorm one / 3 := by |
| 553 | refine le_of_pow_le_pow_left₀ (n := 2) (by decide) |
| 554 | (div_nonneg (hilbertSchmidtNorm_nonneg _) zero_le_three) ?_ |
| 555 | grw [hP.hilbertSchmidtNorm_sub_one_sq_le, div_pow, hilbertSchmidtNorm_one_sq_eq_sourceDim, |
| 556 | ← hb] |
| 557 | gcongr |
| 558 | norm_num |
| 559 | rw [← hilbertSchmidtNorm_one_sq_eq_sourceDim] |
| 560 | nlinarith [hilbertSchmidtNorm_nonneg (P.adjoint ∘ₗ P), hilbertSchmidtNorm_nonneg one] |
| 561 | |
| 562 | /-- **Second moment.** Let `S` be admissible filling data (`Filling`, `IsAdmissible`) for a unitary |
| 563 | group `G` over the CM field `E`, which carries Weil data (a primitive `5040`-th root of unity and a |
| 564 | splitting character, see `WeilData`), and let `Ḡ = S.ResidueGL` be the product of the general linear |
| 565 | groups over the residue fields at the chosen places above the two level primes `p₀`, `p₁`. The |
| 566 | source is the Euclidean space with coordinates `(c, i)`, where `c` is a class (a double coset of the |
| 567 | definite unitary group `U(X₀)` for the level) and `i` is a coordinate of the Bessel function `W` at |
| 568 | the infinite places. Let `ρ` be a unitary representation of `Ḡ` on `V` and `P` a linear map from the |
| 569 | source to `V`. Suppose `HasAmplitudeBlocks`: the block `(c, c')` of `P_s = P* ρ(s) P` is the |
| 570 | conjugate of `A(c, s, c') / ν`, where `ν = S.unipotentCovolume > 0` and `A(c, s, c')` is the sum, |
| 571 | over the rational `γ` in `G` such that `h_c⁻¹ γ h_c'` is integral with reduction `s`, of an integral |
| 572 | of `W(y) ⊗ W(γ⁻¹ y)^*` against cutoffs (`h_c` represents the class `c`). Then |
| 573 | `∑ ‖P_s‖² ≤ (1 + 9 b⁻⁴) 𝒟_main` in Hilbert–Schmidt norm, the sum being over all `s` in `Ḡ`. Here |
| 574 | `b = S.b ≥ 1000` is the size parameter of `S`, and `𝒟_main = S.mainSecondMoment` is the square of |
| 575 | the dimension of the source divided by the product of `S.besselDegree` (the product of the degree |
| 576 | constants of the local Bessel systems) and `New.mass` (the sum of `1 / #Aut` over the genus of the |
| 577 | standard lattice). -/ |
| 578 | theorem HasAmplitudeBlocks.sum_hilbertSchmidtNorm_sq_le [WeilData E] (hP : S.HasAmplitudeBlocks ρ P) |
| 579 | (hρ : ∀ (s : S.ResidueGL) (x y : V), ⟪ρ s x, ρ s y⟫_ℂ = ⟪x, y⟫_ℂ) : |
| 580 | ∑ s : S.ResidueGL, hilbertSchmidtNorm (P.adjoint ∘ₗ ρ s ∘ₗ P) ^ 2 ≤ |
| 581 | (1 + 9 / S.b ^ 4) * S.mainSecondMoment := by |
| 582 | -- `s ↦ ‖P_s‖²` has positive type and `‖P_1‖² ≤ 2 D_X`, so `sum_secondMoment_le` applies. |
| 583 | have h_gram (s t : S.ResidueGL) : ⟪hilbertSchmidtVector ((ρ s ∘ₗ P) ∘ₗ (ρ s ∘ₗ P).adjoint), |
| 584 | hilbertSchmidtVector ((ρ t ∘ₗ P) ∘ₗ (ρ t ∘ₗ P).adjoint)⟫_ℂ = |
| 585 | (secondMoment (S.amplitudeSum .full .univ) {s⁻¹ * t} : ℝ) := by |
| 586 | rw [inner_hilbertSchmidtVector_translate hρ, hP.hilbertSchmidtNorm_sq_eq_secondMoment] |
| 587 | have h_one : secondMoment (S.amplitudeSum .full .univ) {1} ≤ 2 * S.sourceDim := by |
| 588 | rw [← hP.hilbertSchmidtNorm_sq_eq_secondMoment, map_one, End.one_eq_id (M := V), |
| 589 | LinearMap.id_comp] |
| 590 | exact hP.hilbertSchmidtNorm_adjoint_comp_sq_le |
| 591 | simpa [hP.hilbertSchmidtNorm_sq_eq_secondMoment] using sum_secondMoment_le _ h_gram h_one |
| 592 | |
| 593 | /-! ## Good forms: the remainder -/ |
| 594 | |
| 595 | -- Keeps definitional checks from unfolding the finite sums. |
| 596 | seal Finset.univ in |
| 597 | open scoped Classical in |
| 598 | omit ok in |
| 599 | /-- **The remainder.** Let `S` be admissible filling data (`Filling`, `IsAdmissible`) for a unitary |
| 600 | group `G` over the CM field `E`, which contains a primitive `5040`-th root of unity, and let |
| 601 | `Ḡ = S.ResidueGL` be the product of the general linear groups over the residue fields at the chosen |
| 602 | places above the two level primes `p₀`, `p₁`. The source is the Euclidean space with coordinates |
| 603 | `(c, i)`, where `c` is a class (a double coset of the definite unitary group `U(X₀)` for the level) |
| 604 | and `i` is a coordinate of the Bessel function `W` at the infinite places. Let `ρ` be a unitary |
| 605 | representation of `Ḡ` on `V` and `P` a linear map from the source to `V`. Suppose |
| 606 | `HasAmplitudeBlocks`: the block `(c, c')` of `P_s = P* ρ(s) P` is the conjugate of |
| 607 | `A(c, s, c') / ν`, where `ν = S.unipotentCovolume > 0` and `A(c, s, c')` is the sum, over the |
| 608 | rational `γ` in `G` such that `h_c⁻¹ γ h_c'` is integral with reduction `s`, of an integral of |
| 609 | `W(y) ⊗ W(γ⁻¹ y)^*` against cutoffs (`h_c` represents the class `c`). Let |
| 610 | `r_ψ(s) = S.besselTranslate s` be the operator on the source with the same blocks, but summed only |
| 611 | over the `γ` in the Bessel subgroup `besselS` (block unitriangular elements times `U(X₀)`). Write |
| 612 | `Ḡ = G_0 × G_1`, where `G_i` is the factor above `p_i`, made of matrices indexed by the basis |
| 613 | `𝔰.BesselIndex` of the hermitian space of shape `𝔰`, and embedded by `Pi.mulSingle i`. Then for a |
| 614 | central idempotent `x = ∑ x(t) t` of `ℂ[G_i]` (an idempotent whose coefficients form a class |
| 615 | function; it is then self-adjoint) we have `‖∑ x(t) (P_t - r_ψ(t))‖² ≤ b⁻¹² D_X` in Hilbert–Schmidt |
| 616 | norm, the sum being over `t` in `G_i`. Here `b = S.b ≥ 1000` is the size parameter of `S` and |
| 617 | `D_X = S.sourceDim` is the dimension of the source. -/ |
| 618 | lemma HasAmplitudeBlocks.hilbertSchmidtNorm_sum_smul_sub_besselTranslate_sq_le [S.IsAdmissible] |
| 619 | [HasPrimitiveRoot5040 E] {ρ : Representation ℂ S.ResidueGL V} |
| 620 | {P : EuclideanSpace ℂ (S.Classes × S.BesselCoord) →ₗ[ℂ] V} (hP : S.HasAmplitudeBlocks ρ P) |
| 621 | (hρ : ∀ (s : S.ResidueGL) (v v' : V), ⟪ρ s v, ρ s v'⟫_ℂ = ⟪v, v'⟫_ℂ) (i : Fin 2) |
| 622 | {x : MonoidAlgebra ℂ (∀ w : S.chosenPlaces i, GL 𝔰.BesselIndex (ResField w.val))} |
| 623 | (hx : IsCentralProj x) : |
| 624 | hilbertSchmidtNorm (∑ t : ∀ w : S.chosenPlaces i, GL 𝔰.BesselIndex (ResField w.val), |
| 625 | x.coeff t • |
| 626 | (P.adjoint ∘ₗ ρ (Pi.mulSingle i t) ∘ₗ P - S.besselTranslate (Pi.mulSingle i t))) ^ 2 ≤ |
| 627 | S.sourceDim / S.b ^ 12 := by |
| 628 | -- Put `P'_s = P_s - r_ψ(s)` and `P'_x = ∑ x(t) P'_t`. The map `f ↦ ∑ x(t) f(· t)` is a |
| 629 | -- contraction on functions on the group. Apply it to `P'` cut down to `Ω = R̄₀ G_i`, where `R̄₀` |
| 630 | -- is the image of the Bessel subgroup; the value at `s ∈ R̄₀` is `r_ψ(s) P'_x`, which has the |
| 631 | -- norm of `P'_x`. |
| 632 | let G (j : Fin 2) : Type := ∀ w : S.chosenPlaces j, GL 𝔰.BesselIndex (ResField w.val) |
| 633 | let φ : G i →* S.ResidueGL := MonoidHom.mulSingle G i |
| 634 | let P' (s : S.ResidueGL) : End ℂ (EuclideanSpace ℂ (S.Classes × S.BesselCoord)) := |
| 635 | P.adjoint ∘ₗ ρ s ∘ₗ P - S.besselTranslate s |
| 636 | let Ω : Set S.ResidueGL := {s | ∃ r ∈ S.reducedImage besselS, s (i + 1) = r (i + 1)} |
| 637 | -- `f` is `P'` cut down to `Ω`, with values in the Hilbert space of operators. |
| 638 | let f (s : S.ResidueGL) : |
| 639 | PiLp 2 fun _ : Fin (finrank ℂ (EuclideanSpace ℂ (S.Classes × S.BesselCoord))) ↦ |
| 640 | EuclideanSpace ℂ (S.Classes × S.BesselCoord) := |
| 641 | if s ∈ Ω then hilbertSchmidtVector (P' s) else 0 |
| 642 | have h_left {s : S.ResidueGL} (hs : s ∈ S.reducedImage besselS) (u : S.ResidueGL) : |
| 643 | P' (s * u) = S.besselTranslate s ∘ₗ P' u := by |
| 644 | simp only [P', hP.adjoint_comp_rep_mul_left hρ u hs, besselTranslate_mul_left hs, |
| 645 | LinearMap.comp_sub, End.mul_eq_comp] |
| 646 | have h_value {s : S.ResidueGL} (hs : s ∈ S.reducedImage besselS) : |
| 647 | ‖∑ t : G i, x.coeff t • f (s * φ t)‖ = hilbertSchmidtNorm |
| 648 | (∑ t : G i, x.coeff t • P' (φ t)) := by |
| 649 | -- `φ t` is trivial above the other prime, so `s * φ t` lies in `Ω`. |
| 650 | have h_mem (t : G i) : s * φ t ∈ Ω := ⟨s, hs, by simp [φ]⟩ |
| 651 | have h_sum : ∑ t : G i, x.coeff t • f (s * φ t) = |
| 652 | hilbertSchmidtVector (S.besselTranslate s ∘ₗ ∑ t : G i, x.coeff t • P' (φ t)) := by |
| 653 | simp only [f, h_mem, ite_true, h_left hs, ← End.mul_eq_comp, mul_sum, mul_smul_comm, map_sum, |
| 654 | map_smul] |
| 655 | rw [h_sum, ← hilbertSchmidtNorm, hilbertSchmidtNorm_besselTranslate_comp hs] |
| 656 | have h_conv : ∑ s : S.ResidueGL, ‖∑ t : G i, x.coeff t • f (s * φ t)‖ ^ 2 ≤ |
| 657 | ∑ s : S.ResidueGL, ‖f s‖ ^ 2 := by |
| 658 | calc ∑ s : S.ResidueGL, ‖∑ t : G i, x.coeff t • f (s * φ t)‖ ^ 2 |
| 659 | _ = ∑ s : S.ResidueGL, ‖∑ t : G i, x.coeff t • f ((φ t)⁻¹ * s)⁻¹‖ ^ 2 := by |
| 660 | rw [← Equiv.sum_comp (Equiv.inv S.ResidueGL)] |
| 661 | simp |
| 662 | _ ≤ ∑ s : S.ResidueGL, ‖f s⁻¹‖ ^ 2 := hx.sum_norm_sq_conv_le φ fun s ↦ f s⁻¹ |
| 663 | _ = ∑ s : S.ResidueGL, ‖f s‖ ^ 2 := Equiv.sum_comp (Equiv.inv S.ResidueGL) fun s ↦ ‖f s‖ ^ 2 |
| 664 | refine le_sourceDim_div_of_card_nsmul_le ?_ |
| 665 | calc #{s : S.ResidueGL | s ∈ S.reducedImage besselS} • hilbertSchmidtNorm |
| 666 | (∑ t : G i, x.coeff t • P' (φ t)) ^ 2 |
| 667 | _ ≤ ∑ s : S.ResidueGL with s ∈ S.reducedImage besselS, ‖∑ t : G i, |
| 668 | x.coeff t • f (s * φ t)‖ ^ 2 := |
| 669 | card_nsmul_le_sum _ _ _ fun s hs ↦ by rw [h_value (mem_filter.1 hs).2] |
| 670 | _ ≤ ∑ s : S.ResidueGL, ‖∑ t : G i, x.coeff t • f (s * φ t)‖ ^ 2 := by grw [← subset_univ] |
| 671 | _ ≤ ∑ s : S.ResidueGL, ‖f s‖ ^ 2 := h_conv |
| 672 | _ = ∑ s : S.ResidueGL with s ∈ Ω, hilbertSchmidtNorm (P' s) ^ 2 := by |
| 673 | simp [f, sum_filter, apply_ite (‖·‖), ite_pow, hilbertSchmidtNorm] |
| 674 | _ ≤ (S.b ^ 12)⁻¹ * S.identitySecondMoment := |
| 675 | hP.sum_hilbertSchmidtNorm_sub_besselTranslate_sq_le i |
| 676 | |
| 677 | end Moments |
| 678 | |
| 679 | /-! ## Good forms: the trace of `r_ψ` against a central idempotent of one factor -/ |
| 680 | |
| 681 | section BesselTrace |
| 682 | |
| 683 | open NumberField Pi MeasureTheory Floors IntegralPlace Finset ENNReal Complex |
| 684 | open scoped Classical |
| 685 | |
| 686 | open scoped BigOperators |
| 687 | |
| 688 | variable {E : Type} [Field E] [CMType E] [WeilData E] {𝔰 : Shape} |
| 689 | (S : Filling E 𝔰) [ok : S.IsAdmissible] |
| 690 | |
| 691 | /-- For a finite group `G` and a central idempotent `x` of the complex group algebra |
| 692 | `MonoidAlgebra ℂ G` (`IsCentralProj x`), `∑ s, ‖x.coeff s‖² = (x.coeff 1).re`. -/ |
| 693 | lemma sum_norm_sq_coeff_of_isCentralProj {G : Type*} [Group G] [Fintype G] {x : MonoidAlgebra ℂ G} |
| 694 | (hx : IsCentralProj x) : |
| 695 | ∑ s : G, ‖x.coeff s‖ ^ 2 = (x.coeff 1).re := by |
| 696 | -- `x s⁻¹ = conj (x s)` as `|G| x` is a character; compare the coefficients of `1` in `x * x = x`. |
| 697 | have h_inv (s : G) : x.coeff s⁻¹ = starRingEnd ℂ (x.coeff s) := by |
| 698 | simpa using hx.isChar_card_mul_coeff.apply_inv s |
| 699 | simpa [h_inv, x.coeff_mul_apply_left, Complex.sq_norm, Finsupp.sum_fintype, mul_conj] using |
| 700 | congr_arg (fun y ↦ (y.coeff 1).re) hx.1 |
| 701 | |
| 702 | omit ok in |
| 703 | omit [WeilData E] in |
| 704 | /-- Let `S` be filling data over a CM field `E`. Let `γ` be in the Bessel |
| 705 | subgroup and `k = translateByClassReps c c γ`, that is `h_c⁻¹ γ h_c` for the representative `h_c` of |
| 706 | the class `c`. If `k` lies in the stabilizer `latticeStabilizer` of the lattice and reduces to `1` |
| 707 | at the chosen places above the level prime `p_j`, then `k` lies in the unipotent subgroup |
| 708 | `besselU`. -/ |
| 709 | lemma mem_besselU_of_reduction_eq_one {c : S.Classes} {γ : S.G E} {j : Fin 2} |
| 710 | {k : S.latticeStabilizer} |
| 711 | (hγ : γ ∈ (S.ratMiddle E).besselS) (hk : k.val = S.translateByClassReps c c γ) |
| 712 | (hk_red : S.reduction k j = 1) : |
| 713 | k.val ∈ (S.latticeMiddle (𝔸f E)).besselU := by |
| 714 | -- Write `γ = u δ` with `u` unipotent and `δ` in `U(X₀)`; then `k = u' y` with `y = h_c⁻¹ δ h_c` |
| 715 | -- and `u'` unipotent. It remains to see that `δ = 1`. |
| 716 | obtain ⟨u, hu, δ, rfl⟩ : ∃ u ∈ besselU, ∃ g : U 1, γ = u * toBesselH 𝔰 (S.N : E) g := |
| 717 | exists_besselU_mul_toBesselH hγ |
| 718 | let y : Gf E 𝔰.κ := c.out⁻¹ * stdEmbFin δ * c.out |
| 719 | have hy : k * (S.inclHFin y)⁻¹ ∈ besselU := by |
| 720 | simpa [y, hk, translateByClassReps, ratToFin_toBesselH, mul_assoc] using |
| 721 | hu.translateByClassReps_mem_besselU c |
| 722 | -- The `H`-part of an integral element of `𝖴 H` is integral. |
| 723 | have hyK : S.inclHFin y ∈ S.latticeStabilizer := |
| 724 | (mem_unitaryLevel_of_besselU_mul hy (inclHFin_mem_besselH y) |
| 725 | (unitaryLevel_one.ge (by simpa [latticeStabilizer] using k.prop))).1 |
| 726 | -- Each entry of `y` is the entry of `k` or of `1`, so `y` reduces to `1` where `k` does. |
| 727 | have h_red (w : S.chosenPlaces j) : S.reduction ⟨S.inclHFin y, hyK⟩ j w = 1 := by |
| 728 | ext a b |
| 729 | rcases besselH_apply_eq_or hy (inclHFin_mem_besselH y) a b with h_entry | h_entry |
| 730 | · rw [reduction_apply_congr k j w (by simpa using h_entry), hk_red, Pi.one_apply] |
| 731 | · rw [reduction_apply_congr 1 j w h_entry, map_one, Pi.one_apply, Pi.one_apply] |
| 732 | -- Freeness: a rational `δ` whose conjugate `y` is integral and reduces to `1` is `1`. |
| 733 | obtain rfl := eq_one_of_reduceAt_eq_one le_rfl j _ fun w ↦ |
| 734 | (S.reduction_inclHFin_eq_one_iff hyK j w).mp (h_red w) |
| 735 | -- Now `δ = 1`, hence `y = 1` and `k = k y⁻¹`. |
| 736 | simpa [y] using hy |
| 737 | |
| 738 | /-- The character `ψ_U` on the image `Ū₀` of the integral unipotent elements in the finite group |
| 739 | `S.ResidueGL`, extended by `0`. Its value at `s` is `S.unipotentChar k` for a unipotent `k` that |
| 740 | reduces to `s`; the choice does not matter (`extendedBesselChar_toPlaces_eq_reducedChar`). -/ |
| 741 | noncomputable def reducedChar (s : S.ResidueGL) : ℂ := |
| 742 | if h : ∃ k : S.latticeStabilizer, k.val ∈ (S.latticeMiddle (𝔸f E)).besselU ∧ S.reduction k = s |
| 743 | then |
| 744 | S.unipotentChar h.choose |
| 745 | else |
| 746 | 0 |
| 747 | |
| 748 | /-- The mean `ψ_U^♮(s)` of `ψ_U = reducedChar`, extended by `0`, over the conjugates of `s` in the |
| 749 | finite group `S.ResidueGL`. -/ |
| 750 | noncomputable def reducedCharMean (s : S.ResidueGL) : ℂ := 𝔼 g : S.ResidueGL, |
| 751 | S.reducedChar (g * s * g⁻¹) |
| 752 | |
| 753 | omit ok [WeilData E] in |
| 754 | /-- The mean `ψ_U^♮` of `ψ_U` over conjugates is a class function. -/ |
| 755 | lemma reducedCharMean_conj (g s : S.ResidueGL) : |
| 756 | S.reducedCharMean (g * s * g⁻¹) = S.reducedCharMean s := |
| 757 | expect_equiv (.mulRight g) (by simp) fun t _ ↦ by simp [mul_assoc] |
| 758 | |
| 759 | /-- Let `S` be admissible filling data over a CM field `E` with Weil data, and let `s` in |
| 760 | `S.ResidueGL` be `1` above the level prime `p_j`. The trace of `r_ψ(s) = S.besselTranslate s`, the |
| 761 | translation of the source by `s` twisted by the Bessel character, is `D_X ψ_U(s)`. Here |
| 762 | `D_X = S.sourceDim` and `ψ_U = S.reducedChar` is the character of the integral unipotent group, read |
| 763 | on reductions and extended by `0` off its image. -/ |
| 764 | lemma trace_besselTranslate_eq_mul_reducedChar {j : Fin 2} {s : S.ResidueGL} (hs : s j = 1) : |
| 765 | LinearMap.trace ℂ (EuclideanSpace ℂ (S.Classes × S.BesselCoord)) (S.besselTranslate s) = |
| 766 | S.sourceDim * S.reducedChar s := by |
| 767 | rw [trace_besselTranslate, reducedChar] |
| 768 | split_ifs with h |
| 769 | · -- If `s` is the reduction of a unipotent `k`, the block at `s⁻¹` is `ψ_U(k)` times the block at |
| 770 | -- `1`, which is the covolume times the identity. |
| 771 | obtain ⟨hk_unip, hk_red⟩ := h.choose_spec |
| 772 | have h_move (c : S.Classes) := |
| 773 | amplitudeSum_besselU_mul (side := .full) isStable_besselS (u := 1) (one_mem _) hk_unip c 1 c |
| 774 | simp [hk_red] at h_move |
| 775 | simp [h_move, amplitudeSum_besselS_one_eq_ite, S.unipotentCovolume_pos.ne', sourceDim] |
| 776 | · -- Otherwise there is no term: its translate `k` by the class representatives would be unipotent |
| 777 | -- with the reduction `s⁻¹`. |
| 778 | have (c : S.Classes) : IsEmpty ↥(↑(S.ratMiddle E).besselS ∩ S.termsOver c s⁻¹ c) := |
| 779 | ⟨fun ⟨_, hγ, k, hk_red, hk⟩ ↦ h ⟨k⁻¹, inv_mem <| |
| 780 | S.mem_besselU_of_reduction_eq_one (j := j) hγ hk (by simp [hk_red, hs]), by simp [hk_red]⟩⟩ |
| 781 | simp [amplitudeSum, tsum_empty] |
| 782 | |
| 783 | omit ok [WeilData E] in |
| 784 | /-- Let `S` be filling data for a unitary group `G` over the CM field `E`, with level primes `p₀`, |
| 785 | `p₁`, and let `Ḡ = S.ResidueGL` be the product of the general linear groups over the residue fields |
| 786 | at the chosen places above them. Let `M = p₀ p₁`, and let `T` be a finite conjugation-stable set of |
| 787 | finite places off which `M⁻¹` is integral, so that `T` contains the places above `M`. Over the |
| 788 | product `LocProd T` of the completions at `T`, let `K` be the group of integral points of `G` and |
| 789 | `K(M)` its principal congruence subgroup of level `M`. Let `F` be a filling datum (`IsFillingData`): |
| 790 | a large lattice datum with `3ϱ + 6` hyperbolic pairs and `k - (6ϱ + 13)` orthonormal vectors, for |
| 791 | the ranks `ϱ = 𝔰.ϱ` and `k = 𝔰.k` of the shape, with modulus `F.levelUnit = M` and local character |
| 792 | `ψ(x) = ψ_f(-x / ϖ)`, where `ϖ` generates the different. The function |
| 793 | `χ_M = extendedBesselChar F.levelUnit` is `ψ(σ(u) / M)` on `u K(M)` for `u` in the block |
| 794 | unitriangular group `𝖴 = besselU`, with `σ(u)` the sum of the entries at the simple roots, and `0` |
| 795 | off `𝖴 K(M)`. Then for `l` in the stabilizer of the lattice, `χ_M` at the component of `l` at `T` is |
| 796 | `ψ_U` at the reduction of `l`, where `ψ_U = S.reducedChar` is the character `u ↦ ψ_f(-σ(u) / (M ϖ))` |
| 797 | of the integral points of `𝖴`, read on their reductions in `Ḡ` and extended by `0`. -/ |
| 798 | lemma extendedBesselChar_toPlaces_eq_reducedChar {T : Finset (FinPlace E)} [T.StarStable] |
| 799 | [Fact (S.ideleM⁻¹.val ∈ integralOff T)] [hInt : IntegralPlace (LocProd T)] |
| 800 | {F : PlaceData (Fin (𝔰.k - (6 * 𝔰.ϱ + 13))) (S.latticeMiddle (LocProd T)) (𝔰.ϱ + 1 + 2 * 𝔰.ϱ + |
| 801 | 5)} |
| 802 | (hF : S.IsFillingData T F) (l : S.latticeStabilizer) : |
| 803 | extendedBesselChar F.levelUnit (S.toPlaces T l) = S.reducedChar (S.reduction l) := by |
| 804 | rw [reducedChar] |
| 805 | split_ifs with h |
| 806 | · obtain ⟨hk_unip, hk_red⟩ : |
| 807 | h.choose.val ∈ (S.latticeMiddle (𝔸f E)).besselU ∧ S.reduction h.choose = S.reduction l := |
| 808 | h.choose_spec |
| 809 | have h_local : S.toPlaces T h.choose ∈ (S.latticeMiddle (LocProd T)).besselU := |
| 810 | hk_unip.map_mem_agreeWithOneOn _ |
| 811 | have h_cong : (S.toPlaces T h.choose)⁻¹ * S.toPlaces T l ∈ |
| 812 | unitaryLevel hInt.integers F.levelUnit (S.latticeMiddle (LocProd T)).splitGram := |
| 813 | (hF.reduction_eq_iff _ l).mp hk_red |
| 814 | rw [extendedBesselChar_eq h_local h_cong, |
| 815 | hF.psi_simpleRootSum_eq_unipotentChar (mem_latticeStabilizer_iff.mp h.choose.prop).1] |
| 816 | · -- If `l ∈ u K(M)` at `T` with `u` unipotent, lift `u` to an integral unipotent element. |
| 817 | by_contra h_ne |
| 818 | obtain ⟨u, hu, hul⟩ : ∃ u ∈ (S.latticeMiddle (LocProd T)).besselU, |
| 819 | u⁻¹ * S.toPlaces T l ∈ unitaryLevel hInt.integers F.levelUnit |
| 820 | (S.latticeMiddle (LocProd T)).splitGram := |
| 821 | exists_besselU_of_extendedBesselChar_ne_zero h_ne |
| 822 | obtain ⟨k, rfl, hk_off, hk_unip, -⟩ := S.exists_isIntegralOff_toPlaces_eq u |
| 823 | have hk_int : k ∈ S.latticeStabilizer := by |
| 824 | refine mem_latticeStabilizer_iff.mpr ⟨hk_off, ?_⟩ |
| 825 | -- `k = l (k⁻¹ l)⁻¹`, and both factors are integral at `T`. |
| 826 | simpa using |
| 827 | div_mem (mem_latticeStabilizer_iff.mp l.prop).2 (unitaryLevel_le_unitaryLevel_one hul) |
| 828 | exact h ⟨⟨k, hk_int⟩, hk_unip hu, (hF.reduction_eq_iff ⟨k, hk_int⟩ l).mpr hul⟩ |
| 829 | |
| 830 | omit [WeilData E] in |
| 831 | /-- Let `S` be admissible filling data for a unitary group `G` over the CM field `E`, and let |
| 832 | `Ḡ = S.ResidueGL` be the product of the general linear groups over the residue fields at the chosen |
| 833 | places above the two level primes `p₀`, `p₁`. Let `M = p₀ p₁`, and let `T` be a finite |
| 834 | conjugation-stable set of finite places off which `M⁻¹` is integral, so that `T` contains the places |
| 835 | above `M`. Over the product `LocProd T` of the completions at `T`, let `K` be the group of integral |
| 836 | points of `G` and `K(M)` its principal congruence subgroup of level `M`. Let `F` be a filling datum |
| 837 | (`IsFillingData`): a large lattice datum with `3ϱ + 6` hyperbolic pairs and `k - (6ϱ + 13)` |
| 838 | orthonormal vectors, for the ranks `ϱ = 𝔰.ϱ` and `k = 𝔰.k` of the shape, with modulus |
| 839 | `F.levelUnit = M` and local character `ψ(x) = ψ_f(-x / ϖ)`, where `ϖ` generates the different. The |
| 840 | function `χ_M = extendedBesselChar F.levelUnit` is `ψ(σ(u) / M)` on `u K(M)` for `u` in the block |
| 841 | unitriangular group `𝖴 = besselU`, with `σ(u)` the sum of the entries at the simple roots, and `0` |
| 842 | off `𝖴 K(M)`. Then for `l` in the stabilizer of the lattice, `∫_K χ_M(y l y⁻¹) dy` for the measure |
| 843 | `dy = F.groupMeasure` is `vol(K)` times the value at the reduction of `l` of `S.reducedCharMean`, |
| 844 | the mean of `ψ_U` over conjugates. Here `ψ_U = S.reducedChar` is the character |
| 845 | `u ↦ ψ_f(-σ(u) / (M ϖ))` of the integral points of `𝖴`, read on their reductions in `Ḡ` and extended |
| 846 | by `0`. -/ |
| 847 | lemma integral_extendedBesselChar_conj_eq {T : Finset (FinPlace E)} [T.StarStable] |
| 848 | [Fact (S.ideleM⁻¹.val ∈ integralOff T)] [hInt : IntegralPlace (LocProd T)] |
| 849 | {F : PlaceData (Fin (𝔰.k - (6 * 𝔰.ϱ + 13))) (S.latticeMiddle (LocProd T)) (𝔰.ϱ + 1 + 2 * 𝔰.ϱ + |
| 850 | 5)} |
| 851 | (hF : S.IsFillingData T F) (l : S.latticeStabilizer) : |
| 852 | ∫ y : (S.latticeMiddle (LocProd T)).G |
| 853 | in unitaryLevel hInt.integers 1 (S.latticeMiddle (LocProd T)).splitGram, |
| 854 | extendedBesselChar F.levelUnit (y * S.toPlaces T l * y⁻¹) ∂F.groupMeasure = |
| 855 | F.groupMeasure.real (unitaryLevel hInt.integers 1 (S.latticeMiddle (LocProd T)).splitGram) • |
| 856 | S.reducedCharMean (S.reduction l) := by |
| 857 | -- Translate `y` by a lift `σ s` of each `s` in `S.ResidueGL` and sum; the integrand becomes |
| 858 | -- constant. |
| 859 | set K : Subgroup (U (S.latticeMiddle (LocProd T)).splitGram) := |
| 860 | unitaryLevel hInt.integers 1 (S.latticeMiddle (LocProd T)).splitGram |
| 861 | let φ (y : (S.latticeMiddle (LocProd T)).G) : ℂ := |
| 862 | extendedBesselChar F.levelUnit (y * S.toPlaces T l * y⁻¹) |
| 863 | choose σ hσ using ok.reduction_surjective |
| 864 | have h_translate (g : S.ResidueGL) : |
| 865 | ∫ y in K, φ (S.toPlaces T (σ g) * y) ∂F.groupMeasure = ∫ y in K, φ y ∂F.groupMeasure := by |
| 866 | have h_mem : S.toPlaces T (σ g) ∈ K := (mem_latticeStabilizer_iff.mp (σ g).prop).2 |
| 867 | rw [← (measurePreserving_mul_left F.groupMeasure _).setIntegral_image_emb |
| 868 | (measurableEmbedding_mulLeft _)] |
| 869 | simp [Set.preimage, mul_mem_cancel_left, h_mem] |
| 870 | have h_const (y : (S.latticeMiddle (LocProd T)).G) (hy : y ∈ K) : |
| 871 | ∑ g : S.ResidueGL, φ (S.toPlaces T (σ g) * y) = |
| 872 | Fintype.card S.ResidueGL * S.reducedCharMean (S.reduction l) := by |
| 873 | obtain ⟨k, rfl, hk_off, -⟩ := S.exists_isIntegralOff_toPlaces_eq y |
| 874 | lift k to S.latticeStabilizer using mem_latticeStabilizer_iff.2 ⟨hk_off, hy⟩ |
| 875 | rw [← S.reducedCharMean_conj (S.reduction k), reducedCharMean, Fintype.card_mul_expect] |
| 876 | refine sum_congr rfl fun g _ ↦ ?_ |
| 877 | -- The integrand is `extendedBesselChar F.levelUnit` at the integral element |
| 878 | -- `(σ g k) l (σ g k)⁻¹`. |
| 879 | simpa [φ, hσ, mul_assoc] using |
| 880 | S.extendedBesselChar_toPlaces_eq_reducedChar hF (σ g * k * l * (σ g * k)⁻¹) |
| 881 | refine mul_left_cancel₀ (a := (Fintype.card S.ResidueGL : ℂ)) (by simp) ?_ |
| 882 | calc Fintype.card S.ResidueGL * ∫ y in K, φ y ∂F.groupMeasure |
| 883 | = ∑ g : S.ResidueGL, ∫ y in K, φ (S.toPlaces T (σ g) * y) ∂F.groupMeasure := by |
| 884 | simp only [h_translate, sum_const, card_univ, nsmul_eq_mul] |
| 885 | _ = ∫ y in K, ∑ g : S.ResidueGL, φ (S.toPlaces T (σ g) * y) ∂F.groupMeasure := |
| 886 | (integral_finsetSum _ fun g _ ↦ |
| 887 | ContinuousOn.integrableOn_compact unitaryLevel_open_compact.2 (by fun_prop)).symm |
| 888 | _ = Fintype.card S.ResidueGL * F.groupMeasure.real K • S.reducedCharMean (S.reduction l) := by |
| 889 | rw [setIntegral_congr_fun measurableSet_unitaryLevel h_const, setIntegral_const, |
| 890 | mul_smul_comm] |
| 891 | |
| 892 | omit [WeilData E] ok in |
| 893 | /-- Let `S` be admissible filling data for a unitary group `G` over the CM field `E`, which carries |
| 894 | Weil data, and let `Ḡ = S.ResidueGL` be the product of the general linear groups over the residue |
| 895 | fields at the chosen places above the two level primes `p₀`, `p₁`. Let `M = p₀ p₁`, and let `T` be a |
| 896 | finite conjugation-stable set of finite places off which `M⁻¹` is integral, so that `T` contains the |
| 897 | places above `M`. Over the product `LocProd T` of the completions at `T`, let `K` be the group of |
| 898 | integral points of `G` and `K(M)` its principal congruence subgroup of level `M`. Let `F` be a |
| 899 | filling datum (`IsFillingData`): a large lattice datum with `3ϱ + 6` hyperbolic pairs and |
| 900 | `k - (6ϱ + 13)` orthonormal vectors, for the ranks `ϱ = 𝔰.ϱ` and `k = 𝔰.k` of the shape, with |
| 901 | modulus `F.levelUnit = M` and local character `ψ(x) = ψ_f(-x / ϖ)`, where `ϖ` generates the |
| 902 | different. The function `χ_M = extendedBesselChar F.levelUnit` is `ψ(τ(u) / M)` on `u K(M)` for `u` |
| 903 | in the block unitriangular group `𝖴 = besselU`, with `τ(u)` the sum of the entries at the simple |
| 904 | roots, and `0` off `𝖴 K(M)`. Suppose that `T` consists of chosen places and their conjugates, and |
| 905 | put `a z = ∫_K χ_M(y z y⁻¹) dy` for the measure `dy = F.groupMeasure`. For a finite family `σ` in |
| 906 | the stabilizer of the lattice whose members have different reductions in `Ḡ` we have |
| 907 | `∑ |a (σ s)|² ≤ 2 vol(K)²`, where `a` is evaluated at the component of `σ s` at `T`. -/ |
| 908 | lemma sum_sq_norm_integral_extendedBesselChar_conjugate_le {T : Finset (FinPlace E)} [T.StarStable] |
| 909 | [Fact (S.ideleM⁻¹.val ∈ integralOff T)] (hT : T ⊆ S.chosenPlacesAndConj) |
| 910 | [hInt : IntegralPlace (LocProd T)] |
| 911 | {F : PlaceData (Fin (𝔰.k - (6 * 𝔰.ϱ + 13))) (S.latticeMiddle (LocProd T)) (𝔰.ϱ + 1 + 2 * 𝔰.ϱ + |
| 912 | 5)} |
| 913 | (hF : S.IsFillingData T F) {ι : Type*} [Fintype ι] {σ : ι → S.latticeStabilizer} |
| 914 | (hσ : Function.Injective fun s : ι ↦ S.reduction (σ s)) : |
| 915 | ∑ s : ι, |
| 916 | ‖∫ y : (S.latticeMiddle (LocProd T)).G |
| 917 | in unitaryLevel hInt.integers 1 (S.latticeMiddle (LocProd T)).splitGram, |
| 918 | extendedBesselChar F.levelUnit (y * S.toPlaces T (σ s) * y⁻¹) ∂F.groupMeasure‖ ^ 2 ≤ |
| 919 | 2 * F.groupMeasure.real |
| 920 | (unitaryLevel hInt.integers 1 (S.latticeMiddle (LocProd T)).splitGram) ^ 2 := by |
| 921 | set K : Subgroup (U (S.latticeMiddle (LocProd T)).splitGram) := |
| 922 | unitaryLevel hInt.integers 1 (S.latticeMiddle (LocProd T)).splitGram |
| 923 | let a (z : (S.latticeMiddle (LocProd T)).G) : ℂ := ∫ y in K, |
| 924 | extendedBesselChar F.levelUnit (y * z * y⁻¹) ∂F.groupMeasure |
| 925 | -- `a` is constant on the cosets `C s = σ(s) K(M)`: `K` normalises `K(M)`, and `χ_M` is right |
| 926 | -- invariant under `K(M)`. |
| 927 | let C (s : ι) : Set (U (S.latticeMiddle (LocProd T)).splitGram) := |
| 928 | ((S.toPlaces T (σ s))⁻¹ * ·) ⁻¹' F.congruenceSubgroup |
| 929 | have hC_meas (s : ι) : MeasurableSet (C s) := measurable_const_mul _ measurableSet_unitaryLevel |
| 930 | have ha_const (s : ι) : ∀ z ∈ C s, a z = a (S.toPlaces T (σ s)) := fun z hz ↦ |
| 931 | setIntegral_congr_fun measurableSet_unitaryLevel fun y hy ↦ by |
| 932 | simpa only [mul_assoc, inv_mul_cancel_left, mul_inv_cancel_left] using |
| 933 | extendedBesselChar_mul_of_mem_unitaryLevel (y := y * S.toPlaces T (σ s) * y⁻¹) |
| 934 | (conj_mem_unitaryLevel hy hz) |
| 935 | -- The cosets are disjoint, since the `σ s` have different reductions. |
| 936 | have hC_disj : Pairwise (Function.onFun Disjoint C) := by |
| 937 | intro s t hst |
| 938 | refine Set.disjoint_left.mpr fun z hs ht ↦ hst <| hσ <| (hF.reduction_eq_iff _ _).2 ?_ |
| 939 | have h := mul_mem hs.out (inv_mem ht.out) |
| 940 | rwa [mul_inv_rev, inv_inv, mul_assoc, mul_inv_cancel_left] at h |
| 941 | -- The integral of `|a|²` over these cosets is at most `massIntegral K = ∫ |a|²`; bound this by |
| 942 | -- `IsLargeLatticeData.massIntegral_le_main_add_error` with `Q = 2`, and by |
| 943 | -- `2⁻¹ ^ n ≤ groupMeasure(K)`. |
| 944 | have h_lintegral : |
| 945 | (∑ s : ι, ‖a (S.toPlaces T (σ s))‖ₑ ^ 2) * F.groupMeasure F.congruenceSubgroup ≤ |
| 946 | 2 * F.groupMeasure K ^ 2 * F.groupMeasure F.congruenceSubgroup := by |
| 947 | have h_coset (s : ι) : ∫⁻ z in C s, ‖a z‖ₑ ^ 2 ∂F.groupMeasure = |
| 948 | ‖a (S.toPlaces T (σ s))‖ₑ ^ 2 * F.groupMeasure F.congruenceSubgroup := by |
| 949 | rw [setLIntegral_congr_fun (hC_meas s) fun z hz ↦ by rw [ha_const s z hz]] |
| 950 | rw [setLIntegral_const, measure_preimage_mul] |
| 951 | have h_rank : 𝔰.n + 2 * 10 ^ 9 * 𝔰.n ^ 4 ≤ 𝔰.k := by |
| 952 | obtain ⟨h₁, h₂, h₃⟩ := S.pow_chain |
| 953 | linarith [Nat.le_self_pow (n := 4) (by norm_num) 𝔰.n] |
| 954 | calc (∑ s : ι, ‖a (S.toPlaces T (σ s))‖ₑ ^ 2) * F.groupMeasure F.congruenceSubgroup |
| 955 | = ∑' s : ι, ∫⁻ z in C s, ‖a z‖ₑ ^ 2 ∂F.groupMeasure := by |
| 956 | simp only [h_coset, sum_mul, tsum_fintype] |
| 957 | _ = ∫⁻ z in ⋃ s, C s, ‖a z‖ₑ ^ 2 ∂F.groupMeasure := (lintegral_iUnion hC_meas hC_disj _).symm |
| 958 | _ ≤ F.massIntegral K := setLIntegral_le_lintegral .. |
| 959 | _ ≤ F.groupMeasure K * F.groupMeasure F.congruenceSubgroup * (F.groupMeasure K + 2⁻¹ ^ 𝔰.n) := |
| 960 | hF.massIntegral_le_main_add_error ⟨_, unitaryLevel_le_unitaryLevel_one, le_rfl⟩ le_rfl |
| 961 | IsLargeLatticeData.modulus_le_half h_rank |
| 962 | _ ≤ 2 * F.groupMeasure K ^ 2 * F.groupMeasure F.congruenceSubgroup := by |
| 963 | grw [hF.inv_two_pow_le_groupMeasure (volume_integers_diff_intUnits_le hT)] |
| 964 | exact le_of_eq (by ring) |
| 965 | -- Pass to real numbers and cancel `groupMeasure(K(M)) > 0`. |
| 966 | have h_pos : 0 < F.groupMeasure.real F.congruenceSubgroup := |
| 967 | toReal_pos ((unitaryLevel_open_compact.1 (g := F.levelUnit)).measure_ne_zero _ (by simp)) |
| 968 | (hF.groupMeasure_ne_top unitaryLevel_le_unitaryLevel_one) |
| 969 | refine le_of_mul_le_mul_right ?_ h_pos |
| 970 | simpa [toReal_sum, Measure.real] using |
| 971 | toReal_mono (by simp [mul_eq_top, K, hF.groupMeasure_ne_top unitaryLevel_le_unitaryLevel_one]) |
| 972 | h_lintegral |
| 973 | |
| 974 | omit ok [WeilData E] in |
| 975 | /-- Let `S` be filling data over the CM field `E`, with level primes `p₀`, `p₁` and, for each `p_i`, |
| 976 | a chosen set `S.chosenPlaces i` of places of norm `p_i`, such that the chosen places and their |
| 977 | conjugates have product `M = p₀ p₁`. If a finite set `T` of finite places contains all of these, |
| 978 | then the inverse of the finite idele `S.ideleM` of `M` is integral off `T`. -/ |
| 979 | lemma inv_ideleM_mem_integralOff {T : Finset (FinPlace E)} |
| 980 | (hT_mem : ∀ (i : Fin 2) (w : S.chosenPlaces i), w.val ∈ T ∧ star w.val ∈ T) : |
| 981 | S.ideleM⁻¹.val ∈ integralOff T := by |
| 982 | -- `M` divides the idempotent of the places off `T`, as it vanishes at the places of `T`. |
| 983 | let r : Ô E := ⟨idem (↑T : Set (FinPlace E))ᶜ, idem_mem_Ô _⟩ |
| 984 | have h_vanish (i : Fin 2) (w : S.chosenPlaces i) : |
| 985 | reduceAt w.val r = 0 ∧ reduceAt w.val (star r) = 0 := by |
| 986 | grind [reduceAt_idem, star_idem, coe_star_Ô] |
| 987 | have h_idem : S.ideleM⁻¹ • idem Tᶜ ∈ Ô E := by |
| 988 | refine (S.inv_ideleM_smul_mem_iff r).2 ?_ |
| 989 | rintro ⟨⟨i, w⟩, _ | _⟩ |
| 990 | · rw [reduceAboveM_false, (h_vanish i w).1] |
| 991 | · rw [reduceAboveM_true, RingHom.comp_apply, starRingEnd_apply, (h_vanish i w).2] |
| 992 | exact (mem_integralOff T).2 (idem_mul_mem_Ô.1 (by rwa [mul_comm])) |
| 993 | |
| 994 | omit ok in |
| 995 | /-- **The induced character.** Let `S` be admissible filling data for a unitary group `G` over the |
| 996 | CM field `E`, which carries Weil data, and let `Ḡ = S.ResidueGL` be the product of the general |
| 997 | linear groups over the residue fields at the chosen places above the two level primes `p₀`, `p₁`. |
| 998 | Let `ψ_U = S.reducedChar` be the additive character (`unipotentChar`) of the integral block |
| 999 | unitriangular elements of `G`, read on their reductions in `Ḡ` and extended by `0`, and let |
| 1000 | `ψ_U^♮(s) = S.reducedCharMean s` be its mean over the conjugates of `s`. Then `∑ |ψ_U^♮(s)|² ≤ 2`, |
| 1001 | the sum being over all `s` in `Ḡ`. -/ |
| 1002 | theorem sum_norm_reducedCharMean_sq_le [ok : S.IsAdmissible] : |
| 1003 | ∑ s : S.ResidueGL, ‖S.reducedCharMean s‖ ^ 2 ≤ 2 := by |
| 1004 | -- Work at the set `T` of the chosen places and their conjugates, with a lift `σ s` of each `s`. |
| 1005 | choose σ hσ using ok.reduction_surjective |
| 1006 | let T : Finset (FinPlace E) := S.chosenPlacesAndConj |
| 1007 | have : T.StarStable := by |
| 1008 | refine ⟨fun w hw ↦ ?_⟩ |
| 1009 | obtain ⟨i, s, hs, rfl | rfl⟩ := mem_chosenPlacesAndConj.1 hw |
| 1010 | · exact mem_chosenPlacesAndConj.2 ⟨i, w, hs, .inr rfl⟩ |
| 1011 | · exact mem_chosenPlacesAndConj.2 ⟨i, s, hs, .inl (star_star s)⟩ |
| 1012 | have hT_mem (i : Fin 2) (w : S.chosenPlaces i) : w.val ∈ T ∧ star w.val ∈ T := |
| 1013 | ⟨mem_chosenPlacesAndConj.2 ⟨i, w, w.prop, .inl rfl⟩, |
| 1014 | mem_chosenPlacesAndConj.2 ⟨i, w, w.prop, .inr rfl⟩⟩ |
| 1015 | have : Fact (S.ideleM⁻¹.val ∈ integralOff T) := ⟨S.inv_ideleM_mem_integralOff hT_mem⟩ |
| 1016 | -- The product of the completions at `T` has a large lattice datum `F` of modulus `M`. |
| 1017 | obtain ⟨hInt, F, hF⟩ := S.exists_isFillingData T |
| 1018 | set K : Subgroup (U (S.latticeMiddle (LocProd T)).splitGram) := |
| 1019 | unitaryLevel hInt.integers 1 (S.latticeMiddle (LocProd T)).splitGram |
| 1020 | have hK_pos : 0 < F.groupMeasure.real K := |
| 1021 | toReal_pos ((unitaryLevel_open_compact.1 (g := 1)).measure_ne_zero _ (by simp)) |
| 1022 | (hF.groupMeasure_ne_top unitaryLevel_le_unitaryLevel_one) |
| 1023 | -- The integrals in `sum_sq_norm_integral_extendedBesselChar_conjugate_le` are the measure of `K` |
| 1024 | -- times `ψ_U^♮(s)`. |
| 1025 | have h_sq : F.groupMeasure.real K ^ 2 * ∑ s, ‖S.reducedCharMean s‖ ^ 2 ≤ |
| 1026 | F.groupMeasure.real K ^ 2 * 2 := by |
| 1027 | have h_inj : Function.Injective fun s : S.ResidueGL ↦ S.reduction (σ s) := fun s t hst ↦ by |
| 1028 | simpa [hσ] using hst |
| 1029 | simpa only [S.integral_extendedBesselChar_conj_eq hF, hσ, |
| 1030 | norm_smul_of_nonneg measureReal_nonneg, mul_pow, |
| 1031 | ← mul_sum, mul_comm (2 : ℝ)] using S.sum_sq_norm_integral_extendedBesselChar_conjugate_le |
| 1032 | (T := T) subset_rfl hF h_inj |
| 1033 | exact le_of_mul_le_mul_left h_sq (pow_pos hK_pos 2) |
| 1034 | |
| 1035 | attribute [local instance low] Fintype.ofFinite in |
| 1036 | /-- **The trace.** Let `S` be admissible filling data for a unitary group `G` over the CM field `E`, |
| 1037 | which carries Weil data, and let `Ḡ = S.ResidueGL` be the product of the general linear groups over |
| 1038 | the residue fields at the chosen places above the two level primes `p₀`, `p₁`. Let |
| 1039 | `r_ψ(s) = S.besselTranslate s` be the operator on the source `ℂ^(classes × Bessel coordinates)` |
| 1040 | whose blocks are the complex conjugates of the normalised amplitude sums of the rational elements of |
| 1041 | the Bessel subgroup `besselS`. Let `x` be a central idempotent of the group algebra of the factor of |
| 1042 | `Ḡ` above `p_i`, made of matrices indexed by the basis `𝔰.BesselIndex` of the hermitian space, with |
| 1043 | `Re x(1) ≤ b⁻⁸ / 2`. Then the trace of `r_ψ(x) = ∑ x(s) r_ψ(s)` has real part at most `b⁻⁴ D_X`. -/ |
| 1044 | lemma re_sum_coeff_mul_trace_besselTranslate_le {i : Fin 2} |
| 1045 | {x : MonoidAlgebra ℂ (∀ w : S.chosenPlaces i, GL 𝔰.BesselIndex (ResField w.val))} |
| 1046 | (hx : IsCentralProj x) (hx_small : (x.coeff 1).re ≤ (S.b ^ 8)⁻¹ / 2) : |
| 1047 | (∑ s : ∀ w : S.chosenPlaces i, GL 𝔰.BesselIndex (ResField w.val), x.coeff s * |
| 1048 | LinearMap.trace ℂ (EuclideanSpace ℂ (S.Classes × S.BesselCoord)) |
| 1049 | (S.besselTranslate (mulSingle i s))).re ≤ |
| 1050 | (S.b ^ 4)⁻¹ * S.sourceDim := by |
| 1051 | -- The element `mulSingle i s` is `1` above the other prime, so the trace is `D_X ψ_U(s)`. |
| 1052 | have h_trace (s : ∀ w : S.chosenPlaces i, GL 𝔰.BesselIndex (ResField w.val)) : |
| 1053 | LinearMap.trace ℂ (EuclideanSpace ℂ (S.Classes × S.BesselCoord)) |
| 1054 | (S.besselTranslate (mulSingle i s)) = S.sourceDim * S.reducedChar (mulSingle i s) := |
| 1055 | S.trace_besselTranslate_eq_mul_reducedChar (j := i + 1) (by simp) |
| 1056 | -- As `x` is a class function, `ψ_U` may be replaced by its mean over conjugates. |
| 1057 | have h_mean : ∑ s, x.coeff s * S.reducedChar (mulSingle i s) = |
| 1058 | ∑ s, x.coeff s * S.reducedCharMean (mulSingle i s) := by |
| 1059 | have h_conj (g : S.ResidueGL) : ∑ s, x.coeff s * S.reducedChar (g * mulSingle i s * g⁻¹) = |
| 1060 | ∑ s, x.coeff s * S.reducedChar (mulSingle i s) := by |
| 1061 | refine Fintype.sum_equiv (MulAut.conj (g i)) _ _ fun s ↦ ?_ |
| 1062 | have h_single : g * mulSingle i s * g⁻¹ = mulSingle i (g i * s * (g i)⁻¹) := |
| 1063 | Function.eq_update_iff.2 (by simp +contextual) |
| 1064 | rw [h_single, EquivLike.coe_coe, MulAut.conj_apply, hx.2] |
| 1065 | simp only [reducedCharMean, mul_expect, ← expect_sum_comm, h_conj, Fintype.expect_const] |
| 1066 | have h_sq : ∑ s, ‖S.reducedCharMean (mulSingle i s)‖ ^ 2 ≤ 2 := by |
| 1067 | refine .trans ?_ S.sum_norm_reducedCharMean_sq_le |
| 1068 | rw [← sum_image (f := fun s ↦ ‖S.reducedCharMean s‖ ^ 2) (mulSingle_injective i).injOn] |
| 1069 | exact sum_le_univ_sum_of_nonneg fun _ ↦ sq_nonneg _ |
| 1070 | -- Cauchy–Schwarz, with `∑ |x s|² = Re x(1) ≤ b⁻⁸ / 2` and `∑ |ψ_U^♮|² ≤ 2`. |
| 1071 | have h_bound : ‖∑ s, x.coeff s * S.reducedCharMean (mulSingle i s)‖ ≤ (S.b ^ 4)⁻¹ := by |
| 1072 | refine (abs_le_of_sq_le_sq' ?_ (by positivity)).2 |
| 1073 | calc ‖∑ s, x.coeff s * S.reducedCharMean (mulSingle i s)‖ ^ 2 |
| 1074 | ≤ (∑ s, ‖x.coeff s‖ * ‖S.reducedCharMean (mulSingle i s)‖) ^ 2 := by |
| 1075 | grw [norm_sum_le, norm_mul_le] |
| 1076 | _ ≤ (S.b ^ 8)⁻¹ / 2 * 2 := by |
| 1077 | grw [sum_mul_sq_le_sq_mul_sq, sum_norm_sq_coeff_of_isCentralProj hx, hx_small, h_sq] |
| 1078 | _ = (S.b ^ 4)⁻¹ ^ 2 := by ring |
| 1079 | calc (∑ s, x.coeff s * LinearMap.trace ℂ _ (S.besselTranslate (mulSingle i s))).re |
| 1080 | = (S.sourceDim * ∑ s, x.coeff s * S.reducedCharMean (mulSingle i s)).re := by |
| 1081 | simp only [← h_mean, h_trace, mul_left_comm (x.coeff _), mul_sum] |
| 1082 | _ ≤ S.sourceDim * ‖∑ s, x.coeff s * S.reducedCharMean (mulSingle i s)‖ := by |
| 1083 | grw [re_le_norm, norm_mul, norm_natCast] |
| 1084 | _ ≤ (S.b ^ 4)⁻¹ * S.sourceDim := by |
| 1085 | grw [h_bound, mul_comm] |
| 1086 | |
| 1087 | end BesselTrace |
| 1088 | |
| 1089 | /-! ## Good forms: one prime and both primes -/ |
| 1090 | |
| 1091 | section GoodForms |
| 1092 | |
| 1093 | open Matrix Complex Module InnerProductSpace EuclideanSpace Finset Fintype |
| 1094 | |
| 1095 | attribute [local instance low] Fintype.ofFinite |
| 1096 | |
| 1097 | variable {E : Type} [Field E] [CMType E] {𝔰 : Shape} {S : Filling E 𝔰} [ok : S.IsAdmissible] |
| 1098 | {V : Type} [NormedAddCommGroup V] [InnerProductSpace ℂ V] [FiniteDimensional ℂ V] |
| 1099 | {ρ : Representation ℂ S.ResidueGL V} {P : EuclideanSpace ℂ (S.Classes × S.BesselCoord) →ₗ[ℂ] V} |
| 1100 | |
| 1101 | open scoped Classical in |
| 1102 | /-- **One prime.** Let `S` be admissible filling data (`Filling`, `IsAdmissible`) for a unitary |
| 1103 | group `G` over the CM field `E`, which carries Weil data (a primitive `5040`-th root of unity and a |
| 1104 | splitting character, see `WeilData`), and let `Ḡ = S.ResidueGL` be the product of the general linear |
| 1105 | groups over the residue fields at the chosen places above the two level primes `p₀`, `p₁`. The |
| 1106 | source is the Euclidean space with coordinates `(c, i)`, where `c` is a class (a double coset of the |
| 1107 | definite unitary group `U(X₀)` for the level) and `i` is a coordinate of the Bessel function `W` at |
| 1108 | the infinite places. Let `ρ` be a unitary representation of `Ḡ` on `V` and `P` a linear map from the |
| 1109 | source to `V`. Suppose `HasAmplitudeBlocks`: the block `(c, c')` of `P_s = P* ρ(s) P` is the |
| 1110 | conjugate of `A(c, s, c') / ν`, where `ν = S.unipotentCovolume > 0` and `A(c, s, c')` is the sum, |
| 1111 | over the rational `γ` in `G` such that `h_c⁻¹ γ h_c'` is integral with reduction `s`, of an integral |
| 1112 | of `W(y) ⊗ W(γ⁻¹ y)^*` against cutoffs (`h_c` represents the class `c`). Let `x` be a central |
| 1113 | idempotent (an idempotent whose coefficients form a class function; it is then self-adjoint) of the |
| 1114 | group algebra of the factor of `Ḡ` above `p_i`, made of matrices indexed by the basis |
| 1115 | `𝔰.BesselIndex` of the hermitian space, with `Re x(1) ≤ b⁻⁸ / 2`, where `b = S.b ≥ 1000` is the size |
| 1116 | parameter of `S`. Then `‖x P‖² ≤ 2 b⁻⁴ D_X` in Hilbert–Schmidt norm, where `x` acts on `V` through |
| 1117 | `ρ` and `D_X = S.sourceDim` is the dimension of the source. -/ |
| 1118 | lemma HasAmplitudeBlocks.hilbertSchmidtNorm_asAlgebraHom_comp_sq_le [WeilData E] |
| 1119 | (hP : S.HasAmplitudeBlocks ρ P) |
| 1120 | (hρ : ∀ (s : S.ResidueGL) (v v' : V), ⟪ρ s v, ρ s v'⟫_ℂ = ⟪v, v'⟫_ℂ) (i : Fin 2) |
| 1121 | {x : MonoidAlgebra ℂ (∀ w : S.chosenPlaces i, GL 𝔰.BesselIndex (ResField w.val))} |
| 1122 | (hx : IsCentralProj x) (hx_small : (x.coeff 1).re ≤ (S.b ^ 8)⁻¹ / 2) : |
| 1123 | hilbertSchmidtNorm |
| 1124 | (Representation.asAlgebraHom (ρ.comp (MonoidHom.mulSingle |
| 1125 | (fun j : Fin 2 ↦ ∀ w : S.chosenPlaces j, GL 𝔰.BesselIndex (ResField w.val)) i)) x ∘ₗ |
| 1126 | P) ^ 2 ≤ |
| 1127 | 2 * (S.b ^ 4)⁻¹ * S.sourceDim := by |
| 1128 | have hb : 1000 ≤ S.b := S.thousand_le_b |
| 1129 | set e : End ℂ V := Representation.asAlgebraHom (ρ.comp (.mulSingle _ i)) x with he_def |
| 1130 | have he : e.IsSymmetricProjection := |
| 1131 | hx.isSymmetricProjection (ρ := ρ.comp (.mulSingle _ i)) fun _ ↦ hρ _ |
| 1132 | set P' : End ℂ (EuclideanSpace ℂ (S.Classes × S.BesselCoord)) := ∑ t, x.coeff t • |
| 1133 | (P.adjoint ∘ₗ ρ (Pi.mulSingle i t) ∘ₗ P - S.besselTranslate (Pi.mulSingle i t)) with hP' |
| 1134 | -- `‖x P‖² = tr (P* x P) = tr r_ψ(x) + tr P'_x`, with `r_ψ(x) = ∑ x(t) r_ψ(t)`, `P'_x = P'`. |
| 1135 | have h_trace : hilbertSchmidtNorm (e ∘ₗ P) ^ 2 = |
| 1136 | (∑ t, x.coeff t * LinearMap.trace ℂ _ (S.besselTranslate (Pi.mulSingle i t))).re + |
| 1137 | (LinearMap.trace ℂ _ P').re := by |
| 1138 | have h_proj : (e ∘ₗ P).adjoint ∘ₗ e ∘ₗ P = P.adjoint ∘ₗ e ∘ₗ P := by |
| 1139 | rw [LinearMap.adjoint_comp, he.isSymmetric.adjoint_eq, LinearMap.comp_assoc, |
| 1140 | ← LinearMap.comp_assoc P e e, ← End.mul_eq_comp, he.isIdempotentElem.eq] |
| 1141 | have h_sum : P.adjoint ∘ₗ e ∘ₗ P = |
| 1142 | ∑ t, x.coeff t • (P.adjoint ∘ₗ ρ (Pi.mulSingle i t) ∘ₗ P) := by |
| 1143 | ext1 v |
| 1144 | simp [he_def, Representation.asAlgebraHom_eq_sum] |
| 1145 | rw [← ofReal_re (_ ^ 2), hilbertSchmidtNorm_sq_eq_trace, h_proj, h_sum, ← add_re, hP'] |
| 1146 | simp [mul_sub] |
| 1147 | have h_bessel : |
| 1148 | (∑ t, x.coeff t * LinearMap.trace ℂ _ (S.besselTranslate (Pi.mulSingle i t))).re ≤ |
| 1149 | (S.b ^ 4)⁻¹ * S.sourceDim := |
| 1150 | S.re_sum_coeff_mul_trace_besselTranslate_le hx hx_small |
| 1151 | -- `|tr P'_x| ≤ ‖1‖ ‖P'_x‖` |
| 1152 | have h_rest : (LinearMap.trace ℂ _ P').re ≤ (S.b ^ 4)⁻¹ * S.sourceDim := by |
| 1153 | have h_inner : LinearMap.trace ℂ _ P' = ⟪hilbertSchmidtVector 1, |
| 1154 | hilbertSchmidtVector P'⟫_ℂ := by |
| 1155 | rw [inner_hilbertSchmidtVector, End.one_eq_id, LinearMap.adjoint_id, LinearMap.id_comp] |
| 1156 | rw [h_inner] |
| 1157 | refine (re_le_norm _).trans ((norm_inner_le_norm _ _).trans ?_) |
| 1158 | refine le_of_pow_le_pow_left₀ (n := 2) (by decide) (by positivity) ?_ |
| 1159 | calc |
| 1160 | _ = S.sourceDim * hilbertSchmidtNorm P' ^ 2 := by |
| 1161 | rw [mul_pow, ← hilbertSchmidtNorm_one_sq_eq_sourceDim, hilbertSchmidtNorm, |
| 1162 | hilbertSchmidtNorm] |
| 1163 | _ ≤ S.sourceDim * (S.sourceDim / S.b ^ 12) := by |
| 1164 | grw [hP.hilbertSchmidtNorm_sum_smul_sub_besselTranslate_sq_le hρ i hx] |
| 1165 | _ ≤ S.sourceDim * (S.sourceDim / S.b ^ 8) := by gcongr <;> linarith |
| 1166 | _ = ((S.b ^ 4)⁻¹ * S.sourceDim) ^ 2 := by ring |
| 1167 | linarith |
| 1168 | |
| 1169 | variable {g : ∀ i : Fin 2, |
| 1170 | MonoidAlgebra ℂ (∀ w : S.chosenPlaces i, GL 𝔰.BesselIndex (ResField w.val))} |
| 1171 | |
| 1172 | omit ok [FiniteDimensional ℂ V] in |
| 1173 | /-- The source has dimension `D_X = S.sourceDim`. -/ |
| 1174 | lemma finrank_source_eq_sourceDim : |
| 1175 | (finrank ℂ (EuclideanSpace ℂ (S.Classes × S.BesselCoord)) : ℝ) = S.sourceDim := by |
| 1176 | simp [sourceDim] |
| 1177 | |
| 1178 | /-- **Both primes.** Let `S` be admissible filling data (`Filling`, `IsAdmissible`) for a unitary |
| 1179 | group `G` over the CM field `E`, which carries Weil data (a primitive `5040`-th root of unity and a |
| 1180 | splitting character, see `WeilData`), and let `Ḡ = S.ResidueGL` be the product of the general linear |
| 1181 | groups over the residue fields at the chosen places above the two level primes `p₀`, `p₁`. The |
| 1182 | source is the Euclidean space with coordinates `(c, i)`, where `c` is a class (a double coset of the |
| 1183 | definite unitary group `U(X₀)` for the level) and `i` is a coordinate of the Bessel function `W` at |
| 1184 | the infinite places. Let `ρ` be a unitary representation of `Ḡ` on `V` and `P` a linear map from the |
| 1185 | source to `V`. Suppose `HasAmplitudeBlocks`: the block `(c, c')` of `P_s = P* ρ(s) P` is the |
| 1186 | conjugate of `A(c, s, c') / ν`, where `ν = S.unipotentCovolume > 0` and `A(c, s, c')` is the sum, |
| 1187 | over the rational `γ` in `G` such that `h_c⁻¹ γ h_c'` is integral with reduction `s`, of an integral |
| 1188 | of `W(y) ⊗ W(γ⁻¹ y)^*` against cutoffs (`h_c` represents the class `c`). Let `g_i` be a central |
| 1189 | idempotent (an idempotent whose coefficients form a class function; it is then self-adjoint) of the |
| 1190 | group algebra of the factor of `Ḡ` above `p_i`, such that the coefficient of `1 - g_i` at `1` has |
| 1191 | real part at most `b⁻⁸ / 2`, where `b = S.b ≥ 1000` is the size parameter of `S`. Let |
| 1192 | `e₀ = piTensorElem g` be the tensor product `g₀ ⊗ g₁` in `ℂ[Ḡ]`, acting on `V` through `ρ`. Then |
| 1193 | `‖(1 - e₀) P‖² ≤ 4 b⁻⁴ D_X` in Hilbert–Schmidt norm, where `D_X = S.sourceDim` is the dimension of |
| 1194 | the source. -/ |
| 1195 | theorem HasAmplitudeBlocks.hilbertSchmidtNorm_one_sub_piTensorElem_comp_sq_le [WeilData E] |
| 1196 | (hP : S.HasAmplitudeBlocks ρ P) (hρ : ∀ (s : S.ResidueGL) (x y : V), ⟪ρ s x, ρ s y⟫_ℂ = ⟪x, |
| 1197 | y⟫_ℂ) |
| 1198 | (hg : ∀ i : Fin 2, IsCentralProj (g i)) |
| 1199 | (hg_small : ∀ i : Fin 2, ((1 - g i).coeff 1).re ≤ (S.b ^ 8)⁻¹ / 2) : |
| 1200 | hilbertSchmidtNorm ((1 - ρ.asAlgebraHom (piTensorElem g)) ∘ₗ P) ^ 2 ≤ |
| 1201 | 4 * (S.b ^ 4)⁻¹ * S.sourceDim := by |
| 1202 | let e (i : Fin 2) : End ℂ V := Representation.asAlgebraHom (ρ.comp (.mulSingle _ i)) (g i) |
| 1203 | have h_factor : ρ.asAlgebraHom (piTensorElem g) = e 0 * e 1 := by |
| 1204 | have h_split : g = Pi.mulSingle 0 (g 0) * Pi.mulSingle 1 (g 1) := by |
| 1205 | ext i : 1 |
| 1206 | fin_cases i <;> simp |
| 1207 | rw [h_split, map_mul, map_mul, asAlgebraHom_piTensorElem_mulSingle, |
| 1208 | asAlgebraHom_piTensorElem_mulSingle] |
| 1209 | have h_proj : (e 0).IsSymmetricProjection := |
| 1210 | (hg 0).isSymmetricProjection (ρ := ρ.comp (.mulSingle _ 0)) fun _ ↦ hρ _ |
| 1211 | have h_prime (i : Fin 2) : hilbertSchmidtNorm ((1 - e i) ∘ₗ P) ^ 2 ≤ 2 * (S.b ^ 4)⁻¹ * |
| 1212 | S.sourceDim := by |
| 1213 | simpa [e] using hP.hilbertSchmidtNorm_asAlgebraHom_comp_sq_le hρ i (hg i).one_sub (hg_small i) |
| 1214 | rw [h_factor] |
| 1215 | calc hilbertSchmidtNorm ((1 - e 0 * e 1) ∘ₗ P) ^ 2 |
| 1216 | ≤ hilbertSchmidtNorm ((1 - e 0) ∘ₗ P) ^ 2 + hilbertSchmidtNorm ((1 - e 1) ∘ₗ P) ^ 2 := |
| 1217 | hilbertSchmidtNorm_one_sub_mul_comp_sq_le h_proj (e 1) P |
| 1218 | _ ≤ 4 * (S.b ^ 4)⁻¹ * S.sourceDim := by linarith [h_prime 0, h_prime 1] |
| 1219 | |
| 1220 | /-- **Good forms.** Let `S` be admissible filling data (`Filling`, `IsAdmissible`) for a unitary |
| 1221 | group `G` over the CM field `E`, which carries Weil data (a primitive `5040`-th root of unity and a |
| 1222 | splitting character, see `WeilData`), and let `Ḡ = S.ResidueGL` be the product of the general linear |
| 1223 | groups over the residue fields at the chosen places above the two level primes `p₀`, `p₁`. The |
| 1224 | source is the Euclidean space with coordinates `(c, i)`, where `c` is a class (a double coset of the |
| 1225 | definite unitary group `U(X₀)` for the level) and `i` is a coordinate of the Bessel function `W` at |
| 1226 | the infinite places. Let `ρ` be a unitary representation of `Ḡ` on `V` and `P` a linear map from the |
| 1227 | source to `V`. Suppose `HasAmplitudeBlocks`: the block `(c, c')` of `P_s = P* ρ(s) P` is the |
| 1228 | conjugate of `A(c, s, c') / ν`, where `ν = S.unipotentCovolume > 0` and `A(c, s, c')` is the sum, |
| 1229 | over the rational `γ` in `G` such that `h_c⁻¹ γ h_c'` is integral with reduction `s`, of an integral |
| 1230 | of `W(y) ⊗ W(γ⁻¹ y)^*` against cutoffs (`h_c` represents the class `c`). Let `g_i` be a central |
| 1231 | idempotent (an idempotent whose coefficients form a class function; it is then self-adjoint) of the |
| 1232 | group algebra of the factor of `Ḡ` above `p_i`, such that the coefficient of `1 - g_i` at `1` has |
| 1233 | real part at most `b⁻⁸ / 2`, where `b = S.b ≥ 1000` is the size parameter of `S`. Let |
| 1234 | `e₀ = piTensorElem g` be the tensor product `g₀ ⊗ g₁` in `ℂ[Ḡ]`, acting on `V` through `ρ`. Then |
| 1235 | `e₀ P` is almost an isometry from below in mean square (`IsNearIsometry`) with error `5 b⁻⁴`: |
| 1236 | `‖e₀ P pr_U‖² ≥ dim U - 5 b⁻⁴ D_X` in Hilbert–Schmidt norm for every subspace `U` of the source, |
| 1237 | where `pr_U` is the orthogonal projection onto `U` and `D_X` is the dimension of the source. -/ |
| 1238 | theorem HasAmplitudeBlocks.isNearIsometry_piTensorElem_comp [WeilData E] |
| 1239 | (hP : S.HasAmplitudeBlocks ρ P) |
| 1240 | (hρ : ∀ (s : S.ResidueGL) (x y : V), ⟪ρ s x, ρ s y⟫_ℂ = ⟪x, y⟫_ℂ) |
| 1241 | (hg : ∀ i : Fin 2, IsCentralProj (g i)) |
| 1242 | (hg_small : ∀ i : Fin 2, ((1 - g i).coeff 1).re ≤ (S.b ^ 8)⁻¹ / 2) : |
| 1243 | IsNearIsometry (ρ.asAlgebraHom (piTensorElem g) ∘ₗ P) (5 * (S.b ^ 4)⁻¹) := by |
| 1244 | have hb : 1000 ≤ S.b := S.thousand_le_b |
| 1245 | -- `P` itself is almost an isometry, as `‖P* P - 1‖² ≤ b⁻¹² D_X`. |
| 1246 | have h_isom : IsNearIsometry P (S.b ^ 4)⁻¹ := by |
| 1247 | refine isNearIsometry_of_hilbertSchmidtNorm_le (by positivity) |
| 1248 | (hP.hilbertSchmidtNorm_sub_one_sq_le.trans ?_) |
| 1249 | rw [finrank_source_eq_sourceDim, inv_pow, ← pow_mul, ← div_eq_inv_mul] |
| 1250 | gcongr <;> linarith |
| 1251 | have h_bad : hilbertSchmidtNorm ((1 - ρ.asAlgebraHom (piTensorElem g)) ∘ₗ P) ^ 2 ≤ |
| 1252 | 4 * (S.b ^ 4)⁻¹ * finrank ℂ (EuclideanSpace ℂ (S.Classes × S.BesselCoord)) := by |
| 1253 | simpa only [finrank_source_eq_sourceDim] using |
| 1254 | hP.hilbertSchmidtNorm_one_sub_piTensorElem_comp_sq_le hρ hg hg_small |
| 1255 | have h_proj : (ρ.asAlgebraHom (piTensorElem g)).IsSymmetricProjection := |
| 1256 | (IsCentralProj.piTensorElem hg).isSymmetricProjection hρ |
| 1257 | exact (h_isom.proj_comp h_proj h_bad).mono (le_of_eq (by ring)) |
| 1258 | |
| 1259 | end GoodForms |
| 1260 | |
| 1261 | end New.Filling |