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 | public import Lib.ClassField.Avatar.HeckeBaseChange |
| 7 | public import Lib.SiegelWeil.RallisInner.Doubling |
| 8 | import Lib.Adelic.AutomorphicForms.AutomorphicAsAlgebraic |
| 9 | import Lib.PadicComparison.Descent.TestCategory |
| 10 | import Lib.SiegelWeil.RallisInner.SharpData |
| 11 | import Lib.Weil.CompactLift.DefiniteThetaLift |
| 12 | import Lib.Weil.Unramified.HeckeTransfer |
| 13 | |
| 14 | /-! |
| 15 | # Theta lift of an algebraic form to a larger definite unitary group and its Hecke polynomials |
| 16 | |
| 17 | This file constructs the theta lift from the definite unitary group of rank n to that of rank n + s. |
| 18 | The lift is used to separate the Galois representation of a form from those of its lifts. The file |
| 19 | also records how the monic and the reciprocal normalisations of the Hecke polynomial are related. |
| 20 | |
| 21 | ## Main definitions and results |
| 22 | |
| 23 | * `New.exists_theta_lift_heckePoly`: the theta lift of a nonzero form is a nonzero form whose Hecke |
| 24 | polynomial at split places is the twisted old one times a string of linear factors. |
| 25 | |
| 26 | Notions from other files: |
| 27 | * `New.AutChar.HasWeight`: `b.HasWeight c 1` says that `b u = ∏_v u_v ^ c v` whenever `u` has |
| 28 | integral finite part. |
| 29 | * `New.WeilData`: Weil data on a stably unramified E. They consist of ȷ in E with ȷ = −ȷ̄, Im τȷ > 0 |
| 30 | for every τ in the CM type and (1 − ȷ⁻¹)/2 integral; a finite idele α for which the completed |
| 31 | integers Ô are self-dual under (z, u) ↦ ψ_f(ȷαᾱzu); and a splitting character υ equal to −1 at |
| 32 | uniformisers of the places w with w = w̄. |
| 33 | |
| 34 | ## Relation to the literature |
| 35 | |
| 36 | Known result: Theta lift to larger rank, the step that reduces even rank to odd rank. Here a |
| 37 | non-zero theta lift in the convergent range from definite U(n) to U(n+s), with s > n, replaces |
| 38 | endoscopic transfer. It keeps spherical places, and its Hecke polynomials are twisted and gain the |
| 39 | string of a character of U(1). Source: Blasius, Rogawski, Motives for Hilbert modular forms, Invent. |
| 40 | Math. 114 (1993) and Shin, Ann. of Math. 173 (2011) for the idea (endoscopic transfer to odd rank); |
| 41 | Harris, Soudry, Taylor, Invent. Math. 112 (1993) for theta lifts with a varying character. |
| 42 | -/ |
| 43 | |
| 44 | @[expose] public section |
| 45 | |
| 46 | /-! |
| 47 | ## The monic Hecke polynomial and the reciprocal one |
| 48 | |
| 49 | The two normalisations of the Hecke polynomial at a place `w` agree: `New.heckePoly` (monic of |
| 50 | degree `n` if `t 0 = 1`) at `x ≠ 0` is `x ^ n` times the reciprocal one, `New.heckePolyEval`, at |
| 51 | `x⁻¹`. |
| 52 | -/ |
| 53 | |
| 54 | /-- At `x ≠ 0` the monic Hecke polynomial at the place `w`, with coefficients built from `t`, is |
| 55 | `x ^ n` times the reciprocal one, `heckePolyEval`, at `x⁻¹`, where `n = card n`: |
| 56 | `∑ (-1)^j q^(j choose 2) t j x^(n - j) = x^n ∑ (-x⁻¹)^j q^(j choose 2) t j`, with `q` the norm of |
| 57 | `w` and `j` running from `0` to `n`. -/ |
| 58 | lemma New.eval_heckePoly {E n : Type*} [Field E] [NumberField E] [Fintype n] (w : FinPlace E) |
| 59 | (t : ℕ → ℂ) {x : ℂ} (hx_ne : x ≠ 0) : |
| 60 | (heckePoly w.q (Fintype.card n) t).eval x = x ^ Fintype.card n * heckePolyEval n w t x⁻¹ := by |
| 61 | -- Term by term, `x ^ (n - j) = x ^ n * x⁻¹ ^ j` for `j ≤ n`. |
| 62 | rw [heckePoly, heckePolyEval, Polynomial.eval_finsetSum, Finset.mul_sum] |
| 63 | refine Finset.sum_congr rfl fun j hj ↦ ?_ |
| 64 | simp [pow_sub₀ x hx_ne (Finset.mem_range_succ_iff.mp hj), neg_pow x⁻¹] |
| 65 | ring |
| 66 | |
| 67 | /-! |
| 68 | ## Theta lift to a larger definite group and Hecke polynomials |
| 69 | |
| 70 | `New.stdSpace E n` is the sum of `n` norm forms. `New.AlgForm n κ e` and `New.Space.forms` are |
| 71 | smooth algebraic forms of a given weight. `New.maxCompactAt n w` is the maximal compact subgroup at |
| 72 | `w` and `w̄`. `New.HasHeckePolyAt f w hw P` says that `f` is a spherical Hecke eigenform at the |
| 73 | split place `w` with Hecke polynomial `P`. For a character `b` of `U(1)`, `hb.toAlgebraic k j` |
| 74 | (`New.AutChar.HasWeight.toAlgebraic`) is the algebraic Hecke character |
| 75 | `b (x / x̄) υ ^ (-k) |x| ^ (j - k / 2)`. `New.heckeCoeff ψ ∅ w` is `ψ` at a uniformiser. |
| 76 | -/ |
| 77 | |
| 78 | namespace New |
| 79 | |
| 80 | open NumberField Space SiegelWeil Fintype |
| 81 | |
| 82 | variable {E n : Type} [Field E] [CMType E] [WeilData E] [Fintype n] [DecidableEq n] |
| 83 | |
| 84 | open Matrix Algebra Valued G Gf Polynomial AutChar Set Filter |
| 85 | |
| 86 | /-- Let `x` be an integral matrix with `xᴴ * x = 0`, let `B` be a finite set of places with |
| 87 | `stdLevel E n ⊓ trivialOn n B ≤ H`, and let `N ≠ 0` have its principal level inside `H`. Let |
| 88 | `z = N⁻¹ • idem B'`, with `B'` the closure of `B` under conjugation, and let `b` be a character |
| 89 | of `U(1)` of weight `c`. Then an integral `g` such that `z * D i j` is integral for |
| 90 | `D = g⁻¹ - 1` lies in `H` and fixes, under the Weil representation, the vacuum translated by |
| 91 | `z • x`. -/ |
| 92 | private lemma mem_inf_stabilizer_of_integral {m : Type} [Fintype m] [DecidableEq m] |
| 93 | {H : Subgroup (Gf E n)} {b : AutChar E} {c : InfinitePlace E → ℤ} (hb : b.HasWeight c 1) |
| 94 | {x : Matrix m n (𝔸f E)} (hx_int : ∀ (i : m) (j : n), x i j ∈ Ô E) (hx_iso : xᴴ * x = 0) |
| 95 | {B : Finset (FinPlace E)} (hB_off : stdLevel E n ⊓ trivialOn n (B : Set (FinPlace E)) ≤ H) |
| 96 | {N : ℕ} (hN : N ≠ 0) (hN_cong : (principalLevel n (N : 𝓞 E) : Set (Gf E n)) ⊆ H.carrier) |
| 97 | (z : 𝔸f E) (hz : z = (N : E)⁻¹ • idem (SetLike.coe B).conjClosure) |
| 98 | {g : Gf E n} {D : Matrix n n (𝔸f E)} (hD : (g.val.val)⁻¹ = D + 1) (hg : g ∈ stdLevel E n) |
| 99 | (hzD : ∀ i j : n, z * D i j ∈ Ô E) : |
| 100 | g ∈ H ⊓ (MulAction.stabilizer _ |
| 101 | (finHeisenbergOp ((stdSpace E n).hom (stdSpace E m)) (matrixToVec (z • x)) |
| 102 | (vacElem ((stdSpace E n).hom (stdSpace E m))) : |
| 103 | 𝒮 ((stdSpace E n).hom (stdSpace E m)))).comap |
| 104 | ((pairWeil (stdSpace E n) (stdSpace E m) 1 b).comp |
| 105 | (.prod (.inr (GInf E 1) (Gf E n)) 1)).toHomUnits := by |
| 106 | constructor |
| 107 | · -- The part of `g⁻¹` above `B` is congruent to `1` modulo `N`; it cancels that of `g`. |
| 108 | have h_cut : componentOn n B g⁻¹ ∈ H := by |
| 109 | refine hN_cong ⟨componentOn_mem_stdLevel (inv_mem hg), fun i j ↦ ⟨z * D i j, hzD i j, ?_⟩⟩ |
| 110 | -- `N` acts on the adeles through `E`; in that form `simp` computes the entry. |
| 111 | change _ = (N : E) • (z * D i j) |
| 112 | simp [hz, hN, hD, componentOn, U.cutAt, cutGL, sub_smul] |
| 113 | refine (mul_mem_cancel_left h_cut).mp (hB_off ?_) |
| 114 | simp_all [componentOn_mem_stdLevel, mul_mem] |
| 115 | · -- `g` moves the translation by the integral `x * z • D`, with trivial phase as `xᴴ * x = 0`. |
| 116 | have h_vac : finHeisenbergOp ((stdSpace E n).hom (stdSpace E m)) (matrixToVec (x * z • D)) |
| 117 | (vacElem _) = vacElem _ := |
| 118 | finHeisenbergOp_vacElem fun _ ↦ sum_mem (by simp [hx_int, hzD, mul_mem]) |
| 119 | refine (pairWeil_apply ..).trans (.trans ?_ |
| 120 | (congrArg (finHeisenbergOp _ (matrixToVec (z • x))) h_vac)) |
| 121 | -- The point `g` of the product group is `((1, g), 1, 1)`. |
| 122 | have h_pt : ((MonoidHom.inr (GInf E (1 : n → ℤˣ)) (Gf E n)).prod 1) g = |
| 123 | (((1, g), 1, 1) : G E (1 : n → ℤˣ) × G E (1 : m → ℤˣ)) := rfl |
| 124 | -- The finite part of `onHom` acts on the translation as a Kronecker product (`G.onHom_snd`). |
| 125 | rw [omega_finHeisenbergOp, ← map_smul, G.onHom_snd, kronecker_mulVec_eq_matrixToVec, |
| 126 | vecToMatrix_matrixToVec, |
| 127 | ← pairWeil_apply, h_pt, pairWeil_eq_smul_of_projOn_eq ⊤] |
| 128 | · simp [hb.apply_det_eq_one, hg, hD, hx_iso, x.mul_add, Dᴴ.mul_assoc, add_comm, |
| 129 | finHeisenbergOp_finHeisenbergOp] |
| 130 | -- the three side conditions of `pairWeil_eq_smul_of_projOn_eq` |
| 131 | all_goals simp [hg] |
| 132 | |
| 133 | omit [WeilData E] in |
| 134 | /-- Let `z` be a finite adele, let `g` be integral at every place where `z` is integral (the places |
| 135 | off `{w | 1 < v (z w)}`), and let `D = g⁻¹ - 1`. If for an integral matrix `u` every entry |
| 136 | `z * D p j + ∑ k, u p k * D k j` is integral, then every entry of `D` is integral: at a place `w`, |
| 137 | a largest entry of a column of `D` that is not integral would force `z` to be integral at `w`. -/ |
| 138 | private lemma mem_Ô_of_mul_add_sum_mem_Ô {z : 𝔸f E} {g : Gf E n} |
| 139 | (hg : g ∈ localLevel n {w : FinPlace E | 1 < v (z w)}ᶜ) {D : Matrix n n (𝔸f E)} |
| 140 | (hD_def : D = g⁻¹.val.val - 1) {u : n → n → 𝔸f E} (hu : ∀ p k : n, u p k ∈ Ô E) |
| 141 | (h_int : ∀ p j : n, z * D p j + ∑ k : n, u p k * D k j ∈ Ô E) (i j : n) : D i j ∈ Ô E := by |
| 142 | refine mem_Ô.mpr fun w ↦ ?_ |
| 143 | have : Nonempty n := ⟨i⟩ |
| 144 | obtain ⟨p, hp⟩ := Finite.exists_max fun i' : n ↦ v (D i' j w) |
| 145 | refine (hp i).trans (le_of_not_gt fun h_big ↦ h_big.not_ge <| hD_def ▸ v.map_sub_le |
| 146 | ((hg w ?_).isIntMatrix_inv p j) (mem_Ô.mp (by simp [Matrix.one_apply, ite_mem]) w)) |
| 147 | -- `O` is the set of adeles whose valuation at `w` is at most that of `D p j`. |
| 148 | let O : AddSubgroup (𝔸f E) := (v.comap (evalAt w)).leAddSubgroup (v (D p j w)) |
| 149 | simpa [O, h_big.pos] using (O.add_mem_cancel_right (show ∑ k : n, u p k * D k j ∈ O from |
| 150 | sum_mem fun k _ ↦ by simp [O, mul_le_of_le_one_of_le, mem_Ô.mp, hu, hp])).mp |
| 151 | ((mem_Ô.mp (h_int p j) w).trans h_big.le) |
| 152 | |
| 153 | /-- Let the row `ρ p` of `x` be the unit vector at `p`, let `g` be integral at every place where |
| 154 | the finite adele `z` is integral, and let `D = g⁻¹ - 1`. Unless `g` is integral with every |
| 155 | entry `z * D i j` integral, the Weil matrix coefficient at `g` of `F`, the vacuum translated by |
| 156 | `z • x`, is `0`. -/ |
| 157 | private lemma weilMatrixCoeff_finHeisenbergOp_eq_zero {m : Type} [Fintype m] [DecidableEq m] |
| 158 | {b : AutChar E} {x : Matrix m n (𝔸f E)} {ρ : n ↪ m} (hρ : ∀ i : n, x (ρ i) = Pi.single i 1) |
| 159 | {z : 𝔸f E} {g : Gf E n} (hg : g ∈ localLevel n {w : FinPlace E | 1 < v (z w)}ᶜ) |
| 160 | {F : 𝒮 ((stdSpace E n).hom (stdSpace E m))} |
| 161 | (hF_def : F = finHeisenbergOp ((stdSpace E n).hom (stdSpace E m)) (matrixToVec (z • x)) |
| 162 | (vacElem ((stdSpace E n).hom (stdSpace E m)))) |
| 163 | {D : Matrix n n (𝔸f E)} (hD_def : D = g⁻¹.val.val - 1) |
| 164 | (hg_not : ¬(g ∈ stdLevel E n ∧ ∀ i j : n, z * D i j ∈ Ô E)) : |
| 165 | weilMatrixCoeff b F F g = 0 := by |
| 166 | -- The coefficient at `g` is an average over integral `u` of terms that vanish unless |
| 167 | -- `z • x * (g⁻¹ - 1) + u * g⁻¹` is integral, and that forces `g` and `z • D` to be integral. |
| 168 | subst hF_def |
| 169 | have hD : (g.val.val)⁻¹ = D + 1 := by simp [hD_def] |
| 170 | -- Write `ω(g) vacElem` through the projection on vacua (`omega_vacElem`) and translate both |
| 171 | -- vectors by `-z • x`, so that the left one is the vacuum. |
| 172 | -- The point of the product group is `((1, g), 1, 1)`, the form that `onHom_fin` takes. |
| 173 | have h_pt : (((1, g), 1) : G E (1 : n → ℤˣ) × G E (1 : m → ℤˣ)) = ((1, g), 1, 1) := rfl |
| 174 | rw [weilMatrixCoeff, pairWeil_apply, h_pt, onHom_fin, omega_finHeisenbergOp, omega_vacElem, |
| 175 | ← dataInner_finHeisenbergOp _ (-matrixToVec (z • x))] |
| 176 | simp [finHeisenbergOp_finHeisenbergOp, mulVec_smul] |
| 177 | -- `simp` leaves a product of scalars and an inner product; it is enough that the last vanishes: |
| 178 | -- the inner product of the vacuum with a translate of `ω(g) P ω(g⁻¹)` of the vacuum. |
| 179 | refine .inr (.inr (.inr ?_)) |
| 180 | change dataInner _ (vacElem _) |
| 181 | (finHeisenbergOp _ (-(z • matrixToVec x) + _) (ω _ _ (projOn _ univ (ω _ _ (vacElem _))))) = 0 |
| 182 | -- The inner projection is a mean over integral `u`, so it is enough that each term vanishes |
| 183 | -- (`map_projOn_eq_const`). The projection that fixes the left vacuum, moved to the right, kills |
| 184 | -- translates of the vacuum by vectors that are not integral. |
| 185 | rw [← projOn_vacElem (S := ⊤), dataInner_projOn] |
| 186 | -- The three operators applied in turn are one composite `L`, the form of `map_projOn_eq_const`. |
| 187 | rw [← ContinuousLinearMap.comp_apply (finHeisenbergOp _ _), |
| 188 | ← ContinuousLinearMap.comp_apply (projOn _ ⊤), |
| 189 | map_projOn_eq_const _ (projOn _ ⊤ ∘L finHeisenbergOp _ _ ∘L _) (c := 0), map_zero] |
| 190 | simp [rep_apply_apply, stdLattice.mem_stdLattice, onHom_snd, Prod.mk_one_one, |
| 191 | finHeisenbergOp_finHeisenbergOp, matrixToVec, projOn_finHeisenbergOp, mem_integralBox, |
| 192 | Set.conjClosure, idem_univ] |
| 193 | change ∀ u : m × n → 𝔸f E, (∀ (a : m) (b : n), u (a, b) ∈ Ô E) → |
| 194 | (∀ (a : m) (b : n), |
| 195 | -(z * x a b) + |
| 196 | z * (kroneckerMap (fun y₁ y₂ ↦ y₁ * y₂) 1 (g.val.val)⁻¹ᵀ *ᵥ matrixToVec x) (a, b) + |
| 197 | (kroneckerMap (fun y₁ y₂ ↦ y₁ * y₂) 1 (g.val.val)⁻¹ᵀ *ᵥ u) (a, b) ∈ Ô E) → _ |
| 198 | intro u hu h_int |
| 199 | -- The condition at row `ρ p`, where `x` has the unit vector at `p`. |
| 200 | replace h_int (p j : n) : z * D p j + ∑ k : n, u (ρ p, k) * D k j ∈ Ô E := by |
| 201 | simpa [hρ, hD, hu, mulVec_eq_sum, sum_prod_type, mul_add, ← add_assoc, Pi.single_apply, |
| 202 | matrixToVec, Matrix.one_apply, Finset.sum_add_distrib, |
| 203 | add_mem_cancel_right] using h_int (ρ p) j |
| 204 | -- `D` is integral, since `g⁻¹` is integral wherever `z` is |
| 205 | have hD_int (i j : n) : D i j ∈ Ô E := |
| 206 | mem_Ô_of_mul_add_sum_mem_Ô (u := fun p k ↦ u (ρ p, k)) hg hD_def (fun p k ↦ hu (ρ p) k) |
| 207 | h_int i j |
| 208 | have hzD (i j : n) : z * D i j ∈ Ô E := by |
| 209 | simpa (disch := simp [hu, hD_int, mul_mem, sum_mem]) [add_mem_cancel_right] using h_int i j |
| 210 | have hg_int : g ∈ stdLevel E n := inv_mem_iff.mp <| mem_stdLevel.mpr <| by |
| 211 | simp [hD, hD_int, Matrix.one_apply, ite_mem, add_mem_cancel_right] |
| 212 | exact absurd ⟨hg_int, hzD⟩ hg_not |
| 213 | |
| 214 | /-- Let `H` be an open subgroup of `Gf E n`, let `b` be a character of `U(1)` of weight `c` with |
| 215 | trivial tame part, and let `2 * card n ≤ card m`. Then there exist a set `S` of finite places |
| 216 | avoiding every `w` with `maxCompactAt n w ≤ H`, a Schwartz datum `F` on |
| 217 | `Hom(stdSpace E n, stdSpace E m)`, a level `J ≤ H` and a number `mass` such that `F` is sharp for |
| 218 | `b`, `S` and `J` (`IsSharp`). Sharpness means: `⟨F, F⟩ ≠ 0`; `F` lies in the finite part and is a |
| 219 | vacuum off `S` (fixed by the projection `projOn` on vacua at every set of places disjoint from `S`) |
| 220 | and clean (true here as all signs of the standard spaces are `1`); at finite points `g` integral off |
| 221 | `S`, the coefficient `⟨F, ω(g) F⟩` of the Weil action `ω` (built from `b`) is `⟨F, F⟩` on |
| 222 | `J ⊓ stdLevel E n` and zero elsewhere, where `stdLevel E n` is the stabiliser `K₀` of `Ô ^ n`; and |
| 223 | `mass` is the quotient of `⟨F, F⟩` by the index `[K₀ : J ⊓ K₀]`. -/ |
| 224 | lemma exists_isSharp_of_two_mul_card_le {m : Type} [Fintype m] [DecidableEq m] |
| 225 | {H : Subgroup (Gf E n)} |
| 226 | (hH : IsOpen H.carrier) {b : AutChar E} {c : InfinitePlace E → ℤ} (hb : b.HasWeight c 1) |
| 227 | (h_rank : 2 * card n ≤ card m) : |
| 228 | ∃ S : Set (FinPlace E), |
| 229 | (∀ w : FinPlace E, maxCompactAt n w ≤ H → w ∉ S) ∧ |
| 230 | ∃ F : 𝒮 ((stdSpace E n).hom (stdSpace E m)), ∃ J ≤ H, ∃ mass : ℂ, |
| 231 | IsSharp (S := stdSpace E n) (T := stdSpace E m) b S F J mass := by |
| 232 | classical |
| 233 | -- The datum is the vacuum translated by `z • x`, with `x` an integral isotropic frame and `z` |
| 234 | -- the inverse of a level `N` at the bad places `B` of `H` and their conjugates, zero elsewhere. |
| 235 | -- `J` is its stabiliser in `H`, and `S` the set of places where `z` is not integral. |
| 236 | -- The rows `ρ i` of `x` form the identity matrix. |
| 237 | obtain ⟨x, hx_int, hx_iso, ρ, hρ⟩ := exists_integral_isotropic_frame (E := E) h_rank |
| 238 | -- `H` contains the integral elements that are trivial at `B`, and those congruent to `1` mod `N`. |
| 239 | obtain ⟨B, hB, hB_off⟩ := exists_inf_trivialOn_le hH |
| 240 | obtain ⟨N, hN, hN_cong⟩ := exists_principalLevel_subset (hH.mem_nhds H.one_mem) |
| 241 | let z : 𝔸f E := (N : E)⁻¹ • idem (SetLike.coe B).conjClosure |
| 242 | let S : Set (FinPlace E) := {w | 1 < v (z w)} |
| 243 | let F : 𝒮 ((stdSpace E n).hom (stdSpace E m)) := |
| 244 | finHeisenbergOp _ (matrixToVec (z • x)) (vacElem _) |
| 245 | let J : Subgroup (Gf E n) := H ⊓ (MulAction.stabilizer _ F).comap |
| 246 | ((pairWeil (stdSpace E n) (stdSpace E m) 1 b).comp |
| 247 | (.prod (.inr (GInf E 1) (Gf E n)) 1)).toHomUnits |
| 248 | -- Only the fields `vacuum_off` and `weilMatrixCoeff_eq` of `IsSharp` need an argument. Where |
| 249 | -- `H` contains the maximal compact subgroup, `w` is not in `B`, so `z` is `0` there. |
| 250 | refine ⟨S, fun w hw ↦ by simp [hB w hw, S, z, smul_def], F, J, inf_le_left, |
| 251 | dataInner _ F F / stdLevelIndex J, |
| 252 | { self_ne_zero := by simp [F, dataInner_finHeisenbergOp] |
| 253 | mem_finitePart := finHeisenbergOp_mem_finitePart _ vacElem_mem_finitePart |
| 254 | vacuum_off := fun A _ hA ↦ ?_ |
| 255 | weilMatrixCoeff_eq := fun g hg ↦ ?_ |
| 256 | mass_eq := rfl |
| 257 | -- all signs of the standard spaces are `1`, so `F` is clean |
| 258 | clean := fun _ ↦ by simp [IsClean] }⟩ |
| 259 | · -- Off `S` the translation is integral, so `F` is the vacuum there. The closure of `A` under |
| 260 | -- conjugation is `A` together with its conjugate, and both are disjoint from `S`. |
| 261 | have hz : idem A.conjClosure * z ∈ Ô E := by |
| 262 | refine idem_mul_mem_Ô.mpr ?_ |
| 263 | rintro _ (h | h) <;> simpa [← v_star_apply, S, z] using hA.le_compl_left h |
| 264 | simp [F, ← mul_assoc, hz, hx_int, matrixToVec, projOn_finHeisenbergOp, mem_integralBox, mul_mem] |
| 265 | -- On `J`, which fixes `F`, the coefficient is constant. |
| 266 | refine .symm (ite_eq_iff'.mpr ⟨fun hg_mem ↦ ?_, fun hg_not ↦ ?_⟩) |
| 267 | · obtain ⟨⟨-, hg_fix⟩, -⟩ := hg_mem |
| 268 | exact congrArg _ hg_fix.symm |
| 269 | -- Off `J ⊓ stdLevel E n` it vanishes, since an integral `g` with `z • D` integral lies in `J`. |
| 270 | let D : Matrix n n (𝔸f E) := g⁻¹.val.val - 1 |
| 271 | have hD : (g.val.val)⁻¹ = D + 1 := by simp [D] |
| 272 | refine .symm (weilMatrixCoeff_finHeisenbergOp_eq_zero hρ hg rfl rfl fun ⟨hg_int, hzD⟩ ↦ ?_) |
| 273 | exact hg_not |
| 274 | ⟨mem_inf_stabilizer_of_integral hb hx_int hx_iso hB_off hN hN_cong z rfl hD hg_int hzD, hg_int⟩ |
| 275 | |
| 276 | omit [WeilData E] [DecidableEq n] in |
| 277 | /-- Let `t` and `t'` give the Hecke polynomials at `w` of ranks `card n` and `card n + s`, the |
| 278 | second of degree `card n + s`. Suppose that for all `X` their reciprocal polynomials `heckePolyEval` |
| 279 | satisfy `R' X = R (μ * X) * qPochhammer w.q s (ν * X)` (`qPochhammer w.q s Y` is a product over |
| 280 | `l < s` of factors linear in `q_w ^ l * Y`), where `R` is built from `t` and `R'` from `t'`, and let |
| 281 | `μ * a = 1` and `θ l = q_w ^ l * ν * a` for `l < s`. Then the second Hecke polynomial, with its |
| 282 | roots multiplied by `a`, is the first one times `∏ l < s, (X - θ l)`. -/ |
| 283 | private lemma scaleRoots_heckePoly_eq (w : FinPlace E) {s : ℕ} {t t' : ℕ → ℂ} {μ ν a : ℂ} |
| 284 | (θ : Fin s → ℂ) |
| 285 | (h_deg : (heckePoly w.q (card (Fin (card n + s))) t').natDegree = card (Fin (card n + s))) |
| 286 | (h_eigval : ∀ X : ℂ, heckePolyEval (Fin (card n + s)) w t' X = |
| 287 | heckePolyEval n w t (μ * X) * qPochhammer w.q s (ν * X)) |
| 288 | (h_scale : μ * a = 1) (h_root : ∀ l : Fin s, θ l = w.q ^ (l : ℕ) * ν * a) : |
| 289 | (heckePoly w.q (card (Fin (card n + s))) t').scaleRoots a = |
| 290 | heckePoly w.q (card n) t * ∏ l : Fin s, (X - C (θ l)) := by |
| 291 | have ha_ne : a ≠ 0 := right_ne_zero_of_mul_eq_one h_scale |
| 292 | -- Compare the two polynomials at every `x ≠ 0`: there a Hecke polynomial is `x ^ n` times |
| 293 | -- `heckePolyEval` at `x⁻¹`, and `h_eigval` at `a / x` splits the left side into the two factors. |
| 294 | refine eq_of_infinite_eval_eq _ _ <| |
| 295 | infinite_of_finite_compl ((eventually_cofinite_ne 0).mono fun x hx ↦ ?_) |
| 296 | rw [eval_mul, eval_heckePoly w t hx, ← mul_div_cancel₀ x ha_ne, scaleRoots_eval_mul, |
| 297 | eval_heckePoly w t' (div_ne_zero hx ha_ne), h_deg, ← mul_assoc, |
| 298 | ← mul_pow, h_eigval, eval_prod, card_fin, pow_add, ← Fin.prod_const s, mul_mul_mul_comm, |
| 299 | qPochhammer, Finset.prod_range, ← Finset.prod_mul_distrib, mul_div_cancel₀ x ha_ne, inv_div, |
| 300 | mul_div_assoc', h_scale, one_div] |
| 301 | -- What is left is one linear factor for each `l < s`. |
| 302 | exact congrArg _ (Finset.prod_congr rfl fun l _ ↦ by simp [h_root, field]) |
| 303 | |
| 304 | omit [WeilData E] [DecidableEq n] in |
| 305 | /-- Let `c ≤ e`, `card n < s`, and let `κ'` agree with `κ` below `card n`, be `e - c` at `card n` |
| 306 | and `0` above. Then in rank `card n` the weight `(κ, e)` is also `(κ', c + κ' (card n))`, so a |
| 307 | parameter `l` of `(κ, e)` in rank `card n` and a parameter `l'` of `(κ', 0)` in rank `card n + s` |
| 308 | correspond. -/ |
| 309 | private lemma paramsCorrespond_of_isHCParam {κ κ' : InfinitePlace E → ℕ → ℕ} |
| 310 | {e c : InfinitePlace E → ℤ} {s : ℕ} (hc : c ≤ e) |
| 311 | (hκ : κ' = fun (v : InfinitePlace E) (h : ℕ) ↦ |
| 312 | if h < card n then κ v h else if h = card n then (e v - c v).toNat else 0) |
| 313 | (hs : card n < s) {l : InfinitePlace E → n → ℤ} {l' : InfinitePlace E → Fin (card n + s) → ℤ} |
| 314 | (hl : IsHCParam (n := n) κ e l) (hl' : IsHCParam (n := Fin (card n + s)) κ' 0 l') : |
| 315 | ParamsCorrespond 0 c l l' 1 1 := by |
| 316 | -- `hcParameter` reads `κ'` only at heights below `card n`, where it is `κ`, and |
| 317 | -- `c + κ' (card n) = c + (e - c) = e`; so `l` is also a parameter of `(κ', c + κ' (card n))`. |
| 318 | have h_hcParameter_eq (w : InfinitePlace E) (p : ℕ) : |
| 319 | hcParameter κ' (fun τ ↦ c τ + (κ' τ (card n) : ℤ)) (card n) w p = |
| 320 | hcParameter κ e (card n) w p := by |
| 321 | have h_sum : (Finset.Ioo p (card n)).sum (κ' w) = (Finset.Ioo p (card n)).sum (κ w) := |
| 322 | Finset.sum_congr rfl fun h hh ↦ by grind |
| 323 | have h_top : c w + (κ' w (card n) : ℤ) = e w := by grind [Pi.le_def] |
| 324 | simp only [hcParameter, diagramWeight_apply, h_sum, h_top] |
| 325 | have hl_weight : IsHCParam (n := n) κ' (fun τ ↦ c τ + (κ' τ (card n) : ℤ)) l := by |
| 326 | simpa only [IsHCParam, h_hcParameter_eq] using hl |
| 327 | have h_lift_weight : IsLiftWeight n (Fin (card n + s)) κ' c (fun τ ↦ c τ + (κ' τ (card n) : ℤ)) := |
| 328 | ⟨by grind [card_fin], by simp [hs.pos], rfl⟩ |
| 329 | exact (hl_weight.paramsCorrespond_iff h_lift_weight).mpr hl' |
| 330 | |
| 331 | omit [DecidableEq n] in |
| 332 | /-- The scalars of the theta lift at the place `w` cancel: `q_w ^ s * frobValue 1 n w`, divided by |
| 333 | `b.frobValue (Fin (card n + s)) w` (scalars at `w` built from powers of `√q_w` and values at a |
| 334 | uniformiser) and multiplied by the value at `w` of the algebraic Hecke character |
| 335 | `hb.toAlgebraic s s`, is `1`. Here `b` is a character of `U(1)` of weight `c`. -/ |
| 336 | private lemma frobValue_div_mul_heckeCoeff_eq_one {b : AutChar E} {c : InfinitePlace E → ℤ} |
| 337 | (hb : b.HasWeight c 1) (s : ℕ) (w : FinPlace E) : |
| 338 | w.q ^ s * frobValue 1 n w / b.frobValue (Fin (card n + s)) w * |
| 339 | heckeCoeff (hb.toAlgebraic s s).val.fst ∅ w = 1 := by |
| 340 | simp [hb.heckeCoeff_toAlgebraic, frobValue, w.coe_q_eq_sq_sqrt, w.ne_bot, HeckeChar.atUniformizer, |
| 341 | AutChar.spaceChar, zpow_sub₀, zpow_mul (_ : ℂ), field] |
| 342 | -- What is left is a rearrangement of powers of `√q_w` and of `υ` at a uniformiser. |
| 343 | ring |
| 344 | |
| 345 | /-- Rallis' inner product formula makes the theta lift injective on forms of level `J`. Let `b` be |
| 346 | a character of `U(1)` of weight `c`, `v` an edge from type `l` to type `l'` (`IsEdge`), `Ψ` sharp |
| 347 | for `b` and a level `J` (`IsSharp`), and `2 * card n < card n + s`. If the algebraic form of `y` |
| 348 | is not zero and is fixed by `J`, then the algebraic form of the lift of `y` by `v ⊗ Ψ` is not |
| 349 | zero. -/ |
| 350 | private lemma toAlgForm_formLift_ne_zero {κ κ' : InfinitePlace E → ℕ → ℕ} |
| 351 | {e c : InfinitePlace E → ℤ} {s : ℕ} {b : AutChar E} (hb : b.HasWeight c 1) |
| 352 | {l : InfinitePlace E → n → ℤ} {l' : InfinitePlace E → Fin (card n + s) → ℤ} |
| 353 | (hl : IsHCParam (n := n) κ e l) (hl' : IsHCParam (n := Fin (card n + s)) κ' 0 l') |
| 354 | {v : Fock.fockSpace (realSigns E (homSigns 1 1))} |
| 355 | (h_edge : IsEdge (realPairWeil 0 c) (typeKernel l 1) (typeKernel l' 1) v) |
| 356 | (h_rank : 2 * card n < card (Fin (card n + s))) |
| 357 | {S : Set (FinPlace E)} {Ψ : 𝒮 ((stdSpace E n).hom (stdSpace E (Fin (card n + s))))} |
| 358 | {J : Subgroup (Gf E n)} {mass : ℂ} (h_sharp : IsSharp b S Ψ J mass) |
| 359 | {y : (stdSpace E n).Form (typeKernel l 1)} |
| 360 | (hJ : J ≤ rightStabilizer (toAlgForm (stdSpace E n) hl y).val) |
| 361 | (hy_ne : (toAlgForm (stdSpace E n) hl y).val ≠ 0) : |
| 362 | (toAlgForm (stdSpace E (Fin (card n + s))) hl' |
| 363 | (formLift (pairThetaKer (stdSpace E n) (stdSpace E (Fin (card n + s))) 1 b) |
| 364 | (typeKernel l 1) (typeKernel l' 1) (integrated _ v Ψ) y)).val ≠ 0 := by |
| 365 | intro h_zero |
| 366 | have hy_level : HasLevel y J := fun k hk ↦ by |
| 367 | simp [← ofAlgForm_toAlgForm hl, algFormCoeff, hJ hk _] |
| 368 | obtain ⟨A, -, h_rallis⟩ := rallis_inner_product_cosetTerm h_edge h_rank |
| 369 | have hy : y = 0 := (h_rallis 1 b h_sharp y hy_level).1 |
| 370 | ((toAlgForm _ hl').map_eq_zero_iff.mp (Submodule.coe_eq_zero.mp h_zero)) |
| 371 | simp [hy] at hy_ne |
| 372 | |
| 373 | omit [DecidableEq n] in |
| 374 | /-- Let `F ≠ 0` be a form of rank `card n + s` that is spherical at the split place `w` |
| 375 | (`star w ≠ w`), and on which the Hecke polynomial operator at `X` acts by `qPochhammer w.q s |
| 376 | (frobValue 1 n w * X) * heckePolyEval n w t (r * X)`, with `qPochhammer w.q s Y` a product over |
| 377 | `l < s` of factors linear in `q_w ^ l * Y`, where `r = q_w ^ s * frobValue 1 n w / b.frobValue (Fin |
| 378 | (card n + s)) w` and `b` is a character of `U(1)` of weight `c`. Then `F` has a Hecke polynomial `Q` |
| 379 | at `w` (`HasHeckePolyAt`), and `Q` with its roots multiplied by the value at `w` of |
| 380 | `hb.toAlgebraic s s` is `heckePoly w.q (card n) t` times `∏ l < s, (X - θ l)`, where `θ l` is the |
| 381 | value at `w` of `hb.toAlgebraic (card n + s) (s - l)`. -/ |
| 382 | private lemma exists_hasHeckePolyAt_scaleRoots_eq {κ' : InfinitePlace E → ℕ → ℕ} {s : ℕ} |
| 383 | {b : AutChar E} {c : InfinitePlace E → ℤ} (hb : b.HasWeight c 1) {w : FinPlace E} |
| 384 | (hw : star w ≠ w) {t : ℕ → ℂ} |
| 385 | {F : Gf E (Fin (card n + s)) → WeylIndex (Fin (card n + s)) κ' → ℂ} (hF_ne : F ≠ 0) |
| 386 | (hF_sph : HasHeckePolynomial |
| 387 | (rightRegular ℂ (Gf E (Fin (card n + s))) (WeylIndex (Fin (card n + s)) κ' → ℂ)) hw |
| 388 | (fun X : ℂ ↦ qPochhammer w.q s (frobValue 1 n w * X) * |
| 389 | heckePolyEval n w t (w.q ^ s * frobValue 1 n w / b.frobValue (Fin (card n + s)) w * X)) |
| 390 | F) : |
| 391 | ∃ Q : ℂ[X], |
| 392 | HasHeckePolyAt F w hw Q ∧ |
| 393 | Q.scaleRoots (heckeCoeff (hb.toAlgebraic s s).val.fst ∅ w) = |
| 394 | heckePoly w.q (card n) t * |
| 395 | ∏ l : Fin s, (X - C (heckeCoeff (hb.toAlgebraic (card n + s) (s - l)).val.fst ∅ w)) := by |
| 396 | -- The operators `T_i` act on `F` by scalars `t' i`; these give its Hecke polynomial `Q`. |
| 397 | obtain ⟨t', ht'⟩ : ∃ t' : ℕ → ℂ, ∀ i, |
| 398 | heckeSplit (rightRegular ℂ (Gf E (Fin (card n + s))) (WeylIndex (Fin (card n + s)) κ' → ℂ)) |
| 399 | hw i F = t' i • F := |
| 400 | (exists_heckeSplit_eq_smul _).imp fun _ h_all ↦ h_all F hF_sph |
| 401 | obtain ⟨hF_spherical, hF_eigval⟩ := hF_sph |
| 402 | have hF_eig : HasHeckePolyAt F w hw (heckePoly w.q (card (Fin (card n + s))) t') := |
| 403 | ⟨hF_spherical, t', rfl, ht'⟩ |
| 404 | -- Two expressions for the eigenvalue of the Hecke polynomial on `F ≠ 0`. |
| 405 | have h_eigval (X : ℂ) : heckePolyEval (Fin (card n + s)) w t' X = |
| 406 | heckePolyEval n w t (w.q ^ s * frobValue 1 n w / b.frobValue (Fin (card n + s)) w * X) * |
| 407 | qPochhammer w.q s (frobValue 1 n w * X) := by |
| 408 | obtain ⟨-, hF_eigval'⟩ := hasHeckePolynomial_of_heckeSplit hF_spherical ht' |
| 409 | rw [mul_comm, ← smul_left_inj hF_ne, ← hF_eigval X] |
| 410 | exact (hF_eigval' X).symm |
| 411 | refine ⟨_, hF_eig, ?_⟩ |
| 412 | -- The constants of `hasHeckePolynomial_formLift` are values of the algebraic characters. |
| 413 | exact scaleRoots_heckePoly_eq w |
| 414 | (fun l ↦ heckeCoeff (hb.toAlgebraic (card n + s) (s - l)).val.fst ∅ w) |
| 415 | (hF_eig.isMonicOfDegree hF_ne).natDegree_eq h_eigval |
| 416 | (frobValue_div_mul_heckeCoeff_eq_one hb s w) (by |
| 417 | intro l |
| 418 | simp [hb.heckeCoeff_toAlgebraic, frobValue, w.coe_q_eq_sq_sqrt, w.ne_bot, |
| 419 | HeckeChar.atUniformizer, AutChar.spaceChar, zpow_add₀, zpow_sub₀, zpow_mul (_ : ℂ), field]) |
| 420 | |
| 421 | /-- Theta lift by `s > n` steps. Let `f ≠ 0` be a form of rank `n ≥ 1` and weight `(κ, e)`, and let |
| 422 | `b` be a character of `U(1)` of weight `c ≤ e` with trivial tame part (`b u = ∏ u_v^{c v}` for `u` |
| 423 | with integral finite part). Let `κ' v h` be `κ v h` for `h < n`, `e v - c v` for `h = n` and `0` for |
| 424 | `h > n`. There is a form `F` of rank `n + s` and weight `(κ', 0)` such that (a) `F ≠ 0`; (b) `F` is |
| 425 | fixed by `K_w` wherever `f` is; (c) at such a split `w`, if `f` has Hecke polynomial `P`, then `F` |
| 426 | has a Hecke polynomial `Q`, and `Q` with its roots multiplied by the value of `hb.toAlgebraic s s` |
| 427 | at `w` equals `P * ∏ l < s, (X - θ l)`, where `θ l` is the value of `hb.toAlgebraic (n + s) (s - l)` |
| 428 | at `w`. Here `hb.toAlgebraic` gives the algebraic Hecke characters `b(x/x̄) υ(x)^{−k} |x|^{j−k/2}`, |
| 429 | evaluated at a uniformiser at `w` (`heckeCoeff`). -/ |
| 430 | lemma exists_theta_lift_heckePoly [Nonempty n] {κ κ' : InfinitePlace E → ℕ → ℕ} |
| 431 | {e : InfinitePlace E → ℤ} {s : ℕ} {c : InfinitePlace E → ℤ} {b : AutChar E} |
| 432 | (hb : b.HasWeight c 1) (hc : c ≤ e) |
| 433 | (hκ : κ' = fun (v : InfinitePlace E) (h : ℕ) ↦ |
| 434 | if h < card n then κ v h else if h = card n then (e v - c v).toNat else 0) |
| 435 | (f : AlgForm n κ e) (hf_ne : f.val ≠ 0) (hs : card n < s) : |
| 436 | ∃ F ∈ (stdSpace E (Fin (card n + s))).forms (κ', 0), |
| 437 | F ≠ 0 ∧ |
| 438 | ∀ {w : FinPlace E}, |
| 439 | f.val ∈ sphericalAt (rightRegular ℂ (Gf E n) (WeylIndex n κ → ℂ)) w → |
| 440 | F ∈ sphericalAt |
| 441 | (rightRegular ℂ (Gf E (Fin (card n + s))) (WeylIndex (Fin (card n + s)) κ' → ℂ)) w ∧ |
| 442 | ∀ {hw : star w ≠ w} {P : ℂ[X]}, |
| 443 | HasHeckePolyAt f.val w hw P → |
| 444 | ∃ Q : ℂ[X], |
| 445 | HasHeckePolyAt F w hw Q ∧ |
| 446 | Q.scaleRoots (heckeCoeff (hb.toAlgebraic s s).val.fst ∅ w) = |
| 447 | P * ∏ l : Fin s, |
| 448 | (X - C (heckeCoeff (hb.toAlgebraic (card n + s) (s - l)).val.fst ∅ w)) := by |
| 449 | -- `F` is the theta lift of `f` by the datum made of joint harmonics at infinity and a sharp |
| 450 | -- finite datum. Rallis' formula shows `F ≠ 0`, and `hasHeckePolynomial_formLift` transfers the |
| 451 | -- Hecke eigenvalues. |
| 452 | obtain ⟨l, hl⟩ : ∃ l, IsHCParam (n := n) κ e l := ⟨_, isHCParam_hcParameter n κ e⟩ |
| 453 | obtain ⟨l', hl'⟩ : ∃ l', IsHCParam (n := Fin (card n + s)) κ' 0 l' := |
| 454 | ⟨_, isHCParam_hcParameter (Fin (card n + s)) κ' 0⟩ |
| 455 | have h_rank : 2 * card n < card (Fin (card n + s)) := by grind [card_fin] |
| 456 | -- In rank `n` the weight `(κ, e)` is also `(κ', c + κ' (card n))`: the columns below `card n` |
| 457 | -- agree, and `c + (e - c) = e`. So `l` and `l'` correspond (`paramsCorrespond_of_isHCParam`), |
| 458 | -- which gives the datum at infinity: a Fock vector `v`, an edge from type `l` to type `l'`. |
| 459 | obtain ⟨v, h_edge⟩ : ∃ v, IsEdge (realPairWeil 0 c) (typeKernel l 1) (typeKernel l' 1) v := |
| 460 | ⟨_, (paramsCorrespond_of_isHCParam hc hκ hs hl hl').isEdge_jointHarmonic⟩ |
| 461 | -- The finite datum `Ψ`: sharp for a level `J` that fixes `f` (a smooth form has an open |
| 462 | -- stabiliser), with bad set `S` avoiding the places where `f` is spherical. |
| 463 | obtain ⟨S, hS, Ψ, J, hJ, mass, h_sharp⟩ := |
| 464 | exists_isSharp_of_two_mul_card_le (H := rightStabilizer f.val) |
| 465 | (Submodule.mem_inf.mp f.property).left hb h_rank.le |
| 466 | -- `v ⊗ Ψ` is an arrow: it lifts forms of type `l` to forms of type `l'`. |
| 467 | have h_arr : IsArrow (pairThetaKer (stdSpace E n) (stdSpace E (Fin (card n + s))) 1 b) |
| 468 | (typeKernel l 1) (typeKernel l' 1) (integrated _ v Ψ) := |
| 469 | (h_edge.isArrow 1 b h_sharp.mem_finitePart).left |
| 470 | -- Write `f` as the algebraic form attached to an adelic form `y`, and lift `y`. |
| 471 | obtain ⟨y, rfl⟩ := (toAlgForm (stdSpace E n) hl).surjective f |
| 472 | let y' : (stdSpace E (Fin (card n + s))).Form (typeKernel l' 1) := |
| 473 | formLift (pairThetaKer (stdSpace E n) (stdSpace E (Fin (card n + s))) 1 b) (typeKernel l 1) |
| 474 | (typeKernel l' 1) (integrated _ v Ψ) y |
| 475 | let F : Gf E (Fin (card n + s)) → WeylIndex (Fin (card n + s)) κ' → ℂ := (toAlgForm _ hl' y').val |
| 476 | -- By Rallis' formula the lift is injective on forms of level `J`, as `2 * n < n + s`. |
| 477 | have hF : F ≠ 0 := toAlgForm_formLift_ne_zero hb hl hl' h_edge h_rank h_sharp hJ hf_ne |
| 478 | refine ⟨F, (toAlgForm _ hl' y').property, hF, fun {w} h_sph ↦ ?_⟩ |
| 479 | -- Where `f` is spherical, the datum is the vacuum. |
| 480 | have h_le : maxCompactAt n w ≤ rightStabilizer ((stdSpace E n).toAlgForm hl y).val := by |
| 481 | simpa [funext_iff, LE.le] using h_sph |
| 482 | have h_vac : projOn _ {w} (integrated _ v Ψ) = integrated _ v Ψ := |
| 483 | h_sharp.vacuum_off {w} v (Set.disjoint_singleton_right.mpr (hS w h_le)) |
| 484 | refine ⟨fun k ↦ ?_, ?_⟩ |
| 485 | · -- `k` acts on the lift through the datum, and it fixes the vacuum at `w`. |
| 486 | have h_transl : |
| 487 | rightRegular ℂ (Gf E (Fin (card n + s))) (WeylIndex (Fin (card n + s)) κ' → ℂ) |
| 488 | (k : Gf E (Fin (card n + s))) F = |
| 489 | (toAlgForm _ hl' ((stdSpace E (Fin (card n + s))).formRep (typeKernel l' 1) k y')).val := |
| 490 | congrArg Subtype.val (toAlgForm_formRep hl' k y').symm |
| 491 | rw [h_transl, h_arr.formRep_formLift 1, pairWeil_eq_smul_of_projOn_eq _ h_vac] |
| 492 | · simp [F, y', Prod.mk_one_one] |
| 493 | -- the two side conditions of `pairWeil_eq_smul_of_projOn_eq` |
| 494 | all_goals simp |
| 495 | rintro hw P ⟨-, t, rfl, ht⟩ |
| 496 | -- The eigenvalue of the Hecke polynomial on `y` comes from the `t j`; on the lift it is |
| 497 | -- rescaled and multiplied by `qPochhammer`, the factor of the `s` new steps. |
| 498 | have hy_sph : |
| 499 | HasHeckePolynomial ((stdSpace E n).formRep (typeKernel l 1)) hw (heckePolyEval n w t) y := |
| 500 | (hasHeckePolynomial_toAlgForm_iff _ hl).mp (hasHeckePolynomial_of_heckeSplit h_sph ht) |
| 501 | have hF_sph : HasHeckePolynomial |
| 502 | (rightRegular ℂ (Gf E (Fin (card n + s))) (WeylIndex (Fin (card n + s)) κ' → ℂ)) hw |
| 503 | (fun X ↦ qPochhammer w.q s (frobValue 1 n w * X) * |
| 504 | heckePolyEval n w t (w.q ^ s * frobValue 1 n w / b.frobValue (Fin (card n + s)) w * X)) |
| 505 | F := |
| 506 | (hasHeckePolynomial_toAlgForm_iff _ hl').mpr <| hasHeckePolynomial_formLift (card_fin _) |
| 507 | (by simp [CharUnramifiedAt]) (hb.charUnramifiedAt rfl rfl) hw h_vac h_arr hy_sph |
| 508 | exact exists_hasHeckePolyAt_scaleRoots_eq hb hw hF hF_sph |
| 509 | |
| 510 | end New |