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.Algebra.Order.Star.Real |
| 4 | import Mathlib.Analysis.Polynomial.Norm |
| 5 | import Mathlib.FieldTheory.Galois.Profinite |
| 6 | import TauCeti.Analysis.Normed.Ring.CompactMonoid |
| 7 | public import Lib.LocalGL.SphericalChainLemma |
| 8 | public import New.Congruences.GaloisRepresentations.SelmerHypotheses |
| 9 | public import Lib.GaloisRep.Main.AllRanks |
| 10 | import Lib.GaloisRep.Main.QuadraticStep |
| 11 | import Lib.General.Algebra.SeriesBounds |
| 12 | import Lib.General.LinearAlgebra.Eigenvalues |
| 13 | |
| 14 | /-! |
| 15 | # Chains of roots for weak lifts, and Hecke-stable subspaces of forms |
| 16 | |
| 17 | Let `O` be a descent pair, with spaces W and V of ranks r < n, put t = n − r, and let `f` be a |
| 18 | nonzero eigenform on V with Galois representation R. Its normalised representation is u = R ⊗ χ. The |
| 19 | case of interest is that det (1 − u(g)) = 0 for all g, the condition that defines weak lifts. |
| 20 | |
| 21 | Notions from other files: |
| 22 | * `New.Parameters`, `New.Data`: the fixed parameters P and admissible data D over them (numerical |
| 23 | scales, ranks, levels); D determines the CM field E = `D.E`. |
| 24 | * `New.DescentPair`: places, weights and a hermitian space W of rank r, beside the definite space |
| 25 | V = `New.stdSpace` of rank n > r; `New.DescentPair.rankDiff` is t = n − r. The forms on V have |
| 26 | the weight (`columnCount`, `detExp`): column numbers and a power of the determinant at each |
| 27 | infinite place. |
| 28 | * `New.Patching.Isotypic`: spaces of forms with given Hecke eigenvalues at almost all places; such a |
| 29 | space `x` has Hecke polynomials `x.heckePolyAt w` and a Galois representation `x.galRep`. |
| 30 | * `New.Selmer.normalizedRep`: the twist of a Galois representation by the ℓ-adic character |
| 31 | χ = `New.Selmer.normalizingAvatar`, the avatar of an algebraic Hecke character made from W. |
| 32 | * `Ω`: a fixed algebraic closure of ℚ, so that Gal(Ω/E) is the absolute Galois group of E. |
| 33 | * `New.mostFrobenii`: a filter on the triples of a place, a place of `Ω` over it and a geometric |
| 34 | Frobenius element there. |
| 35 | * `ιℓ`: the fixed isomorphism ι from `ℂ` to `ℚ̄_ℓ`. |
| 36 | |
| 37 | ## Main definitions and results |
| 38 | |
| 39 | * `New.Selmer.exists_diagonal_mem_norm_ge`: diagonal operators, one for each vector of a basis, are |
| 40 | combined into one operator with an eigenvalue at each vector at least as large in norm. |
| 41 | * `New.Selmer.isRoot_hecke_chain`: if det (1 − u(g)) = 0 for all g, the Hecke polynomial at a split |
| 42 | place w ∤ ℓ has the chain of roots X₀, X₀q, …, X₀q^(t−1), where q is the norm of w and |
| 43 | ι(X₀) = χ(Frob_w)⁻¹. |
| 44 | * `New.Selmer.eventually_exists_hasRootChain`: for most Frobenius elements φ, if u has integral |
| 45 | characteristic polynomials with root 1 and that of u(φ) is congruent to a product of S and ∏_{j<t} |
| 46 | (X − c(φ)^j), with c the inverse cyclotomic character, for a polynomial S with ‖S(1)‖ ≥ 1, the |
| 47 | rescaled Hecke polynomial is ∏ (X − q^i) times a divisor of an integral polynomial with value 1 at |
| 48 | 1. |
| 49 | * `New.Selmer.orthogonal_mem_invtSubmodule_heckePolyOnForms`, `New.Selmer.le_of_isotypic_mem`: the |
| 50 | orthogonal complement of a Hecke-stable subspace Z is Hecke stable, and Z lies in a subspace N |
| 51 | once every nonzero form of Z in an isotypic space lies in N. |
| 52 | -/ |
| 53 | |
| 54 | @[expose] public section |
| 55 | |
| 56 | /-! |
| 57 | ## A single operator from several diagonal operators |
| 58 | |
| 59 | Take operators that are diagonal in one basis, one for each basis vector. Some integral combination |
| 60 | has at every basis vector an eigenvalue of norm at least that of the operator chosen for it, since |
| 61 | finitely many hyperplanes do not cover a space over the infinite residue field of `ℚ̄_ℓ`. |
| 62 | -/ |
| 63 | |
| 64 | section DeterminantBound |
| 65 | |
| 66 | open Module Matrix Finset Real NormedField Submodule MvPolynomial |
| 67 | |
| 68 | /-- For a square array `l p k` of elements of `ℚ̄_ℓ` there are coefficients `d p` of norm at most |
| 69 | one such that, for every `k`, the combination `∑ p, l p k * d p` has norm at least `‖l k k‖`. -/ |
| 70 | lemma New.Selmer.exists_integral_combination_norm_ge {ℓ : ℕ} [ThePrime ℓ] {m : ℕ} |
| 71 | (l : Fin m → Fin m → PadicAlgCl ℓ) : |
| 72 | ∃ d : Fin m → PadicAlgCl ℓ, (∀ p : Fin m, ‖d p‖ ≤ 1) ∧ |
| 73 | ∀ k : Fin m, ‖l k k‖ ≤ ‖∑ p : Fin m, l p k * d p‖ := by |
| 74 | -- Take an integral point at which each linear form `F k` has norm at least that of each of its |
| 75 | -- coefficients; the coefficient of `X k` in `F k` is `l k k`. |
| 76 | let F (k : Fin m) : MvPolynomial (Fin m) (PadicAlgCl ℓ) := ∑ p : Fin m, l p k • X p |
| 77 | obtain ⟨d, hd⟩ : ∃ d : Fin m → (valuation (K := PadicAlgCl ℓ)).valuationSubring, |
| 78 | ∀ (k : Fin m) (s : Fin m →₀ ℕ), |
| 79 | valuation ((F k).coeff s) ≤ valuation (eval (fun p ↦ (d p : PadicAlgCl ℓ)) (F k)) := |
| 80 | exists_val_coeff_le_val_eval valuation F |
| 81 | refine ⟨fun p ↦ d p, fun p ↦ (d p).property, fun k ↦ ?_⟩ |
| 82 | have h_coeff : (F k).coeff (.single k 1) = l k k := by |
| 83 | simp only [F, coeff_sum, smul_eq_C_mul, coeff_C_mul, coeff_X, |
| 84 | Finsupp.single_left_inj Nat.one_ne_zero, mul_ite, mul_one, mul_zero, |
| 85 | Finset.sum_ite_eq', Finset.mem_univ, ite_true] |
| 86 | have h_eval : eval (fun p ↦ (d p : PadicAlgCl ℓ)) (F k) = ∑ p : Fin m, l p k * d p := by |
| 87 | simp only [F, map_sum, smul_eq_C_mul, map_mul, eval_C, eval_X] |
| 88 | rw [← h_coeff, ← h_eval] |
| 89 | exact NNReal.coe_mono (hd k (.single k 1)) |
| 90 | |
| 91 | /-- Let `Good` be a set of operators on `Z` that contains every combination of `m` of its members |
| 92 | with `ℓ`-adically integral coefficients. If for each `k` the operator that is diagonal in the basis |
| 93 | `b` with eigenvalues `l k` lies in `Good`, then some operator in `Good`, diagonal in `b`, has |
| 94 | eigenvalues `μ k` with `‖μ k‖ ≥ ‖l k k‖` for every `k`. Norms are `ℓ`-adic, through the fixed |
| 95 | isomorphism `ιℓ` from `ℂ` to `ℚ̄_ℓ`. -/ |
| 96 | lemma New.Selmer.exists_diagonal_mem_norm_ge {ℓ : ℕ} [ThePrime ℓ] [PadicIso ℓ] {Z : Type} |
| 97 | [AddCommGroup Z] [Module ℂ Z] {m : ℕ} (b : Basis (Fin m) ℂ Z) {Good : Set (Module.End ℂ Z)} |
| 98 | (h_comb : ∀ (G : Fin m → Module.End ℂ Z) (d : Fin m → PadicAlgCl ℓ), |
| 99 | (∀ p : Fin m, G p ∈ Good) → (∀ p : Fin m, ‖d p‖ ≤ 1) → |
| 100 | ∑ p : Fin m, ιℓ.symm (d p) • G p ∈ Good) |
| 101 | (l : Fin m → Fin m → ℂ) (h_good : ∀ k : Fin m, Matrix.toLin b b (diagonal (l k)) ∈ Good) : |
| 102 | ∃ μ : Fin m → ℂ, Matrix.toLin b b (diagonal μ) ∈ Good ∧ |
| 103 | ∀ k : Fin m, ‖ιℓ (l k k)‖ ≤ ‖ιℓ (μ k)‖ := by |
| 104 | -- Take integral `d p` for which every `∑ p, l p k * d p` is as large as `l k k`. The operator |
| 105 | -- with these eigenvalues is the combination of the given ones with coefficients `d p`. |
| 106 | obtain ⟨d, hd_int, hd⟩ := exists_integral_combination_norm_ge fun p k ↦ ιℓ (l p k) |
| 107 | let μ (k : Fin m) : ℂ := ∑ p : Fin m, ιℓ.symm (d p) * l p k |
| 108 | have h_apply (e : Fin m → ℂ) (k : Fin m) : Matrix.toLin b b (diagonal e) (b k) = e k • b k := |
| 109 | (hasEigenvector_toLin_diagonal e k b).apply_eq_smul |
| 110 | have h_sum : Matrix.toLin b b (diagonal μ) = |
| 111 | ∑ p : Fin m, ιℓ.symm (d p) • Matrix.toLin b b (diagonal (l p)) := by |
| 112 | refine b.ext fun k ↦ ?_ |
| 113 | simp only [h_apply, μ, LinearMap.sum_apply, LinearMap.smul_apply, smul_smul, Finset.sum_smul] |
| 114 | have hμ (k : Fin m) : ιℓ (μ k) = ∑ p : Fin m, ιℓ (l p k) * d p := by |
| 115 | simp only [μ, map_sum, map_mul, RingEquiv.apply_symm_apply, mul_comm] |
| 116 | exact ⟨μ, h_sum ▸ h_comb _ d h_good hd_int, fun k ↦ (hμ k).symm ▸ hd k⟩ |
| 117 | |
| 118 | /-- Let `Λ` be an operator on a complex space `Z` of finite dimension `N`, and `ιℓ` the fixed |
| 119 | isomorphism from `ℂ` to `ℚ̄_ℓ`. If `c * ιℓ μ` has norm at least `ε` for every eigenvalue `μ` of |
| 120 | `Λ`, then `c ^ N * ιℓ (det Λ)` has norm at least `ε ^ N`. -/ |
| 121 | lemma New.Selmer.pow_finrank_le_nnnorm_det {ℓ : ℕ} [ThePrime ℓ] [PadicIso ℓ] {Z : Type} |
| 122 | [AddCommGroup Z] [Module ℂ Z] [Module.Finite ℂ Z] (Λ : Module.End ℂ Z) (c : PadicAlgCl ℓ) |
| 123 | {ε : NNReal} (h_eig : ∀ μ : ℂ, Λ.HasEigenvalue μ → ε ≤ ‖c * ιℓ μ‖₊) : |
| 124 | ε ^ finrank ℂ Z ≤ ‖c ^ finrank ℂ Z * ιℓ (LinearMap.det Λ)‖₊ := by |
| 125 | -- Over `ℂ` the determinant is the product of the roots of the characteristic polynomial, with |
| 126 | -- multiplicity; these roots are the eigenvalues, and there are `finrank ℂ Z` of them. |
| 127 | have h_card : Multiset.card Λ.charpoly.roots = finrank ℂ Z := by |
| 128 | rw [IsAlgClosed.card_roots_eq_natDegree, LinearMap.charpoly_natDegree] |
| 129 | have h_det : c ^ finrank ℂ Z * ιℓ (LinearMap.det Λ) = |
| 130 | (Λ.charpoly.roots.map fun μ ↦ c * ιℓ μ).prod := by |
| 131 | rw [Module.End.det_eq_prod_roots_charpoly_of_splits (IsAlgClosed.splits _), map_multiset_prod, |
| 132 | Multiset.prod_map_mul, Multiset.map_const', Multiset.prod_replicate, h_card] |
| 133 | rw [h_det, Multiset.nnNorm_prod_map, ← h_card, ← Multiset.card_map fun μ ↦ ‖c * ιℓ μ‖₊] |
| 134 | refine Multiset.pow_card_le_prod (Multiset.forall_mem_map_iff.2 fun μ hμ ↦ h_eig μ ?_) |
| 135 | exact (Module.End.hasEigenvalue_iff_isRoot_charpoly Λ μ).2 (Polynomial.isRoot_of_mem_roots hμ) |
| 136 | |
| 137 | end DeterminantBound |
| 138 | |
| 139 | namespace New.Selmer |
| 140 | |
| 141 | /-! |
| 142 | ## The Hecke polynomial as a chain times an integral factor |
| 143 | |
| 144 | Congruences are coefficientwise modulo the maximal ideal of the integers of ℚ̄_ℓ (norm < 1). |
| 145 | -/ |
| 146 | |
| 147 | section HeckeString |
| 148 | |
| 149 | open Matrix Polynomial Fintype GaloisRep ComplexOrder IsUltrametricDist NormedField Patching |
| 150 | |
| 151 | variable {ℓ : ℕ} [ThePrime ℓ] |
| 152 | |
| 153 | /-- If `R` is monic and all coefficients of `Q * R` have norm less than one, then so do all |
| 154 | coefficients of `Q`. -/ |
| 155 | lemma norm_coeff_lt_one_of_mul_monic {Q R : (PadicAlgCl ℓ)[X]} (hR : R.Monic) |
| 156 | (h_lt : ∀ i : ℕ, ‖(Q * R).coeff i‖ < 1) (i : ℕ) : |
| 157 | ‖Q.coeff i‖ < 1 := by |
| 158 | obtain ⟨j, hj⟩ := exists_eq_supNorm (Q * R) |
| 159 | calc ‖Q.coeff i‖ ≤ (Q * R).supNorm := norm_coeff_le_of_mul_monic hR (le_supNorm _) i |
| 160 | _ = ‖(Q * R).coeff j‖ := hj |
| 161 | _ < 1 := h_lt j |
| 162 | |
| 163 | lemma norm_eval_one_lt_one {Q : (PadicAlgCl ℓ)[X]} (h_lt : ∀ i : ℕ, ‖Q.coeff i‖ < 1) : |
| 164 | ‖Q.eval 1‖ < 1 := by |
| 165 | obtain ⟨j, -, hj⟩ := exists_norm_finsetSum_le (Finset.range (Q.natDegree + 1)) Q.coeff |
| 166 | simpa only [eval_eq_sum_range, one_pow, mul_one] using hj.trans_lt (h_lt j) |
| 167 | |
| 168 | /-- Let B be monic, C integral, AB ≡ C ≡ A'B coefficientwise modulo the maximal ideal of the |
| 169 | integers `intQpBar ℓ` of ℚ̄_ℓ, and ‖A'(1)‖ ≥ 1. Then A divides an integral polynomial e with |
| 170 | e(1) = 1. -/ |
| 171 | lemma exists_integral_multiple_eval_one {A A' B C : (PadicAlgCl ℓ)[X]} (hB : B.Monic) |
| 172 | (hC : ∀ i : ℕ, ‖C.coeff i‖ ≤ 1) (hAB : ∀ i : ℕ, ‖(A * B - C).coeff i‖ < 1) |
| 173 | (hA'B : ∀ i : ℕ, ‖C.coeff i - (A' * B).coeff i‖ < 1) (hA'_one : 1 ≤ ‖eval 1 A'‖) : |
| 174 | ∃ e : (intQpBar ℓ)[X], A ∣ e.map (intQpBar ℓ).subtype ∧ e.eval 1 = 1 := by |
| 175 | -- Monic factors cancel in bounds on coefficients: `A` is integral and `A ≡ A'`, so `A(1)` has |
| 176 | -- norm at least one, and `e = A / A(1)` is integral. |
| 177 | have hAB_int (i : ℕ) : ‖(A * B).coeff i‖ ≤ 1 := |
| 178 | calc ‖(A * B).coeff i‖ = ‖(A * B - C).coeff i + C.coeff i‖ := by rw [coeff_sub, sub_add_cancel] |
| 179 | _ ≤ max ‖(A * B - C).coeff i‖ ‖C.coeff i‖ := norm_add_le_max _ _ |
| 180 | _ ≤ 1 := max_le (hAB i).le (hC i) |
| 181 | have hA_int (i : ℕ) : ‖A.coeff i‖ ≤ 1 := norm_coeff_le_of_mul_monic hB hAB_int i |
| 182 | have h_prod (i : ℕ) : ‖((A - A') * B).coeff i‖ < 1 := |
| 183 | calc ‖((A - A') * B).coeff i‖ |
| 184 | = ‖(A * B - C).coeff i + (C.coeff i - (A' * B).coeff i)‖ := by |
| 185 | rw [sub_mul, coeff_sub, coeff_sub, sub_add_sub_cancel] |
| 186 | _ ≤ max ‖(A * B - C).coeff i‖ ‖C.coeff i - (A' * B).coeff i‖ := norm_add_le_max _ _ |
| 187 | _ < 1 := max_lt (hAB i) (hA'B i) |
| 188 | have h_diff_one : ‖(A - A').eval 1‖ < 1 := |
| 189 | norm_eval_one_lt_one (norm_coeff_lt_one_of_mul_monic hB h_prod) |
| 190 | have hA_one : 1 ≤ ‖A.eval 1‖ := by |
| 191 | -- the two norms differ, so the norm of the sum is their maximum |
| 192 | have h := norm_add_eq_max_of_norm_ne_norm (h_diff_one.trans_le hA'_one).ne' |
| 193 | rw [← eval_add, add_sub_cancel] at h |
| 194 | exact h ▸ le_max_of_le_left hA'_one |
| 195 | have hA_ne : A.eval 1 ≠ 0 := norm_pos_iff.1 (one_pos.trans_le hA_one) |
| 196 | obtain ⟨e, he⟩ : ∃ e : (intQpBar ℓ)[X], |
| 197 | e.map (intQpBar ℓ).subtype = A * Polynomial.C (A.eval 1)⁻¹ := by |
| 198 | rw [← mem_lifts, lifts_iff_coeff_lifts] |
| 199 | intro i |
| 200 | have h_int : ‖A.coeff i * (A.eval 1)⁻¹‖ ≤ 1 := by |
| 201 | rw [norm_mul, norm_inv, mul_inv_le_iff₀ (norm_pos_iff.2 hA_ne), one_mul] |
| 202 | exact (hA_int i).trans hA_one |
| 203 | exact ⟨⟨_, h_int⟩, (coeff_mul_C ..).symm⟩ |
| 204 | have he_one : (intQpBar ℓ).subtype (e.eval 1) = 1 := by |
| 205 | rw [← eval_one_map, he, eval_mul, eval_C, mul_inv_cancel₀ hA_ne] |
| 206 | exact ⟨e, ⟨_, he⟩, Subtype.ext he_one⟩ |
| 207 | |
| 208 | /-- Let p be a nonzero polynomial over ℚ̄_ℓ, and let y^j − 1 have norm one for 1 ≤ j ≤ deg p. Then |
| 209 | for some i every root μ of p has ‖1 − y^i μ‖ ≥ 1, that is, y^i μ is not congruent to one modulo the |
| 210 | maximal ideal. -/ |
| 211 | lemma exists_one_le_nnnorm_one_sub_pow_mul_root {p : (PadicAlgCl ℓ)[X]} (hp : p ≠ 0) |
| 212 | {y : PadicAlgCl ℓ} (hy : ∀ j ∈ Set.Icc 1 p.natDegree, ‖y ^ j - 1‖ = 1) : |
| 213 | ∃ i : ℕ, ∀ μ ∈ p.roots, 1 ≤ ‖1 - y ^ i * μ‖₊ := by |
| 214 | -- Each root μ has y^i μ ≡ 1 for at most one i ≤ deg p, and there are at most deg p roots. |
| 215 | by_contra! h_all |
| 216 | choose μ h_root h_lt using h_all |
| 217 | replace h_lt (i : ℕ) : valuation (1 - y ^ i * μ i) < 1 := h_lt i |
| 218 | have h_ne (i j : Fin (p.natDegree + 1)) (hij : i < j) : μ i ≠ μ j := by |
| 219 | intro h_eq |
| 220 | -- `y^i μ` is a unit, so `y^j μ − y^i μ = y^i μ (y^(j−i) − 1)` is one too; but it is the |
| 221 | -- difference of two numbers of norm < 1. |
| 222 | have h_unit : valuation (y ^ (i : ℕ) * μ i) = 1 := by |
| 223 | simpa only [sub_sub_cancel] using valuation.map_one_sub_of_lt (h_lt i) |
| 224 | have h_step : valuation (y ^ (j - i : ℕ) - 1) = 1 := |
| 225 | NNReal.eq (hy _ ⟨by omega, by omega⟩) |
| 226 | have h_factor : 1 - y ^ (i : ℕ) * μ i - (1 - y ^ (j : ℕ) * μ j) = |
| 227 | y ^ (i : ℕ) * μ i * (y ^ (j - i : ℕ) - 1) := by |
| 228 | rw [← h_eq, ← pow_sub_mul_pow y (show (i : ℕ) ≤ j from hij.le)] |
| 229 | ring |
| 230 | exact (valuation.map_sub_lt (h_lt i) (h_lt j)).ne |
| 231 | (by rw [h_factor, map_mul, h_unit, h_step, mul_one]) |
| 232 | exact hp <| eq_zero_of_natDegree_lt_card_of_eval_eq_zero p (Function.Injective.of_lt_imp_ne h_ne) |
| 233 | (fun i ↦ isRoot_of_mem_roots (h_root i)) (by simp) |
| 234 | |
| 235 | /-- Let `P` be fixed parameters and `D` data for them, which determine a CM field E = `D.E`. Let |
| 236 | `AbsGal D` = Gal(Ω/E) be its absolute Galois group, with Ω an algebraic closure of E. Let T be a |
| 237 | continuous function from this group to n × n matrices over ℚ̄_ℓ. Let δ_i be a sequence of elements |
| 238 | of the group with T(δ_i) = y^i A, and let y^j − 1 have norm one for 1 ≤ j ≤ 4n + 2. Then for some i, |
| 239 | ‖det(1 − T(φ))‖ ≥ 1 for all φ near δ_i. -/ |
| 240 | lemma exists_eventually_one_le_norm_eval_charpoly {P : Parameters} {D : Data P} {n : Type*} |
| 241 | [Fintype n] [DecidableEq n] {T : AbsGal D → Matrix n n (PadicAlgCl ℓ)} (hT : Continuous T) |
| 242 | (δ : ℕ → AbsGal D) {y : PadicAlgCl ℓ} {A : Matrix n n (PadicAlgCl ℓ)} |
| 243 | (hTδ : ∀ i : ℕ, T (δ i) = y ^ i • A) (hy : ∀ j ∈ Set.Icc 1 (4 * card n + 2), ‖y ^ j - 1‖ = 1) : |
| 244 | ∃ i : ℕ, ∀ᶠ φ : AbsGal D in nhds (δ i), 1 ≤ ‖(T φ).charpoly.eval 1‖ := by |
| 245 | -- Choose i with 1 ≢ y^i μ for the eigenvalues μ of A. The bound on det(1 − T(φ)) is open. |
| 246 | obtain ⟨i, hi⟩ : ∃ i : ℕ, ∀ μ ∈ A.charpoly.roots, 1 ≤ ‖1 - y ^ i * μ‖₊ := |
| 247 | exists_one_le_nnnorm_one_sub_pow_mul_root (charpoly_monic A).ne_zero fun j hj ↦ |
| 248 | hy j ⟨hj.1, hj.2.trans (by rw [charpoly_natDegree_eq_dim]; omega)⟩ |
| 249 | have h_one_le : 1 ≤ ‖(1 - T (δ i)).det‖₊ := by |
| 250 | rw [hTδ, det_one_sub_smul_eq_prod_roots_of_isAlgClosed, Multiset.nnNorm_prod_map] |
| 251 | exact Multiset.one_le_prod_map hi |
| 252 | -- The open unit ball is closed, so its complement pulls back to a neighbourhood of δ i. |
| 253 | have h_closed : IsClosed ((fun φ : AbsGal D ↦ (1 - T φ).det) ⁻¹' Metric.ball 0 1) := |
| 254 | (isClosed_ball 0 1).preimage ((continuous_const.sub hT).matrix_det) |
| 255 | have h_mem : δ i ∈ ((fun φ : AbsGal D ↦ (1 - T φ).det) ⁻¹' Metric.ball 0 1)ᶜ := by |
| 256 | simpa using NNReal.coe_mono h_one_le |
| 257 | use i |
| 258 | filter_upwards [h_closed.compl_mem_nhds h_mem] with φ hφ |
| 259 | simpa [eval_charpoly] using hφ |
| 260 | |
| 261 | /-- Let M be an n × n matrix over ℚ̄_ℓ and u a number of norm one. Call two numbers congruent if |
| 262 | their difference has norm less than one, that is, lies in the maximal ideal. If the i-th |
| 263 | coefficients of H and of char M are congruent, then so are those of u^n·H(u⁻¹X) and char (uM). -/ |
| 264 | lemma norm_coeff_comp_sub_charpoly_smul_lt_one {n : Type*} [Fintype n] [DecidableEq n] |
| 265 | {M : Matrix n n (PadicAlgCl ℓ)} {H : (PadicAlgCl ℓ)[X]} {u : PadicAlgCl ℓ} (hu : ‖u‖ = 1) |
| 266 | {i : ℕ} (h_lt : ‖(M.charpoly - H).coeff i‖ < 1) : |
| 267 | ‖(C (u ^ card n) * H.comp (C u⁻¹ * X) - (u • M).charpoly).coeff i‖ < 1 := by |
| 268 | have hu_ne : u ≠ 0 := norm_pos_iff.1 (one_pos.trans_eq hu.symm) |
| 269 | have h_smul : (u • M).charpoly.coeff i = u ^ card n * u⁻¹ ^ i * M.charpoly.coeff i := by |
| 270 | rw [charpoly_smul_coeff] |
| 271 | rcases le_or_gt i (card n) with hi | hi |
| 272 | · rw [pow_sub₀ u hu_ne hi, inv_pow] |
| 273 | · rw [coeff_eq_zero_of_natDegree_lt ((charpoly_natDegree_eq_dim M).trans_lt hi), mul_zero, |
| 274 | mul_zero] |
| 275 | have h_coeff : (C (u ^ card n) * H.comp (C u⁻¹ * X) - (u • M).charpoly).coeff i = |
| 276 | -(u ^ card n * u⁻¹ ^ i) * (M.charpoly - H).coeff i := by |
| 277 | rw [coeff_sub, coeff_sub, coeff_C_mul, comp_C_mul_X_coeff, h_smul] |
| 278 | ring |
| 279 | simpa only [h_coeff, norm_mul, norm_neg, norm_pow, norm_inv, hu, inv_one, one_pow, one_mul] |
| 280 | |
| 281 | /-- If s⁻¹ is an arithmetic Frobenius at a place `A` of `Ω` over w ∤ ℓ, that is, s is a geometric |
| 282 | one, then χ(s) = ι(X₀⁻¹), where X₀ = `O.charW.frobValue r w` and ι = `ιℓ` is the fixed isomorphism |
| 283 | from ℂ to ℚ̄_ℓ. -/ |
| 284 | lemma normalizingAvatar_eq_of_isFrob [PadicIso ℓ] {P : Parameters} {D : Data P} {r n : Type} |
| 285 | [Fintype r] [DecidableEq r] [Fintype n] (O : DescentPair D.E r n) |
| 286 | {w : FinPlace D.E} {A : ClosurePlace} (hA : IsPlaceOver A w) (hℓ : ↑ℓ ∉ w.asIdeal) |
| 287 | {s : AbsGal D} (hs_inv : IsFrob A w.q s⁻¹) : |
| 288 | (normalizingAvatar O s).val = ιℓ (O.charW.frobValue r w)⁻¹ := by |
| 289 | simpa using normalizingAvatar_eq_of_isFrob_inv (O := O) hA hℓ 1 (s := s) (by rwa [pow_one]) |
| 290 | |
| 291 | variable {P : Parameters} {D : Data P} {r n : Type} [Fintype n] [DecidableEq n] [PadicIso ℓ] |
| 292 | [Fintype r] [DecidableEq r] [Nonempty n] |
| 293 | |
| 294 | /-- Let `f` be a nonzero form on the definite space V of highest weight `(O.columnCount, O.detExp)`: |
| 295 | column numbers and a power of the determinant at each infinite place. Let `f` lie in the isotypic |
| 296 | space `x`, a space of forms with given Hecke eigenvalues at almost all places. Let |
| 297 | χ = `normalizingAvatar O` be the ℓ-adic character attached, via ιℓ, to the Hecke character of W. |
| 298 | Assume every g in Gal(Ω/E) has eigenvalue 1 on `normalizedRep O x.galRep`, the twist of `x.galRep` |
| 299 | by χ. Let w ∤ ℓ be a split place of norm q where `f` has Hecke polynomial S. Then each X₀q^i with |
| 300 | i < n − r is a root of S. Here X₀ = `O.charW.frobValue r w` is the inverse of χ at a geometric |
| 301 | Frobenius, read in ℂ. -/ |
| 302 | lemma isRoot_hecke_chain {O : DescentPair D.E r n} |
| 303 | {x : Isotypic (stdSpace D.E n) (O.columnCount, O.detExp)} |
| 304 | {f : (stdSpace D.E n).forms (O.columnCount, O.detExp)} (hf : f ∈ x.val) (hf_ne : f ≠ 0) |
| 305 | (h_one : ∀ g : Gal(Ω/D.E), (normalizedRep O x.galRep g).val.charpoly.IsRoot 1) |
| 306 | {w : FinPlace D.E} {hw : star w ≠ w} {S : ℂ[X]} {i : ℕ} (hℓ : ↑ℓ ∉ w.asIdeal) |
| 307 | (hS : HasHeckePolyAt f.val w hw S) (hi : i < O.rankDiff) : |
| 308 | S.IsRoot (O.charW.frobValue r w * w.q ^ i) := by |
| 309 | -- A geometric Frobenius `s⁻¹` at `w` has eigenvalue one on the normalised representation, which |
| 310 | -- makes `frobValue` a root of `S`; as `‖frobValue‖ ^ 2 = w.q ^ card r`, unitarity gives the whole |
| 311 | -- chain (`Patching.isRoot_chain_of_norm`). |
| 312 | have hA : IsPlaceOver (placeOver w) w := w.isPlaceOver_placeOver |
| 313 | obtain ⟨s, hs⟩ : ∃ s : AbsGal D, IsFrob (placeOver w) w.q s := hA.exists_isFrob (AbsGal D) |
| 314 | have hs_inv : IsFrob (placeOver w) w.q s⁻¹⁻¹ := by rwa [inv_inv] |
| 315 | -- Local-global compatibility: the Hecke polynomial kills geometric Frobenius. |
| 316 | have h_compat : IsCompatibleAt f.val (card n) w x.galRep (placeOver w) := |
| 317 | (sphericalCompat_std w).isCompatibleAt f.property (x.isEigenform hf hf_ne) |
| 318 | (x.attached_galRep hf hf_ne) hS.1 hA |
| 319 | have h_kill : aeval (x.galRep s⁻¹).val (S.map ιℓ.toRingHom) = 0 := |
| 320 | (h_compat.polyKillsAt hS (s := s⁻¹) hs_inv).1 (hA.valuation_natCast_eq_one_iff.2 hℓ) |
| 321 | have h_kill_twist : aeval (normalizedRep O x.galRep s⁻¹).val |
| 322 | ((S.map ιℓ.toRingHom).comp ((normalizingAvatar O s⁻¹).val⁻¹ • X)) = 0 := by |
| 323 | rw [aeval_comp, map_smul, aeval_X] |
| 324 | change aeval ((normalizingAvatar O s⁻¹).val⁻¹ • |
| 325 | (normalizingAvatar O s⁻¹).val • (x.galRep s⁻¹).val) (S.map ιℓ.toRingHom) = 0 |
| 326 | rwa [inv_smul_smul₀ (normalizingAvatar O s⁻¹).ne_zero] |
| 327 | have h_root : S.IsRoot (O.charW.frobValue r w) := by |
| 328 | have h_root_twist := isRoot_of_isRoot_charpoly h_kill_twist (h_one s⁻¹) |
| 329 | rw [normalizingAvatar_eq_of_isFrob O hA hℓ hs_inv, IsRoot, eval_comp, eval_smul, eval_X, |
| 330 | smul_eq_mul, mul_one, map_inv₀, inv_inv] at h_root_twist |
| 331 | exact .of_map (f := ιℓ.toRingHom) h_root_twist ιℓ.toRingHom.injective |
| 332 | have h_norm : ‖O.charW.frobValue r w‖ ^ 2 * w.q ^ O.rankDiff = w.q ^ card n := by |
| 333 | simp [AutChar.frobValue, sq, ← mul_pow, ← pow_add, O.rank_lt.le] |
| 334 | obtain ⟨h_sph, t, h_poly, h_eig⟩ := hasHeckePolyAt_iff_localFormRep.1 hS |
| 335 | exact Patching.isRoot_chain_of_norm isUnitary_localFormRep h_sph hf_ne h_poly h_eig h_root h_norm |
| 336 | hi |
| 337 | |
| 338 | /-- Let `O` be a descent pair, `f` a nonzero form on V in the space `x` of forms of weight |
| 339 | `(O.columnCount, O.detExp)` with given Hecke eigenvalues, and let every g in Gal(Ω/E), Ω an |
| 340 | algebraic closure of ℚ, have the eigenvalue 1 on the twist of `x.galRep` by the ℓ-adic character |
| 341 | χ = `normalizingAvatar O`. Let σ = `y.frob` be a geometric Frobenius at a split place w = `y.place`, |
| 342 | w ∤ ℓ, of norm q, where `f` has Hecke polynomial H, and ι = `ιℓ` the fixed isomorphism from ℂ to |
| 343 | ℚ̄_ℓ. Then ∏_{i<n−r}(X − q^i) divides H(ι⁻¹(χ(σ))⁻¹·X). -/ |
| 344 | lemma prod_X_sub_C_dvd_comp_of_hasHeckePolyAt {O : DescentPair D.E r n} |
| 345 | {x : Isotypic (stdSpace D.E n) (O.columnCount, O.detExp)} |
| 346 | {f : (stdSpace D.E n).forms (O.columnCount, O.detExp)} (hf : f ∈ x.val) (hf_ne : f ≠ 0) |
| 347 | (h_one : ∀ g : Gal(Ω/D.E), (normalizedRep O x.galRep g).val.charpoly.IsRoot 1) |
| 348 | (y : FrobeniusDatum D.E) {hw : star y.place ≠ y.place} {H : ℂ[X]} (hℓ : ↑ℓ ∉ y.place.asIdeal) |
| 349 | (hH : HasHeckePolyAt f.val y.place hw H) : |
| 350 | ∏ i ∈ Finset.range O.rankDiff, (X - C (y.place.q ^ i : ℂ)) ∣ |
| 351 | H.comp (C (ιℓ.symm (normalizingAvatar O y.frob).val)⁻¹ * X) := by |
| 352 | have h_chi : (normalizingAvatar O y.frob).val = ιℓ (O.charW.frobValue r y.place)⁻¹ := |
| 353 | normalizingAvatar_eq_of_isFrob O y.isPlaceOver hℓ y.isFrob_inv |
| 354 | have h_inj : Function.Injective fun i : ℕ ↦ (y.place.q ^ i : ℂ) := |
| 355 | (pow_right_strictMono₀ (Nat.one_lt_cast.2 y.place.one_lt_q)).injective |
| 356 | rw [h_chi, RingEquiv.symm_apply_apply, inv_inv] |
| 357 | refine Finset.prod_dvd_of_coprime ((pairwise_coprime_X_sub_C h_inj).set_pairwise _) fun i hi ↦ ?_ |
| 358 | rw [dvd_iff_isRoot, IsRoot, eval_comp, eval_mul, eval_C, eval_X] |
| 359 | exact isRoot_hecke_chain hf hf_ne h_one hℓ hH (Finset.mem_range.1 hi) |
| 360 | |
| 361 | /-- Let `O` be a descent pair, `f` a nonzero form on V in the space `x` of forms with given Hecke |
| 362 | eigenvalues, and u the twist of `x.galRep` by the ℓ-adic character χ = `normalizingAvatar O`. Assume |
| 363 | that all characteristic polynomials of u are integral and have the root 1. Write t = `O.rankDiff` (= |
| 364 | n − r), ι = `ιℓ` for the isomorphism from ℂ to ℚ̄_ℓ and c = `cyclotomicInv` for the inverse |
| 365 | cyclotomic character. The following holds for most geometric Frobenius elements φ = `y.frob`, at |
| 366 | places w = `y.place`: every nonempty open subset of Gal(Ω/E) has a nonempty open part in which it |
| 367 | holds for almost all w. If det (X − u(φ)) is congruent, coefficientwise modulo the maximal ideal, to |
| 368 | S · ∏_{i<t} (X − c(φ)^i) with ‖S(1)‖ ≥ 1, then the rescaled Hecke polynomial H_w(X₀X) of `x`, |
| 369 | X₀ = ι⁻¹(χ(φ))⁻¹, is the chain ∏_{i<t} (X − q_w^i) times a divisor of an ℓ-adically integral |
| 370 | polynomial e with e(1) = 1 (`HasRootChain`). -/ |
| 371 | lemma eventually_exists_hasRootChain {O : DescentPair D.E r n} |
| 372 | {x : Isotypic (stdSpace D.E n) (O.columnCount, O.detExp)} |
| 373 | {f : (stdSpace D.E n).forms (O.columnCount, O.detExp)} (hf : f ∈ x.val) (hf_ne : f ≠ 0) |
| 374 | (h_one : ∀ g : Gal(Ω/D.E), (normalizedRep O x.galRep g).val.charpoly.IsRoot 1) |
| 375 | (h_charpoly_int : ∀ (g : Gal(Ω/D.E)) (i : ℕ), |
| 376 | ‖(normalizedRep O x.galRep g).val.charpoly.coeff i‖ ≤ 1) : |
| 377 | ∀ᶠ y : FrobeniusDatum D.E in mostFrobenii D.E, ∀ S : (PadicAlgCl ℓ)[X], 1 ≤ ‖eval 1 S‖ → |
| 378 | -- the characteristic polynomial at Frobenius is congruent to `S` times the chain |
| 379 | (∀ i : ℕ, |
| 380 | ‖(normalizedRep O x.galRep y.frob).val.charpoly.coeff i - |
| 381 | (S * ∏ j ∈ Finset.range O.rankDiff, |
| 382 | (X - C (cyclotomicInv ℓ D.E (PadicAlgCl ℓ) y.frob ^ j))).coeff i‖ < 1) → |
| 383 | ∃ e : EllAdicIntegers[X], |
| 384 | HasRootChain (x.heckePolyAt y.place) (e.map (algebraMap EllAdicIntegers ℂ)) y.place.q |
| 385 | (ιℓ.symm (normalizingAvatar O y.frob).val)⁻¹ O.rankDiff ∧ |
| 386 | e.eval 1 = 1 := by |
| 387 | -- The product of the X − q^i, with image B under ι, divides the rescaled Hecke polynomial, with |
| 388 | -- a quotient T. As `x.galRep` is attached to the Hecke polynomials, |
| 389 | -- χ^n · ιT · B ≡ char (χ · `x.galRep`) ≡ S · B, where χ is the value of `normalizingAvatar`, and |
| 390 | -- `exists_integral_multiple_eval_one` applies. |
| 391 | filter_upwards [(x.attached_galRep hf hf_ne).eventually_norm_coeff_le one_half_pos, |
| 392 | tendsto_place_mostFrobenii.eventually (x.isEigenform hf hf_ne).2, |
| 393 | tendsto_place_mostFrobenii.eventually (eventually_notMem_star_notMem ℓ ∅)] |
| 394 | with y h_att h_eig ⟨_hw_star, _hw_not_mem, hℓ⟩ S hS h_cong |
| 395 | obtain ⟨hw, h_hecke⟩ := h_eig y.prime_q |
| 396 | obtain ⟨T, hT⟩ := prod_X_sub_C_dvd_comp_of_hasHeckePolyAt hf hf_ne h_one y hℓ h_hecke |
| 397 | set B : (PadicAlgCl ℓ)[X] := |
| 398 | ∏ j ∈ Finset.range O.rankDiff, (X - C (cyclotomicInv ℓ D.E (PadicAlgCl ℓ) y.frob ^ j)) |
| 399 | let χ : PadicAlgCl ℓ := (normalizingAvatar O y.frob).val |
| 400 | let H : (PadicAlgCl ℓ)[X] := (x.heckePolyAt y.place).map ιℓ.toRingHom |
| 401 | -- The same factorisation after applying ι. |
| 402 | have hB : (∏ i ∈ Finset.range O.rankDiff, (X - C (y.place.q ^ i : ℂ))).map ιℓ.toRingHom = B := by |
| 403 | refine (Polynomial.map_prod _ _ _).trans (Finset.prod_congr rfl fun j _ ↦ ?_) |
| 404 | rw [Polynomial.map_sub, Polynomial.map_X, Polynomial.map_C, map_pow, map_natCast, |
| 405 | cyclotomicInv_frob y hℓ] |
| 406 | have hT_map : T.map ιℓ.toRingHom * B = H.comp (C χ⁻¹ * X) := by |
| 407 | rw [mul_comm, ← hB, ← Polynomial.map_mul, ← hT, Polynomial.map_comp] |
| 408 | simp only [H, χ, Polynomial.map_mul, map_C, map_X, map_inv₀, RingEquiv.toRingHom_eq_coe, |
| 409 | RingHom.coe_coe, RingEquiv.apply_symm_apply] |
| 410 | have hχ : ‖χ‖ = 1 := ContinuousMonoidHom.norm_apply_eq_one_of_compactSpace |
| 411 | ⟨_, AlgHeckeChar.continuous_avatar _⟩ _ |
| 412 | have h_twist : (normalizedRep O x.galRep y.frob).val = χ • (x.galRep y.frob).val := rfl |
| 413 | have h_near (i : ℕ) : ‖(C (χ ^ card n) * T.map ιℓ.toRingHom * B - |
| 414 | (normalizedRep O x.galRep y.frob).val.charpoly).coeff i‖ < 1 := by |
| 415 | have h_half : ‖((x.galRep y.frob).val.charpoly - H).coeff i‖ ≤ 1 / 2 := h_att y.frob rfl i |
| 416 | rw [mul_assoc, hT_map, h_twist] |
| 417 | exact norm_coeff_comp_sub_charpoly_smul_lt_one hχ (h_half.trans_lt one_half_lt_one) |
| 418 | obtain ⟨e, h_dvd, he_one⟩ := |
| 419 | exists_integral_multiple_eval_one (monic_prod_X_sub_C _ _) (h_charpoly_int y.frob) h_near |
| 420 | h_cong hS |
| 421 | -- Carry the divisibility back to ℂ along the inverse of ι. |
| 422 | have h_back := Polynomial.map_dvd ιℓ.symm.toRingHom (dvd_of_mul_left_dvd h_dvd) |
| 423 | rw [Polynomial.map_map, RingEquiv.symm_toRingHom_comp_toRingHom, Polynomial.map_id, |
| 424 | Polynomial.map_map] at h_back |
| 425 | -- `EllAdicIntegers` is `intQpBar ℓ`, mapped to ℂ through the inverse of ι, by definition. |
| 426 | exact ⟨e, ⟨T, hT, h_back⟩, he_one⟩ |
| 427 | |
| 428 | end HeckeString |
| 429 | |
| 430 | /-! |
| 431 | ## Hecke-stable subspaces of forms: orthogonal complements, eigenforms |
| 432 | |
| 433 | Hecke-stable subspaces Z of the space `New.DescentPair.FormV` of forms on the definite space V of a |
| 434 | descent pair (`New.DescentPair`); `New.DescentPair.heckePolyOnForms` is the Hecke polynomial at a |
| 435 | split place as an operator. |
| 436 | -/ |
| 437 | |
| 438 | section HeckeStableSubspaces |
| 439 | |
| 440 | open Patching LevelPlaces.LevelForm Submodule |
| 441 | |
| 442 | /-- Let `O` be a descent pair over the CM field E = `D.E` of admissible data `D`, and `Z` a subspace |
| 443 | of `O.FormV`, the forms of the level and weight of `O` on its definite space, with their inner |
| 444 | product. For a split place w the operator `O.heckePolyOnForms` is the Hecke polynomial |
| 445 | ∑ᵢ (−X)^i q^(i(i−1)/2) T_{w,i}, evaluated at the complex number `X`. If `Z` is stable under these |
| 446 | operators for all X at all split w off the places of `O` and their conjugates, then so is its |
| 447 | orthogonal complement. -/ |
| 448 | lemma orthogonal_mem_invtSubmodule_heckePolyOnForms {P : Parameters} {D : Data P} {r n : Type} |
| 449 | [Fintype r] [DecidableEq r] [Fintype n] [DecidableEq n] {O : DescentPair D.E r n} |
| 450 | {Z : Submodule ℂ O.FormV} |
| 451 | (hZ_stable : ∀ (w : FinPlace D.E) (hw : star w ≠ w) (hS : w ∉ O.places.conjClosure) (X : ℂ), |
| 452 | Z ∈ (O.heckePolyOnForms (w := w) hw hS X).invtSubmodule) |
| 453 | (w : FinPlace D.E) (hw : star w ≠ w) (hS : w ∉ O.places.conjClosure) (X : ℂ) : |
| 454 | Zᗮ ∈ (O.heckePolyOnForms (w := w) hw hS X).invtSubmodule := by |
| 455 | -- The adjoint of a Hecke operator at `w` is a Hecke operator at `star w`, and it preserves `Z`. |
| 456 | rw [Module.End.mem_invtSubmodule_iff_forall_mem_of_mem] |
| 457 | refine fun y hy ↦ (mem_orthogonal Z _).2 fun z hz ↦ ?_ |
| 458 | have hS' : star w ∉ O.places.conjClosure := by |
| 459 | rwa [Set.mem_union, Set.mem_preimage, star_star, or_comm] |
| 460 | have h_adj : inner ℂ (O.heckePolyOnForms hw hS X y) z = |
| 461 | inner ℂ y (O.heckePolyOnForms (star_injective.ne hw) hS' (star X) z) := |
| 462 | innerAt_heckePolyOnForms (.refl ℂ) y z hw hS X |
| 463 | rw [inner_eq_zero_symm, h_adj, inner_eq_zero_symm] |
| 464 | exact (mem_orthogonal Z y).1 hy _ (hZ_stable (star w) (star_injective.ne hw) hS' (star X) hz) |
| 465 | |
| 466 | /-- Let `O` be a descent pair over the CM field E = `D.E` of admissible data `D`, and `Z`, `N` |
| 467 | subspaces of `O.FormV`, the forms of the level and weight of `O` on its definite space |
| 468 | V = `stdSpace D.E n`. Let `Z` be stable under the Hecke polynomial operators `O.heckePolyOnForms`, |
| 469 | evaluated at any complex X, at all split places off the places of `O` and their conjugates. If every |
| 470 | form of `Z` that, viewed as a smooth form on V, is nonzero and lies in an isotypic space lies in |
| 471 | `N`, then `Z ≤ N`. -/ |
| 472 | lemma le_of_isotypic_mem {P : Parameters} {D : Data P} {r n : Type} [Fintype r] [DecidableEq r] |
| 473 | [Fintype n] [DecidableEq n] {O : DescentPair D.E r n} {Z N : Submodule ℂ O.FormV} |
| 474 | (hZ_stable : ∀ (w : FinPlace D.E) (hw : star w ≠ w) (hS : w ∉ O.places.conjClosure) (X : ℂ), |
| 475 | Z ∈ (O.heckePolyOnForms (w := w) hw hS X).invtSubmodule) |
| 476 | (h_iso : ∀ x : Isotypic (stdSpace D.E n) (O.columnCount, O.detExp), ∀ v : O.FormV, v ∈ Z → |
| 477 | v.toSmoothForm ∈ x.val ∧ v.toSmoothForm ≠ 0 → v ∈ N) : Z ≤ N := by |
| 478 | classical |
| 479 | -- View the forms as smooth forms. The image `Z'` of `Z` is spherical off the chosen places `S` |
| 480 | -- and stable under the Hecke operators off `S` and its conjugate, so it is spanned by eigenforms; |
| 481 | -- these lie in `N`. |
| 482 | let S : Finset (FinPlace D.E) := Finset.univ.image O.placeAt |
| 483 | have hS : (S : Set (FinPlace D.E)) = O.places := by |
| 484 | rw [Finset.coe_image, Finset.coe_univ, Set.image_univ] |
| 485 | let Z' : Submodule ℂ ((stdSpace D.E n).forms (O.columnCount, O.detExp)) := Z.map toSmoothForm |
| 486 | let τ : Representation ℂ _ ((stdSpace D.E n).forms (O.columnCount, O.detExp)) := |
| 487 | (stdSpace D.E n).formTranslation (O.columnCount, O.detExp) |
| 488 | have h_sph : Z' ≤ levelSpace τ (stdLevel D.E n ⊓ Gf.trivialOn n S) := by |
| 489 | -- An integral point `g` that is trivial at `S` lies in the level, so it fixes every form. |
| 490 | rintro _ ⟨y, -, rfl⟩ |
| 491 | refine mem_levelSpace.2 fun ⟨g, hg⟩ ↦ ?_ |
| 492 | have h_level : g ∈ levelOf O.placeAt ⊥ := inf_trivialOn_le_levelOf (by rwa [hS] at hg) |
| 493 | have h_alg := y.algFormRep_eq_self_of_mem h_level |
| 494 | change τ g (toSmoothForm y) = (1 : ℂ) • toSmoothForm y |
| 495 | rw [one_smul] |
| 496 | exact Subtype.ext (congrArg Subtype.val h_alg) |
| 497 | have h_stable (w : FinPlace D.E) (hw : star w ≠ w) (h_out : w ∉ S) (h_out' : star w ∉ S) |
| 498 | (i : ℕ) : ∀ f ∈ Z', heckeSplit τ (w := w) hw i f ∈ Z' := by |
| 499 | rintro _ ⟨y, hy, rfl⟩ |
| 500 | have h_off : w ∉ O.places.conjClosure := hS ▸ fun h ↦ h.elim h_out h_out' |
| 501 | have h_poly (X : ℂ) : heckePolyOp τ hw X (toSmoothForm y) ∈ Z' := |
| 502 | ⟨O.heckePolyOnForms hw h_off X y, hZ_stable w hw h_off X hy, rfl⟩ |
| 503 | -- The operators sending `toSmoothForm y` into `Z'` form a subspace with all the Hecke |
| 504 | -- polynomial operators in it, hence with every `heckeSplit` in it. |
| 505 | exact heckeSplit_mem_of_heckePolyOp (Z'.comap (.applyₗ (toSmoothForm y))) h_poly i |
| 506 | rw [← map_le_map_iff_of_injective (f := toSmoothForm) Subtype.val_injective] |
| 507 | refine (le_span_isSphericalOff Z' h_sph h_stable).trans (span_le.2 ?_) |
| 508 | rintro _ ⟨⟨v, hv, rfl⟩, Q, h_eig⟩ |
| 509 | obtain ⟨x, hx⟩ := exists_isotypic_of_isSphericalOff h_eig |
| 510 | exact ⟨v, h_iso x v hv hx, rfl⟩ |
| 511 | |
| 512 | end HeckeStableSubspaces |
| 513 | |
| 514 | end New.Selmer |