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 Lib.Weil.DualPair.KernelLaws |
| 4 | public import Lib.Weil.DualPair.WeilAction |
| 5 | import Lib.ClassField.HeckeCharacter.TameModulus |
| 6 | import Lib.DiscreteSeries.Holomorphic.HighestVectorExtension |
| 7 | import Lib.DiscreteSeries.Holomorphic.MaximalCompactMinors |
| 8 | import Lib.DiscreteSeries.Rigidity.HighestVectorsAndFiltration |
| 9 | import Lib.Weil.DualPair.ThetaLiftConvergence |
| 10 | |
| 11 | /-! |
| 12 | # Holomorphic data, functions of a level, and theta kernels modulo 𝔪 as level multipliers |
| 13 | |
| 14 | This file sets up vocabulary for holomorphic automorphic functions on a unitary group over the CM |
| 15 | field E. It covers holomorphic data in the Fock space, adelic holomorphy, rapidly decreasing |
| 16 | functions of a given level, and additive characters of matrices modulo 𝔪. It also proves that |
| 17 | multiplication by a theta kernel `New.modKernel` preserves level N. Here the kernel's finite datum |
| 18 | is a function on matrices modulo 𝔪, and 𝔪 is generated by N. This needs the character `b` to have a |
| 19 | tame part that is trivial off the places of 𝔪. |
| 20 | |
| 21 | ## Main definitions and results |
| 22 | |
| 23 | * `New.Rows.holomorphicData`: Fock vectors all of whose matrix coefficients on the first group are |
| 24 | holomorphic of weight u. `New.Rows.prod_mem_holomorphicData` and |
| 25 | `New.Rows.mem_holomorphicData_of_highestVector` give such vectors. |
| 26 | * `New.Rows.IsAdelicHol`: adelic functions holomorphic in the archimedean variable. |
| 27 | `New.Rows.isAdelicHol_pairTheta` passes from a holomorphic vector to its theta kernel. |
| 28 | * `New.Rows.rapidOfLevel`: rapidly decreasing automorphic functions (members of `V.rapidFunctions`) |
| 29 | of a given level. The set is closed under conjugation, and `New.Rows.mul_sum_mem_rapidOfLevel` |
| 30 | treats products with linear combinations. |
| 31 | * `New.Rows.mul_modKernel_mem_rapidFunctions`, `New.Rows.mul_modKernel_mem_rapidOfLevel`: |
| 32 | multiplying by the kernel in the first variable keeps rapid decay, and keeps the level `N` if `N` |
| 33 | generates the modulus. |
| 34 | |
| 35 | Notions from other files: |
| 36 | * `New.PairFock`: The Fock space for the signs s′_i s_j of the pair, at all infinite places. |
| 37 | * `New.Space`: A hermitian space over E; its automorphic functions live on the adelic group `New.G`, |
| 38 | and `New.Space.IsRapid` is decay faster than every power of the height. |
| 39 | * `New.pairTheta`: The theta kernel θ(ω_{a,b}(g,h)f) of two hermitian spaces; `New.modKernel` is |
| 40 | this kernel for the datum made of a function on matrices modulo 𝔪 and the Fock vector of a |
| 41 | polynomial. |
| 42 | * `New.AutChar.HasWeight b e ψ`: The character b has weight e at the infinite places and tame part |
| 43 | ψ, given by a character of each residue field. |
| 44 | |
| 45 | ## Relation to the literature |
| 46 | |
| 47 | Known result: Harmonic highest vectors for (U(p,q), U(n)) give holomorphic vectors. Proves a special |
| 48 | case: highest vectors, such as products of leading minors, that are killed by each mixed |
| 49 | second derivative ∂²/∂x_{ca}∂x_{cb} with a, b of opposite signs have matrix coefficients that extend |
| 50 | holomorphically with an explicit weight. This hypothesis is stronger than pluriharmonic in the sense |
| 51 | of Kashiwara–Vergne, where only the sums over c must vanish. Source: M. Kashiwara, M. Vergne, On the |
| 52 | Segal–Shale–Weil representations and harmonic polynomials, Invent. Math. 44 (1978) 1–47, III 6.3, |
| 53 | 7.2; M. G. Davidson, The harmonic representation of U(p,q) and its connection with the generalized |
| 54 | unit disk, Pacific J. Math. 129 (1987) 33–55. |
| 55 | |
| 56 | See also `Lib.Weil.DualPair.ThetaLiftConvergence`. |
| 57 | -/ |
| 58 | |
| 59 | @[expose] public section |
| 60 | |
| 61 | noncomputable section |
| 62 | |
| 63 | /-! |
| 64 | ## Holomorphic data, adelic holomorphy, functions of a level, characters |
| 65 | |
| 66 | Conventions: `New.IsHolOfWeight s o u` is holomorphy of weight u for the Borel subgroup of the order |
| 67 | o. `New.IsPosFirstOrder s o` says that o is injective and puts the indices of sign +1 first. |
| 68 | `New.realPairWeil γ e` is the real Weil representation of the pair for characters of weights γ and |
| 69 | e. |
| 70 | -/ |
| 71 | |
| 72 | namespace New.Rows |
| 73 | |
| 74 | open NumberField Matrix Norms.L2Operator MeasureTheory Fock Finset Space Submodule Int FockDualPair |
| 75 | |
| 76 | variable {E n n' : Type} [Field E] [CMType E] [Fintype n] |
| 77 | [DecidableEq n] (s : n → ℤˣ) [Fintype n'] [DecidableEq n'] |
| 78 | (s' : n' → ℤˣ) (o : n → ℤ) (u : InfinitePlace E → n → ℤ) (V : Space E n s) |
| 79 | (γ e : InfinitePlace E → ℤ) (a : 𝓞 E) (F : G E s → ℂ) |
| 80 | |
| 81 | /-- The additive character y ↦ ψ(tr(yu)) of matrices modulo 𝔪 attached to the matrix u, with ψ |
| 82 | the chosen primitive additive character of O_E/𝔪. -/ |
| 83 | def traceChar [WeilData E] {𝔪 : Modulus E} (u : Matrix n n' 𝔪.ResidueRing) |
| 84 | (y : Matrix n' n 𝔪.ResidueRing) : ℂ := |
| 85 | 𝔪.primAddChar (y * u).trace |
| 86 | |
| 87 | section |
| 88 | |
| 89 | variable {E : Type} [Field E] [NumberField E] (s : n → ℤˣ) (s' : n' → ℤˣ) (o : n → ℤ) |
| 90 | (u : InfinitePlace E → n → ℤ) (γ e : InfinitePlace E → ℤ) |
| 91 | |
| 92 | /-- The coefficient `c_P(h, h') = ⟨v_P, ω(h, h') v_P⟩` of the Fock vector of a polynomial `P`, for |
| 93 | real points of the two groups and characters of weights `γ`, `e`. -/ |
| 94 | def polyMatrixCoeff (γ e : InfinitePlace E → ℤ) (P : MvPolynomial (InfinitePlace E × n' × n) ℂ) |
| 95 | (h : GInf E s) (h' : GInf E s') : ℂ := |
| 96 | fockInner (polyVector (realSigns E (homSigns s s')) P) (realPairWeil γ e (h, h') (polyVector _ P)) |
| 97 | |
| 98 | /-- The set of Fock vectors v such that x ↦ ℓ(Ω(x,1)v) is holomorphic of weight u for the |
| 99 | order o, for every bounded linear functional ℓ. Here Ω is `New.realPairWeil γ e`. -/ |
| 100 | def holomorphicData : Set (PairFock E s s') := |
| 101 | {v : PairFock E s s' | |
| 102 | ∀ ℓ : PairFock E s s' →L[ℂ] ℂ, |
| 103 | IsHolOfWeight s o u fun x : InfinitePlace E → USign s ↦ ℓ (realPairWeil γ e (x, 1) v)} |
| 104 | |
| 105 | end |
| 106 | |
| 107 | variable {s} |
| 108 | |
| 109 | /-- For every adelic g, the function h ↦ F(g·(h,1)) on the archimedean group is holomorphic of |
| 110 | weight u for the order o (`New.IsHolOfWeight`). -/ |
| 111 | def IsAdelicHol {E : Type} [Field E] [NumberField E] [IsCMField E] (o : n → ℤ) |
| 112 | (u : InfinitePlace E → n → ℤ) (F : G E s → ℂ) : Prop := |
| 113 | ∀ g : (InfinitePlace E → USign s) × Gf E n, |
| 114 | IsHolOfWeight s o u fun x : InfinitePlace E → USign s ↦ F (g * (x, 1)) |
| 115 | |
| 116 | /-- The functions F that are continuous, left invariant under the rational points of V and right |
| 117 | invariant under the principal level K(a), and that decay rapidly (members of `V.rapidFunctions`). -/ |
| 118 | def rapidOfLevel : Submodule ℂ (G E s → ℂ) := |
| 119 | V.rapidFunctions.toSubmodule ⊓ |
| 120 | Representation.invariants ((finRightRep E s).comp (principalLevel n a).subtype) |
| 121 | |
| 122 | variable {s' o u V γ e a F} |
| 123 | |
| 124 | /-- For signs `s` on `n`, a finite type `n'`, a positive-first ordering `o : n → ℤ` |
| 125 | (`IsPosFirstOrder`), integers `γ₀` and `e₀`, a Harish-Chandra parameter `l` on `n` that orders |
| 126 | indices of equal sign as `o` does, a Harish-Chandra parameter `l'` on `n'`, and weights `ν` on `n'` |
| 127 | and `μ` on `n`, if a polynomial `P` in `n' × n` variables is a joint highest vector |
| 128 | (`IsJointHighest`) for the standard dual pair `std 1 s γ₀ e₀` with parameters `l'` and `-l` and |
| 129 | weights `ν` and `μ`, |
| 130 | then `P` is `K`-highest of weight `μ` for `toHCParam 1 (-o)` under the swapped oscillator action |
| 131 | `(std 1 s γ₀ e₀).swap.oscRows`. -/ |
| 132 | private lemma isKHighest_swap_oscRows_of_isJointHighest {γ₀ e₀ : ℤ} (ho : IsPosFirstOrder s o) |
| 133 | {P : MvPolynomial (n' × n) ℂ} {l' : HCParam (1 : n' → ℤˣ)} {ν : n' → ℤ} {l : HCParam s} |
| 134 | {μ : n → ℤ} (hl_order : ∀ a b : n, s a = s b → o a < o b → l a < l b) |
| 135 | (hP : (std (R := n') 1 s γ₀ e₀).IsJointHighest l' (-l) P ν μ) : |
| 136 | (toHCParam 1 (-o)).IsKHighest (std 1 s γ₀ e₀).swap.oscRows μ P := by |
| 137 | obtain ⟨weight, killed⟩ := hP.isKHighest_cols |
| 138 | refine ⟨weight, fun a b _ (h_neg_lt : -o b < -o a) ↦ ?_⟩ |
| 139 | have hab : o a < o b := neg_lt_neg_iff.mp h_neg_lt |
| 140 | by_cases hs : s a = s b |
| 141 | · exact killed a b hs (neg_lt_neg (hl_order a b hs hab)) |
| 142 | -- As positive indices come first, `s a = 1` and `s b = -1`; then `E a b` is a sum of second |
| 143 | -- derivatives, which vanish by `IsTermwiseHarmonic`. |
| 144 | obtain ⟨ha, hb⟩ : s a = 1 ∧ s b = -1 := by |
| 145 | have h_first : s b = 1 → s a = -1 → o b < o a := ho.2 b a |
| 146 | grind [units_eq_one_or (s a), units_eq_one_or (s b)] |
| 147 | have h_second (c : n') : MvPolynomial.pderiv (c, a) (MvPolynomial.pderiv (c, b) P) = 0 := |
| 148 | hP.isTermwiseHarmonic_swap a b c hs |
| 149 | simp [swap_oscRows_E, pairSign, raiseOp, lowerOp, ne_of_apply_ne s hs, ha, hb, h_second] |
| 150 | |
| 151 | /-- Let the second group be definite, let o put positive indices first, and let each parameter l w |
| 152 | order indices of equal sign as o does. Suppose that at each infinite place w the polynomial P w is a |
| 153 | joint highest vector (`IsJointHighest`) for the standard dual pair data `std 1 s (γ w) (-e w)`, |
| 154 | whose actions involve the integers γ w and −e w. That is, it is nonzero, K-highest of weight ν w on |
| 155 | the rows for the parameter l' w and of weight u w on the columns for −l w, and killed by each |
| 156 | ∂²/∂x_{ca}∂x_{cb} for columns a, b of opposite signs. Then the product Q of the P w, in disjoint |
| 157 | sets of variables, is nonzero and its Fock vector v_Q lies in `holomorphicData s 1 o u γ e`. That |
| 158 | is, for every bounded linear functional ℓ, x ↦ ℓ(Ω(x,1)v_Q) is holomorphic of weight u for o, where |
| 159 | Ω = `realPairWeil γ e`. -/ |
| 160 | lemma prod_mem_holomorphicData (ho : IsPosFirstOrder s o) |
| 161 | {P : InfinitePlace E → MvPolynomial (n' × n) ℂ} {l' : InfinitePlace E → HCParam 1} |
| 162 | {ν : InfinitePlace E → n' → ℤ} {l : InfinitePlace E → HCParam s} |
| 163 | (hl_order : ∀ (w : InfinitePlace E) (a b : n), s a = s b → o a < o b → l w a < l w b) |
| 164 | (hP : ∀ w : InfinitePlace E, |
| 165 | (std (R := n') 1 s (γ w) (-e w)).IsJointHighest (l' w) (-l w) (P w) (ν w) (u w)) |
| 166 | {Q : MvPolynomial (InfinitePlace E × n' × n) ℂ} |
| 167 | (hQ : Q = ∏ w : InfinitePlace E, (P w).rename fun x : n' × n ↦ (w, x)) : |
| 168 | Q ≠ 0 ∧ polyVector (realSigns E (homSigns s 1)) Q ∈ holomorphicData s 1 o u γ e := by |
| 169 | refine ⟨?_, fun (ℓ : PairFock E s 1 →L[ℂ] ℂ) ↦ ?_⟩ |
| 170 | · simp [hQ, prod_eq_zero_iff, Prod.mk_right_injective, fun w ↦ (hP w).ne_zero] |
| 171 | let pair (w : InfinitePlace E) : FockDualPair s (1 : n' → ℤˣ) (n' × n) := |
| 172 | (std 1 s (γ w) (-e w)).swap |
| 173 | -- `P w` is killed by all `E a b` with `o a < o b`, also when the signs of `a` and `b` differ. |
| 174 | have highest (w : InfinitePlace E) : |
| 175 | (toHCParam 1 (-o)).IsKHighest (pair w).oscRows (u w) (P w) := |
| 176 | isKHighest_swap_oscRows_of_isJointHighest ho (hl_order w) (hP w) |
| 177 | -- At each place the first group acts on Fock space by a continuous representation `ρ w` whose |
| 178 | -- derivative on polynomial vectors is this action of matrices. |
| 179 | let ρ (w : InfinitePlace E) : |
| 180 | USign s →* fockSpace (pairSign 1 1 s) →L[ℂ] fockSpace (pairSign 1 (1 : n' → ℤˣ) s) := |
| 181 | detTwist ((pairHom (1 : n' → ℤˣ) s).comp (MonoidHom.inl (USign s) (USign 1))) (-e w) |
| 182 | have rep (w : InfinitePlace E) : OscillatorRep (pair w) (ρ w) := |
| 183 | oscillatorPair_detTwist.column_rep |
| 184 | -- The Fock vector of `Q` is the pure tensor of those of the `P w`, and the group acts factorwise. |
| 185 | have h_factor (x : GInf E s) : |
| 186 | realPairWeil γ e (x, 1) (polyVector (realSigns E (homSigns s 1)) Q) = |
| 187 | piTensor fun w : InfinitePlace E ↦ ρ w (x w) (polyVector (pairSign 1 1 s) (P w)) := by |
| 188 | simp [ρ, hQ, realPairWeil, pairHomInf, realWeil_piTensor, ← piTensor.map_smul_univ, |
| 189 | ← piTensor_polyVector, -prod_inv_distrib] |
| 190 | -- So its coefficient is a continuous multilinear form in the orbits of the highest vectors `P w`. |
| 191 | simp only [h_factor] |
| 192 | exact HCParam.IsKHighest.isHolOfWeight_coeffMap ho.1 highest |
| 193 | (fun w ↦ (rep w).derives.isCoeffMap 1) |
| 194 | (ℓ.compContinuousMultilinearMap piTensor) fun w _ ↦ (rep w).unitary_rep.continuous _ |
| 195 | |
| 196 | /-- Let the linear map f to the Fock space intertwine the conjugate of the representation |
| 197 | `conjWeylRep κ e'` (on `WeylIndex n' κ → ℂ`, of highest weight given by κ, twisted by powers e′ of |
| 198 | the determinant; `highestVector κ l` is its highest vector for l) of the definite second group with |
| 199 | its Weil action, and let each l w be injective. If f of the highest vector for l is holomorphic of |
| 200 | weight u (in `holomorphicData`), so is every f(ξ). -/ |
| 201 | lemma mem_holomorphicData_of_highestVector {κ : InfinitePlace E → ℕ → ℕ} {e' : InfinitePlace E → ℤ} |
| 202 | {l : InfinitePlace E → n' → ℤ} {ξ : WeylIndex n' κ → ℂ} |
| 203 | (f : (WeylIndex n' κ → ℂ) →ₗ[ℂ] PairFock E s 1) |
| 204 | (h_inj : ∀ w : InfinitePlace E, (l w).Injective) |
| 205 | (h_intertwine : ∀ (y : GInf E 1) (η : WeylIndex n' κ → ℂ), |
| 206 | realPairWeil γ e (1, y) (f (star η)) = f (star (conjWeylRep (n := n') κ e' y η))) |
| 207 | (h_top : f (highestVector κ l) ∈ holomorphicData s 1 o u γ e) : |
| 208 | f ξ ∈ holomorphicData s 1 o u γ e := by |
| 209 | -- The translates of the highest vector span the representation. |
| 210 | obtain ⟨c, hc⟩ : ∃ c : GInf E 1 →₀ ℂ, |
| 211 | (c.sum fun y z ↦ z • conjWeylRep κ e' y (highestVector κ l)) = star ξ := |
| 212 | Finsupp.mem_span_range_iff_exists_finsupp.1 |
| 213 | (eq_top_iff'.1 (span_translate_highestVector_eq_top h_inj e') (star ξ)) |
| 214 | intro ℓ |
| 215 | -- So `f ξ` is a combination of the vectors `realPairWeil γ e (1, y) (f (highestVector κ l))`, and |
| 216 | -- the two groups commute. |
| 217 | have h_combination (x : GInf E s) : ℓ (realPairWeil γ e (x, 1) (f ξ)) = |
| 218 | ∑ y ∈ c.support, star (c y) * |
| 219 | ℓ (realPairWeil γ e (1, y) (realPairWeil γ e (x, 1) (f (highestVector κ l)))) := by |
| 220 | simp [eq_star_of_eq_star hc, Finsupp.sum, ← h_intertwine, rep_apply_apply, star_highestVector] |
| 221 | simp only [h_combination] |
| 222 | exact IsHolOfWeight.sum (fun y ↦ star (c y)) fun y ↦ h_top (ℓ ∘L realPairWeil γ e (1, y)) |
| 223 | |
| 224 | /-- For automorphic characters `a`, `b` of weights γ, e (tame parts φ, ψ), a Fock vector `v` in |
| 225 | `holomorphicData s s' o u γ e` (so x ↦ ℓ(Ω(x,1)v) is holomorphic of weight `u` for the order |
| 226 | `o : n → ℤ`, for every bounded linear functional ℓ), f ∈ 𝒮(Hom(S,T)) (type `𝒮 (S.hom T)`), whose |
| 227 | joint datum v ⊗ f is `integrated (S.hom T) v f`, and a fixed k in the second group: the function |
| 228 | g ↦ `pairTheta S T a b (v ⊗ f) (g, k)` satisfies `IsAdelicHol o u`. That is, for every adelic g, the |
| 229 | function h ↦ θ(g·(h,1), k) on the archimedean group is holomorphic of weight `u` for the order |
| 230 | `o`. -/ |
| 231 | lemma isAdelicHol_pairTheta [WeilData E] {S : Space E n s} {T : Space E n' s'} {a b : AutChar E} |
| 232 | {φ ψ : (w : FinPlace E) → MulChar (ResField w) ℂ} {v : PairFock E s s'} {f : 𝒮 (S.hom T)} |
| 233 | {k : G E s'} [AutChar.HasWeight a γ φ] (hv : v ∈ holomorphicData s s' o u γ e) |
| 234 | [AutChar.HasWeight b e ψ] : |
| 235 | IsAdelicHol o u fun g : G E s ↦ pairTheta S T a b (integrated (S.hom T) v f) (g, k) := by |
| 236 | intro g |
| 237 | -- A real point acts on the real datum `v` alone (`pairWeil_integrated`), so the kernel at |
| 238 | -- `g * (x, 1)` is a fixed functional applied to `realPairWeil γ e (x, 1) v`. |
| 239 | have h_eq (x : GInf E s) : |
| 240 | pairTheta S T a b (integrated (S.hom T) v f) (g * (x, 1), k) = |
| 241 | θ _ (pairWeil S T a b (g, k) (integrated (S.hom T) (realPairWeil γ e (x, 1) v) f)) := by |
| 242 | simp [← pairWeil_integrated S T a b, rep_apply_apply, Prod.mk_one_one, pairTheta] |
| 243 | simp only [h_eq] |
| 244 | exact hv (θ _ ∘L pairWeil S T a b (g, k) ∘L (integrated _).flip f) |
| 245 | |
| 246 | /-- For an element u of the archimedean group, the maximum over infinite places of the operator |
| 247 | norm of the matrix of u at that place. -/ |
| 248 | abbrev maxOpNorm {E : Type} [Field E] [NumberField E] (u : GInf E s) : ℝ := |
| 249 | ‖fun w : InfinitePlace E ↦ ((u w).val : Matrix n n ℂ)‖ |
| 250 | |
| 251 | /-- A function has level a exactly when it is a rapidly decreasing automorphic function of V that |
| 252 | does not change under right translation by the principal level subgroup K(a). -/ |
| 253 | lemma mem_rapidOfLevel_iff : F ∈ rapidOfLevel V a ↔ |
| 254 | F ∈ V.rapidFunctions ∧ ∀ k ∈ principalLevel n a, ∀ g : G E s, F (g * (1, k)) = F g := |
| 255 | and_congr_right' ⟨fun h k hk g ↦ congrFun (h ⟨k, hk⟩) g, fun h k ↦ funext (h k k.prop)⟩ |
| 256 | |
| 257 | /-- A function of level a (a member of `rapidOfLevel V a`) does not change under right translation |
| 258 | by an element of the principal level subgroup K(a). -/ |
| 259 | lemma apply_mul_of_mem_rapidOfLevel (hF : F ∈ rapidOfLevel V a) : |
| 260 | ∀ k ∈ principalLevel n a, ∀ g : G E s, F (g * (1, k)) = F g := |
| 261 | (mem_rapidOfLevel_iff.mp hF).2 |
| 262 | |
| 263 | /-- The complex conjugate of a rapidly decreasing automorphic function of level a is again one. -/ |
| 264 | lemma star_mem_rapidOfLevel (hF : F ∈ rapidOfLevel V a) : star F ∈ rapidOfLevel V a := by |
| 265 | obtain ⟨⟨aut, rapid⟩, invariant⟩ := mem_rapidOfLevel_iff.mp hF |
| 266 | exact mem_rapidOfLevel_iff.mpr |
| 267 | ⟨⟨aut.conj, by simpa [IsRapid] using rapid⟩, fun k hk g ↦ by simp [invariant k hk]⟩ |
| 268 | |
| 269 | /-- If each F · fᵢ is a rapidly decreasing automorphic function of level a, then so is the product |
| 270 | of F with the linear combination ∑ cᵢ fᵢ. -/ |
| 271 | lemma mul_sum_mem_rapidOfLevel {ι : Type*} [Fintype ι] {f : ι → G E s → ℂ} {c : ι → ℂ} |
| 272 | (h_mul : ∀ i : ι, F * f i ∈ rapidOfLevel V a) : |
| 273 | (F * fun x : G E s ↦ ∑ i : ι, c i * f i x) ∈ rapidOfLevel V a := by |
| 274 | have h_eq : (F * fun x : G E s ↦ ∑ i : ι, c i * f i x) = ∑ i : ι, c i • (F * f i) := |
| 275 | funext fun x ↦ by simp [mul_sum, mul_left_comm] |
| 276 | simpa only [h_eq] using sum_smul_mem _ c fun i _ ↦ h_mul i |
| 277 | |
| 278 | /-- If each F · fᵢ is a rapidly decreasing automorphic function of level a, then the integral of |
| 279 | F · ∑ cᵢ fᵢ over the automorphic quotient is ∑ cᵢ ∫ F · fᵢ. -/ |
| 280 | lemma integral_mul_sum_const_mul {ι : Type*} [Fintype ι] {f : ι → G E s → ℂ} {c : ι → ℂ} |
| 281 | (h_mul : ∀ i : ι, F * f i ∈ rapidOfLevel V a) : |
| 282 | ∫ x : G E s, F x * ∑ i : ι, c i * f i x ∂V.quotMeasure = |
| 283 | ∑ i : ι, c i * ∫ x : G E s, F x * f i x ∂V.quotMeasure := by |
| 284 | have integrable (i : ι) : Integrable (fun x ↦ c i * (F * f i) x) V.quotMeasure := |
| 285 | let ⟨⟨aut, rapid⟩, _⟩ := mem_rapidOfLevel_iff.mp (h_mul i) |
| 286 | (rapid.integrable aut.continuous).const_mul _ |
| 287 | simpa [mul_sum, mul_left_comm, ← integral_const_mul] using |
| 288 | integral_finsetSum univ fun i _ ↦ integrable i |
| 289 | |
| 290 | end New.Rows |
| 291 | |
| 292 | /-! |
| 293 | ## Theta kernels modulo 𝔪 as level multipliers |
| 294 | |
| 295 | `modKernel S T a b 𝔪 Ψ Q` is the theta kernel of the spaces `S`, `T` and the characters `a`, `b` for |
| 296 | the function `Ψ` on matrices modulo `𝔪` and the Fock vector of the polynomial `Q`. |
| 297 | -/ |
| 298 | |
| 299 | namespace New.Rows |
| 300 | |
| 301 | open NumberField |
| 302 | |
| 303 | variable {E n n' : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] [Fintype n'] |
| 304 | [DecidableEq n'] [WeilData E] {s : n → ℤˣ} {s' : n' → ℤˣ} {S : Space E n s} {T : Space E n' s'} |
| 305 | {a b : AutChar E} {𝔪 : Modulus E} |
| 306 | |
| 307 | /-- Let the character `b` have weight `e` and tame part `ψ`, trivial at the places outside `𝔪`. Then |
| 308 | the theta kernel `modKernel` does not change under right translation of the first variable by an |
| 309 | integral finite point `k` that reduces to `1` modulo `𝔪`. -/ |
| 310 | lemma modKernel_mul_of_reductionGL_eq_one {e : InfinitePlace E → ℤ} |
| 311 | {ψ : (w : FinPlace E) → MulChar (ResField w) ℂ} (hb : AutChar.HasWeight b e ψ) |
| 312 | (hψ : ∀ w : FinPlace E, w ∉ 𝔪.places → ψ w = 1) {k : stdLevel E n} (hk : 𝔪.reductionGL k = 1) |
| 313 | (Ψ : Matrix n' n 𝔪.ResidueRing → ℂ) (Q : MvPolynomial (InfinitePlace E × n' × n) ℂ) |
| 314 | (g : G E s) (h : G E s') : |
| 315 | modKernel S T a b 𝔪 Ψ Q (g * (1, k.val)) h = modKernel S T a b 𝔪 Ψ Q g h := by |
| 316 | -- Such a `k` changes neither `Ψ` nor the factor given by `b`. |
| 317 | have h_char : (b.val (detFin s k.val) : ℂ) = 1 := by |
| 318 | simp [hb.apply_det_eq_charOfTamePart hψ k, hk] |
| 319 | simp [modKernel_mul_stdLevel_left S T a b 𝔪 k, h_char, hk] |
| 320 | |
| 321 | /-- Let the character `b` have weight `e` and tame part `ψ`, trivial at the places outside `𝔪`. If |
| 322 | `F` is a rapidly decreasing automorphic function, then so is the product of `F` with the theta |
| 323 | kernel `g ↦ modKernel S T a b 𝔪 Ψ Q g h`. -/ |
| 324 | lemma mul_modKernel_mem_rapidFunctions {F : G E s → ℂ} {e : InfinitePlace E → ℤ} |
| 325 | {ψ : (w : FinPlace E) → MulChar (ResField w) ℂ} (hb : AutChar.HasWeight b e ψ) |
| 326 | (hψ : ∀ w : FinPlace E, w ∉ 𝔪.places → ψ w = 1) (hF : F ∈ S.rapidFunctions) |
| 327 | (Ψ : Matrix n' n 𝔪.ResidueRing → ℂ) (Q : MvPolynomial (InfinitePlace E × n' × n) ℂ) |
| 328 | (h : G E s') : |
| 329 | (F * fun g : G E s ↦ modKernel S T a b 𝔪 Ψ Q g h) ∈ S.rapidFunctions := by |
| 330 | obtain ⟨hF_aut, hF_rapid⟩ := hF |
| 331 | have h_aut : S.IsAutomorphic fun g : G E s ↦ modKernel S T a b 𝔪 Ψ Q g h := by |
| 332 | -- The kernel is invariant under the open group of points that are `1` modulo `𝔪`. |
| 333 | refine ⟨by fun_prop [modKernel], (pairThetaKer S T a b).theta_rat_mul, |
| 334 | ⟨𝔪.levelOfSubgroup ⊥, IsLevel.isOpen⟩, ?_⟩ |
| 335 | rintro _ ⟨k, hk : 𝔪.reductionGL k = 1, rfl⟩ g |
| 336 | exact modKernel_mul_of_reductionGL_eq_one hb hψ hk Ψ Q g h |
| 337 | -- `F` decays rapidly and the kernel is of moderate growth. |
| 338 | refine ⟨hF_aut.map₂ h_aut fun x y ↦ x * y, ?_⟩ |
| 339 | rw [mul_comm] |
| 340 | exact hF_rapid.mul ((pairThetaKer S T a b).isModerate _ h) |
| 341 | |
| 342 | /-- Let `𝔪` be the modulus generated by `N`, and let the character `b` have weight `e` and tame part |
| 343 | `ψ`, trivial at the places outside `𝔪`. If `F` is a rapidly decreasing automorphic function of |
| 344 | level `N`, then so is the product of `F` with the theta kernel `g ↦ modKernel S T a b 𝔪 Ψ Q g h`. -/ |
| 345 | lemma mul_modKernel_mem_rapidOfLevel {N : 𝓞 E} {F : G E s → ℂ} (h𝔪 : 𝔪.ideal = Ideal.span {N}) |
| 346 | {e : InfinitePlace E → ℤ} {ψ : (w : FinPlace E) → MulChar (ResField w) ℂ} |
| 347 | [hb : AutChar.HasWeight b e ψ] (hψ : ∀ w : FinPlace E, w ∉ 𝔪.places → ψ w = 1) |
| 348 | (hF : F ∈ rapidOfLevel S N) (Ψ : Matrix n' n 𝔪.ResidueRing → ℂ) |
| 349 | (Q : MvPolynomial (InfinitePlace E × n' × n) ℂ) (h : G E s') : |
| 350 | (F * fun g : G E s ↦ modKernel S T a b 𝔪 Ψ Q g h) ∈ rapidOfLevel S N := by |
| 351 | obtain ⟨hF_rapid, hF_level⟩ := mem_rapidOfLevel_iff.mp hF |
| 352 | refine mem_rapidOfLevel_iff.mpr |
| 353 | ⟨mul_modKernel_mem_rapidFunctions hb hψ hF_rapid Ψ Q h, fun k hk g ↦ ?_⟩ |
| 354 | -- An element of level `N` is integral and reduces to `1` modulo `𝔪`. |
| 355 | have h_red : 𝔪.reductionGL ⟨k, hk.1⟩ = 1 := (𝔪.mem_principalLevel_iff h𝔪 _).mp hk |
| 356 | simp [hF_level k hk, modKernel_mul_of_reductionGL_eq_one hb hψ h_red] |
| 357 | |
| 358 | end New.Rows |
| 359 | end |