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.RingTheory.Etale.Weakly |
| 4 | import Mathlib.RingTheory.Finiteness.ModuleFinitePresentation |
| 5 | import Mathlib.RingTheory.TotallySplit |
| 6 | import TauCeti.Topology.Algebra.Group.Units |
| 7 | import TauCeti.Topology.Instances.Matrix |
| 8 | public import Lib.Weil.DualPair.HolomorphicData |
| 9 | public import Lib.Adelic.AutomorphicForms.PAdicGauge |
| 10 | public import Lib.General.LinearAlgebra.MatrixPolynomials |
| 11 | public import Lib.Weil.Lift |
| 12 | import Lib.DiscreteSeries.Holomorphic.MaximalCompactMinors |
| 13 | import Lib.DiscreteSeries.Holomorphic.ModelFunction |
| 14 | import Lib.DiscreteSeries.Theta.LocalCorrespondence |
| 15 | import Lib.GLn.SchurModule.WeylKernel |
| 16 | import Lib.General.LinearAlgebra.BlockEmbeddings |
| 17 | import Lib.PadicComparison.Descent.TestCategory |
| 18 | import Lib.SiegelWeil.RallisInner.SharpData |
| 19 | |
| 20 | /-! |
| 21 | # Holomorphic Fock vectors and a reproducing formula by theta lifts |
| 22 | |
| 23 | Polynomial vectors in the Fock model of a pair of unitary groups with signs `s` and `s'`: their |
| 24 | coefficients, their weights and the span of their translates. Then the reproducing formula, whose |
| 25 | hypotheses these facts supply. |
| 26 | |
| 27 | * `New.Rows.linSubst_variableMinor`, `New.Rows.polyMatrixCoeff_eq_holMinorsPi_mul_conj`: a minor of |
| 28 | variables is scaled by a principal minor of the group element. For a polynomial in the variables |
| 29 | of sign `1` that is scaled in this way, the coefficient at `(u, 1)` is its value at `(1, 1)` times |
| 30 | a function `holMinorsPi` times the conjugate of another. |
| 31 | * `New.Rows.prod_variableMinor_mem_holomorphicData`, |
| 32 | `New.Rows.letterPoly_highestVector_mem_holomorphicData`: two families of nonzero holomorphic |
| 33 | vectors. |
| 34 | * `New.Rows.realPairWeil_mem_span_pairedDetProd`: the definite second group moves a power of a minor |
| 35 | into the span of the products of minors of Y times the matrix of variables, for any invertible |
| 36 | matrix Y over E. |
| 37 | * `New.Rows.reproducing_formula_modKernel`: at each point, convolution with `holMinorsPi s u` is a |
| 38 | finite combination of values of theta lifts to a definite group of rank above `2 * card n`. |
| 39 | |
| 40 | Notions from other files: |
| 41 | * `New.PairFock E s s'`: the Fock space of `n' × n` matrices at every infinite place, with the signs |
| 42 | `New.homSigns s s'`, that is `s'(i) s(j)`, repeated at every place by `New.realSigns`. |
| 43 | * `New.Fock.polyVector`: the linear map P ↦ v_P from complex polynomials to the Fock space, |
| 44 | v_P(x) = P(ζ(x))exp(−|x|²/2), where ζ(x)_i is x̄_i at positive and x_i at negative coordinates. |
| 45 | * `New.realPairWeil γ e`: the real Weil representation of the pair of unitary groups, twisted by |
| 46 | `det ^ (-e)` on the first group and `det ^ γ` on the second. |
| 47 | * `New.Rows.holomorphicData s s' O u γ e`: the Fock vectors all of whose coefficients are |
| 48 | holomorphic of weight `u` on the first group, for the order `O` of its coordinates. |
| 49 | * `New.holMinorsPi s u`: the product over the infinite places of the quotients of minors of weight |
| 50 | `u`, a function on the product of the unitary groups of signs `s`. |
| 51 | |
| 52 | ## Relation to the literature |
| 53 | |
| 54 | Known result: Basis problem in the stable range, as a reproducing formula. This is a unitary version |
| 55 | at a fixed level, in which pairing with a holomorphic discrete series coefficient is, at each point, |
| 56 | a finite combination, the same for all functions of that level, of values of theta lifts to a large |
| 57 | definite group. It is deduced from injectivity by linear duality. Source: S. Böcherer, Über die |
| 58 | Fourier-Jacobi-Entwicklung Siegelscher Eisensteinreihen, Math. Z. 183 (1983); J.-S. Li, Crelle 428 |
| 59 | (1992). |
| 60 | |
| 61 | See also `Lib.Weil.Fock.OscillatorPair` and `Lib.Weil.DualPair.HolomorphicData`. |
| 62 | -/ |
| 63 | |
| 64 | @[expose] public section |
| 65 | |
| 66 | namespace New.Rows |
| 67 | |
| 68 | open MeasureTheory Set Matrix Fock SiegelWeil MvPolynomial Finset Submodule NumberField Sum |
| 69 | Heisenberg.IsVacuum Fintype ComplexConjugate Space Function Exchange Complex |
| 70 | |
| 71 | variable {n n' : Type} [Fintype n] [DecidableEq n] [Fintype n'] [DecidableEq n'] |
| 72 | variable {s : n → ℤˣ} {O : n → ℤ} {E : Type} [Field E] [CMType E] |
| 73 | variable {p q : Type} [Fintype p] [DecidableEq p] [Fintype q] [DecidableEq q] {s' : n' → ℤˣ} |
| 74 | |
| 75 | /-! ### The coefficient of a product of minors -/ |
| 76 | |
| 77 | /-- Let the rows `i a` all have sign `κ` for `s'` and let `c` enumerate the indices of sign `κ` |
| 78 | for `s`. The linear substitution of the matrix variables `X (τ, r, k)` by which `(u⁻¹, 1)` acts |
| 79 | multiplies `variableMinor τ i c`, the minor of the variables at the place `τ` in rows `i` and |
| 80 | columns `c`, by the principal minor of `u τ` on the indices of sign `κ`. -/ |
| 81 | lemma linSubst_variableMinor {i : p → n'} {c : p → n} {κ : ℤˣ} (hi : ∀ a : p, s' (i a) = κ) |
| 82 | (hc : c.Injective) (h_range : ∀ k : n, s k = κ ↔ k ∈ Set.range c) (u : GInf E s) |
| 83 | (τ : InfinitePlace E) : |
| 84 | linSubst (complexLinearPart (pairHomInf (s' := s') (u⁻¹, 1))) (variableMinor τ i c) = |
| 85 | principalMinor (u τ) (fun k : n ↦ s k = κ) • variableMinor τ i c := by |
| 86 | -- The substitution multiplies the transposed matrix of variables on the left by the block of |
| 87 | -- `u τ` on the indices of sign `κ`, which `c` enumerates; take determinants. |
| 88 | have h_var (a b : p) : |
| 89 | linSubst (complexLinearPart (pairHomInf (s' := s') (u⁻¹, 1))) (X (τ, i b, c a)) = |
| 90 | ∑ j : p, (u τ : Matrix n n ℂ) (c a) (c j) • X (τ, i b, c j) := calc |
| 91 | _ = ∑ k : n, (if s k = κ then (u τ : Matrix n n ℂ) (c a) k else 0) • X (τ, i b, k) := by |
| 92 | simp [complexLinearPart, linSubst, posProj, blockDiagonal_apply, (h_range _).2, hi, |
| 93 | sum_prod_type, mul_eq_one_iff_eq_inv', Matrix.one_apply, pairSign, pairHomInf, pairHom] |
| 94 | _ = _ := (sum_of_injective c hc _ _ (by simp +contextual [h_range]) (by simp [h_range])).symm |
| 95 | have h_minor : principalMinor (u τ) (fun k : n ↦ s k = κ) = |
| 96 | (of fun a b : p ↦ (u τ : Matrix n n ℂ) (c a) (c b)).det := |
| 97 | (det_submatrix_equiv_self |
| 98 | ((Equiv.ofInjective c hc).trans (Equiv.subtypeEquivRight h_range).symm) _).symm |
| 99 | rw [variableMinor, ← det_transpose, AlgHom.map_det, ← C_mul', h_minor, C.map_det, ← det_mul] |
| 100 | exact congrArg det (Matrix.ext fun a b ↦ by simpa [Matrix.mul_apply, C_mul'] using h_var a b) |
| 101 | |
| 102 | /-- The principal minor of the action of `(u, 1)` on matrices of variables, on the variables of sign |
| 103 | `-1` for `homSigns s s'`, is the product over the places `w` and the rows `r` of the minor of `u w` |
| 104 | of sign `s' r` over `det (u w)`. -/ |
| 105 | lemma principalMinor_pairHomInf_neg (s : n → ℤˣ) (s' : n' → ℤˣ) (u : GInf E s) : |
| 106 | principalMinor (pairHomInf (s' := s') (u, 1)) |
| 107 | (fun i : InfinitePlace E × n' × n ↦ realSigns E (homSigns s s') i = -1) = |
| 108 | ∏ w : InfinitePlace E, |
| 109 | (principalMinor (u w) (fun k : n ↦ s k = 1) / (u w : Matrix n n ℂ).det) ^ |
| 110 | card {r : n' // s' r = 1} * |
| 111 | (principalMinor (u w) (fun k : n ↦ s k = -1) / (u w : Matrix n n ℂ).det) ^ |
| 112 | card {r : n' // s' r = -1} := by |
| 113 | -- The minor splits over the places and the rows; the row `r` gives the minor of `(u w)⁻¹` of |
| 114 | -- sign `-s' r`, which `jacobi_complementary_minor` turns into that of `u w` of sign `s' r`. |
| 115 | have by_sign (w : InfinitePlace E) : |
| 116 | ∏ σ : ℤˣ, ∏ _r : {r : n' // s' r = σ}, |
| 117 | principalMinor (u w) (fun k : n ↦ σ * s k = 1) / (u w : Matrix n n ℂ).det = |
| 118 | ∏ r : n', principalMinor (u w) (fun k : n ↦ s' r * s k = 1) / (u w : Matrix n n ℂ).det := |
| 119 | prod_fiberwise' s' _ |
| 120 | simp [one_kronecker, jacobi_complementary_minor, neg_eq_iff_eq_neg, div_pow, div_mul_div_comm, |
| 121 | ← by_sign, pairHomInf, pairHom, pairSign, Int.units_ne_iff_eq_neg, |
| 122 | GeneralLinearGroup.det_ne_zero] |
| 123 | |
| 124 | /-- Let `P` be a polynomial in the variables of sign `1` for `homSigns s s'`, those `(w, r, k)` with |
| 125 | `s' r * s k = 1`, that the substitution attached to `u⁻¹` multiplies by the powers `ν`, `c` of the |
| 126 | two principal minors of `u`. Its coefficient `polyMatrixCoeff` (the pairing of its Fock vector with |
| 127 | the translate by `(u, 1)`) is the value at `(1, 1)` times `holMinorsPi s v u` times the conjugate of |
| 128 | `holMinorsPi s k u`, for `v = (-ν; r₊) + r₋ - e` and `k = (0; c + r₋)`. Here `r₋ = negCount s'` |
| 129 | and `r₊ = card n' - r₋` count the signs of `s'`, `(a; b)` has entries `a` where `s = 1` and `b` |
| 130 | elsewhere, and `e` is the weight of the character on the first group (`e = r₋` for the standard |
| 131 | splitting). -/ |
| 132 | lemma polyMatrixCoeff_eq_holMinorsPi_mul_conj (s : n → ℤˣ) (s' : n' → ℤˣ) |
| 133 | (P : MvPolynomial (InfinitePlace E × n' × n) ℂ) |
| 134 | (hP : P ∈ supported ℂ {p : InfinitePlace E × n' × n | realSigns E (homSigns s s') p = 1}) |
| 135 | {ν c : InfinitePlace E → ℕ} (γ e : InfinitePlace E → ℤ) |
| 136 | (hscale : ∀ u : GInf E s, linSubst (complexLinearPart (pairHomInf (s' := s') (u⁻¹, 1))) P = |
| 137 | (∏ w : InfinitePlace E, principalMinor (u w) (fun k : n ↦ s k = 1) ^ ν w * |
| 138 | principalMinor (u w) (fun k : n ↦ s k = -1) ^ c w) • P) |
| 139 | (u : GInf E s) : |
| 140 | polyMatrixCoeff s s' γ e P u 1 = polyMatrixCoeff s s' γ e P 1 1 * |
| 141 | holMinorsPi s (fun (w : InfinitePlace E) (i : n) ↦ |
| 142 | if s i = 1 then -ν w + (negCount s' - e w) |
| 143 | else (card n' - negCount s' : ℕ) + (negCount s' - e w)) u * |
| 144 | conj (holMinorsPi s (fun (w : InfinitePlace E) (i : n) ↦ |
| 145 | if s i = 1 then 0 else c w + negCount s') u) := by |
| 146 | -- `P` has no variable of sign `-1`, so it is harmonic, even with all coordinates in one group, |
| 147 | -- and `fockMatrixCoeff_eq_fockInner` applies: the coefficient is `⟨v_P', v_P⟩` over the |
| 148 | -- negative minor of `pairHomInf (u, 1)` and over `∏ det (u w) ^ e w`, with `P'` the substitution |
| 149 | -- of `P` by `(complexLinearPart (pairHomInf (u, 1)))⁻¹`, which only scales `P`. |
| 150 | let σ : InfinitePlace E × n' × n → ℤˣ := realSigns E (homSigns s s') |
| 151 | have harmonic (i j : InfinitePlace E × n' × n) (h : σ i ≠ σ j) : pderiv i (pderiv j P) = 0 := by |
| 152 | have h_neg {k : InfinitePlace E × n' × n} (hk : σ k ≠ 1) : pderiv k P = 0 := |
| 153 | pderiv_eq_zero_of_notMem_vars fun hk' ↦ hk (mem_supported.1 hP hk') |
| 154 | by_cases hj : σ j = 1 |
| 155 | · rw [MvPolynomial.pderiv_comm, h_neg (h.trans_eq hj), map_zero] |
| 156 | · rw [h_neg hj, map_zero] |
| 157 | let t : ℂ := ∏ w : InfinitePlace E, principalMinor (u⁻¹ w) (fun k : n ↦ s k = 1) ^ ν w * |
| 158 | principalMinor (u⁻¹ w) (fun k : n ↦ s k = -1) ^ c w |
| 159 | have scale : linSubst (complexLinearPart (pairHomInf (s' := s') (u, 1)))⁻¹ P = t⁻¹ • P := by |
| 160 | have ht : t ≠ 0 := by simp [t, prod_ne_zero_iff, U.principalMinor_sign_ne_zero, -Pi.inv_apply] |
| 161 | rw [eq_inv_smul_iff₀ ht, ← map_smul, ← hscale u⁻¹, ← linSubst_mul] |
| 162 | simp |
| 163 | have coeff : polyMatrixCoeff s s' γ e P u 1 = |
| 164 | (∏ w : InfinitePlace E, (u w : Matrix n n ℂ).det ^ e w)⁻¹ * |
| 165 | (principalMinor (pairHomInf (s' := s') (u, 1)) fun i ↦ σ i = -1)⁻¹ * |
| 166 | conj t⁻¹ * polyMatrixCoeff s s' γ e P 1 1 := by |
| 167 | rw [polyMatrixCoeff, polyMatrixCoeff, realPairWeil_apply_apply, map_smul, ← fockMatrixCoeff, |
| 168 | fockMatrixCoeff_eq_fockInner _ (d := const _ ()) (by simp) |
| 169 | _ (fun i j _ ↦ harmonic i j) _ (fun i j _ ↦ harmonic i j), scale] |
| 170 | simp [σ, mul_assoc, Prod.mk_one_one] |
| 171 | -- The negative minor splits over the places and the rows, and the weights are constant on each |
| 172 | -- sign, so both sides are products of powers of `det (u w)` and of its two minors, all nonzero. |
| 173 | rw [coeff, principalMinor_pairHomInf_neg] |
| 174 | simp (disch := lia) only [holMinorsPi, holMinors_ite_sign] |
| 175 | simp [t, negCount, ← card_subtype_compl, ← U.principalMinor_coe_inv, ← inv_eq_conj, |
| 176 | jacobi_complementary_minor, zpow_add₀, zpow_sub₀, div_pow, prod_mul_distrib, |
| 177 | Int.units_ne_iff_eq_neg, GeneralLinearGroup.det_ne_zero] |
| 178 | field_simp [prod_ne_zero_iff, GeneralLinearGroup.det_ne_zero] |
| 179 | |
| 180 | /-! ### Holomorphic products of minors and their translates -/ |
| 181 | |
| 182 | /-- For signs `+1` on `p` and `-1` on `q`, an order `O` that puts `p` first and a definite second |
| 183 | space of coordinates `n'`, let `Q` be the product over the infinite places of the `d`-th power of |
| 184 | the minor (`variableMinor`) in rows `i` and all the positive columns. Then `Q ≠ 0` and its Fock |
| 185 | vector is holomorphic (`holomorphicData`) of weight `-d` on `p` and `card n'` on `q`, for the |
| 186 | character weights `γ` and `0`. -/ |
| 187 | lemma prod_variableMinor_mem_holomorphicData {O : p ⊕ q → ℤ} |
| 188 | (ho : IsPosFirstOrder (n := p ⊕ q) (1 ⊕ᵥ -1) O) (i : p ↪ n') (d : ℕ) (γ : InfinitePlace E → ℤ) : |
| 189 | let Q : MvPolynomial (InfinitePlace E × n' × (p ⊕ q)) ℂ := |
| 190 | ∏ w : InfinitePlace E, ∏ _ : Fin d, variableMinor w i inl |
| 191 | Q ≠ 0 ∧ |
| 192 | polyVector (realSigns E (homSigns (1 ⊕ᵥ -1) 1)) Q ∈ holomorphicData (E := E) (1 ⊕ᵥ -1) 1 O |
| 193 | (fun _ : InfinitePlace E ↦ -d ⊕ᵥ Fintype.card n') γ 0 := by |
| 194 | -- At each place the polynomial is the product of `d` equal layers, the minor on the rows `i` and |
| 195 | -- the positive columns; `IsLayering.isJointHighest_of_eq_prod_det` makes it a joint harmonic and |
| 196 | -- `prod_mem_holomorphicData` concludes. |
| 197 | let ρ : Fin d → p → n' := fun _ ↦ i |
| 198 | let κ : Fin d → p → p ⊕ q := fun _ ↦ inl |
| 199 | let T (w : InfinitePlace E) : FockDualPair (1 : n' → ℤˣ) (1 ⊕ᵥ -1 : p ⊕ q → ℤˣ) (n' × (p ⊕ q)) := |
| 200 | FockDualPair.std 1 (1 ⊕ᵥ -1) (γ w) (-0) -- `-0`, as in `prod_mem_holomorphicData` |
| 201 | let ν (w : InfinitePlace E) (r : n') : ℤ := |
| 202 | (T w).vacuumWeight 1 + ∑ t : Fin d, ∑ a : p with ρ t a = r, ((T w).varSign (r, κ t a)).val |
| 203 | have h_rows (w : InfinitePlace E) : IsLayering (T w) 0 (ν w) ρ κ := |
| 204 | { injective _ := i.inj', sign_eq := by simp [κ], closed := by simp, weight_eq _ := rfl } |
| 205 | have h_cols (w : InfinitePlace E) : IsLayering (T w).swap (-O) (-d ⊕ᵥ card n') κ ρ := |
| 206 | { injective _ := inl_injective, sign_eq := by simp, closed := by simp [κ, T] |
| 207 | weight_eq := by simp [κ, T, filter_eq', vacuumWeight, pairSign] } |
| 208 | exact prod_mem_holomorphicData ho (l := fun _ ↦ O) (by simp) |
| 209 | (fun w ↦ (h_rows w).isJointHighest_of_eq_prod_det (h_cols w) rfl) |
| 210 | (by simp [ρ, κ, T, variableMinor, AlgHom.map_det, Matrix.map]) |
| 211 | |
| 212 | /-- For signs `+1` on `p` and `-1` on `q`, let `Y` be an invertible matrix over `E`. An element `y` |
| 213 | of the definite second group maps, under `realPairWeil`, the Fock vector of the product over the |
| 214 | places `w` of the `d`-th power of the minor in rows `i` and the columns of sign `+1` into the span |
| 215 | of the Fock vectors of `pairedDetProd`: for a choice `I` of rows, the product over `w` and `k` of |
| 216 | the determinants of the rows `I w k` of `Φ w Y` times the positive columns of variables, `Φ w` |
| 217 | being the chosen embedding of `E` at `w`. -/ |
| 218 | lemma realPairWeil_mem_span_pairedDetProd (i : p → n') {Y : Matrix n' n' E} (hY : IsUnit Y) (d : ℕ) |
| 219 | (γ : InfinitePlace E → ℤ) (y : GInf E 1) : |
| 220 | realPairWeil (s := 1 ⊕ᵥ -1) (s' := 1) γ 0 (1, y) |
| 221 | (polyVector (realSigns E (homSigns (1 ⊕ᵥ -1) 1)) |
| 222 | (∏ w : InfinitePlace E, ∏ _ : Fin d, variableMinor w i (inl : p → p ⊕ q))) ∈ |
| 223 | span ℂ (Set.range fun I : InfinitePlace E → Fin d → p → n' ↦ |
| 224 | polyVector (realSigns E (homSigns (1 ⊕ᵥ -1) 1)) |
| 225 | (pairedDetProd (fun (w : InfinitePlace E) (k : n') (b : p) ↦ X (w, k, inl b)) |
| 226 | fun (w : InfinitePlace E) (k : Fin d) ↦ (Y.map (Φ w)).submatrix (I w k) id)) := by |
| 227 | -- `(1, y)` substitutes `yᵀ` in the positive columns. As `Y` is invertible, the rows of `yᵀ` are |
| 228 | -- combinations of the rows of `Y`, and multilinearity of the determinant expands each |
| 229 | -- substituted minor as a combination of minors in the rows of `Y`. |
| 230 | have h_rows (w : InfinitePlace E) (a : n') : |
| 231 | ∃ v : n' → ℂ, ∀ k : n', ∑ c : n', v c * Φ w (Y c k) = (y w : Matrix n' n' ℂ) k a := by |
| 232 | obtain ⟨v, hv⟩ := vecMul_surjective_iff_isUnit.2 (hY.map (Φ w).mapMatrix) |
| 233 | ((y w : Matrix n' n' ℂ)ᵀ a) |
| 234 | exact ⟨v, congrFun hv⟩ |
| 235 | choose M hM using h_rows |
| 236 | -- `row w c` is the row `c` of `Φ w Y` times the positive columns of variables at `w` |
| 237 | let row (w : InfinitePlace E) (c : n') (b : p) : |
| 238 | MvPolynomial (InfinitePlace E × n' × (p ⊕ q)) ℂ := ∑ k, C (Φ w (Y c k)) * X (w, k, inl b) |
| 239 | -- By `realPairWeil_polyVector`, `(1, y)` acts as a scalar times a linear substitution `σ` of the |
| 240 | -- variables; only the effect of `σ` on the positive columns matters. |
| 241 | rw [realPairWeil_polyVector _ _ (by simp) (by simp)] |
| 242 | refine smul_mem _ _ ?_ |
| 243 | generalize hσ : (aeval _ : MvPolynomial _ ℂ →ₐ[ℂ] MvPolynomial _ ℂ) = σ |
| 244 | have h_entry (w : InfinitePlace E) (a : n') (b : p) : |
| 245 | σ (X (w, a, inl b)) = (∑ c : n', M w a c • row w c) b := by |
| 246 | simpa [← hσ, row, ← hM, sum_smul, mul_smul, C_mul', smul_sum, Matrix.one_apply] using sum_comm |
| 247 | have h_minor (w : InfinitePlace E) : σ (variableMinor w i inl) = |
| 248 | ∑ r : p → n', (∏ a : p, M w (i a) (r a)) • (of fun a ↦ row w (r a)).det := calc |
| 249 | _ = (of fun a : p ↦ ∑ c : n', M w (i a) c • row w c).det := |
| 250 | (σ.map_det _).trans (congrArg det (Matrix.ext fun a b ↦ h_entry w (i a) b)) |
| 251 | -- the determinant is multilinear in its rows |
| 252 | _ = ∑ r : p → n', (of fun a : p ↦ M w (i a) (r a) • row w (r a)).det := |
| 253 | detRowAlternating.toMultilinearMap.map_sum fun a c ↦ M w (i a) c • row w c |
| 254 | _ = _ := Finset.sum_congr rfl fun r _ ↦ |
| 255 | (detRowAlternating.toMultilinearMap.restrictScalars ℂ).map_smul_univ _ fun a ↦ row w (r a) |
| 256 | simp only [map_prod σ, h_minor, prod_univ_sum, prod_smul, map_sum, map_smul] |
| 257 | -- by definition `pairedDetProd` is a product of minors in the rows `row w c` |
| 258 | exact sum_smul_mem _ _ fun r _ ↦ subset_span ⟨r, rfl⟩ |
| 259 | |
| 260 | /-- Let the order `O` put the sign `+1` first. (a) Within each sign the parameter `l` increases |
| 261 | along `O`, and `l` is injective. (b) `o a` counts the indices `b` of the sign of `a` |
| 262 | with `s a * l a < s a * l b`. (c) The column multiplicities `κ τ i` vanish for `i` above the |
| 263 | number of indices of sign `c`. Let `Q` be the polynomial `letterPoly` of the highest vector of |
| 264 | weight `κ`: the product over the places `τ` and the sizes `i < card n'` of the `κ τ i`-th powers |
| 265 | of minors of size `i` of the variables, on the rows where `equivFin n'` takes its `i` largest |
| 266 | values and the columns `a` of sign `c` with `o a < i`. Then `Q` is nonzero and its Fock vector is |
| 267 | holomorphic (`holomorphicData`), for the character weights `γ` and `w`, of weight `staircaseWeight`: |
| 268 | at each column the vacuum weight shifted by `-w τ`, minus the sign times the number of these minors |
| 269 | that contain the column. -/ |
| 270 | lemma letterPoly_highestVector_mem_holomorphicData (hO : IsPosFirstOrder s O) {E : Type} [Field E] |
| 271 | [CMType E] {o : n → ℕ} {l : n → ℤ} |
| 272 | (hl : ∀ a b : n, s a = s b → O a < O b → l a < l b) (hl_inj : l.Injective) |
| 273 | (ho_count : ∀ a : n, o a = #{b : n | s b = s a ∧ s a * l a < s a * l b}) (c : ℤˣ) |
| 274 | {κ : InfinitePlace E → ℕ → ℕ} {γ w : InfinitePlace E → ℤ} |
| 275 | (hκ : ∀ (τ : InfinitePlace E) (i : ℕ), Fintype.card {a : n // s a = c} < i → κ τ i = 0) : |
| 276 | let Q : MvPolynomial (InfinitePlace E × n' × n) ℂ := |
| 277 | letterPoly s o c κ (highestVector κ fun (_ : InfinitePlace E) (i : n') ↦ equivFin n' i) |
| 278 | Q ≠ 0 ∧ |
| 279 | polyVector (realSigns E (homSigns s 1)) Q ∈ holomorphicData (E := E) s 1 O |
| 280 | (fun τ : InfinitePlace E ↦ staircaseWeight n' s o (Pi.single c (κ τ)) (-w τ)) γ w := by |
| 281 | -- At each place the polynomial is the staircase of `isJointHighest_prod_det_pow_staircaseWeight` |
| 282 | -- with minors of sign `c` only. |
| 283 | have h_inj : Injective fun i : n' ↦ (c * equivFin n' i : ℤ) := by |
| 284 | fin_cases c <;> simp [Fin.val_inj, Injective] |
| 285 | have h_cols (τ : InfinitePlace E) (η : ℤˣ) (i : ℕ) (hi_gt : card {a : n // s a = η} < i) |
| 286 | (_ : i < card n') : (Pi.single c (κ τ) : ℤˣ → ℕ → ℕ) η i = 0 := by |
| 287 | obtain rfl | hη := eq_or_ne η c |
| 288 | · rw [Pi.single_eq_same, hκ τ i hi_gt] |
| 289 | · rw [Pi.single_eq_of_ne hη, Pi.zero_apply] |
| 290 | refine prod_mem_holomorphicData hO (fun _ ↦ hl) |
| 291 | (fun τ ↦ isJointHighest_prod_det_pow_staircaseWeight hl_inj h_inj ho_count (Pi.single c (κ τ)) |
| 292 | (h_cols τ) |
| 293 | (by fin_cases c <;> simp) fun _ ↦ rfl) ?_ |
| 294 | -- Unfold the highest vector: it is the product of these minors. |
| 295 | fin_cases c <;> |
| 296 | simp [letterPoly, highestVector, weylKernel, highestPoly, tableauPoly, minor, permArray, |
| 297 | fockLetters, ite_and, sum_filter, rowSubst, apply_ite, decreasingPosition, AlgHom.map_det, |
| 298 | Matrix.map, staircaseBlock] |
| 299 | |
| 300 | /-! ### The reproducing formula -/ |
| 301 | |
| 302 | /-- Let `S` have signs `s` and let the order `O` put the sign `+1` first. Let `u` be `K`-dominant |
| 303 | for `O`, with `holMinorsPi s u` integrable; this is the function on the real points `h` given by the |
| 304 | product over the infinite places `τ` of the quotients of minors of weight `u τ` at `h τ`. Let |
| 305 | `Q₀ ≠ 0` have a holomorphic Fock vector of weight `u` for the character weights `γ'`, `γ`. Let `c` |
| 306 | and `b` be the characters of the theta kernel of `S` and the standard definite space of rank |
| 307 | `card n'`, with `b` of weight `γ` and trivial tame part (`b.HasWeight γ 1`). Let `𝔪 = (N)` have a |
| 308 | prime divisor and let `card n'` exceed twice `card n`. If `ψ` is rapidly decreasing of level `N` and |
| 309 | its lift by the datum (`modDatum`) of `Q₀` and of the indicator of the matrix of `e : n ↪ n'` modulo |
| 310 | `𝔪` vanishes, then `realConv (holMinorsPi s u) ψ`, the convolution of `ψ` with it over the real |
| 311 | points, vanishes. -/ |
| 312 | lemma realConv_holMinorsPi_eq_zero_of_lift_eq_zero (ho : IsPosFirstOrder s O) {E : Type} [Field E] |
| 313 | [CMType E] [WeilData E] {𝔪 : Modulus E} {N : 𝓞 E} |
| 314 | (hN : 𝔪.ideal = Ideal.span {N}) (h𝔪 : Nonempty 𝔪.places) (S : Space E n s) {c b : AutChar E} |
| 315 | {γ' γ : InfinitePlace E → ℤ} {u : InfinitePlace E → n → ℤ} (hb : b.HasWeight γ 1) |
| 316 | (h_dom : ∀ w : InfinitePlace E, IsKDominant s O (u w)) (h_int : Integrable (holMinorsPi s u)) |
| 317 | (h_rank : 2 * Fintype.card n < Fintype.card n') (e : n ↪ n') |
| 318 | {Q₀ : MvPolynomial (InfinitePlace E × n' × n) ℂ} (hQ₀_ne : Q₀ ≠ 0) |
| 319 | (hQ₀_hol : polyVector (realSigns E (homSigns s 1)) Q₀ ∈ holomorphicData s 1 O u γ' γ) |
| 320 | {ψ : G E s → ℂ} (hψ : ψ ∈ rapidOfLevel S N) (h_lift : lift (pairThetaKer S (stdSpace E n') c b) |
| 321 | (modDatum S (stdSpace E n') 𝔪 (Pi.single (inclMatrix 𝔪.ResidueRing e) 1) |
| 322 | (polyVector (realSigns E (homSigns s 1)) Q₀)) ψ = 0) : |
| 323 | realConv (holMinorsPi s u) ψ = 0 := by |
| 324 | -- The matrix coefficient `φ` of `v₀` is holomorphic and hermitian, so it is a multiple of |
| 325 | -- `holMinorsPi s u`; the vanishing of the lift kills the convolution of `ψ` with `φ`. |
| 326 | let v₀ : PairFock E s (1 : n' → ℤˣ) := polyVector _ Q₀ |
| 327 | let Ψ : Matrix n' n 𝔪.ResidueRing → ℂ := Pi.single (inclMatrix 𝔪.ResidueRing e) 1 |
| 328 | let φ (h : GInf E s) : ℂ := fockInner v₀ (realPairWeil γ' γ (h, 1) v₀) |
| 329 | have hermitian (h : GInf E s) : φ h⁻¹ = conj (φ h) := by |
| 330 | rw [conj_modelInner, ← modelInner_weilRep (realAction _) (pairHomInf (h⁻¹, 1))] |
| 331 | simp [φ, realPairWeil, rep_apply_apply, ← map_mul, inv_eq_conj, Prod.mk_one_one] |
| 332 | have coeff (h : GInf E s) : φ h = holMinorsPi s u h * fockInner v₀ v₀ := by |
| 333 | simpa [Prod.mk_one_one] using (hQ₀_hol (fockInner v₀)).eq_holMinorsPi_mul ho h_dom hermitian h |
| 334 | -- The finite datum of `Ψ` is sharp for the level `1 mod 𝔪`, under which `ψ` is invariant. |
| 335 | have sharp : IsSharp b 𝔪.places.conjClosure (vacuumDatum S (stdSpace E n') 𝔪 Ψ).val |
| 336 | (𝔪.levelOfSubgroup ⊥) (star Ψ ⬝ᵥ Ψ / card (n' × n → 𝔪.ResidueRing) / card |
| 337 | (GL n 𝔪.ResidueRing)) := |
| 338 | isSharp_vacuumDatum_of_mul_eq_one _ b (.inr h𝔪) (inclMatrix 𝔪.ResidueRing e)ᵀ |
| 339 | (by simp [Ψ, Pi.single_apply]) (by simp) (by simp [Ψ]) |
| 340 | obtain ⟨h_rapid, h_inv⟩ := Submodule.mem_inf.1 hψ |
| 341 | have level : HasLevel ψ (𝔪.levelOfSubgroup ⊥) := |
| 342 | forall_mem_image.2 fun k hk ↦ congrFun (h_inv ⟨k, (𝔪.mem_principalLevel_iff hN k).2 hk⟩) |
| 343 | have conv_zero : realConv φ ψ = 0 := |
| 344 | realConv_eq_zero_of_lift_eq_zero sharp v₀ level h_rapid h_rank h_lift γ' |
| 345 | (show Integrable φ by simp [funext coeff, h_int.mul_const]) |
| 346 | have h_scale : realConv φ ψ = fockInner v₀ v₀ • realConv (holMinorsPi s u) ψ := funext fun y ↦ by |
| 347 | simp [realConv, coeff, ← integral_const_mul, mul_assoc, mul_left_comm (holMinorsPi s u _)] |
| 348 | have inner_ne : fockInner v₀ v₀ ≠ 0 := eq_zero_of_modelInner_self.mt (by simp [v₀, hQ₀_ne]) |
| 349 | exact (smul_eq_zero_iff_right inner_ne).1 (h_scale.symm.trans conv_zero) |
| 350 | |
| 351 | /-- Let the characters `c` and `b` define the theta kernel of a hermitian space `S` of signs `s` and |
| 352 | the standard definite space of rank `card n'`, let `c` have weight `γ'` and trivial tame part |
| 353 | (`c.HasWeight γ' 1`), let `𝔪 = (N)`, and let `ψ` be a rapidly decreasing automorphic function for |
| 354 | `S` (`ψ ∈ S.rapidFunctions`). For each class `p` of level `N` of the definite unitary group, let the |
| 355 | span of the Fock vectors of the `Q p i` contain the translates of the vector of `Q₀` by the real |
| 356 | points of that group. If, at each class `p`, the theta lift of `ψ` by each `Q p i`, taken with the |
| 357 | indicator of the matrix of the inclusion `e` modulo `𝔪` (the datum `modDatum`: the Fock vector |
| 358 | paired by `integrated` with the Schrödinger operator of that indicator on the vacuum), vanishes, |
| 359 | then the lift by `Q₀` vanishes everywhere. -/ |
| 360 | lemma lift_modDatum_eq_zero_of_mem_span {E : Type} [Field E] [CMType E] [WeilData E] |
| 361 | {𝔪 : Modulus E} {N : 𝓞 E} (hN : 𝔪.ideal = Ideal.span {N}) (S : Space E n s) |
| 362 | {c b : AutChar E} {γ' : InfinitePlace E → ℤ} (hc : c.HasWeight γ' 1) (e : n ↪ n') |
| 363 | {Q₀ : MvPolynomial (InfinitePlace E × n' × n) ℂ} {ι : Type*} |
| 364 | (Q : StdClasses (principalLevel n' N) → ι → MvPolynomial (InfinitePlace E × n' × n) ℂ) |
| 365 | (h_span : ∀ (p : StdClasses (principalLevel n' N)) (y : GInf E 1), |
| 366 | realPairWeil (s := s) (s' := 1) γ' 0 (1, y) (polyVector (realSigns E (homSigns s 1)) Q₀) ∈ |
| 367 | span ℂ (Set.range fun i : ι ↦ polyVector (realSigns E (homSigns s 1)) (Q p i))) |
| 368 | {ψ : G E s → ℂ} (h_rapid : ψ ∈ S.rapidFunctions) |
| 369 | (h_zero : ∀ (p : StdClasses (principalLevel n' N)) (i : ι), |
| 370 | lift (pairThetaKer S (stdSpace E n') c b) |
| 371 | (modDatum S (stdSpace E n') 𝔪 (Pi.single (inclMatrix 𝔪.ResidueRing e) 1) |
| 372 | (polyVector (realSigns E (homSigns s 1)) (Q p i))) ψ (1, p.out) = 0) : |
| 373 | lift (pairThetaKer S (stdSpace E n') c b) |
| 374 | (modDatum S (stdSpace E n') 𝔪 (Pi.single (inclMatrix 𝔪.ResidueRing e) 1) |
| 375 | (polyVector (realSigns E (homSigns s 1)) Q₀)) ψ = 0 := by |
| 376 | -- Move `y` to the representative of its class `p` by a rational point, a point of level `N` and |
| 377 | -- a real point, and expand the translate of the vector of `Q₀` in the `Q p i`. |
| 378 | let T : Space E n' 1 := stdSpace E n' |
| 379 | let K : ThetaKernel (𝒮 (S.hom T)) S T := pairThetaKer S T c b |
| 380 | let Ψ : Matrix n' n 𝔪.ResidueRing → ℂ := Pi.single (inclMatrix 𝔪.ResidueRing e) 1 |
| 381 | ext y |
| 382 | obtain ⟨p, g, w, hy⟩ := |
| 383 | exists_eq_map_mul_rep_mul T.embFin (principalLevel n' N) (fun p ↦ p.out_eq) y.2 |
| 384 | have y_eq : y = T.ratEmbed g * (1, p.out) * (1, w.val) * ((T.ratEmbed g⁻¹ * y).1, 1) := |
| 385 | Prod.ext (by simp) (hy.trans (mul_one _).symm) |
| 386 | have fixed (v : PairFock E s (1 : n' → ℤˣ)) : |
| 387 | pairWeil S T c b (1, 1, w.val) (modDatum S T 𝔪 Ψ v) = modDatum S T 𝔪 Ψ v := by |
| 388 | simpa [hc.apply_det_eq_one w.property.1, (𝔪.mem_principalLevel_iff hN _).1, |
| 389 | Prod.mk_one_one] using |
| 390 | pairWeil_modDatum_stdLevel S T c b 𝔪 1 ⟨w, w.property.1⟩ Ψ v |
| 391 | -- `Λ` sends `v` to the lift of `ψ` by the datum of `v` and `Ψ` at the class `p`. |
| 392 | let Λ : PairFock E s (1 : n' → ℤˣ) →ₗ[ℂ] ℂ := |
| 393 | .proj (1, p.out) ∘ₗ K.liftBilin.flip ⟨ψ, h_rapid⟩ ∘ₗ ((integrated (S.hom T)).flip |
| 394 | ((S.hom T).schrodingerOp 𝔪.places (𝔪.liftFn (Ψ ∘ vecToMatrix)) (S.hom T).vacElem)).toLinearMap |
| 395 | have hΛ (v : PairFock E s (1 : n' → ℤˣ)) : Λ v = lift K (modDatum S T 𝔪 Ψ v) ψ (1, p.out) := rfl |
| 396 | have moved (v : PairFock E s (1 : n' → ℤˣ)) : lift K (modDatum S T 𝔪 Ψ v) ψ y = |
| 397 | Λ (realPairWeil (s := s) (s' := 1) γ' 0 (1, (T.ratEmbed g⁻¹ * y).1) v) := by |
| 398 | simp only [hΛ, modDatum] at fixed ⊢ |
| 399 | conv_lhs => rw [y_eq] |
| 400 | rw [lift_mul_right, lift_mul_right, K.fixesLeft_lift _ ⟨g, rfl⟩, |
| 401 | pairWeil_integrated_right c, fixed] |
| 402 | -- `Λ` vanishes on the span of the `Q p i`. |
| 403 | exact (moved _).trans (mem_span.1 (h_span p _) Λ.ker (range_subset_iff.2 (h_zero p))) |
| 404 | |
| 405 | /-- Reproducing formula. Let the order `O` put the sign `+1` first, and let `S` be a hermitian space |
| 406 | over `E` of signs `s`. Assume: (a) `𝔪 = (N)` has a prime divisor, and the characters `c` and `b` |
| 407 | have weights `γ'` and `γ` and trivial tame part; (b) `u` is `K`-dominant for `O` and |
| 408 | `holMinorsPi s u` (the product over infinite places `w` of the quotients of minors `holMinors` of |
| 409 | weight `u w`) is integrable; (c) the definite space `New.stdSpace` of rank `card n'` has more than |
| 410 | twice the rank of `S`; (d) `Q₀ ≠ 0` and its Fock vector is holomorphic of weight `u` for the |
| 411 | character weights `γ'` and `γ`; (e) for each class `p` of level `N` of the unitary group of this |
| 412 | definite space, the span of the Fock vectors of the `Q p i` contains the translates of that of `Q₀` |
| 413 | by the real points of that group. Then for each point `x` there are constants `a` such that, for all |
| 414 | `ψ` in `rapidOfLevel S N` (rapidly decreasing, automorphic and of level `N`), the integral |
| 415 | `∫ ψ(x (h, 1)) holMinorsPi s u h dh` over `h` in the archimedean group `∏_w U(diag s)` is the sum of |
| 416 | `a (p, i)` times the integral of `ψ` against the theta kernel `modKernelStdSpace` at the class `p` |
| 417 | (the kernel of the lift by `pairThetaKer S (stdSpace E n') c b` with the datum `modDatum`), taken |
| 418 | with polynomial `Q p i` and, modulo `𝔪`, the indicator of the matrix of the inclusion `e`. -/ |
| 419 | lemma reproducing_formula_modKernel (ho : IsPosFirstOrder s O) {E : Type} [Field E] [CMType E] |
| 420 | [WeilData E] {𝔪 : Modulus E} {N : 𝓞 E} [Fact (N ≠ 0)] |
| 421 | (hN : 𝔪.ideal = Ideal.span {N}) (h𝔪 : Nonempty 𝔪.places) (S : Space E n s) {c b : AutChar E} |
| 422 | {γ' γ : InfinitePlace E → ℤ} {u : InfinitePlace E → n → ℤ} (hc : c.HasWeight γ' 1) |
| 423 | (hb : b.HasWeight γ 1) (h_dom : ∀ w : InfinitePlace E, IsKDominant s O (u w)) |
| 424 | (h_int : Integrable (holMinorsPi s u)) (h_rank : 2 * Fintype.card n < Fintype.card n') |
| 425 | (e : n ↪ n') {Q₀ : MvPolynomial (InfinitePlace E × n' × n) ℂ} (hQ₀_ne : Q₀ ≠ 0) |
| 426 | (hQ₀_hol : polyVector (realSigns E (homSigns s 1)) Q₀ ∈ holomorphicData s 1 O u γ' γ) |
| 427 | {ι : Type*} [Fintype ι] |
| 428 | (Q : StdClasses (principalLevel n' N) → ι → MvPolynomial (InfinitePlace E × n' × n) ℂ) |
| 429 | (h_span : ∀ (p : StdClasses (principalLevel n' N)) (y : GInf E 1), |
| 430 | realPairWeil (s := s) (s' := 1) γ' 0 (1, y) (polyVector (realSigns E (homSigns s 1)) Q₀) ∈ |
| 431 | span ℂ (Set.range fun i : ι ↦ polyVector (realSigns E (homSigns s 1)) (Q p i))) |
| 432 | (x : (InfinitePlace E → USign s) × Gf E n) : |
| 433 | ∃ a : StdClasses (principalLevel n' N) × ι → ℂ, ∀ ψ : G E s → ℂ, ψ ∈ rapidOfLevel S N → |
| 434 | ∫ h : InfinitePlace E → USign s, ψ (x * (h, 1)) * holMinorsPi s u h = |
| 435 | ∑ i : StdClasses (principalLevel n' N) × ι, |
| 436 | a i * ∫ g : G E s, ψ g * modKernelStdSpace S c b 𝔪 |
| 437 | (Pi.single (inclMatrix 𝔪.ResidueRing e) 1) |
| 438 | (Q i.1 i.2) g i.1.out ∂S.quotMeasure := by |
| 439 | -- On the space `rapidOfLevel S N` the left side is a linear form `ℓ` and the pairings on the |
| 440 | -- right are linear forms `L i`. It is enough that `ℓ` vanishes where all `L i` do. There the |
| 441 | -- theta lift by `Q₀` is `0`, so the convolution with `holMinorsPi s u` vanishes. |
| 442 | let T : Space E n' 1 := stdSpace E n' |
| 443 | let K : ThetaKernel (𝒮 (S.hom T)) S T := pairThetaKer S T c b |
| 444 | let Ψ : Matrix n' n 𝔪.ResidueRing → ℂ := Pi.single (inclMatrix 𝔪.ResidueRing e) 1 |
| 445 | let L (i : StdClasses (principalLevel n' N) × ι) : rapidOfLevel S N →ₗ[ℂ] ℂ := |
| 446 | .proj (1, i.1.out) ∘ₗ |
| 447 | K.liftBilin (modDatum S T 𝔪 Ψ (polyVector _ (Q i.1 i.2))) ∘ₗ inclusion inf_le_left |
| 448 | have integrable (ψ : rapidOfLevel S N) : |
| 449 | Integrable fun h : GInf E s ↦ holMinorsPi s u h * ψ.val (x * (h, 1)) := by |
| 450 | obtain ⟨⟨⟨h_cont, -⟩, h_decay⟩, -⟩ := ψ.property |
| 451 | exact (IsBoundedMeasurable.of_continuous h_decay.bounded h_cont).integrable_mul_comp h_int _ |
| 452 | let ℓ : rapidOfLevel S N →ₗ[ℂ] ℂ := |
| 453 | { toFun ψ := realConv (holMinorsPi s u) ψ.val x |
| 454 | map_add' ψ ψ' := by simp [realConv, mul_add, integral_add, integrable] |
| 455 | map_smul' z ψ := by simp [realConv, mul_left_comm (holMinorsPi s u _) z, integral_const_mul] } |
| 456 | suffices ker_le : ⨅ i : StdClasses (principalLevel n' N) × ι, (L i).ker ≤ ℓ.ker by |
| 457 | obtain ⟨a, ha⟩ : ∃ a : StdClasses (principalLevel n' N) × ι → ℂ, ∑ i, a i • L i = ℓ := |
| 458 | (mem_span_range_iff_exists_fun ℂ).1 (mem_span_of_iInf_ker_le_ker ker_le) |
| 459 | refine ⟨a, fun ψ hψ ↦ ?_⟩ |
| 460 | have h_L (i : StdClasses (principalLevel n' N) × ι) : L i ⟨ψ, hψ⟩ = |
| 461 | ∫ g : G E s, modKernelStdSpace S c b 𝔪 Ψ (Q i.1 i.2) g i.1.out * ψ g ∂S.quotMeasure := rfl |
| 462 | simpa [mul_comm (ψ _), h_L, ℓ, realConv, Ψ] using (LinearMap.congr_fun ha ⟨ψ, hψ⟩).symm |
| 463 | rintro ⟨ψ, hψ⟩ h_ker |
| 464 | have lift_zero : lift K (modDatum S T 𝔪 Ψ (polyVector _ Q₀)) ψ = 0 := |
| 465 | lift_modDatum_eq_zero_of_mem_span hN S hc e Q h_span (Submodule.mem_inf.1 hψ).1 fun p i ↦ |
| 466 | (mem_iInf _).1 h_ker (p, i) |
| 467 | have conv_zero : realConv (holMinorsPi s u) ψ = 0 := |
| 468 | realConv_holMinorsPi_eq_zero_of_lift_eq_zero ho hN h𝔪 S hb h_dom h_int h_rank e hQ₀_ne hQ₀_hol |
| 469 | hψ lift_zero |
| 470 | exact congrFun conv_zero x |
| 471 | |
| 472 | end New.Rows |