Riemann hypothesis: the Lean proof, cleaned up together
The 2026 Lean proof of the Riemann hypothesis and GRH, machine-checked by others, not refereed, no word from Clay; cleaned up together: more readable, faster to build, the theorems unchanged

| 1 | module |
| 2 | |
| 3 | import Mathlib.MeasureTheory.SpecificCodomains.Pi |
| 4 | import Mathlib.RingTheory.Coalgebra.CoassocSimps |
| 5 | import TauCeti.Topology.Algebra.Group.Units |
| 6 | import TauCeti.Topology.Instances.Matrix |
| 7 | public import Lib.Adelic.AutomorphicForms.Basic |
| 8 | public import Lib.Adelic.AutomorphicForms.SmoothAlgebraicForms |
| 9 | import Lib.Adelic.AutomorphicForms.RealConvolution |
| 10 | import Lib.Adelic.Reduction.DefiniteClassSums |
| 11 | import Lib.DiscreteSeries.FlenstedJensen.PsiKTypes |
| 12 | import Lib.DiscreteSeries.Rigidity.KernelFixes |
| 13 | import Lib.GLn.SchurModule.SchurNorm |
| 14 | |
| 15 | /-! |
| 16 | # Automorphic forms on standard definite spaces as algebraic forms |
| 17 | |
| 18 | On a standard definite space (`New.Space.IsStd`: all signs `1` and point `x = 1`), this file |
| 19 | identifies automorphic forms with smooth algebraic forms. Let `ρ = New.conjWeylRep κ e` be the |
| 20 | representation of the compact group `G_∞` of weight `(κ, e)`, `d` its dimension, and |
| 21 | `v⁺ = New.highestVector` its highest unit vector when `l` matches the weight. An algebraic form |
| 22 | `φ` (`New.AlgForm`, vector valued on `G_f`) gives `φ♮ = New.ofAlgForm l s φ` with |
| 23 | `φ♮ (x, g) = ⟨v⁺, ρ(x⁻¹) φ(g)⟩`. The inverse map sends a form `y` to |
| 24 | `y♭ g = d ∫ y(x, g) ρ(x) v⁺ dx`. This file also writes integrals over `Γ \ G` as class sums over |
| 25 | `Γ \ G_f`. |
| 26 | |
| 27 | ## Main definitions and results |
| 28 | |
| 29 | * `New.Space.toAlgForm`: the two maps are inverse between forms of type `New.typeKernel l` (fixed by |
| 30 | `realConv k y (x, g) = ∫ k(z) y(xz, g) dz` for `k = typeKernel l 1`, which is |
| 31 | `z ↦ d ⟨v⁺, ρ(z) v⁺⟩`) and smooth algebraic forms, by Schur orthogonality, when `l` matches the |
| 32 | weight (`New.IsHCParam`). |
| 33 | * `New.Space.toAlgForm_formRep`, `New.Space.algFormEquiv`, `New.hasHeckePolynomial_toAlgForm_iff`: |
| 34 | the equivalence commutes with `G_f`, so it respects levels and Hecke eigenvalues. |
| 35 | * `New.Space.integral_eq_classIntegral_of_isLevel`, |
| 36 | `New.Space.integral_mul_eq_classIntegral_toAlgFormFun`, `New.Space.integral_mul_eq_classIntegral`: |
| 37 | integrals over `Γ \ G`, in particular against `φ♮`, as class sums `New.classIntegral` over |
| 38 | `Γ \ G_f`. |
| 39 | * `New.Space.classSum_gramForm_eq_mul_petersson`: for two algebraic forms that transform under a |
| 40 | level by one character with values of finite order, the class sum of their Gram pairings is a |
| 41 | multiple of the Petersson product of the associated functions. |
| 42 | |
| 43 | Notions from other files: |
| 44 | * `New.Space`: a hermitian space with a point, given by a matrix J over E and x in GL_n(𝔸) with xᴴJx |
| 45 | equal to diag(s), for the signs s, at the infinite places and 1 at the finite places. |
| 46 | * `New.Space.IsAutomorphic`: a function on `G = G_∞ × G_f` that is continuous, left invariant under |
| 47 | rational points and right invariant under an open subgroup of `G_f`. |
| 48 | * `New.algFormCoeff s L φ`: the function `(x, g) ↦ L (ρ(x⁻¹) φ(g))`; it is `New.ofAlgForm l s φ` for |
| 49 | `L = ⟨v⁺, ·⟩`, where `⟨·, ·⟩ = New.gramForm`. |
| 50 | * `New.stdLevelIndex K`: the index `[stdLevel : K ∩ stdLevel]` in the standard level |
| 51 | `stdLevel = New.stdLevel E n`; a level (`New.IsLevel K`) is an open subgroup `K ≤ stdLevel`. |
| 52 | * `New.classIntegral Γ K f`: the integral of `f` over `Γ \ G_f` for `vol K = 1`, as a finite sum; in |
| 53 | this file `Γ = New.stdRatPoints`, the rational points of the standard space. |
| 54 | |
| 55 | ## Relation to the literature |
| 56 | |
| 57 | Known result: algebraic modular forms as functions on the adelic group. For the source see |
| 58 | `Lib.Adelic.AutomorphicForms.SmoothAlgebraicForms`. |
| 59 | -/ |
| 60 | |
| 61 | @[expose] public section |
| 62 | |
| 63 | noncomputable section |
| 64 | |
| 65 | namespace New |
| 66 | |
| 67 | open NumberField MeasureTheory Fintype Subgroup DiscreteSeries |
| 68 | |
| 69 | variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] |
| 70 | {κ : InfinitePlace E → ℕ → ℕ} {e : InfinitePlace E → ℤ} {l : InfinitePlace E → n → ℤ} {s : n → ℤˣ} |
| 71 | {V : Space E n s} {φ : AlgForm n κ e} |
| 72 | |
| 73 | /-- Show `signedSpace E s` satisfies `IsStd` when `s = 1` and `HasPrimitiveRoot5040 E` holds. -/ |
| 74 | lemma isStd_signedSpace [HasPrimitiveRoot5040 E] (hs : s = 1) : (signedSpace E s).IsStd where |
| 75 | signs_eq_one := hs |
| 76 | point_eq_one := by aesop |
| 77 | |
| 78 | /-- The matrix `conjWeylMatrix κ e x` depends continuously on the archimedean point `x`. -/ |
| 79 | lemma continuous_conjWeylMatrix (κ : InfinitePlace E → ℕ → ℕ) (e : InfinitePlace E → ℤ) |
| 80 | (s : n → ℤˣ) : Continuous fun x : GInf E s ↦ conjWeylMatrix κ e x := |
| 81 | continuous_iff_continuousAt.2 fun _ ↦ |
| 82 | Matrix.tendsto_iff_forall_tendsto_mulVec.2 fun v ↦ (continuous_conjWeylRep v).continuousAt |
| 83 | |
| 84 | namespace Space |
| 85 | |
| 86 | /-! ### The maps `φ ↦ φ♮` and `y ↦ y♭` -/ |
| 87 | |
| 88 | /-- The coefficient of a translated algebraic form is the translated coefficient: |
| 89 | `algFormCoeff` turns `algFormRep κ e a` into right translation by `(1, a)`. -/ |
| 90 | lemma algFormCoeff_algFormRep (L : (WeylIndex n κ → ℂ) →ₗ[ℂ] ℂ) (a : Gf E n) (g : G E s) : |
| 91 | algFormCoeff s L (algFormRep κ e a φ) g = algFormCoeff s L φ (g * (1, a)) := by |
| 92 | -- The archimedean component is unchanged, and `algFormRep` translates `φ` on the right by `a`. |
| 93 | simp [algFormCoeff_apply] |
| 94 | |
| 95 | variable (φ) in |
| 96 | /-- Let V be standard and φ an algebraic form of weight (κ, e) (so its stabiliser under right |
| 97 | translation is open). For every linear functional L, the function g ↦ L(ρ(g_∞⁻¹) φ(g_f)) on G |
| 98 | (`New.algFormCoeff`) is automorphic. -/ |
| 99 | lemma isAutomorphic_algFormCoeff [hV : V.IsStd] {L : (WeylIndex n κ → ℂ) →ₗ[ℂ] ℂ} : |
| 100 | V.IsAutomorphic (algFormCoeff s L φ) := by |
| 101 | induction hV |
| 102 | obtain ⟨φ_open, φ_rat⟩ := φ.property |
| 103 | let K : OpenSubgroup (Gf E n) := ⟨rightStabilizer φ.val, φ_open⟩ |
| 104 | -- `φ` is fixed by the right translations in a neighbourhood of `1`, so it is locally constant |
| 105 | have φ_cont : Continuous φ.val := (isLocallyConstant_of_eventually_mul K.mem_nhds_one).continuous |
| 106 | refine ⟨?_, ?_, K, fun k hk ↦ by simp [hk _, algFormCoeff_apply]⟩ |
| 107 | · -- `(x, g) ↦ ρ(x⁻¹) φ(g)` is a continuous matrix applied to a continuous vector |
| 108 | exact L.continuous_on_pi.comp |
| 109 | (((continuous_conjWeylMatrix κ e 1).comp continuous_fst.inv).matrix_mulVec φ_cont.snd') |
| 110 | · -- a rational `γ` moves `φ` by its archimedean component, which cancels against `ρ(x⁻¹)` |
| 111 | rintro _ ⟨γ, rfl⟩ g |
| 112 | have h_rat : φ.val (((stdSpace E n).ratEmbed γ).2 * g.2) = |
| 113 | weightRep κ e (stdSpace E n) γ (φ.val g.2) := φ_rat γ g.2 |
| 114 | simp [algFormCoeff_apply, weightRep, h_rat] |
| 115 | |
| 116 | variable {E : Type} [Field E] [NumberField E] [IsCMField E] {κ : InfinitePlace E → ℕ → ℕ} |
| 117 | {e : InfinitePlace E → ℤ} {l : InfinitePlace E → n → ℤ} in |
| 118 | variable (κ e l) in |
| 119 | /-- The function `y♭` on `G_f` attached to a function `y` on the definite group: |
| 120 | `y♭ g = d ∫ y (x, g) • x v` over `G_∞`, where `d` is the dimension of the Weyl module, `x` acts by |
| 121 | `conjWeylRep` and `v` is the highest vector. -/ |
| 122 | def toAlgFormFun (y : G E (1 : n → ℤˣ) → ℂ) (g : Gf E n) : WeylIndex n κ → ℂ := |
| 123 | ∫ x : GInf E (1 : n → ℤˣ), |
| 124 | (card (WeylIndex n κ) * y (x, g)) • conjWeylRep κ e (s := 1) x (highestVector κ l) |
| 125 | |
| 126 | /-- If `y` is automorphic on the standard space, then `y♭ = toAlgFormFun κ e l y` is an algebraic |
| 127 | form: its stabiliser is open and it is equivariant under rational points. -/ |
| 128 | lemma toAlgFormFun_mem_algForm {y : G E (1 : n → ℤˣ) → ℂ} |
| 129 | (hy : (stdSpace E n).IsAutomorphic y) : toAlgFormFun κ e l y ∈ AlgForm n κ e := by |
| 130 | obtain ⟨hy_cont, hy_rat, K, hK⟩ := hy |
| 131 | refine ⟨?_, fun γ g ↦ ?_⟩ |
| 132 | · -- An open subgroup `K` fixing `y` lies in the stabiliser of `y♭`, which is therefore open. |
| 133 | exact isOpen_mono (H₁ := K.1) (fun k hk g ↦ by simp [toAlgFormFun, ← hK k hk ⟨_, g⟩]) K.2 |
| 134 | · -- Translate the integral over `G_∞` by `γ` and use the invariance of `y` under `γ`. |
| 135 | calc toAlgFormFun κ e l y ((stdSpace E n).embFin γ * g) |
| 136 | _ = ∫ x, (card (WeylIndex n κ) * y ((stdSpace E n).ratEmbed γ * (x, g))) • |
| 137 | conjWeylRep κ e (((stdSpace E n).ratEmbed γ).1 * x) (highestVector κ l) := |
| 138 | (integral_mul_left_eq_self _ ((stdSpace E n).ratEmbed γ).1).symm |
| 139 | _ = ∫ x, weightRep κ e (stdSpace E n) γ |
| 140 | ((card (WeylIndex n κ) * y (x, g)) • conjWeylRep κ e x (highestVector κ l)) := by |
| 141 | simp [hy_rat _ ⟨γ, rfl⟩, weightRep] |
| 142 | _ = weightRep κ e (stdSpace E n) γ (toAlgFormFun κ e l y g) := |
| 143 | (weightRep κ e (stdSpace E n) γ).toContinuousLinearMap.integral_comp_comm |
| 144 | integrable_of_compactSpace |
| 145 | |
| 146 | /-- Let `l` be twice the Harish-Chandra parameter of the weight `(κ, e)`. The convolution over |
| 147 | `G_∞` of a continuous `y` with `typeKernel l 1` is `(x, g) ↦ ⟨v, x⁻¹ y♭(g)⟩`, where `v` is the |
| 148 | highest vector and `y♭ = toAlgFormFun κ e l y`. -/ |
| 149 | lemma realConv_typeKernel (h : IsHCParam (n := n) κ e l) {y : G E (1 : n → ℤˣ) → ℂ} |
| 150 | (hy : Continuous y) (g : G E (1 : n → ℤˣ)) : |
| 151 | realConv (typeKernel l 1) y g = |
| 152 | gramForm (highestVector κ l) (conjWeylRep κ e g.1⁻¹ (toAlgFormFun κ e l y g.2)) := by |
| 153 | obtain ⟨x, g⟩ := g |
| 154 | -- `typeKernel l 1` is the dimension times the matrix coefficient at `v`. |
| 155 | have h_kernel (z : GInf E (1 : n → ℤˣ)) : typeKernel l 1 z = card (WeylIndex n κ) * |
| 156 | gramForm (highestVector κ l) (conjWeylRep κ e z (highestVector κ l)) := by |
| 157 | simp [h.prod_formalDegree, h.gramForm_conjWeylRep_eq_dsCoeff, ← Complex.ofReal_prod, |
| 158 | typeKernel, dsKernel, Finset.prod_mul_distrib, -card_pi] |
| 159 | let L : (WeylIndex n κ → ℂ) →ₗ[ℂ] ℂ := gramForm (highestVector κ l) ∘ₗ conjWeylRep κ e x⁻¹ |
| 160 | symm |
| 161 | calc L (toAlgFormFun κ e l y g) |
| 162 | = ∫ z, L ((card (WeylIndex n κ) * y (z, g)) • conjWeylRep κ e z (highestVector κ l)) := |
| 163 | (L.toContinuousLinearMap.integral_comp_comm integrable_of_compactSpace).symm |
| 164 | _ = ∫ z, L ((card (WeylIndex n κ) * y (x * z, g)) • |
| 165 | conjWeylRep κ e (x * z) (highestVector κ l)) := |
| 166 | (integral_mul_left_eq_self _ x).symm |
| 167 | _ = realConv (typeKernel l 1) y (x, g) := by |
| 168 | refine integral_congr_ae (.of_forall fun z ↦ ?_) |
| 169 | simp [L, h_kernel, mul_assoc, mul_comm (y (x * z, g))] |
| 170 | |
| 171 | /-- Let `l` be twice the Harish-Chandra parameter of `(κ, e)` and `ψ` an algebraic form of weight |
| 172 | `(κ, e)`. Then `(ψ♮)♭ = ψ`. Here `ψ♮ = ofAlgForm l 1 ψ` is the function `g ↦ ⟨v⁺, ρ(g_∞⁻¹) ψ(g_f)⟩` |
| 173 | on the group of the standard space, with `v⁺` the highest vector for `l`. For a function `y` on that |
| 174 | group, `y♭ = toAlgFormFun κ e l y` is `g ↦ d ∫_{G_∞} y(x, g) ρ(x) v⁺ dx`, with `d` the dimension of |
| 175 | the Weyl module and `ρ = conjWeylRep`. -/ |
| 176 | lemma toAlgFormFun_ofAlgForm (h : IsHCParam (n := n) κ e l) (ψ : AlgForm n κ e) : |
| 177 | toAlgFormFun κ e l (ofAlgForm l 1 ψ) = ψ.val := by |
| 178 | -- Schur orthogonality at the unit vector `v = highestVector κ l`, one coordinate at a time. |
| 179 | funext g a |
| 180 | let v : WeylIndex n κ → ℂ := highestVector κ l |
| 181 | have h_cont : Continuous (ofAlgForm l 1 ψ) := |
| 182 | ((stdSpace E n).isAutomorphic_algFormCoeff ψ).continuous |
| 183 | have h_int (b : WeylIndex n κ) : Integrable fun x : GInf E (1 : n → ℤˣ) ↦ |
| 184 | ((card (WeylIndex n κ) * ofAlgForm (κ := κ) l 1 ψ (x, g)) • conjWeylRep κ e x v) b := |
| 185 | integrable_of_compactSpace (by fun_prop (disch := simp)) |
| 186 | calc toAlgFormFun κ e l (ofAlgForm l 1 ψ) g a |
| 187 | _ = card (WeylIndex n κ) * ∫ x, LinearMap.proj (R := ℂ) a (conjWeylRep κ e (s := 1) x v) * |
| 188 | gramForm v (conjWeylRep κ e x⁻¹ (ψ.val g)) := by |
| 189 | rw [toAlgFormFun, eval_integral h_int, ← integral_const_mul] |
| 190 | refine integral_congr_ae (.of_forall fun x ↦ ?_) |
| 191 | simp only [v, algFormCoeff_apply, Pi.smul_apply, smul_eq_mul, LinearMap.proj_apply] |
| 192 | ring |
| 193 | _ = ψ.val g a := by |
| 194 | rw [schur_orthogonality, gramForm_highestVector_self fun w ↦ (h w).1, mul_one, |
| 195 | LinearMap.proj_apply, mul_inv_cancel_left₀ (Nat.cast_ne_zero.2 card_ne_zero)] |
| 196 | |
| 197 | /-- Let `V` be standard (all its signs `s` are +1 and its point is the identity matrix) and `l` |
| 198 | twice the Harish-Chandra parameter of `(κ, e)`. For every algebraic form `ψ`, the function |
| 199 | `ofAlgForm l s ψ`, g ↦ ⟨v⁺, ρ(g_∞⁻¹) ψ(g_f)⟩, is a form of type `typeKernel l s`. That kernel is the |
| 200 | product over the infinite places of the formal degree times the conjugate discrete series |
| 201 | coefficient. That is, this function is automorphic, bounded and fixed by convolution with that |
| 202 | kernel over `G_∞`. -/ |
| 203 | lemma isForm_ofAlgForm [hV : V.IsStd] (h : IsHCParam (n := n) κ e l) (ψ : AlgForm n κ e) : |
| 204 | V.IsForm (typeKernel l s) (ofAlgForm l s ψ) := by |
| 205 | -- `V.IsStd` leaves only the standard space: `s = 1` and the point is the identity. |
| 206 | induction hV |
| 207 | have h_aut : (stdSpace E n).IsAutomorphic (ofAlgForm l 1 ψ) := |
| 208 | (stdSpace E n).isAutomorphic_algFormCoeff ψ |
| 209 | refine ⟨h_aut, (h_aut.mem_rapidFunctions fun _ _ ↦ rfl).2.bounded, fun _ ↦ funext fun g ↦ ?_⟩ |
| 210 | rw [realConv_typeKernel h h_aut.continuous, toAlgFormFun_ofAlgForm h, algFormCoeff_apply] |
| 211 | |
| 212 | /-! ### The equivalence and its equivariance -/ |
| 213 | |
| 214 | variable (V) in |
| 215 | /-- On a standard space, for `l` twice the Harish-Chandra parameter of `(κ, e)`, the forms of type |
| 216 | `typeKernel l s` are the smooth algebraic forms of weight `(κ, e)`. This is the inverse `y ↦ y♭` of |
| 217 | `φ ↦ φ♮ = ofAlgForm l s φ`, which is injective as `(φ♮)♭ = φ`, and surjective as `y = (y♭)♮`. -/ |
| 218 | def toAlgForm [hV : V.IsStd] (h : IsHCParam (n := n) κ e l) : |
| 219 | V.Form (typeKernel l s) ≃ₗ[ℂ] AlgForm n κ e := |
| 220 | .symm <| .ofBijective ((ofAlgForm l s).codRestrict _ (isForm_ofAlgForm h)) <| by |
| 221 | induction hV |
| 222 | refine ⟨fun φ ψ h_eq ↦ Subtype.ext ?_, ?_⟩ |
| 223 | · rw [← toAlgFormFun_ofAlgForm h φ, ← toAlgFormFun_ofAlgForm h ψ] |
| 224 | exact congrArg (toAlgFormFun κ e l) (congrArg Subtype.val h_eq) |
| 225 | rintro ⟨y, hy⟩ |
| 226 | let φ : AlgForm n κ e := ⟨toAlgFormFun κ e l y, toAlgFormFun_mem_algForm hy.toIsAutomorphic⟩ |
| 227 | refine ⟨φ, Subtype.ext ?_⟩ |
| 228 | calc ofAlgForm l 1 φ = realConv (typeKernel l 1) y := |
| 229 | funext fun g ↦ (realConv_typeKernel h hy.continuous g).symm |
| 230 | _ = y := hy.realConv_eq integrable_of_compactSpace |
| 231 | |
| 232 | /-- Let `V` be a standard space and `l` twice the Harish-Chandra parameter of `(κ, e)`. Let `y` be a |
| 233 | form of type `typeKernel l s` on `V`, and let `φ = V.toAlgForm h y` be its algebraic form of weight |
| 234 | `(κ, e)`. Then `ofAlgForm l s φ` gives `y` back: `y(g) = ⟨v⁺, ρ(g_∞⁻¹) φ(g_f)⟩`, with `v⁺` the |
| 235 | highest vector for `l`. -/ |
| 236 | lemma ofAlgForm_toAlgForm [V.IsStd] (h : IsHCParam (n := n) κ e l) |
| 237 | (y : V.Form (typeKernel l s)) : |
| 238 | ofAlgForm l s (V.toAlgForm h y) = y := |
| 239 | congrArg Subtype.val ((V.toAlgForm h).left_inv y) |
| 240 | |
| 241 | /-- For `l` twice the Harish-Chandra parameter of `(κ, e)`, the isomorphism `New.Space.toAlgForm` |
| 242 | from forms of type `typeKernel l s` on a standard space to smooth algebraic forms of weight |
| 243 | `(κ, e)` commutes with right translation by `G_f`. -/ |
| 244 | @[local simp] |
| 245 | lemma toAlgForm_formRep [V.IsStd] (h : IsHCParam (n := n) κ e l) (a : Gf E n) |
| 246 | (y : V.Form (typeKernel l s)) : |
| 247 | V.toAlgForm h (V.formRep (typeKernel l s) a y) = algFormRep κ e a (V.toAlgForm h y) := by |
| 248 | -- Apply the inverse `ofAlgForm`, which commutes with right translation. |
| 249 | apply (V.toAlgForm h).symm.injective |
| 250 | refine (LinearEquiv.symm_apply_apply _ _).trans (Subtype.ext (funext fun g ↦ ?_)) |
| 251 | calc y.val (g * (1, a)) = ofAlgForm l s (V.toAlgForm h y) (g * (1, a)) := |
| 252 | (congrFun (ofAlgForm_toAlgForm h y) _).symm |
| 253 | _ = ofAlgForm l s (algFormRep κ e a (V.toAlgForm h y)) g := |
| 254 | (algFormCoeff_algFormRep _ a g).symm |
| 255 | |
| 256 | variable (V) in |
| 257 | /-- For V standard and l twice the Harish-Chandra parameter of (κ, e), the isomorphism |
| 258 | φ ↦ `ofAlgForm l s φ` from K-fixed algebraic forms to K-fixed forms of type `typeKernel l s`. No |
| 259 | hypothesis is put on K. -/ |
| 260 | def algFormEquiv [V.IsStd] (h : IsHCParam (n := n) κ e l) (K : Subgroup (Gf E n)) : |
| 261 | levelSpace (algFormRep κ e) K ≃ₗ[ℂ] levelSpace (V.formRep (typeKernel l s)) K := |
| 262 | -- `V.toAlgForm h` is equivariant, so it matches the vectors fixed by `K`. |
| 263 | (V.toAlgForm h).symm.ofSubmodules (levelSpace (algFormRep κ e) K) |
| 264 | (levelSpace (V.formRep (typeKernel l s)) K) <| by |
| 265 | ext |
| 266 | simp [-toAlgForm_formRep, ← toAlgForm_formRep] |
| 267 | |
| 268 | variable (V) in |
| 269 | /-- For V standard and l twice the Harish-Chandra parameter of (κ, e), a form y of type |
| 270 | `typeKernel l s` has Hecke polynomial p at the place w (with `star w ≠ w`) if and only if its |
| 271 | algebraic form, as a function on G_f, does. (`HasHeckePolynomial`: fixed by the standard group at w |
| 272 | and an eigenvector of the Hecke operators there, as prescribed by p.) -/ |
| 273 | lemma _root_.New.hasHeckePolynomial_toAlgForm_iff [V.IsStd] (h : IsHCParam (n := n) κ e l) |
| 274 | {y : V.Form (typeKernel l s)} {w : FinPlace E} {p : ℂ → ℂ} {hw : star w ≠ w} : |
| 275 | HasHeckePolynomial (rightRegular ℂ (Gf E n) (WeylIndex n κ → ℂ)) hw p (V.toAlgForm h y).val ↔ |
| 276 | HasHeckePolynomial (V.formRep (typeKernel l s)) hw p y := by |
| 277 | -- `L` sends a form to its algebraic form, as a function; it is injective and equivariant. |
| 278 | let L : V.Form (typeKernel l s) →ₗ[ℂ] Gf E n → WeylIndex n κ → ℂ := |
| 279 | (AlgForm n κ e).subtype ∘ₗ (V.toAlgForm h).toLinearMap |
| 280 | have L_inj : Function.Injective L := Subtype.val_injective.comp (V.toAlgForm h).injective |
| 281 | have L_hecke (X : ℂ) : L (heckePolyOp (V.formRep _) hw X y) = |
| 282 | heckePolyOp (rightRegular ℂ (Gf E n) (WeylIndex n κ → ℂ)) hw X (L y) := |
| 283 | map_heckePolyOp L X (by simp [L]) |
| 284 | simp [HasHeckePolynomial, ← L_inj.eq_iff, L_hecke, L] |
| 285 | |
| 286 | /-! ### Integrals over the quotient as class sums -/ |
| 287 | |
| 288 | /-- On a standard definite space `V` let `F` be automorphic and `K` a level (an open subgroup of the |
| 289 | standard level `stdLevel`). The integral of `F` over `Γ \ G` is `[stdLevel : K]⁻¹` times the class |
| 290 | integral at level `K` (normalised by `vol K = 1`) of `g ↦ ∫ F(x, g) dx` over `x ∈ G_∞`. -/ |
| 291 | lemma integral_eq_classIntegral_of_isLevel [hV : V.IsStd] {F : G E s → ℂ} |
| 292 | (hF : V.IsAutomorphic F) {K : Subgroup (Gf E n)} (hK : IsLevel K) : |
| 293 | ∫ g : G E s, F g ∂V.quotMeasure = |
| 294 | (stdLevelIndex K : ℂ)⁻¹ * |
| 295 | classIntegral stdRatPoints K fun g : Gf E n ↦ ∫ x : GInf E s, F (x, g) := by |
| 296 | obtain ⟨h_cont, h_left, K', h_right⟩ := hF |
| 297 | induction hV -- now `s = 1` and `V` is the standard space |
| 298 | let f : Gf E n → ℂ := fun g ↦ ∫ x, F (x, g) |
| 299 | have hK' : (K' : Subgroup (Gf E n)) ≤ rightStabilizer f := fun k hk g ↦ by |
| 300 | simp [f, ← h_right k hk ⟨_, g⟩] |
| 301 | exact integral_quotMeasure_eq_classIntegral h_left (fun _ ↦ rfl) K |
| 302 | (isOpen_mono hK' K'.isOpen) h_cont |
| 303 | |
| 304 | /-- Let `K` be a level. Let `y`, `y'` be automorphic functions on the group `G` of the standard |
| 305 | space: continuous, left `Γ`-invariant, and right invariant under an open subgroup of `G_f`. Suppose |
| 306 | `y'(x, g) = L g (ρ(x) v⁺)` for linear functionals `L g`, where `ρ = conjWeylRep` and `v⁺` is the |
| 307 | highest vector for `l`. Then `d ∫_{Γ\G} y' y` (for `quotMeasure`, with `d` the dimension of the Weyl |
| 308 | module) equals `(stdLevelIndex K)⁻¹ = [stdLevel : K]⁻¹` times the `classIntegral` at `K` of |
| 309 | `g ↦ L g (y♭ g)`, i.e. the integral over `Γ \ G_f` for `vol K = 1`, where |
| 310 | `y♭ g = d ∫_{G_∞} y(x, g) ρ(x) v⁺ dx` is `toAlgFormFun κ e l y`. -/ |
| 311 | theorem integral_mul_eq_classIntegral_toAlgFormFun (K : Subgroup (Gf E n)) [hK : IsLevel K] |
| 312 | {y y' : G E (1 : n → ℤˣ) → ℂ} (hy : (stdSpace E n).IsAutomorphic y) |
| 313 | (hy' : (stdSpace E n).IsAutomorphic y') |
| 314 | (L : Gf E n → (WeylIndex n κ → ℂ) →ₗ[ℂ] ℂ) |
| 315 | (hy'_eq : ∀ (x : GInf E (1 : n → ℤˣ)) (g : Gf E n), |
| 316 | y' (x, g) = L g (conjWeylRep κ e x (highestVector κ l))) : |
| 317 | (card (WeylIndex n κ) : ℂ) * ∫ g : G E (1 : n → ℤˣ), y' g * y g ∂(stdSpace E n).quotMeasure = |
| 318 | (stdLevelIndex K : ℂ)⁻¹ * |
| 319 | classIntegral stdRatPoints K fun g : Gf E n ↦ L g (toAlgFormFun κ e l y g) := by |
| 320 | set d : ℂ := ((card (WeylIndex n κ) : ℕ) : ℂ) |
| 321 | have h_cont : Continuous y := hy.continuous |
| 322 | -- Integrate over `G_∞` first. |
| 323 | have h_infinite (g : Gf E n) : |
| 324 | ∫ x, d * (y' (x, g) * y (x, g)) = L g (toAlgFormFun κ e l y g) := by |
| 325 | calc ∫ x, d * (y' (x, g) * y (x, g)) |
| 326 | _ = ∫ x, L g ((d * y (x, g)) • conjWeylRep κ e (s := 1) x (highestVector κ l)) := by |
| 327 | refine integral_congr_ae (.of_forall fun x ↦ ?_) |
| 328 | simp [hy'_eq, mul_comm, mul_assoc] |
| 329 | _ = L g (toAlgFormFun κ e l y g) := |
| 330 | (L g).toContinuousLinearMap.integral_comp_comm integrable_of_compactSpace |
| 331 | rw [← integral_const_mul, integral_eq_classIntegral_of_isLevel |
| 332 | (hy'.map₂ hy fun a b ↦ d * (a * b)) hK] |
| 333 | simp only [h_infinite] |
| 334 | |
| 335 | /-- Let `V` be standard, `l` twice the Harish-Chandra parameter of `(κ, e)`, `φ` an algebraic form, |
| 336 | `K` a level and `Φ` automorphic. If `Φ (x, g) = L g (ρ(x) v⁺)` with each `L g` linear, |
| 337 | `ρ = conjWeylRep κ e`, `v⁺ = highestVector κ l`, then the integral of `Φ` times `ofAlgForm l s φ` |
| 338 | over `Γ \ G` is `(dim ρ * stdLevelIndex K)⁻¹` times the integral of `g ↦ L g (φ g)` over `Γ \ G_f`, |
| 339 | normalised by `vol K = 1`. -/ |
| 340 | lemma integral_mul_eq_classIntegral [hV : V.IsStd] (h_param : IsHCParam (n := n) κ e l) |
| 341 | (K : Subgroup (Gf E n)) [IsLevel K] {Φ : G E s → ℂ} (hΦ : V.IsAutomorphic Φ) |
| 342 | (L : Gf E n → (WeylIndex n κ → ℂ) →ₗ[ℂ] ℂ) |
| 343 | (hΦ_eq : ∀ (x : GInf E s) (g : Gf E n), |
| 344 | Φ (x, g) = L g (conjWeylRep κ e x (highestVector κ l))) : |
| 345 | ∫ g : G E s, Φ g * ofAlgForm l s φ g ∂V.quotMeasure = |
| 346 | (card (WeylIndex n κ) * stdLevelIndex K : ℂ)⁻¹ * |
| 347 | classIntegral stdRatPoints K fun g : Gf E n ↦ L g (φ.val g) := by |
| 348 | -- `V.IsStd` leaves only the standard space, where `(φ♮)♭ = φ` for `φ♮ = ofAlgForm l 1 φ`. |
| 349 | induction hV |
| 350 | rw [mul_inv, mul_assoc, eq_inv_mul_iff_mul_eq₀ (Nat.cast_ne_zero.2 card_ne_zero), |
| 351 | ← toAlgFormFun_ofAlgForm h_param φ] |
| 352 | exact integral_mul_eq_classIntegral_toAlgFormFun K (isAutomorphic_algFormCoeff φ) hΦ L hΦ_eq |
| 353 | |
| 354 | /-- When all signs are `1`, the conjugate of `ofAlgForm l s φ (x, g) = ⟨v⁺, ρ(x⁻¹) φ(g)⟩` is |
| 355 | `⟨φ(g), ρ(x) v⁺⟩`, where `⟨·, ·⟩ = gramForm`, `ρ = conjWeylRep κ e` and |
| 356 | `v⁺ = highestVector κ l`. -/ |
| 357 | lemma star_ofAlgForm (h : s = 1) (x : GInf E s) (g : Gf E n) : |
| 358 | star (ofAlgForm l s φ (x, g)) = gramForm (φ.val g) (conjWeylRep κ e x (highestVector κ l)) := by |
| 359 | subst h |
| 360 | simp [← gramForm_conjWeylRep (e := e) x⁻¹ (φ.val _), conj_gramForm, algFormCoeff_apply] |
| 361 | |
| 362 | variable (V) in |
| 363 | /-- Let `V` be standard (all signs `+1`, point the identity), `l` twice the Harish-Chandra parameter |
| 364 | of `(κ, e)`, `K` a level and `χ` a character of `K` whose values have finite order. For algebraic |
| 365 | forms `φ`, `φ'` on which `K` acts by `χ`, the class sum at `K` (over `Γ\G_f/K`, the term at `g` |
| 366 | weighted by `1/#(Γ ∩ gKg⁻¹)`) of the Gram pairings `⟨φ(g), φ'(g)⟩` is the index |
| 367 | `stdLevelIndex K = [stdLevel : K]`, times the dimension of the weight, times the Petersson product |
| 368 | `∫_{Γ\G} conj(F_φ) F_φ'`, where `F_φ = ofAlgForm l s φ` is the function |
| 369 | `F_φ(g) = ⟨v⁺, ρ(g_∞⁻¹) φ(g_f)⟩` on the group. -/ |
| 370 | theorem classSum_gramForm_eq_mul_petersson [hV : V.IsStd] (h : IsHCParam (n := n) κ e l) |
| 371 | (K : Subgroup (Gf E n)) [IsLevel K] (χ : K →* ℂ) (hχ : ∀ k : K, IsOfFinOrder (χ k)) |
| 372 | {φ φ' : AlgForm n κ e} |
| 373 | (hφ : φ ∈ levelSpace (algFormRep κ e) K χ) (hφ' : φ' ∈ levelSpace (algFormRep κ e) K χ) : |
| 374 | classSum stdRatPoints K (fun g : Gf E n ↦ gramForm (φ.val g) (φ'.val g)) = |
| 375 | (stdLevelIndex K : ℂ) * (card (WeylIndex n κ) : ℂ) * |
| 376 | V.petersson (ofAlgForm l s φ) (ofAlgForm l s φ') := by |
| 377 | -- The Petersson product is an integral over `Γ \ G`, hence a multiple of the class integral of |
| 378 | -- the Gram pairings. As `χ` has values of norm `1`, these are fixed by `K`: it is the class sum. |
| 379 | have h_pet : |
| 380 | V.petersson (ofAlgForm l s φ) (ofAlgForm l s φ') = |
| 381 | (card (WeylIndex n κ) * stdLevelIndex K : ℂ)⁻¹ * |
| 382 | classIntegral stdRatPoints K fun g : Gf E n ↦ gramForm (φ.val g) (φ'.val g) := |
| 383 | integral_mul_eq_classIntegral h K (isForm_ofAlgForm h φ).conj.toIsAutomorphic |
| 384 | (fun g : Gf E n ↦ gramForm (φ.val g)) (star_ofAlgForm hV.signs_eq_one) |
| 385 | have h_fix : K ≤ rightStabilizer fun g : Gf E n ↦ gramForm (φ.val g) (φ'.val g) := by |
| 386 | intro k hk g |
| 387 | have h_left : φ.val (g * k) = χ ⟨k, hk⟩ • φ.val g := |
| 388 | congrFun (congrArg Subtype.val (hφ ⟨k, hk⟩)) g |
| 389 | have h_right : φ'.val (g * k) = χ ⟨k, hk⟩ • φ'.val g := |
| 390 | congrFun (congrArg Subtype.val (hφ' ⟨k, hk⟩)) g |
| 391 | simp [h_left, h_right, ← mul_assoc, RCLike.mul_conj, (hχ ⟨k, hk⟩).norm_eq_one] |
| 392 | have h_card : (card (WeylIndex n κ) : ℂ) ≠ 0 := Nat.cast_ne_zero.mpr card_ne_zero |
| 393 | have h_index : (stdLevelIndex K : ℂ) ≠ 0 := |
| 394 | Nat.cast_ne_zero.mpr (isCompact_stdLevel.relIndex_ne_zero IsLevel.isOpen) |
| 395 | rw [h_pet, ← classIntegral_eq_classSum h_fix] |
| 396 | field_simp |
| 397 | |
| 398 | end Space |
| 399 | |
| 400 | end New |
| 401 | |
| 402 | end |