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 | public import TauCeti.Topology.Algebra.Group.Units |
| 4 | public import TauCeti.Topology.Instances.Matrix |
| 5 | import Mathlib.Algebra.Order.Star.Int |
| 6 | import Mathlib.Dynamics.Ergodic.Action.Regular |
| 7 | import Mathlib.MeasureTheory.Integral.Pi |
| 8 | public import Lib.Adelic.AutomorphicForms.HeckeEigenforms |
| 9 | public import Lib.Adelic.AutomorphicForms.RealConvolution |
| 10 | public import New.Spanning.Bessel.LargeFunction |
| 11 | public import New.Spanning.Unfolding.Terms |
| 12 | import Lib.DiscreteSeries.FlenstedJensen.PsiKTypes |
| 13 | import New.Spanning.Unfolding.AmplitudeSums |
| 14 | import New.Spanning.Unfolding.CutoffIntegral |
| 15 | import New.Spanning.Unfolding.Packing |
| 16 | |
| 17 | /-! |
| 18 | # Poincaré series of fitting spaces, unfolding, Petersson products and source form coordinates |
| 19 | |
| 20 | This file builds Poincaré series from the Bessel functions of filling data S (`New.Filling`) on a |
| 21 | hermitian space V that fits S, and computes their Petersson products. |
| 22 | |
| 23 | K = `New.Filling.latticeStabilizer` and K(M) = `New.Filling.principalLevel` are levels in the |
| 24 | lattice basis of S. Here K(M) is the kernel of reduction at the chosen places, and M in this |
| 25 | notation is the product of the two level primes, not an adelic point. For a graded space Y on V that |
| 26 | fits S, the groups attached to Y correspond to those of S under `New.Filling.Fits.adelicEquiv` and |
| 27 | `New.Filling.Fits.finiteEquiv`, and algebraic forms of level `S.sourceLevel` get coordinates indexed |
| 28 | by classes and indices. |
| 29 | |
| 30 | ## Main definitions and results |
| 31 | |
| 32 | * `New.Filling.Fits`: V matches S; this gives the identifications `New.Filling.Fits.ratEquiv` |
| 33 | (rational points), `New.Filling.Fits.realHomeomorph` (infinite places) and |
| 34 | `New.Filling.Fits.finiteEquiv` (finite places). |
| 35 | * `New.Filling.Fits.cutBessel`, `New.Filling.Fits.poincareSeries`: a coordinate i of the Bessel |
| 36 | function, cut off and supported on the coset of a class c, and the series ∑_a φ_a ∑_γ of these, |
| 37 | a = (c, i). |
| 38 | * `New.Filling.Fits.petersson_poincare`: the Petersson products of translated series are the |
| 39 | amplitude sums `New.Filling.amplitudeSum` times the volume of the level. |
| 40 | * `New.Filling.Fits.poincareMap`, `New.Filling.Fits.coe_poincareMap`: the series are forms of level |
| 41 | `New.Filling.stdPrincipalLevel`, linear in φ. |
| 42 | * `New.Filling.Fits.sourceFormCoords`: algebraic forms of level `S.sourceLevel` as vectors of the |
| 43 | Euclidean space on classes times indices. |
| 44 | |
| 45 | Notions from other files: |
| 46 | * `New.Filling.besselFn`: W_i(y), the product over the infinite places v of the i_v-th coordinate of |
| 47 | the local Bessel function W_v at y_v. Only the full (not the cut) function is used: `.full`. |
| 48 | * `New.Filling.classRep`, `New.Filling.classUnipotent`, `New.Filling.classCutoff`: for a class c, |
| 49 | its representative h_c, the group 𝖴_c(M) of rational unipotent u with h_c⁻¹ u h_c ∈ K(M), and a |
| 50 | cutoff β_c at the infinite places whose translates under 𝖴_c(M) sum to 1. |
| 51 | * `New.Filling.termsOver`: the rational γ such that h_c⁻¹ γ h_c' lies in K and has reduction s. |
| 52 | * `New.Shape.Form.besselU`: the Bessel unipotent group 𝖴: the isometries of |
| 53 | `New.Shape.Form.splitGram` T that are block upper unitriangular for the levels |
| 54 | `New.BesselIndex.level`, so trivial on the middle block. |
| 55 | * X₀ is the hermitian space on κ with the standard form, all signs +1; U(X₀) is its unitary group. |
| 56 | |
| 57 | ## Relation to the literature |
| 58 | |
| 59 | The file also contains known results stated on this proof's data: Poincaré series along a Bessel |
| 60 | subgroup and their unfolding. See `Lib.DiscreteSeries.Bruhat.FloorGroups`. |
| 61 | -/ |
| 62 | |
| 63 | @[expose] public section |
| 64 | |
| 65 | noncomputable section |
| 66 | |
| 67 | section PoincareSeries |
| 68 | |
| 69 | open MeasureTheory Matrix Complex Subgroup Finset PiLp |
| 70 | |
| 71 | namespace New.Filling |
| 72 | |
| 73 | variable {E : Type} {𝔰 : Shape} {ε : 𝔰.BesselIndex → ℤˣ} |
| 74 | [Field E] [CMType E] [HasPrimitiveRoot5040 E] [p : DiscreteSeries.UnitarySignFrame 𝔰 ε] |
| 75 | |
| 76 | /-- The hermitian space V, with grading Y, fits the filling data S: the Bessel system of S at each |
| 77 | infinite place v has type (l v, kw v), Y is standardly indexed, and `typeKernel l ε` is an |
| 78 | idempotent kernel. The finite part of the point of V is a finite idele times `toBesselH 𝔰 ↑S.N η` |
| 79 | times `S.latticeBasis` times an integral matrix that reduces to 1 at the chosen places. The element |
| 80 | η is central. -/ |
| 81 | structure Fits (S : Filling E 𝔰) (V : Space E 𝔰.BesselIndex ε) |
| 82 | (l : NumberField.InfinitePlace E → HCParam ε) |
| 83 | (kw : NumberField.InfinitePlace E → ℕ → ℕ) (Y : Grading V S.N 𝔰.κ (2 * 𝔰.ϱ + 1)) |
| 84 | (η : Gf E 𝔰.κ) : Prop where |
| 85 | /-- The Bessel system at each infinite place `v` has type `(l v, kw v)`. -/ |
| 86 | isDiscreteSeriesBessel (v : NumberField.InfinitePlace E) : |
| 87 | IsDiscreteSeriesBessel (S.besselSystem v) (l v) (kw v) |
| 88 | /-- The grading `Y` labels the basis of `V` in the standard way, by `besselIndexEquiv`. -/ |
| 89 | index_eq : Y.indexEquiv = 𝔰.besselIndexEquiv |
| 90 | /-- The kernel `typeKernel l ε` is idempotent. -/ |
| 91 | isIdempotentKernel : IsIdempotentKernel (typeKernel l ε) |
| 92 | /-- The finite part of the point of `V` is a finite idele times `toBesselH _ ↑S.N η` times |
| 93 | `S.latticeBasis` times an integral matrix that reduces to 1 at the chosen places. -/ |
| 94 | exists_point_eq : ∃ k : intGL 𝔰.BesselIndex (Ô E), |
| 95 | (∀ (i : Fin 2) (w : S.chosenPlaces i), intGL.map (reduceAt w) k = 1) ∧ |
| 96 | ∃ u : (𝔸f E)ˣ, V.xFin = u • (toBesselH 𝔰 ↑S.N η).val * S.latticeBasis * k.val |
| 97 | /-- The element η commutes with every element of the finite adelic unitary group on κ. -/ |
| 98 | central (a : Gf E 𝔰.κ) : Commute η a |
| 99 | |
| 100 | /-- The principal level at the chosen places of S (integral matrices that reduce to 1 there), as an |
| 101 | open subgroup of the finite adelic unitary group in orthonormal local bases. -/ |
| 102 | def stdPrincipalLevel (S : Filling E 𝔰) : OpenSubgroup (Gf E 𝔰.BesselIndex) := |
| 103 | ⟨levelOf (fun w : Σ i : Fin 2, S.chosenPlaces i ↦ (w.2 : FinPlace E)) ⊥, isOpen_levelOf⟩ |
| 104 | |
| 105 | namespace Fits |
| 106 | |
| 107 | section Series |
| 108 | |
| 109 | variable {S : Filling E 𝔰} {V : Space E 𝔰.BesselIndex ε} |
| 110 | {l : NumberField.InfinitePlace E → HCParam ε} {kw : NumberField.InfinitePlace E → ℕ → ℕ} |
| 111 | {Y : Grading V S.N 𝔰.κ (2 * 𝔰.ϱ + 1)} {η : Gf E 𝔰.κ} |
| 112 | |
| 113 | variable (X : S.Fits V l kw Y η) (a : S.Classes × S.BesselCoord) |
| 114 | (φ : EuclideanSpace ℂ (S.Classes × S.BesselCoord)) (g : New.G E ε) |
| 115 | |
| 116 | /-! ### Identifying the groups of `V` and of `S` -/ |
| 117 | |
| 118 | section |
| 119 | |
| 120 | omit [HasPrimitiveRoot5040 E] |
| 121 | |
| 122 | /-- If V fits S, the Gram matrix of V is the rational Gram matrix of S. -/ |
| 123 | theorem J_eq_ratGram (X : S.Fits V l kw Y η) : V.J = S.ratGram := by |
| 124 | -- Compare the two block matrices entry by entry; what is left is arithmetic of the indices. |
| 125 | simp [Y.gram_eq, X.index_eq, ← ext_iff, gradedGram, Shape.besselIndexEquiv, splitGram, middleGram, |
| 126 | Fin.rev, Matrix.one_apply, Nat.Prime.ne_zero] |
| 127 | lia |
| 128 | |
| 129 | /-- The isomorphism from the rational points of the unitary group of S onto the discrete |
| 130 | subgroup Γ of V, given by `New.Space.ratEmbed`. -/ |
| 131 | def ratEquiv : S.G E ≃* V.Γ := |
| 132 | MulEquiv.trans (MulEquiv.subgroupCongr (congrArg U X.J_eq_ratGram.symm)) |
| 133 | (V.ratEmbed.ofInjective V.ratEmbed_injective) |
| 134 | |
| 135 | /-- The isomorphism, given by the point of V, from the standard adelic group of signs ε onto the |
| 136 | adelic points of the unitary group of S. -/ |
| 137 | def adelicEquiv : New.G E ε ≃* S.G (𝔸 E) := |
| 138 | V.toRatCoords.trans (MulEquiv.subgroupCongr (by simp [X.J_eq_ratGram, map_splitGram_ratMiddle])) |
| 139 | |
| 140 | /-- For γ a rational point of the unitary group of S, `X.adelicEquiv` applied to the image |
| 141 | `X.ratEquiv γ` of γ in Γ equals `S.ratToAdelic γ`, the diagonal embedding of γ into the adelic |
| 142 | group. -/ |
| 143 | theorem adelicEquiv_ratEquiv (γ : S.G E) : X.adelicEquiv (X.ratEquiv γ) = S.ratToAdelic γ := by |
| 144 | -- The conjugations by the point of `V` in `X.adelicEquiv` and in `X.ratEquiv` cancel. |
| 145 | rw [adelicEquiv, MulEquiv.trans_apply] |
| 146 | exact congrArg _ (V.toRatCoords.apply_symm_apply _) |
| 147 | |
| 148 | /-- Let the hermitian space V fit the filling data S, and let x_v be the component of the point |
| 149 | `V.x` at an infinite place v. Then x_vᴴ J x_v is the diagonal matrix of the signs ε, where J is the |
| 150 | Gram matrix of S over ℂ: ϱ hyperbolic pairs around the middle block `S.ratMiddle ℂ`. -/ |
| 151 | theorem gram_map_evalInf_point (X : S.Fits V l kw Y η) (v : NumberField.InfinitePlace E) : |
| 152 | (GeneralLinearGroup.map (evalInf v) V.x).valᴴ * (S.ratMiddle ℂ).splitGram * |
| 153 | (GeneralLinearGroup.map (evalInf v) V.x).val = signMatrix ε := by |
| 154 | simpa [X.J_eq_ratGram, map_splitGram_ratMiddle] using V.gram_map_evalInf v |
| 155 | |
| 156 | /-- The homeomorphism from G_∞ onto ∏_v G₁, g_v ↦ d_v⁻¹x_v g_v p⁻¹, with x the point of V, |
| 157 | d_v = `New.Filling.basisScaleGL` and p the chosen unitary sign frame. -/ |
| 158 | def realHomeomorph : (NumberField.InfinitePlace E → USign ε) ≃ₜ |
| 159 | (NumberField.InfinitePlace E → U (𝔰.middleGram (1 : ℂ)).splitGram) := |
| 160 | -- At each place `v`, pass to `𝔰.G₁` by the frame `p`, then multiply on the left by |
| 161 | -- `(S.basisScaleGL v)⁻¹ * V.x * p⁻¹`. Its three factors carry the form of `𝔰.G₁` in turn to that |
| 162 | -- of `S`, to the diagonal form of signs `ε`, and back. |
| 163 | Homeomorph.piCongrRight fun v ↦ DiscreteSeries.frameEquiv.symm.toHomeomorph.trans <| |
| 164 | Homeomorph.mulLeft ⟨(S.basisScaleGL v)⁻¹ * GeneralLinearGroup.map (evalInf v) V.x * p.matrix⁻¹, |
| 165 | mem_unitaryGroupOf_iff.2 <| gram_mul_of_gram_eq |
| 166 | (gram_mul_of_gram_eq (gram_inv_of_gram_eq |
| 167 | (S.conjTranspose_basisScaleGL_mul_splitGram_mul v)) |
| 168 | (X.gram_map_evalInf_point v)) |
| 169 | (gram_inv_of_gram_eq p.gram_eq)⟩ |
| 170 | |
| 171 | /-- The homeomorphism `X.realHomeomorph` turns left translation by g into left translation by the |
| 172 | infinite part of `X.adelicEquiv g`. -/ |
| 173 | theorem realHomeomorph_mul (g' : New.G E ε) : |
| 174 | X.realHomeomorph (g * g').1 = S.adelicToInf (X.adelicEquiv g) * X.realHomeomorph g'.1 := by |
| 175 | -- At each place both sides are products of the same change-of-basis matrices. |
| 176 | ext v : 1 |
| 177 | refine Subtype.ext ?_ |
| 178 | have h_comp : (g.1 v).val = GeneralLinearGroup.map (evalInf v) (G.toUnitary g).val := rfl |
| 179 | -- `X.adelicEquiv` is conjugation by the point of `V`, and `X.realHomeomorph` multiplies by `x`. |
| 180 | -- (By `rfl`: unfolding `adelicEquiv` in the `simp` below is slow to check in a kernel replay.) |
| 181 | have h_conj : (X.adelicEquiv g).val = V.x * (G.toUnitary g).val * V.x⁻¹ := rfl |
| 182 | let x : GL 𝔰.BesselIndex ℂ := (S.basisScaleGL v)⁻¹ * GeneralLinearGroup.map (evalInf v) V.x |
| 183 | change x * p.matrix⁻¹ * (p.matrix * (g * g').1 v * p.matrix⁻¹) = |
| 184 | S.adelicToInf (X.adelicEquiv g) v * (x * p.matrix⁻¹ * (p.matrix * g'.1 v * p.matrix⁻¹)) |
| 185 | simp [x, adelicToInf, U.map, h_conj, mul_assoc, h_comp] |
| 186 | |
| 187 | /-- The isomorphism from the standard finite adelic unitary group onto that of S in the lattice |
| 188 | basis: conjugate by the finite point of V, change to the lattice basis, then conjugate by the |
| 189 | inverse of the image `New.Filling.inclHFin` of η, that is x ↦ ι(η)⁻¹ x ι(η). -/ |
| 190 | def finiteEquiv : Gf E 𝔰.BesselIndex ≃* S.GFin := |
| 191 | (U.conj V.xFin (by simpa [X.J_eq_ratGram, mul_assoc, map_splitGram_ratMiddle] using |
| 192 | V.gram_xFin)).trans (S.toLatticeBasis.trans (MulAut.conj (S.inclHFin η)⁻¹)) |
| 193 | |
| 194 | /-- On finite parts, `X.finiteEquiv` is the finite part of `X.adelicEquiv` in the lattice basis, |
| 195 | conjugated by the inverse of `S.inclHFin η`. -/ |
| 196 | theorem finiteEquiv_eq_conj_adelicToFin : |
| 197 | X.finiteEquiv g.2 = (S.inclHFin η)⁻¹ * S.adelicToFin (X.adelicEquiv g) * S.inclHFin η := by |
| 198 | simp only [finiteEquiv, adelicToFin, MulEquiv.trans_apply, MulAut.conj_apply, inv_inv, |
| 199 | MonoidHom.comp_apply, MonoidHom.coe_ofClass] |
| 200 | congr 3 |
| 201 | refine Subtype.ext (Units.ext ?_) |
| 202 | -- It remains to compare the matrices of the finite part in rational coordinates. |
| 203 | change V.ratCoordMatrixFin g.2 = (V.ratCoordMatrix g).map Prod.snd |
| 204 | exact V.ratCoordMatrixFin_snd g |
| 205 | |
| 206 | /-- The isomorphism `New.Filling.Fits.finiteEquiv` is conjugation by an integral matrix x that |
| 207 | reduces to 1 at the chosen places. -/ |
| 208 | theorem exists_coe_finiteEquiv_eq_conj : |
| 209 | ∃ x : intGL 𝔰.BesselIndex (Ô E), |
| 210 | (∀ (i : Fin 2) (w : S.chosenPlaces i), intGL.map (reduceAt w) x = 1) ∧ |
| 211 | ∀ k : Gf E 𝔰.BesselIndex, (X.finiteEquiv k).val = x * k * x⁻¹ := by |
| 212 | obtain ⟨x, hx_red, u, hu⟩ := X.exists_point_eq |
| 213 | refine ⟨x, hx_red, fun k ↦ ?_⟩ |
| 214 | simp [finiteEquiv, inclHFin, Filling.toLatticeBasis, U.conj, hu, Units.ext_iff, mul_assoc] |
| 215 | |
| 216 | /-- The image of k under `New.Filling.Fits.finiteEquiv` preserves the lattice of S if and only if k |
| 217 | is integral in the orthonormal local bases of V. -/ |
| 218 | theorem finiteEquiv_mem_latticeStabilizer_iff {k : Gf E 𝔰.BesselIndex} : |
| 219 | X.finiteEquiv k ∈ S.latticeStabilizer ↔ k ∈ stdLevel E 𝔰.BesselIndex := by |
| 220 | obtain ⟨x, -, h_conj⟩ := X.exists_coe_finiteEquiv_eq_conj |
| 221 | change (X.finiteEquiv k).val ∈ intGL 𝔰.BesselIndex (Ô E) ↔ k.val ∈ intGL 𝔰.BesselIndex (Ô E) |
| 222 | simp [h_conj, mul_mem_cancel_left, mul_mem_cancel_right] |
| 223 | |
| 224 | /-- The image of k under `New.Filling.Fits.finiteEquiv` lies in the lattice stabilizer |
| 225 | `New.Filling.latticeStabilizer` with reduction s if and only if k lies in the integral subgroup |
| 226 | `New.stdLevel` with reduction s at the chosen places. Here s is a family of matrices over the |
| 227 | residue fields of these places. -/ |
| 228 | theorem reduction_finiteEquiv_iff (k : Gf E 𝔰.BesselIndex) (s : S.ResidueGL) : |
| 229 | (∃ h : X.finiteEquiv k ∈ S.latticeStabilizer, S.reduction ⟨X.finiteEquiv k, h⟩ = s) ↔ |
| 230 | ∃ h : k ∈ stdLevel E 𝔰.BesselIndex, |
| 231 | stdLevel.reduceFamily (fun w : Σ i : Fin 2, S.chosenPlaces i ↦ (w.2 : FinPlace E)) ⟨k, h⟩ = |
| 232 | Sigma.uncurry s := by |
| 233 | obtain ⟨x, hx_red, h_conj⟩ := X.exists_coe_finiteEquiv_eq_conj |
| 234 | -- Conjugation by `x` does not change the reduction at a chosen place. |
| 235 | have h_red (h : X.finiteEquiv k ∈ S.latticeStabilizer) (h' : k ∈ stdLevel E 𝔰.BesselIndex) |
| 236 | (i : Fin 2) (w : S.chosenPlaces i) : |
| 237 | S.reduction ⟨X.finiteEquiv k, h⟩ i w = |
| 238 | stdLevel.reduceFamily (fun w : Σ i, S.chosenPlaces i ↦ (w.2 : FinPlace E)) ⟨k, h'⟩ |
| 239 | ⟨i, w⟩ := by |
| 240 | have h_int : (⟨X.finiteEquiv k, h⟩ : intGL 𝔰.BesselIndex (Ô E)) = x * ⟨k, h'⟩ * x⁻¹ := |
| 241 | Subtype.ext (h_conj k) |
| 242 | -- Both reductions unfold to `intGL.map (reduceAt w)`, which sends `x` to 1. |
| 243 | simpa [hx_red, mul_assoc] using! congrArg (intGL.map (reduceAt w)) h_int |
| 244 | refine ⟨fun ⟨h, hs⟩ ↦ ⟨X.finiteEquiv_mem_latticeStabilizer_iff.1 h, ?_⟩, |
| 245 | fun ⟨h, hs⟩ ↦ ⟨X.finiteEquiv_mem_latticeStabilizer_iff.2 h, ?_⟩⟩ |
| 246 | · exact funext fun ⟨i, w⟩ ↦ (h_red h _ i w).symm.trans (congrFun₂ hs i w) |
| 247 | · exact funext₂ fun i w ↦ (h_red _ h i w).trans (congrFun hs ⟨i, w⟩) |
| 248 | |
| 249 | /-- An element k lies in the principal level `S.stdPrincipalLevel`, taken in orthonormal local |
| 250 | bases, if and only if its image under `New.Filling.Fits.finiteEquiv` lies in the principal level |
| 251 | `S.principalLevel`, taken in the lattice basis of S. -/ |
| 252 | theorem mem_stdPrincipalLevel_iff {k : Gf E 𝔰.BesselIndex} : |
| 253 | k ∈ S.stdPrincipalLevel ↔ X.finiteEquiv k ∈ S.principalLevel := |
| 254 | mem_levelOf.trans (by simp [principalLevel, reduction_finiteEquiv_iff]) |
| 255 | |
| 256 | /-! ### The Poincaré series -/ |
| 257 | |
| 258 | open scoped Classical in |
| 259 | /-- For a = (c, i), the function of adelic g equal to β_c(y) W_i(y), y the image of g_∞ under |
| 260 | `New.Filling.Fits.realHomeomorph`, if ψ⁻¹(h_c⁻¹ ι(η)) g_f lies in `New.Filling.stdPrincipalLevel`, |
| 261 | and 0 otherwise; here ψ = `New.Filling.Fits.finiteEquiv`, ι = `New.Filling.inclHFin`, and β_c is the |
| 262 | cutoff of c. -/ |
| 263 | def cutBessel (a : S.Classes × S.BesselCoord) (g : New.G E ε) : ℂ := |
| 264 | if X.finiteEquiv.symm ((S.classRep a.1)⁻¹ * S.inclHFin η) * g.2 ∈ S.stdPrincipalLevel then |
| 265 | (S.classCutoff a.1 (X.realHomeomorph g.1)).toReal • S.besselFn .full (X.realHomeomorph g.1) a.2 |
| 266 | else 0 |
| 267 | |
| 268 | open scoped Classical in |
| 269 | /-- For a = (c, i) and a rational point γ of the unitary group of S, `New.Filling.Fits.cutBessel` a |
| 270 | evaluated at (image of γ under `New.Filling.Fits.ratEquiv`)·g equals β_c(y) W_i(y) if h_c⁻¹ γ_f ι(η) |
| 271 | ψ(g_f) lies in `New.Filling.principalLevel`, and 0 otherwise. Here y is γ_∞ times the image of g_∞ |
| 272 | under `New.Filling.Fits.realHomeomorph`. Also ψ = `New.Filling.Fits.finiteEquiv`, |
| 273 | ι = `New.Filling.inclHFin`, h_c = `New.Filling.classRep` of c and β_c is the cutoff of c. The |
| 274 | element η is the central finite adelic point of U(X₀) in the fit `X : S.Fits V l kw Y η`. -/ |
| 275 | theorem cutBessel_ratEquiv_mul (γ : S.G E) : |
| 276 | X.cutBessel a (X.ratEquiv γ * g) = |
| 277 | let y : NumberField.InfinitePlace E → 𝔰.G₁ := S.ratToInf γ * X.realHomeomorph g.1 |
| 278 | if (S.classRep a.1)⁻¹ * (S.ratToFin γ * (S.inclHFin η * X.finiteEquiv g.2)) ∈ |
| 279 | S.principalLevel then |
| 280 | (S.classCutoff a.1 y).toReal • S.besselFn .full y a.2 |
| 281 | else 0 := by |
| 282 | have h_inf : X.realHomeomorph (X.ratEquiv γ * g).1 = S.ratToInf γ * X.realHomeomorph g.1 := by |
| 283 | rw [realHomeomorph_mul, adelicEquiv_ratEquiv, ratToInf, MonoidHom.comp_apply] |
| 284 | have h_fin : X.finiteEquiv (X.ratEquiv γ : New.G E ε).2 = |
| 285 | (S.inclHFin η)⁻¹ * S.ratToFin γ * S.inclHFin η := by |
| 286 | rw [finiteEquiv_eq_conj_adelicToFin, adelicEquiv_ratEquiv, ratToFin, MonoidHom.comp_apply] |
| 287 | rw [cutBessel, h_inf] |
| 288 | simp [X.mem_stdPrincipalLevel_iff, h_fin, mul_assoc] |
| 289 | |
| 290 | /-- The cut-off function of a = (c, i) at γ·g is bounded by β_c(y) ∏_v ‖W_v(y_v)‖, where y is γ_∞ |
| 291 | times the image of g_∞ under `New.Filling.Fits.realHomeomorph`, β_c is the cutoff of c and W_v is |
| 292 | the local Bessel function. -/ |
| 293 | theorem enorm_cutBessel_ratEquiv_mul_le (γ : S.G E) : |
| 294 | ‖X.cutBessel a (X.ratEquiv γ * g)‖ₑ ≤ |
| 295 | S.classCutoff a.1 (S.ratToInf γ * X.realHomeomorph g.1) * |
| 296 | ∏ v : NumberField.InfinitePlace E, |
| 297 | ‖(S.besselSystem v).besselFn .full ((S.ratToInf γ * X.realHomeomorph g.1) v)‖ₑ := by |
| 298 | -- A coordinate of a vector is bounded by its norm. |
| 299 | have h_coord (y : NumberField.InfinitePlace E → 𝔰.G₁) : |
| 300 | ‖S.besselFn .full y a.2‖ₑ ≤ ∏ v, ‖(S.besselSystem v).besselFn .full (y v)‖ₑ := by |
| 301 | simp only [besselFn, eNorm_eq_nnNorm, nnNorm_prod] |
| 302 | norm_cast |
| 303 | gcongr |
| 304 | exact nnNorm_apply_le _ _ |
| 305 | simp only [cutBessel_ratEquiv_mul] |
| 306 | split |
| 307 | · grw [enorm_toReal_smul_le, h_coord] |
| 308 | · simp |
| 309 | |
| 310 | end |
| 311 | |
| 312 | /-- The Poincaré series of φ: g ↦ ∑_a φ_a ∑_{γ∈Γ} `New.Filling.Fits.cutBessel` a (γg), where |
| 313 | Γ = `V.Γ` is the group of rational points and a runs over pairs (class, coordinate). -/ |
| 314 | @[local simp] |
| 315 | def poincareSeries (φ : EuclideanSpace ℂ (S.Classes × S.BesselCoord)) (g : New.G E ε) : ℂ := |
| 316 | ∑ a : S.Classes × S.BesselCoord, φ a * ∑' γ : V.Γ, X.cutBessel a (γ * g) |
| 317 | |
| 318 | variable {X} [S.IsAdmissible] |
| 319 | |
| 320 | /-- For admissible filling data, the cut-off Bessel function of a is measurable on the adelic |
| 321 | group. -/ |
| 322 | @[fun_prop] |
| 323 | theorem measurable_cutBessel : Measurable (X.cutBessel a) := |
| 324 | .indicator (by fun_prop) S.stdPrincipalLevel.isOpen'.preimage_of_continuous.measurableSet |
| 325 | |
| 326 | open scoped Classical in |
| 327 | /-- Assume `S.IsAdmissible`. For a = (c, i) and adelic g, sum `X.cutBessel a` at u·g over u in the |
| 328 | rational unipotent group `S.classUnipotent c`, with u embedded by `X.ratEquiv`. The sum is W_i(y), |
| 329 | the i-th coordinate of the full Bessel function `S.besselFn` at the image y of g_∞ under |
| 330 | `X.realHomeomorph`, if h_c⁻¹ ι(η) ψ(g_f) lies in `S.principalLevel`, and 0 otherwise. Here |
| 331 | h_c = `S.classRep c`, η is the central element in `X : S.Fits V l kw Y η`, ι = `S.inclHFin` and |
| 332 | ψ = `X.finiteEquiv`. -/ |
| 333 | theorem tsum_cutBessel_classUnipotent : |
| 334 | ∑' u : S.classUnipotent a.1, X.cutBessel a (X.ratEquiv u * g) = |
| 335 | if (S.classRep a.1)⁻¹ * (S.inclHFin η * X.finiteEquiv g.2) ∈ S.principalLevel then |
| 336 | S.besselFn .full (X.realHomeomorph g.1) a.2 |
| 337 | else 0 := by |
| 338 | -- `S.besselFn` and the condition at the finite places are invariant under `S.classUnipotent a.1`, |
| 339 | -- and the cutoffs `S.classCutoff` sum to `1` over this group. |
| 340 | let x : S.GFin := S.inclHFin η * X.finiteEquiv g.2 |
| 341 | have h_level (u : S.classUnipotent a.1) : |
| 342 | (S.classRep a.1)⁻¹ * (S.ratToFin u * x) ∈ S.principalLevel ↔ |
| 343 | (S.classRep a.1)⁻¹ * x ∈ S.principalLevel := by |
| 344 | have hu : (S.classRep a.1)⁻¹ * S.ratToFin u * S.classRep a.1 ∈ S.principalLevel := by |
| 345 | simpa using (Subgroup.mem_inf.1 u.property).2 |
| 346 | simp [← S.principalLevel.mul_mem_cancel_left hu (y := (S.classRep a.1)⁻¹ * x), mul_assoc] |
| 347 | simp only [cutBessel_ratEquiv_mul, besselFn_mul_of_mem_classUnipotent, h_level, x] |
| 348 | split |
| 349 | · exact tsum_toReal_smul_of_tsum_eq_one (S.tsum_classCutoff_eq_one a.1 (X.realHomeomorph g.1)) _ |
| 350 | · exact tsum_zero |
| 351 | |
| 352 | /-- Let V fit the admissible filling data S (the hypothesis X) and let a = (class, coordinate). The |
| 353 | sums over γ in the group `V.Γ` of rational points of the norms of the cut-off Bessel function |
| 354 | `X.cutBessel a` at γg are bounded uniformly in the adelic point g. |
| 355 | |
| 356 | Known result: a step in the convergence of Poincaré series along a Bessel subgroup. -/ |
| 357 | theorem exists_tsum_enorm_cutBessel_le : |
| 358 | ∃ M : NNReal, ∀ g : New.G E ε, ∑' γ : V.Γ, ‖X.cutBessel a (γ * g)‖ₑ ≤ M := by |
| 359 | -- `M` bounds the sum of the norms over the set `T` of terms over `(c, 1, c)` with `c = a.1`. |
| 360 | let T : Set (S.G E) := Set.univ ∩ S.termsOver a.1 1 a.1 |
| 361 | obtain ⟨M, hM⟩ : ∃ M : NNReal, ∀ y : NumberField.InfinitePlace E → 𝔰.G₁, |
| 362 | ∑' γ : T, S.classCutoff a.1 ((S.ratToInf γ)⁻¹ * y) * |
| 363 | ∏ v, ‖(S.besselSystem v).besselFn .full (((S.ratToInf γ)⁻¹ * y) v)‖ₑ ≤ M := |
| 364 | (exists_tsum_classCutoff_mul_prod_enorm_le .univ a.1 1).imp fun _ hM y ↦ |
| 365 | (le_tsum _ a.1).trans (hM y) |
| 366 | refine ⟨M, fun g ↦ ?_⟩ |
| 367 | -- All terms vanish unless some `δ` satisfies the level condition `InLevel δ` at the finite |
| 368 | -- places. Then write the terms as `γ⁻¹ * δ` and compare with `hM` at the point |
| 369 | -- `S.ratToInf δ * X.realHomeomorph g.1`. |
| 370 | let InLevel (δ : S.G E) : Prop := |
| 371 | (S.classRep a.1)⁻¹ * (S.ratToFin δ * (S.inclHFin η * X.finiteEquiv g.2)) ∈ S.principalLevel |
| 372 | have h_zero (δ : S.G E) (hδ : ¬InLevel δ) : X.cutBessel a (X.ratEquiv δ * g) = 0 := |
| 373 | (X.cutBessel_ratEquiv_mul a g δ).trans (ite_eq_right hδ) |
| 374 | rw [← X.ratEquiv.tsum_eq] |
| 375 | obtain h_none | ⟨δ, hδ⟩ : (∀ δ, ¬InLevel δ) ∨ ∃ δ, InLevel δ := by grind |
| 376 | · simp [h_zero _ (h_none _)] |
| 377 | -- If `γ⁻¹ * δ` satisfies the condition too, then `γ` lies in `T`. |
| 378 | have h_over (γ : S.G E) (hγ : InLevel (γ⁻¹ * δ)) : γ ∈ T := by |
| 379 | simpa [T, principalLevel, termsOver, translateByClassReps, mul_assoc] using mul_mem hδ |
| 380 | (inv_mem hγ) |
| 381 | calc ∑' γ : S.G E, ‖X.cutBessel a (X.ratEquiv γ * g)‖ₑ |
| 382 | = ∑' γ : S.G E, ‖X.cutBessel a (X.ratEquiv (γ⁻¹ * δ) * g)‖ₑ := |
| 383 | ((Equiv.divLeft δ).symm.tsum_eq _).symm |
| 384 | _ = ∑' γ : T, ‖X.cutBessel a (X.ratEquiv (γ.val⁻¹ * δ) * g)‖ₑ := by |
| 385 | refine (tsum_subtype_eq_of_support_subset fun γ hγ ↦ h_over γ (by_contra fun h ↦ ?_)).symm |
| 386 | exact hγ (by simp only [h_zero _ h, eNorm_zero]) |
| 387 | _ ≤ M := by |
| 388 | refine le_trans (tsum_le_tsum fun γ ↦ ?_) (hM (S.ratToInf δ * X.realHomeomorph g.1)) |
| 389 | simpa only [map_mul S.ratToInf, map_inv, mul_assoc] using |
| 390 | X.enorm_cutBessel_ratEquiv_mul_le a g (γ.val⁻¹ * δ) |
| 391 | |
| 392 | /-! ### Unfolding and Petersson products -/ |
| 393 | |
| 394 | /-- If the filling data are admissible, each cut-off Bessel function `X.cutBessel a` is integrable |
| 395 | on the adelic group. -/ |
| 396 | theorem integrable_cutBessel : Integrable (X.cutBessel a) := by |
| 397 | -- The sum of its norms over `V.Γ` is bounded and the quotient by `V.Γ` has finite volume. |
| 398 | refine ⟨by fun_prop, ?_⟩ |
| 399 | calc ∫⁻ g, ‖X.cutBessel a g‖ₑ |
| 400 | _ = ∫⁻ g, ∫⁻ γ : V.Γ, ‖X.cutBessel a (γ • g)‖ₑ ∂.count ∂V.quotMeasure := |
| 401 | (lintegral_orbitMeasure_lintegral (by fun_prop)).symm |
| 402 | _ < ⊤ := by |
| 403 | simp_rw [lintegral_count] |
| 404 | exact IsFiniteMeasure.lintegral_lt_top_of_bounded_to_ennreal _ |
| 405 | (X.exists_tsum_enorm_cutBessel_le a) |
| 406 | |
| 407 | omit [S.IsAdmissible] [HasPrimitiveRoot5040 E] in |
| 408 | /-- A function y invariant under Γ = `V.Γ` moves into the sum over Γ of the translates of |
| 409 | `X.cutBessel a`. -/ |
| 410 | private theorem mul_tsum_cutBessel {y : New.G E ε → ℂ} |
| 411 | (hy_inv : ∀ (γ : V.Γ) (g : New.G E ε), y (γ * g) = y g) : |
| 412 | y g * ∑' γ : V.Γ, X.cutBessel a (γ * g) = ∑' γ : V.Γ, y (γ * g) * X.cutBessel a (γ * g) := by |
| 413 | simp only [hy_inv, tsum_mul_left] |
| 414 | |
| 415 | /-- For admissible filling data and a form y on V of any type e (a bounded automorphic function), |
| 416 | the product y·`X.cutBessel a` is integrable on the adelic group. -/ |
| 417 | theorem integrable_mul_cutBessel {e : GInf E ε → ℂ} {y : New.G E ε → ℂ} (hy : V.IsForm e y) : |
| 418 | Integrable fun g : New.G E ε ↦ y g * X.cutBessel a g := by |
| 419 | simpa only [mul_comm, id] using |
| 420 | hy.isBoundedMeasurable.integrable_mul_comp (X.integrable_cutBessel a) id |
| 421 | |
| 422 | /-- For admissible filling data and a form y on V of any type e, the product of y with the sum over |
| 423 | Γ = `V.Γ` of the translates of `X.cutBessel a` is integrable on Γ∖G. -/ |
| 424 | theorem integrable_mul_tsum_cutBessel {e : GInf E ε → ℂ} {y : New.G E ε → ℂ} (hy : V.IsForm e y) : |
| 425 | Integrable (fun g : New.G E ε ↦ y g * ∑' γ : V.Γ, X.cutBessel a (γ * g)) V.Γ.quotMeasure := by |
| 426 | have hy_inv (γ : V.Γ) (g : New.G E ε) : y (γ * g) = y g := hy.rat_mul _ γ.property g |
| 427 | simpa only [mul_tsum_cutBessel a _ hy_inv] using |
| 428 | integrable_quotMeasure_tsum V.Γ (integrable_mul_cutBessel a hy) |
| 429 | |
| 430 | /-- Unfolding of one term, for admissible filling data and a form y on V of any type e: the |
| 431 | integral over Γ∖G of y times the sum over Γ = `V.Γ` of the translates of `X.cutBessel a` is |
| 432 | ∫_G y·`X.cutBessel a`. -/ |
| 433 | theorem integral_mul_tsum_cutBessel {e : GInf E ε → ℂ} {y : New.G E ε → ℂ} (hy : V.IsForm e y) : |
| 434 | ∫ g : New.G E ε, y g * ∑' γ : V.Γ, X.cutBessel a (γ * g) ∂V.Γ.quotMeasure = |
| 435 | ∫ g : New.G E ε, y g * X.cutBessel a g := by |
| 436 | have hy_inv (γ : V.Γ) (g : New.G E ε) : y (γ * g) = y g := hy.rat_mul _ γ.property g |
| 437 | simpa only [mul_tsum_cutBessel a _ hy_inv] using |
| 438 | integral_quotMeasure_tsum_eq V.Γ (integrable_mul_cutBessel a hy) |
| 439 | |
| 440 | /-- Unfolding, for admissible filling data and a form y on V of any type e (a bounded automorphic |
| 441 | function): the integral over Γ∖G of y times the Poincaré series of φ is |
| 442 | ∑_a φ_a ∫_G y·`X.cutBessel a`. -/ |
| 443 | theorem integral_mul_poincareSeries {e : GInf E ε → ℂ} {y : New.G E ε → ℂ} (hy : V.IsForm e y) : |
| 444 | ∫ g : New.G E ε, y g * X.poincareSeries φ g ∂V.Γ.quotMeasure = |
| 445 | ∑ a : S.Classes × S.BesselCoord, φ a * ∫ g : New.G E ε, y g * X.cutBessel a g := by |
| 446 | simp only [poincareSeries, Finset.mul_sum, mul_left_comm (y _)] |
| 447 | rw [integral_finsetSum _ fun a _ ↦ (integrable_mul_tsum_cutBessel a hy).const_mul (φ a)] |
| 448 | simp only [integral_const_mul, integral_mul_tsum_cutBessel _ hy] |
| 449 | |
| 450 | omit [S.IsAdmissible] [HasPrimitiveRoot5040 E] in |
| 451 | /-- Right convolution over the real points with `typeKernel l ε` fixes each coordinate of the full |
| 452 | Bessel function, read on G_∞ through `X.realHomeomorph`. -/ |
| 453 | theorem integral_typeKernel_mul_besselFn (x : GInf E ε) (i : S.BesselCoord) : |
| 454 | ∫ z : GInf E ε, typeKernel l ε z * S.besselFn .full (X.realHomeomorph (x * z)) i = |
| 455 | S.besselFn .full (X.realHomeomorph x) i := by |
| 456 | -- `X.realHomeomorph` is `frameEquiv.symm` at each place, followed by a left translation. |
| 457 | have h_homeo (z : GInf E ε) (v : NumberField.InfinitePlace E) : |
| 458 | X.realHomeomorph (x * z) v = X.realHomeomorph x v * DiscreteSeries.frameEquiv.symm (z v) := by |
| 459 | simp [realHomeomorph, mul_assoc] |
| 460 | rfl |
| 461 | -- The integrand is a product over the places, and the kernel at `v` fixes the local function. |
| 462 | let F (v : NumberField.InfinitePlace E) (z : USign ε) : ℂ := (l v).dsKernel z * |
| 463 | (S.besselSystem v).besselFn .full (X.realHomeomorph x v * DiscreteSeries.frameEquiv.symm z) |
| 464 | (i v) |
| 465 | calc ∫ z : GInf E ε, typeKernel l ε z * S.besselFn .full (X.realHomeomorph (x * z)) i |
| 466 | = ∫ z : GInf E ε, ∏ v, F v (z v) := by simp only [F, besselFn, h_homeo, prod_mul_distrib] |
| 467 | _ = ∏ v, ∫ z : USign ε, F v z := integral_fintype_prod_volume_eq_prod F |
| 468 | _ = S.besselFn .full (X.realHomeomorph x) i := |
| 469 | prod_congr rfl fun v _ ↦ (X.isDiscreteSeriesBessel v).integral_dsKernel_mul |
| 470 | (X.realHomeomorph x v) (i v) |
| 471 | |
| 472 | /-- Assume `S.IsAdmissible`. Let a = (c, i) and δ be in the adelic group. Consider the function |
| 473 | x ↦ sum over u in `S.classUnipotent c` of `X.cutBessel a` (u δ x). This function is fixed by right |
| 474 | convolution with `typeKernel l ε`: its convolution at each g equals its value at g. -/ |
| 475 | theorem realConv_tsum_cutBessel_classUnipotent (δ : New.G E ε) : |
| 476 | realConv (typeKernel l ε) |
| 477 | (fun x : New.G E ε ↦ ∑' u : S.classUnipotent a.1, X.cutBessel a (X.ratEquiv u * (δ * x))) g |
| 478 | = |
| 479 | ∑' u : S.classUnipotent a.1, X.cutBessel a (X.ratEquiv u * (δ * g)) := by |
| 480 | classical |
| 481 | -- The sum is a translate of `S.besselFn` times an indicator at the finite places. |
| 482 | have h_sum (x : GInf E ε) : |
| 483 | ∑' u : S.classUnipotent a.1, X.cutBessel a ((X.ratEquiv u : New.G E ε) * (δ * (g * (x, 1)))) = |
| 484 | if (S.classRep a.1)⁻¹ * (S.inclHFin η * X.finiteEquiv (δ * g).2) ∈ S.principalLevel then |
| 485 | S.besselFn .full (X.realHomeomorph ((δ * g).1 * x)) a.2 |
| 486 | else 0 := by |
| 487 | simp [tsum_cutBessel_classUnipotent, mul_assoc] |
| 488 | simp only [realConv, h_sum, tsum_cutBessel_classUnipotent] |
| 489 | split |
| 490 | · exact X.integral_typeKernel_mul_besselFn _ _ |
| 491 | · simp only [mul_zero, integral_zero] |
| 492 | |
| 493 | /-- Let V fit the admissible filling data S (the hypothesis X) and let a = (class, coordinate). The |
| 494 | series g ↦ ∑_γ `X.cutBessel a` (γg) over the rational points γ ∈ `V.Γ` is a form on V of type |
| 495 | `typeKernel l ε` (the discrete series kernel of parameter l) and level `S.stdPrincipalLevel`. -/ |
| 496 | theorem exists_levelSpace_tsum_cutBessel_eq : |
| 497 | ∃ y : levelSpace (V.formRep (typeKernel l ε)) S.stdPrincipalLevel, ∀ g : New.G E ε, |
| 498 | ∑' γ : V.Γ, X.cutBessel a (γ * g) = (y : V.Form (typeKernel l ε)) g := by |
| 499 | obtain ⟨M, hM⟩ := X.exists_tsum_enorm_cutBessel_le a |
| 500 | -- Group the series by cosets of `S.classUnipotent a.1`; `F q` is the part of the coset `q`. |
| 501 | let cosetEquiv : (S.G E ⧸ S.classUnipotent a.1) × S.classUnipotent a.1 ≃ V.Γ := |
| 502 | (cosetProdEquiv (S.classUnipotent a.1)).trans X.ratEquiv.toEquiv |
| 503 | let F (q : S.G E ⧸ S.classUnipotent a.1) (g : New.G E ε) : ℂ := |
| 504 | ∑' u : S.classUnipotent a.1, X.cutBessel a (cosetEquiv (q, u) * g) |
| 505 | have h_group (g : New.G E ε) : |
| 506 | ∑' γ : V.Γ, X.cutBessel a (γ * g) = ∑' q : S.G E ⧸ S.classUnipotent a.1, F q g := by |
| 507 | rw [← cosetEquiv.tsum_eq] |
| 508 | exact (cosetEquiv.summable_iff.2 (.of_eNorm ((hM g).trans_lt ENNReal.coe_lt_top).ne)).tsum_prod |
| 509 | have h_bound (g : New.G E ε) : ∑' q : S.G E ⧸ S.classUnipotent a.1, ‖F q g‖ₑ ≤ M := by |
| 510 | grw [← hM g, ← cosetEquiv.tsum_eq, tsum_prod', ← eNorm_tsum_le_tsum_eNorm] |
| 511 | have h_fix (q : S.G E ⧸ S.classUnipotent a.1) (g : New.G E ε) : |
| 512 | realConv (typeKernel l ε) (F q) g = F q g := by |
| 513 | simpa [F, cosetEquiv, mul_assoc] using |
| 514 | X.realConv_tsum_cutBessel_classUnipotent a g (X.ratEquiv q.out⁻¹) |
| 515 | have h_level : HasLevel (X.cutBessel a) S.stdPrincipalLevel := fun k hk g ↦ by |
| 516 | classical |
| 517 | rw [cutBessel, cutBessel, show (g * ((1 : GInf E ε), k)).1 = g.1 from mul_one g.1] |
| 518 | exact if_congr (by rw [Prod.snd_mul, ← mul_assoc, mul_mem_cancel_right hk]) rfl rfl |
| 519 | have : Countable (S.G E ⧸ S.classUnipotent a.1) := inferInstanceAs (Countable (Quotient _)) |
| 520 | obtain ⟨y, hy⟩ : |
| 521 | ∃ y : levelSpace (V.formRep (typeKernel l ε)) S.stdPrincipalLevel.toSubgroup, |
| 522 | (y.val : New.G E ε → ℂ) = fun g : New.G E ε ↦ |
| 523 | ∑' q : S.G E ⧸ S.classUnipotent a.1, realConv (typeKernel l ε) (F q) g := |
| 524 | V.exists_form_eq_tsum X.isIdempotentKernel S.stdPrincipalLevel (by fun_prop) h_level h_group |
| 525 | ENNReal.coe_ne_top h_bound |
| 526 | exact ⟨y, fun g ↦ by simp only [hy, h_fix, h_group]⟩ |
| 527 | |
| 528 | variable (X) in |
| 529 | open scoped Classical in |
| 530 | /-- For admissible filling data, the linear map from source forms φ to forms of type |
| 531 | `typeKernel l ε` and level `S.stdPrincipalLevel` that sends the basis vector at a to the form |
| 532 | g ↦ ∑_{γ∈Γ} `X.cutBessel a` (γg). It sends φ to the Poincaré series of φ, by |
| 533 | `New.Filling.Fits.coe_poincareMap`. -/ |
| 534 | def poincareMap : |
| 535 | EuclideanSpace ℂ (S.Classes × S.BesselCoord) →ₗ[ℂ] |
| 536 | levelSpace (V.formRep (typeKernel l ε)) S.stdPrincipalLevel := |
| 537 | (basisFun 2 ℂ (S.Classes × S.BesselCoord)).constr ℂ fun a : S.Classes × S.BesselCoord ↦ |
| 538 | (X.exists_levelSpace_tsum_cutBessel_eq a).choose |
| 539 | |
| 540 | omit [S.IsAdmissible] in |
| 541 | /-- Let the hermitian space V fit the admissible filling data S (the hypothesis X), and let φ be a |
| 542 | vector with coordinates φ_a indexed by pairs a = (class, Bessel coordinate). The form |
| 543 | `X.poincareMap φ` on V, of type `typeKernel l ε` and level `S.stdPrincipalLevel`, is as a function |
| 544 | on the adelic group the Poincaré series `X.poincareSeries φ`. -/ |
| 545 | theorem coe_poincareMap (X : S.Fits V l kw Y η) [S.IsAdmissible] |
| 546 | (φ : EuclideanSpace ℂ (S.Classes × S.BesselCoord)) : |
| 547 | ⇑(X.poincareMap φ : V.Form (typeKernel l ε)) = X.poincareSeries φ := by |
| 548 | funext g |
| 549 | -- Evaluation at `g` is linear on the level space. |
| 550 | let ev : levelSpace (V.formRep (typeKernel l ε)) S.stdPrincipalLevel →ₗ[ℂ] ℂ := |
| 551 | { toFun z := (z : V.Form (typeKernel l ε)) g |
| 552 | map_add' _ _ := rfl |
| 553 | map_smul' _ _ := rfl } |
| 554 | change ev (X.poincareMap φ) = X.poincareSeries φ g |
| 555 | rw [show ev (X.poincareMap φ) = |
| 556 | ∑ a, φ a * ev (X.exists_levelSpace_tsum_cutBessel_eq a).choose by simp [poincareMap]] |
| 557 | exact sum_congr rfl fun a _ ↦ |
| 558 | congrArg (φ a * ·) ((X.exists_levelSpace_tsum_cutBessel_eq a).choose_spec g).symm |
| 559 | |
| 560 | omit [S.IsAdmissible] [HasPrimitiveRoot5040 E] in |
| 561 | /-- The homeomorphism `X.realHomeomorph` from G_∞ onto ∏_v `𝔰.G₁` preserves the volumes. -/ |
| 562 | theorem measurePreserving_realHomeomorph : MeasurePreserving X.realHomeomorph.toMeasurableEquiv := |
| 563 | .symm X.realHomeomorph.symm.toMeasurableEquiv <| volume_preserving_pi fun _ ↦ |
| 564 | DiscreteSeries.measurePreserving_frameEquiv.comp (measurePreserving_mul_left _ _) |
| 565 | |
| 566 | variable (X) in |
| 567 | /-- The point ψ⁻¹(ι(η)⁻¹ h_c) of the finite adelic group of V that represents the class c. Here |
| 568 | h_c = `S.classRep c`, ψ = `New.Filling.Fits.finiteEquiv`, ι = `New.Filling.inclHFin`, and η is the |
| 569 | central element of the fit. -/ |
| 570 | def classPoint (c : S.Classes) : Gf E 𝔰.BesselIndex := |
| 571 | X.finiteEquiv.symm ((S.inclHFin η)⁻¹ * S.classRep c) |
| 572 | |
| 573 | open scoped Classical in |
| 574 | omit [S.IsAdmissible] [HasPrimitiveRoot5040 E] in |
| 575 | /-- The function `X.cutBessel a g` equals `S.classCutoff a.1` times the `a.2`-th coordinate of |
| 576 | `S.besselFn .full`, both evaluated at `X.realHomeomorph g.1`, times the indicator of |
| 577 | `S.stdPrincipalLevel` evaluated at `(X.classPoint a.1)⁻¹ * g.2`. -/ |
| 578 | theorem cutBessel_eq_mul_indicator (g : New.G E ε) : |
| 579 | X.cutBessel a g = |
| 580 | ((S.classCutoff a.1 (X.realHomeomorph g.1)).toReal • S.besselFn .full (X.realHomeomorph g.1) |
| 581 | a.2) * |
| 582 | S.stdPrincipalLevel.carrier.indicator 1 ((X.classPoint a.1)⁻¹ * g.2) := by |
| 583 | have h_point : (X.classPoint a.1)⁻¹ = X.finiteEquiv.symm ((S.classRep a.1)⁻¹ * S.inclHFin η) := by |
| 584 | simp [classPoint] |
| 585 | simp [cutBessel, h_point, Set.indicator] |
| 586 | |
| 587 | /-- **Folding.** Let V fit the admissible filling data S (the hypothesis X), and let z be a form on |
| 588 | V of type e and principal level J = `S.stdPrincipalLevel`. The integral over Γ∖G, Γ = `V.Γ`, of z |
| 589 | times the Poincaré series of φ is the volume of J times the sum over the classes c of ∫_{G_∞} β_c(y) |
| 590 | (∑_i φ_{(c, i)} W_i(y)) z(x, x_c) dx. Here y is the image of x under `X.realHomeomorph`, |
| 591 | x_c = `X.classPoint c`, W_i is the i-th coordinate of the Bessel function, and |
| 592 | β_c = `S.classCutoff c` is the cutoff for the quotient by `S.classUnipotent c`. -/ |
| 593 | theorem integral_mul_poincareSeries_eq_sum_classes {e : GInf E ε → ℂ} {z : New.G E ε → ℂ} |
| 594 | (hz : V.IsForm e z) (hz_level : HasLevel z S.stdPrincipalLevel.toSubgroup) : |
| 595 | ∫ g : New.G E ε, z g * X.poincareSeries φ g ∂V.Γ.quotMeasure = |
| 596 | volume.real S.stdPrincipalLevel.carrier * ∑ c : S.Classes, ∫ x : GInf E ε, |
| 597 | (S.classCutoff c (X.realHomeomorph x)).toReal • |
| 598 | (∑ i : S.BesselCoord, φ (c, i) * S.besselFn .full (X.realHomeomorph x) i) * |
| 599 | z (x, X.classPoint c) := by |
| 600 | rw [X.integral_mul_poincareSeries φ hz, Fintype.sum_prod_type, mul_sum] |
| 601 | refine sum_congr rfl fun c _ ↦ ?_ |
| 602 | -- On the coset of `x_c` the form `z` does not depend on the finite part, so the integrand splits. |
| 603 | set A : GInf E ε → ℂ := fun x ↦ (S.classCutoff c (X.realHomeomorph x)).toReal • |
| 604 | (∑ i : S.BesselCoord, φ (c, i) * S.besselFn .full (X.realHomeomorph x) i) * z |
| 605 | (x, X.classPoint c) |
| 606 | let χ (x : Gf E 𝔰.BesselIndex) : ℂ := |
| 607 | S.stdPrincipalLevel.carrier.indicator 1 ((X.classPoint c)⁻¹ * x) |
| 608 | have h_split (g : New.G E ε) : |
| 609 | ∑ i : S.BesselCoord, φ (c, i) * (z g * X.cutBessel (c, i) g) = A g.1 * χ g.2 := by |
| 610 | simp only [cutBessel_eq_mul_indicator] |
| 611 | by_cases hg : (X.classPoint c)⁻¹ * g.2 ∈ S.stdPrincipalLevel.carrier |
| 612 | · have h_value : z g = z (g.1, X.classPoint c) := by |
| 613 | simpa using hz_level _ hg (g.1, X.classPoint c) |
| 614 | simp only [A, χ, h_value, real_smul, mul_sum, sum_mul] |
| 615 | exact sum_congr rfl fun i _ ↦ by ring |
| 616 | · simp [χ, Set.indicator_of_notMem hg] |
| 617 | have h_vol : ∫ x : Gf E 𝔰.BesselIndex, χ x = volume.real S.stdPrincipalLevel.carrier := by |
| 618 | rw [integral_mul_left_eq_self (Set.indicator _ 1), Pi.one_def, |
| 619 | integral_indicator_const _ S.stdPrincipalLevel.isOpen'.measurableSet, real_smul, mul_one] |
| 620 | calc |
| 621 | ∑ i : S.BesselCoord, φ (c, i) * ∫ g : New.G E ε, z g * X.cutBessel (c, i) g |
| 622 | = ∫ g : New.G E ε, A g.1 * χ g.2 := by |
| 623 | simp only [← h_split, ← integral_const_mul] |
| 624 | exact (integral_finsetSum _ fun i _ ↦ (integrable_mul_cutBessel (c, i) hz).const_mul _).symm |
| 625 | _ = (∫ x : GInf E ε, A x) * ∫ x : Gf E 𝔰.BesselIndex, χ x := integral_prod_mul A χ |
| 626 | _ = _ := by rw [h_vol, mul_comm] |
| 627 | |
| 628 | end Series |
| 629 | |
| 630 | omit [HasPrimitiveRoot5040 E] p in |
| 631 | /-- The principal level `S.stdPrincipalLevel` is normalised by the integral group `New.stdLevel`, so |
| 632 | the translate by an integral k of a function of principal level has principal level. -/ |
| 633 | theorem hasLevel_mul_right {S : Filling E 𝔰} {z : New.G E ε → ℂ} |
| 634 | (hz : HasLevel z S.stdPrincipalLevel.toSubgroup) (k : stdLevel E 𝔰.BesselIndex) : |
| 635 | HasLevel (fun g : New.G E ε ↦ z (g * (1, k.val))) S.stdPrincipalLevel.toSubgroup := by |
| 636 | rintro _ ⟨u, hu, rfl⟩ g |
| 637 | have h_conj : ((k⁻¹ * u * k : stdLevel E 𝔰.BesselIndex) : Gf E 𝔰.BesselIndex) ∈ |
| 638 | S.stdPrincipalLevel.toSubgroup := |
| 639 | ⟨k⁻¹ * u * k, Normal.conj_mem' inferInstance u hu k, rfl⟩ |
| 640 | have h_swap : g * (1, u.val) * (1, k.val) = g * (1, k.val) * (1, (k⁻¹ * u * k).val) := by |
| 641 | simp [mul_assoc] |
| 642 | exact (congrArg z h_swap).trans (hz _ h_conj (g * (1, k.val))) |
| 643 | |
| 644 | omit [HasPrimitiveRoot5040 E] in |
| 645 | /-- Let S be filling data, K = `S.latticeStabilizer` the integral points of its finite adelic |
| 646 | unitary group, and K(M) = `S.principalLevel` the elements of K whose reduction at the chosen places |
| 647 | is 1. Let c, c' be classes with representatives h_c = `S.classRep c` and h_c', let x be a finite |
| 648 | adelic point with h_c⁻¹ x ∈ K(M), and let k ∈ K have reduction s. For a rational point γ with finite |
| 649 | part γ_f = `S.ratToFin γ`, the element h_c'⁻¹ γ_f⁻¹ x k lies in K(M) if and only if γ is a term over |
| 650 | (c, s, c'). -/ |
| 651 | theorem mem_principalLevel_iff_mem_termsOver {S : Filling E 𝔰} {c : S.Classes} (c' : S.Classes) |
| 652 | {s : S.ResidueGL} {x : S.GFin} (hx : (S.classRep c)⁻¹ * x ∈ S.principalLevel) |
| 653 | {k : S.latticeStabilizer} (hk : S.reduction k = s) (γ : S.G E) : |
| 654 | (S.classRep c')⁻¹ * ((S.ratToFin γ)⁻¹ * (x * (k : S.GFin))) ∈ S.principalLevel ↔ |
| 655 | γ ∈ S.termsOver c s c' := by |
| 656 | -- With `m = h_c⁻¹ x` in K of reduction 1, the element in question is `(h_c⁻¹ γ_f h_c')⁻¹ m k`. |
| 657 | obtain ⟨m, hm_red, hm⟩ : ∃ m : S.latticeStabilizer, |
| 658 | S.reduction m = 1 ∧ (m : S.GFin) = (S.classRep c)⁻¹ * x := mem_map.1 hx |
| 659 | have h_elem : (S.classRep c')⁻¹ * ((S.ratToFin γ)⁻¹ * (x * (k : S.GFin))) = |
| 660 | (S.translateByClassReps c c' γ)⁻¹ * (m * k : S.latticeStabilizer) := by |
| 661 | simp [hm, translateByClassReps, mul_assoc] |
| 662 | have h_red : S.reduction (m * k) = s := by rw [map_mul, hm_red, hk, one_mul] |
| 663 | -- The two coset tests differ by inversion in the principal level subgroup. |
| 664 | rw [h_elem, ← h_red, mem_termsOver_reduction_iff, ← S.principalLevel.inv_mem_iff, |
| 665 | _root_.mul_inv_rev, inv_inv] |
| 666 | |
| 667 | /-- Let the filling data S be admissible, let T be a set of rational points, c and c' classes with |
| 668 | representatives h_c and h_c', and s a family of matrices over the residue fields of the chosen |
| 669 | places. The terms over (c, s, c') are the rational γ such that h_c⁻¹ γ h_c' lies in |
| 670 | `S.latticeStabilizer` and has reduction s. The amplitude sum is the sum, over the terms γ in T, of |
| 671 | the integrals over y ∈ ∏_v `𝔰.G₁` of β_c(y) β_c'(γ⁻¹y) `S.besselKernel .full γ y`. In its entry |
| 672 | i = (i₁, i₂) sum and integral can be exchanged. Here `𝔰.G₁` is the complex unitary group of the |
| 673 | hermitian form of the shape 𝔰, β_c is the cutoff `S.classCutoff c`, and the entry i of the kernel is |
| 674 | W_{i₁}(y) conj(W_{i₂}(γ⁻¹y)), with W the full Bessel function. -/ |
| 675 | theorem amplitudeSum_apply_eq_integral_tsum {S : Filling E 𝔰} [S.IsAdmissible] (T : Set (S.G E)) |
| 676 | (c : S.Classes) (s : S.ResidueGL) (c' : S.Classes) (i : S.BesselCoord × S.BesselCoord) : |
| 677 | S.amplitudeSum .full T c s c' i = |
| 678 | ∫ y : NumberField.InfinitePlace E → 𝔰.G₁, ∑' γ : ↥(T ∩ S.termsOver c s c'), |
| 679 | (S.classCutoff c y * S.classCutoff c' ((S.ratToInf γ)⁻¹ * y)).toReal • |
| 680 | S.besselKernel .full γ y i := by |
| 681 | have h_fin : ∑' γ : ↥(T ∩ S.termsOver c s c'), ∫⁻ y, |
| 682 | ‖(S.classCutoff c y * S.classCutoff c' ((S.ratToInf γ)⁻¹ * y)).toReal • |
| 683 | S.besselKernel .full γ y‖ₑ < ⊤ := by |
| 684 | grw [enorm_toReal_smul_le] |
| 685 | exact (le_tsum _ c').trans_lt (tsum_amplitudeMajorant_lt_top T c s) |
| 686 | simpa only [amplitudeSum, amplitude, PiLp.smul_apply] using |
| 687 | tsum_integral_apply (by fun_prop) h_fin i |
| 688 | |
| 689 | open scoped Classical in |
| 690 | /-- Let the hermitian space `V` with grading `Y` and central element `η` fit the admissible filling |
| 691 | data `S` via `X` (with infinite-place parameters `l` and `kw`), let `c` and `c'` be classes of |
| 692 | `S`, let `i'` be a Bessel coordinate, and let `k` in `New.stdLevel` have reduction `s` at the |
| 693 | chosen places. Then at `(x, X.classPoint c)` for any infinite-place point `x`, the `k`-translate of |
| 694 | the Poincaré series `X.poincareMap` of the basis vector at `(c', i')` equals the sum over rational |
| 695 | `γ` in `S.termsOver c s c'` of the cutoff `S.classCutoff c'` times the full Bessel function |
| 696 | `S.besselFn .full` at `(S.ratToInf γ)⁻¹ * X.realHomeomorph x` and `i'`. -/ |
| 697 | private lemma formRep_poincareMap_classPoint {S : Filling E 𝔰} {V : Space E 𝔰.BesselIndex ε} |
| 698 | {l : NumberField.InfinitePlace E → HCParam ε} {kw : NumberField.InfinitePlace E → ℕ → ℕ} |
| 699 | {Y : Grading V S.N 𝔰.κ (2 * 𝔰.ϱ + 1)} {η : Gf E 𝔰.κ} {X : S.Fits V l kw Y η} [S.IsAdmissible] |
| 700 | (c c' : S.Classes) (i' : S.BesselCoord) {k : stdLevel E 𝔰.BesselIndex} {s : S.ResidueGL} |
| 701 | (hs : stdLevel.reduceFamily (fun w : Σ j : Fin 2, S.chosenPlaces j ↦ (w.snd : FinPlace E)) k = |
| 702 | Sigma.uncurry s) |
| 703 | (x : GInf E ε) : |
| 704 | (V.formRep (typeKernel l ε) (k : Gf E 𝔰.BesselIndex) |
| 705 | (X.poincareMap (EuclideanSpace.single (c', i') 1) : V.Form (typeKernel l ε))) |
| 706 | (x, X.classPoint c) = |
| 707 | ∑' γ : ↥(Set.univ ∩ S.termsOver c s c'), |
| 708 | (S.classCutoff c' ((S.ratToInf γ)⁻¹ * X.realHomeomorph x)).toReal • |
| 709 | S.besselFn .full ((S.ratToInf γ)⁻¹ * X.realHomeomorph x) i' := by |
| 710 | -- At `(x, x_c)` the term `γ⁻¹` of the series survives exactly when `γ` lies over `(c, s, c')`. |
| 711 | obtain ⟨hk_mem, hk_red⟩ := (X.reduction_finiteEquiv_iff k s).2 ⟨k.property, hs⟩ |
| 712 | have h_one : (S.classRep c)⁻¹ * S.classRep c ∈ S.principalLevel := by simp |
| 713 | have h_term (γ : S.G E) : |
| 714 | X.cutBessel (c', i') ((X.ratEquiv γ⁻¹ : New.G E ε) * ((x, X.classPoint c) * (1, k.val))) = |
| 715 | if γ ∈ S.termsOver c s c' then |
| 716 | (S.classCutoff c' ((S.ratToInf γ)⁻¹ * X.realHomeomorph x)).toReal • |
| 717 | S.besselFn .full ((S.ratToInf γ)⁻¹ * X.realHomeomorph x) i' else 0 := by |
| 718 | rw [cutBessel_ratEquiv_mul] |
| 719 | simp [← mem_principalLevel_iff_mem_termsOver c' h_one hk_red γ, classPoint, mul_assoc] |
| 720 | calc |
| 721 | _ = ∑' γ : S.G E, |
| 722 | X.cutBessel (c', i') |
| 723 | ((X.ratEquiv γ⁻¹ : New.G E ε) * ((x, X.classPoint c) * (1, k.val))) := by |
| 724 | change (X.poincareMap (.single (c', i') 1)).val ((x, X.classPoint c) * (1, k.val)) = _ |
| 725 | rw [X.coe_poincareMap] |
| 726 | simp [poincareSeries, ← ((Equiv.inv (S.G E)).trans X.ratEquiv.toEquiv).tsum_eq] |
| 727 | _ = _ := by |
| 728 | rw [_root_.tsum_subtype (Set.univ ∩ S.termsOver c s c') (fun γ : S.G E ↦ |
| 729 | (S.classCutoff c' ((S.ratToInf γ)⁻¹ * X.realHomeomorph x)).toReal • |
| 730 | S.besselFn .full ((S.ratToInf γ)⁻¹ * X.realHomeomorph x) i')] |
| 731 | simp only [h_term, Set.univ_inter, Set.indicator] |
| 732 | |
| 733 | open scoped Classical in |
| 734 | /-- Let the hermitian space V fit the admissible filling data S, and let 𝒫a be the Poincaré series |
| 735 | (`X.poincareMap`) of the basis vector at a, as a form on V of type `typeKernel l ε`. For a = (c, i), |
| 736 | a' = (c', i') and k in `New.stdLevel` with reduction s at the chosen places, the Petersson product |
| 737 | ⟨k𝒫a', 𝒫a⟩ is the volume of `S.stdPrincipalLevel` times the (i, i') entry of the amplitude sum, ∑_γ |
| 738 | ∫ β_c(y) β_c'(γ⁻¹y) W_i(y) conj(W_i'(γ⁻¹y)) dy. Here γ runs over the rational points such that h_c⁻¹ |
| 739 | γ h_c' lies in `S.latticeStabilizer` and has reduction s, y runs over ∏_v `𝔰.G₁`, |
| 740 | h_c = `S.classRep c`, β_c = `S.classCutoff c`, and W is the full Bessel function |
| 741 | `S.besselFn .full`. -/ |
| 742 | theorem petersson_poincare {S : Filling E 𝔰} {V : Space E 𝔰.BesselIndex ε} |
| 743 | {l : NumberField.InfinitePlace E → HCParam ε} {kw : NumberField.InfinitePlace E → ℕ → ℕ} |
| 744 | {Y : Grading V S.N 𝔰.κ (2 * 𝔰.ϱ + 1)} {η : Gf E 𝔰.κ} {X : S.Fits V l kw Y η} [S.IsAdmissible] |
| 745 | (c c' : S.Classes) (i i' : S.BesselCoord) {k : stdLevel E 𝔰.BesselIndex} {s : S.ResidueGL} |
| 746 | (hs : stdLevel.reduceFamily (fun w : Σ j : Fin 2, S.chosenPlaces j ↦ (w.snd : FinPlace E)) k = |
| 747 | Sigma.uncurry s) : |
| 748 | inner ℂ |
| 749 | (V.formRep (typeKernel l ε) (k : Gf E 𝔰.BesselIndex) |
| 750 | (X.poincareMap (EuclideanSpace.single (c', i') 1) : V.Form (typeKernel l ε))) |
| 751 | (X.poincareMap (EuclideanSpace.single (c, i) 1)) = |
| 752 | volume.real S.stdPrincipalLevel.carrier * |
| 753 | S.amplitudeSum .full Set.univ c s c' (i, i') := by |
| 754 | -- Fold the series of `(c, i)` against the translate `z` of that of `(c', i')`, which stays a sum. |
| 755 | set z : V.Form (typeKernel l ε) := V.formRep (typeKernel l ε) (k : Gf E 𝔰.BesselIndex) |
| 756 | (X.poincareMap (EuclideanSpace.single (c', i') 1) : V.Form (typeKernel l ε)) |
| 757 | have hz_level : HasLevel (star ⇑z) S.stdPrincipalLevel.toSubgroup := fun u hu g ↦ |
| 758 | congrArg star (hasLevel_mul_right |
| 759 | (V.mem_levelSpace_formRep_iff.1 (X.poincareMap (.single (c', i') 1)).property) k u hu g) |
| 760 | -- At `(x, x_c)` the term `γ⁻¹` of the series survives exactly when `γ` lies over `(c, s, c')`. |
| 761 | have h_value (x : GInf E ε) : z (x, X.classPoint c) = |
| 762 | ∑' γ : ↥(Set.univ ∩ S.termsOver c s c'), |
| 763 | (S.classCutoff c' ((S.ratToInf γ)⁻¹ * X.realHomeomorph x)).toReal • |
| 764 | S.besselFn .full ((S.ratToInf γ)⁻¹ * X.realHomeomorph x) i' := |
| 765 | formRep_poincareMap_classPoint c c' i' hs x |
| 766 | calc |
| 767 | _ = ∫ g : New.G E ε, star (z g) * X.poincareSeries (.single (c, i) 1) g ∂V.Γ.quotMeasure := by |
| 768 | rw [← X.coe_poincareMap] |
| 769 | rfl |
| 770 | _ = volume.real S.stdPrincipalLevel.carrier * ∫ x : GInf E ε, |
| 771 | (S.classCutoff c (X.realHomeomorph x)).toReal • S.besselFn .full (X.realHomeomorph x) i * |
| 772 | star (z (x, X.classPoint c)) := by |
| 773 | refine (integral_mul_poincareSeries_eq_sum_classes _ (z.property : V.IsForm _ z).conj |
| 774 | hz_level).trans ?_ |
| 775 | rw [Fintype.sum_eq_single c fun d hd ↦ by simp [Prod.ext_iff, hd]] |
| 776 | simp [Prod.ext_iff] |
| 777 | _ = _ := by |
| 778 | rw [amplitudeSum_apply_eq_integral_tsum, ← X.measurePreserving_realHomeomorph.integral_comp'] |
| 779 | refine congrArg _ (integral_congr_ae (.of_forall fun x ↦ ?_)) |
| 780 | simp only [h_value, tsum_star, ← tsum_mul_left, besselKernel, ENNReal.toReal_mul, real_smul, |
| 781 | ofReal_mul, star_mul', Homeomorph.toMeasurableEquiv_coe, RCLike.star_def, conj_ofReal] |
| 782 | exact tsum_congr fun γ ↦ by ring |
| 783 | |
| 784 | end Fits |
| 785 | |
| 786 | end New.Filling |
| 787 | |
| 788 | end PoincareSeries |
| 789 | |
| 790 | /-! |
| 791 | ## Groups of a graded fitting space and source forms in Bessel coordinates |
| 792 | |
| 793 | * `New.Filling.Fits.adelicToFin_adelicEquiv_inclX`, `New.Filling.Fits.finiteEquiv_inclX`, |
| 794 | `New.Filling.Fits.adelicToInf_inclX`: the embeddings of U(X₀) agree. |
| 795 | -/ |
| 796 | |
| 797 | open Matrix in |
| 798 | /-- In the labelling `𝔰.besselIndexEquiv`, the matrix acting by m on κ and trivially on the string |
| 799 | of length 2ϱ + 1 is the block matrix with m in the κ-block and the identity elsewhere. -/ |
| 800 | lemma New.Shape.submatrix_fromBlocks_besselIndexEquiv (𝔰 : Shape) {R : Type*} [Zero R] [One R] |
| 801 | (m : Matrix 𝔰.κ 𝔰.κ R) : |
| 802 | (fromBlocks m 0 0 1).submatrix 𝔰.besselIndexEquiv.symm 𝔰.besselIndexEquiv.symm = |
| 803 | fromBlocks 1 0 0 (fromBlocks (fromBlocks m 0 0 1) 0 0 1) := by |
| 804 | -- Compare entries block by block; what is left is arithmetic of the string indices. |
| 805 | ext (i | (i | i) | i) (j | (j | j) | j) <;> |
| 806 | simp [besselIndexEquiv, Matrix.one_apply, Fin.ext_iff] <;> lia |
| 807 | |
| 808 | open Matrix in |
| 809 | /-- A Kronecker product acts on a product vector factor by factor. -/ |
| 810 | lemma New.kroneckerPi_mulVec_prod {T : Type} [Fintype T] [DecidableEq T] {I : T → Type} |
| 811 | [∀ v : T, Fintype (I v)] (M : ∀ v : T, Matrix (I v) (I v) ℂ) (z : ∀ v : T, I v → ℂ) |
| 812 | (i : ∀ v : T, I v) : |
| 813 | (kroneckerPi M *ᵥ fun j : ∀ v : T, I v ↦ ∏ v : T, z v (j v)) i = |
| 814 | ∏ v : T, (M v *ᵥ z v) (i v) := by |
| 815 | simp [kroneckerPi, mulVec, dotProduct, Finset.prod_univ_sum, Finset.prod_mul_distrib] |
| 816 | |
| 817 | namespace New.Filling.Fits |
| 818 | |
| 819 | open Matrix Equiv Grading |
| 820 | |
| 821 | variable {E : Type} {𝔰 : Shape} [Field E] [CMType E] {S : Filling E 𝔰} |
| 822 | variable {ε : 𝔰.BesselIndex → ℤˣ} {l : NumberField.InfinitePlace E → HCParam ε} |
| 823 | {kw : NumberField.InfinitePlace E → ℕ → ℕ} |
| 824 | variable {V : Space E 𝔰.BesselIndex ε} {Y : Grading V S.N 𝔰.κ (2 * 𝔰.ϱ + 1)} {η : Gf E 𝔰.κ} |
| 825 | [DiscreteSeries.UnitarySignFrame 𝔰 ε] |
| 826 | |
| 827 | /-- The grade of an index in the grading Y is twice the difference of ϱ and its level. -/ |
| 828 | lemma gradeOf_eq_two_mul_sub_level (X : S.Fits V l kw Y η) (i : 𝔰.BesselIndex) : |
| 829 | Y.gradeOf i = 2 * (𝔰.ϱ - BesselIndex.level i) := by |
| 830 | rcases i with i | (i | i) | i <;> |
| 831 | simp [X.index_eq, gradeOf, BesselIndex.level, Shape.besselIndexEquiv] <;> lia |
| 832 | |
| 833 | /-- Under `X.adelicEquiv`, the unipotent group of the grading Y corresponds to the Bessel unipotent |
| 834 | group `besselU` of the adelic group of S. -/ |
| 835 | lemma mem_unipotent_iff_mem_besselU (X : S.Fits V l kw Y η) {g : New.G E ε} : |
| 836 | g ∈ Y.unipotent ↔ X.adelicEquiv g ∈ besselU := by |
| 837 | -- Both groups prescribe some entries `(i, j)` of the same matrix to be those of the identity, |
| 838 | -- and the prescribed entries are the same. |
| 839 | have h_entry (i j : 𝔰.BesselIndex) : |
| 840 | -Y.gradeOf j ≤ -Y.gradeOf i ↔ BesselIndex.level j ≤ BesselIndex.level i := by |
| 841 | simp only [X.gradeOf_eq_two_mul_sub_level] |
| 842 | lia |
| 843 | exact forall₂_congr fun i j ↦ imp_congr_left (h_entry i j) |
| 844 | |
| 845 | /-- Under `X.adelicEquiv`, the Bessel group of the grading Y corresponds to the Bessel group |
| 846 | `besselS` of the adelic group of S. -/ |
| 847 | lemma mem_besselGroup_iff_mem_besselS (X : S.Fits V l kw Y η) {g : New.G E ε} : |
| 848 | g ∈ Y.besselGroup ↔ X.adelicEquiv g ∈ besselS := by |
| 849 | -- Both groups prescribe entries `(i, j)` of the same matrix, in the columns `j` of the string |
| 850 | -- vectors of grade `≥ 0`, to be those of the identity; check each block of columns. |
| 851 | have h_entry (i j : 𝔰.BesselIndex) : |
| 852 | (Y.indexEquiv.symm j).isRight ∧ 0 ≤ Y.gradeOf j ∧ Y.gradeOf i ≤ Y.gradeOf j ↔ |
| 853 | BesselIndex.level j ≤ BesselIndex.level i ∧ |
| 854 | (Floors.FloorGroups.floorOf j < 𝔰.n ∧ BesselIndex.level j < 𝔰.n ∨ 𝔰.n < 𝔰.n) := by |
| 855 | simp only [X.gradeOf_eq_two_mul_sub_level] |
| 856 | rcases j with j | (j | j) | j <;> |
| 857 | simp [X.index_eq, BesselIndex.level, Shape.besselIndexEquiv] <;> grind |
| 858 | exact forall₂_congr fun i j ↦ imp_congr_left (h_entry i j) |
| 859 | |
| 860 | /-- The image of `Y.inclX a` under `X.adelicEquiv` is, as a matrix over the adeles, the block matrix |
| 861 | that acts by `G.toUnitary a` on the κ block and fixes all other basis vectors. -/ |
| 862 | lemma coe_adelicEquiv_inclX (X : S.Fits V l kw Y η) (a : New.G E (1 : 𝔰.κ → ℤˣ)) : |
| 863 | ((X.adelicEquiv (Y.inclX a)).val : Matrix 𝔰.BesselIndex 𝔰.BesselIndex (𝔸 E)) = |
| 864 | fromBlocks 1 0 0 (fromBlocks (fromBlocks (G.toUnitary a).val 0 0 1) 0 0 1) := by |
| 865 | rw [← Shape.submatrix_fromBlocks_besselIndexEquiv, ← X.index_eq] |
| 866 | simp [adelicEquiv, inclX, U.reindex, U.sum] |
| 867 | |
| 868 | /-- For `a` in the adelic unitary group of U(X₀) on κ: map `Y.inclX a` by `X.adelicEquiv`, then take |
| 869 | the finite part in the lattice basis (`S.adelicToFin`). The result is `S.inclHFin a.2`. -/ |
| 870 | lemma adelicToFin_adelicEquiv_inclX (X : S.Fits V l kw Y η) (a : New.G E (1 : 𝔰.κ → ℤˣ)) : |
| 871 | S.adelicToFin (X.adelicEquiv (Y.inclX a)) = S.inclHFin a.2 := by |
| 872 | have h_snd : ((G.toUnitary a).val : Matrix 𝔰.κ 𝔰.κ (𝔸 E)).map Prod.snd = a.2.val := rfl |
| 873 | simp [adelicToFin, U.map, inclHFin, toBesselH, Units.ext_iff, coe_adelicEquiv_inclX, |
| 874 | fromBlocks_map, h_snd] |
| 875 | |
| 876 | /-- The isomorphism `X.finiteEquiv` takes the finite part of `Y.inclX a` to `S.inclHFin a.2`. -/ |
| 877 | lemma finiteEquiv_inclX (X : S.Fits V l kw Y η) (a : New.G E (1 : 𝔰.κ → ℤˣ)) : |
| 878 | X.finiteEquiv (Y.inclX a).2 = S.inclHFin a.2 := by |
| 879 | -- `X.finiteEquiv` is `S.adelicToFin ∘ X.adelicEquiv` conjugated by `S.inclHFin η`, which commutes |
| 880 | -- with `S.inclHFin a.2` because η is central in `Gf E 𝔰.κ`. |
| 881 | rw [finiteEquiv_eq_conj_adelicToFin, adelicToFin_adelicEquiv_inclX, |
| 882 | ((X.central _).map _).inv_mul_cancel] |
| 883 | |
| 884 | /-- The isomorphism `X.finiteEquiv` takes the embedding `Y.inclXFin` of the finite adelic points of |
| 885 | U(X₀) to `S.inclHFin`. -/ |
| 886 | lemma finiteEquiv_inclXFin (X : S.Fits V l kw Y η) (a : Gf E 𝔰.κ) : |
| 887 | X.finiteEquiv (Y.inclXFin a) = S.inclHFin a := |
| 888 | -- `Y.inclXFin a` is by definition the finite component of `Y.inclX (1, a)`. |
| 889 | X.finiteEquiv_inclX (1, a) |
| 890 | |
| 891 | /-- At each infinite place v, the embedding `Y.inclX` of the adelic unitary group U(X₀) on κ, |
| 892 | rescaled into `𝔰.G₁`, is the embedding `toBesselH` applied to the component at v. -/ |
| 893 | lemma adelicToInf_inclX (X : S.Fits V l kw Y η) (a : New.G E (1 : 𝔰.κ → ℤˣ)) : |
| 894 | S.adelicToInf (X.adelicEquiv (Y.inclX a)) = |
| 895 | fun v : NumberField.InfinitePlace E ↦ toBesselH 𝔰 1 |
| 896 | ⟨a.1 v, signMatrix_one (n := 𝔰.κ) ▸ (a.1 v).property⟩ := by |
| 897 | -- The diagonal rescaling `basisScale` is 1 on κ, so conjugating by it fixes this block matrix. |
| 898 | have h_fst (v : NumberField.InfinitePlace E) (i j : 𝔰.κ) : |
| 899 | ((G.toUnitary a).val i j).1 v = (a.1 v).val i j := rfl |
| 900 | ext v (i | (i | i) | i) (j | (j | j) | j) <;> |
| 901 | simp +contextual [adelicToInf_apply, coe_adelicEquiv_inclX, basisScale, toBesselH, h_fst, |
| 902 | Matrix.one_apply, Nat.Prime.ne_zero, apply_ite Prod.fst, ite_apply] |
| 903 | |
| 904 | /-- If the graded hermitian space V fits the filling data S, there is a linear isomorphism A from |
| 905 | functions on `WeylIndex 𝔰.κ kw` to functions on `S.BesselCoord` with this property. For every family |
| 906 | g of unitary κ×κ matrices g v, one per infinite place v, and every x, the vector A x times |
| 907 | `kroneckerPi` of the matrices `(S.besselSystem v).rep (g v)` equals A applied to `schur kw` of the |
| 908 | transposes (g v)ᵀ times x. -/ |
| 909 | lemma exists_weylBesselEquiv (X : S.Fits V l kw Y η) : |
| 910 | ∃ A : (WeylIndex 𝔰.κ kw → ℂ) ≃ₗ[ℂ] (S.BesselCoord → ℂ), |
| 911 | ∀ (g : NumberField.InfinitePlace E → U (1 : Matrix 𝔰.κ 𝔰.κ ℂ)) (x : WeylIndex 𝔰.κ kw → ℂ), |
| 912 | A x ᵥ* kroneckerPi (fun v : NumberField.InfinitePlace E ↦ |
| 913 | ((S.besselSystem v).rep (g v) : |
| 914 | Matrix (S.besselSystem v).Index (S.besselSystem v).Index ℂ)) = |
| 915 | A (schur kw (fun v : NumberField.InfinitePlace E ↦ (g v : Matrix 𝔰.κ 𝔰.κ ℂ)ᵀ) *ᵥ x) := by |
| 916 | -- Multiply on the right by the Kronecker product `M` over the infinite places of the local |
| 917 | -- matrices `A v`, with inverses `A' v`, that `IsDiscreteSeriesBessel.exists_conj_rep_eq_schur` |
| 918 | -- gives. |
| 919 | let I (v : NumberField.InfinitePlace E) : Type := WeylIndex 𝔰.κ fun _ : Unit ↦ kw v |
| 920 | have h_local (v : NumberField.InfinitePlace E) : |
| 921 | ∃ (A : Matrix (I v) (S.besselSystem v).Index ℂ) |
| 922 | (A' : Matrix (S.besselSystem v).Index (I v) ℂ), |
| 923 | A * A' = 1 ∧ A' * A = 1 ∧ ∀ g : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ), |
| 924 | A * ((S.besselSystem v).rep g).val = |
| 925 | (schur (fun _ ↦ kw v) fun _ : Unit ↦ (g : Matrix 𝔰.κ 𝔰.κ ℂ)ᵀ)ᵀ * A := |
| 926 | (X.isDiscreteSeriesBessel v).exists_conj_rep_eq_schur |
| 927 | choose A A' hAA' hA'A hA using h_local |
| 928 | -- `e` reads a global index as a tuple of local indices. |
| 929 | let e : WeylIndex 𝔰.κ kw ≃ ∀ v, I v := (funUnique Unit (WeylIndex 𝔰.κ kw)).symm.trans (piComm _) |
| 930 | let M : Matrix (WeylIndex 𝔰.κ kw) S.BesselCoord ℂ := (kroneckerPi A).submatrix e id |
| 931 | have h_schur (g : NumberField.InfinitePlace E → U (1 : Matrix 𝔰.κ 𝔰.κ ℂ)) : |
| 932 | (schur kw fun v ↦ (g v : Matrix 𝔰.κ 𝔰.κ ℂ)ᵀ)ᵀ = |
| 933 | (kroneckerPi fun v ↦ |
| 934 | (schur (fun _ ↦ kw v) fun _ : Unit ↦ (g v : Matrix 𝔰.κ 𝔰.κ ℂ)ᵀ)ᵀ).submatrix e e := by |
| 935 | ext i j |
| 936 | rw [transpose_apply, schur_apply_eq_prod .refl] |
| 937 | rfl |
| 938 | have h_law (g : NumberField.InfinitePlace E → U (1 : Matrix 𝔰.κ 𝔰.κ ℂ)) : |
| 939 | M * kroneckerPi (fun v ↦ ((S.besselSystem v).rep (g v)).val) = |
| 940 | (schur kw fun v ↦ (g v : Matrix 𝔰.κ 𝔰.κ ℂ)ᵀ)ᵀ * M := by |
| 941 | rw [h_schur, submatrix_mul_equiv, ← kroneckerPi_mul] |
| 942 | simp only [← hA, kroneckerPi_mul] |
| 943 | rfl |
| 944 | refine ⟨toLinearEquivRight'OfInv (M := (kroneckerPi A').submatrix id e) (M' := M) |
| 945 | (by simp [M, ← coe_refl, ← kroneckerPi_mul, hA'A]) |
| 946 | (by simp [M, ← coe_refl, ← kroneckerPi_mul, hAA']), fun g x ↦ ?_⟩ |
| 947 | change x ᵥ* M ᵥ* kroneckerPi (fun v ↦ ((S.besselSystem v).rep (g v)).val) = |
| 948 | (schur kw (fun v ↦ (g v : Matrix 𝔰.κ 𝔰.κ ℂ)ᵀ) *ᵥ x) ᵥ* M |
| 949 | rw [vecMul_vecMul, h_law, ← vecMul_vecMul, vecMul_transpose] |
| 950 | |
| 951 | /-- A fixed change of coordinates as in `exists_weylBesselEquiv`, from the values of forms to the |
| 952 | dual of the values of the Bessel function. -/ |
| 953 | def weylBesselEquiv (h : S.Fits V l kw Y η) : (WeylIndex 𝔰.κ kw → ℂ) ≃ₗ[ℂ] (S.BesselCoord → ℂ) := |
| 954 | h.exists_weylBesselEquiv.choose |
| 955 | |
| 956 | /-- The change of coordinates `X.weylBesselEquiv` turns the Schur matrix of the transposes of the |
| 957 | g v into right multiplication by the Kronecker product of the local representations. -/ |
| 958 | lemma weylBesselEquiv_vecMul (X : S.Fits V l kw Y η) |
| 959 | (g : NumberField.InfinitePlace E → U (1 : Matrix 𝔰.κ 𝔰.κ ℂ)) (x : WeylIndex 𝔰.κ kw → ℂ) : |
| 960 | X.weylBesselEquiv x ᵥ* kroneckerPi (fun v : NumberField.InfinitePlace E ↦ |
| 961 | ((S.besselSystem v).rep (g v) : Matrix (S.besselSystem v).Index (S.besselSystem v).Index ℂ)) |
| 962 | = |
| 963 | X.weylBesselEquiv |
| 964 | (schur kw (fun v : NumberField.InfinitePlace E ↦ (g v : Matrix 𝔰.κ 𝔰.κ ℂ)ᵀ) *ᵥ x) := |
| 965 | X.exists_weylBesselEquiv.choose_spec g x |
| 966 | |
| 967 | /-- The linear isomorphism that sends an algebraic form of weight kw and level `S.sourceLevel` to |
| 968 | its values at the class representatives, in the coordinates `weylBesselEquiv`. -/ |
| 969 | def sourceFormCoords (h : S.Fits V l kw Y η) : |
| 970 | levelSpace (algFormRep kw 0) S.sourceLevel ≃ₗ[ℂ] EuclideanSpace ℂ (S.Classes × S.BesselCoord) := |
| 971 | -- Evaluate at the class representatives, change coordinates in each class, then uncurry. |
| 972 | freeLevelEquiv (stdSpace E 𝔰.κ).embFin (Space.weightRep kw 0 (stdSpace E 𝔰.κ)) 1 |
| 973 | S.classAut_eq_bot Quot.out_eq ≪≫ₗ LinearEquiv.piCongrRight |
| 974 | (fun _ ↦ h.weylBesselEquiv) ≪≫ₗ LinearEquiv.symm |
| 975 | (WithLp.linearEquiv .. ≪≫ₗ LinearEquiv.curry ..) |
| 976 | |
| 977 | end New.Filling.Fits |
| 978 | |
| 979 | end |