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.Int |
| 4 | import Mathlib.Topology.Connected.Separation |
| 5 | import Mathlib.Topology.MetricSpace.Ultra.TotallySeparated |
| 6 | public import Lib.GaloisRep.Main.AttachedRepresentations |
| 7 | public import Lib.GaloisRep.WeightCongruence |
| 8 | public import Lib.Adelic.AutomorphicForms.HeckeEigenforms |
| 9 | public import Lib.Shimura.HeckeTower.HeckeData |
| 10 | import Lib.GaloisRep.Main.CuspidalTypes |
| 11 | import Lib.GaloisRep.Main.SeedRepresentation |
| 12 | import Lib.General.LinearAlgebra.Eigenvalues |
| 13 | import Lib.PadicComparison.ToricTower |
| 14 | import Lib.PadicHodge.Limit.TraceLimit |
| 15 | |
| 16 | /-! |
| 17 | # Attached Galois representations in odd rank: the split case |
| 18 | |
| 19 | This file proves that eigenforms on the definite space `New.stdSpace` of odd rank have attached |
| 20 | Galois representations in the split case. Here `E` is a CM field containing a primitive 5040th |
| 21 | root of unity and `ℚ(√−D)`, with `D ≡ 3 mod 4`. The spherical place `u` and the places above `ℓ` |
| 22 | lie over split primes of `ℚ(√−D)`. The proof is an ℓ-adic limit argument. For it, the file |
| 23 | constructs places apart from given places and levels of a given type at a split place. |
| 24 | |
| 25 | ## Main definitions and results |
| 26 | |
| 27 | * `New.GaloisRep.sphericalCompat_of_split`: in odd rank, eigenforms have attached Galois |
| 28 | representations compatible at a spherical place `u`, when `u` and the places above `ℓ` lie over |
| 29 | split primes of `ℚ(√−D)`. The eigenvalues of f are ℓ-adic limits of combinations of eigenvalues |
| 30 | of forms that satisfy the hypotheses of `New.GaloisRep.exists_rep_of_cuspidal_type`. The limit of |
| 31 | the traces of their representations is the trace of a representation attached to f |
| 32 | (`New.GaloisRep.Attached`), and the local properties at `u` pass to the limit. |
| 33 | * `New.GaloisRep.exists_isTypeLevel`: Let `v` and `x` be split places with `v` apart from `x` and |
| 34 | its conjugate, `H` an open subgroup, and `ϑ` a character of the matrices `≡ 1` modulo `v` that is |
| 35 | trivial on those `≡ 1` modulo `v ^ 2`. Then there is a level of type `ϑ` at `v` that lies in `H` |
| 36 | away from `v` and `x`. |
| 37 | |
| 38 | Notions from other files: |
| 39 | * `New.IsEigenform`: f ≠ 0, and almost all places w of prime norm are split and f has the Hecke |
| 40 | polynomial P w at w. |
| 41 | * `New.GaloisRep.Attached` P r i: r is continuous with non-degenerate trace form, i (by default the |
| 42 | identity) is an open map to Gal(Ω/E), and at most Frobenius elements the characteristic |
| 43 | polynomials of r are ℓ-adically close to those given by P. |
| 44 | * `New.InducesPlacePair` w τ: the place of E that the ℓ-adic embedding belonging to the infinite |
| 45 | place τ induces is w or its conjugate. |
| 46 | * `New.GaloisRep.IsSplitPrimeToDisc` u: the place u of ℚ(√−D) contains some (1 + √−D)/2 − b |
| 47 | (b an integer) that is coprime to its conjugate; in particular u is split. |
| 48 | |
| 49 | ## Relation to the literature |
| 50 | |
| 51 | Known; see `Lib.GaloisRep.Main.OddRank` for sources. |
| 52 | -/ |
| 53 | |
| 54 | @[expose] public section |
| 55 | |
| 56 | section OddRank |
| 57 | |
| 58 | open Matrix Polynomial Filter Finset Metric Nat New.Gf |
| 59 | |
| 60 | /-- The finite place `x` of `E` is induced by the `ℓ`-adic embedding `θ`, lies over the same split |
| 61 | place of `QuadField D` as `z`, and is apart from `y` and `u` up to conjugation. The infinite place |
| 62 | of the complex embedding `ιℓ⁻¹ ∘ θ` of `E` induces `x` or its conjugate, and induces neither `u` nor |
| 63 | its conjugate (`New.InducesPlacePair`). -/ |
| 64 | structure New.GaloisRep.IsPlaceApart {ℓ : ℕ} {E : Type} (D : ℕ) [ThePrime ℓ] [PadicIso ℓ] |
| 65 | [Field E] [CMType E] [EmbeddedNumberField E] [HasQuadSubfield D E] |
| 66 | (z y u x : FinPlace E) (θ : Ω →+* PadicAlgCl ℓ) : Prop where |
| 67 | /-- The restriction of `θ` to `E` induces `x`. -/ |
| 68 | placeOfEmb_eq : placeOfEmb (θ.comp (algebraMap E Ω)) = x |
| 69 | /-- The infinite place of `ιℓ⁻¹ ∘ θ` induces `x` or its conjugate. -/ |
| 70 | inducesPlacePair : InducesPlacePair (l := ℓ) x |
| 71 | (NumberField.InfinitePlace.mk (RingHom.comp ιℓ.symm (θ.comp (algebraMap E Ω)))) |
| 72 | /-- The infinite place of `ιℓ⁻¹ ∘ θ` induces neither `u` nor its conjugate. -/ |
| 73 | not_inducesPlacePair : ¬InducesPlacePair (l := ℓ) u |
| 74 | (NumberField.InfinitePlace.mk (RingHom.comp ιℓ.symm (θ.comp (algebraMap E Ω)))) |
| 75 | /-- The place of `QuadField D` below `x` is split and prime to `D`. -/ |
| 76 | isSplitPrimeToDisc : IsSplitPrimeToDisc (x.below (QuadField D)) |
| 77 | /-- The places `x` and `z` lie over the same place of `QuadField D`. -/ |
| 78 | below_eq : x.below (QuadField D) = z.below (QuadField D) |
| 79 | /-- The place `x` is not `y`. -/ |
| 80 | ne_left : x ≠ y |
| 81 | /-- The conjugate of `x` is not `y`. -/ |
| 82 | star_ne_left : star x ≠ y |
| 83 | /-- The place `x` is not `u`. -/ |
| 84 | ne_right : x ≠ u |
| 85 | /-- The conjugate of `x` is not `u`. -/ |
| 86 | star_ne_right : star x ≠ u |
| 87 | |
| 88 | /-- Let `z` lie above `ℓ` and over a split place of `QuadField D`, and let `y` and `u` be any places |
| 89 | of `E`. Over the place below `z` there is a place `x`, induced by an `ℓ`-adic embedding `θ`, that |
| 90 | is apart from `y` and `u` up to conjugation (`New.GaloisRep.IsPlaceApart`). -/ |
| 91 | lemma New.GaloisRep.exists_place_apart {ℓ : ℕ} {E : Type} {D : ℕ} [ThePrime ℓ] [PadicIso ℓ] |
| 92 | [Field E] [CMType E] [EmbeddedNumberField E] [HasPrimitiveRoot5040 E] [HasQuadSubfield D E] |
| 93 | {z : FinPlace E} (hz : ↑ℓ ∈ z.asIdeal) (z_split : IsSplitPrimeToDisc (z.below (QuadField D))) |
| 94 | (y u : FinPlace E) : |
| 95 | ∃ (x : FinPlace E) (θ : Ω →+* PadicAlgCl ℓ), IsPlaceApart D z y u x θ := by |
| 96 | obtain ⟨x, x_below, x_ne_y, star_ne_y, x_ne_u, star_ne_u⟩ : |
| 97 | ∃ x : FinPlace E, x.below (QuadField D) = z.below (QuadField D) ∧ |
| 98 | x ≠ y ∧ star x ≠ y ∧ x ≠ u ∧ star x ≠ u := z_split.exists_place_above_ne y u |
| 99 | -- `x` lies above `ℓ`, so some `ℓ`-adic embedding `θ` induces it. |
| 100 | have hℓ_below : ↑ℓ ∈ (x.below (QuadField D)).asIdeal := by simpa [x_below] using hz |
| 101 | have hx : ↑ℓ ∈ x.asIdeal := by simpa using hℓ_below |
| 102 | obtain ⟨θ, hθ⟩ : ∃ θ : Ω →+* PadicAlgCl ℓ, (intQpBar ℓ).comap θ = placeOver x := |
| 103 | exists_comap_intQpBar_eq (x.isPlaceOver_placeOver.valuation_natCast_lt_one_iff.mpr hx) |
| 104 | have h_place : placeOfEmb (θ.comp (algebraMap E Ω)) = x := |
| 105 | (isPlaceOver_placeOfEmb θ).unique (by simpa [hθ] using x.isPlaceOver_placeOver) |
| 106 | let σ : E →+* ℂ := RingHom.comp ιℓ.symm (θ.comp (algebraMap E Ω)) |
| 107 | have hσ : ιℓ.toRingHom.comp σ = θ.comp (algebraMap E Ω) := RingHom.ext fun a ↦ by simp [σ] |
| 108 | have x_induced : InducesPlacePair (l := ℓ) x (NumberField.InfinitePlace.mk σ) := |
| 109 | inducesPlacePair_mk x σ (by rw [inducedPrime, hσ, h_place]) |
| 110 | -- An infinite place induces one place up to conjugation, and `u` is neither `x` nor `star x`. |
| 111 | have u_not_induced : ¬InducesPlacePair (l := ℓ) u (NumberField.InfinitePlace.mk σ) := by |
| 112 | rintro (hu | hu) <;> obtain hx' | hx' := x_induced |
| 113 | · exact x_ne_u (star_injective (hx'.symm.trans hu)) |
| 114 | · exact star_ne_u (star_eq_iff_star_eq.mp (hu.symm.trans hx')) |
| 115 | · exact star_ne_u (hx'.symm.trans hu) |
| 116 | · exact x_ne_u (hx'.symm.trans hu) |
| 117 | exact ⟨x, θ, |
| 118 | { placeOfEmb_eq := h_place |
| 119 | inducesPlacePair := x_induced |
| 120 | not_inducesPlacePair := u_not_induced |
| 121 | isSplitPrimeToDisc := by rwa [x_below] |
| 122 | below_eq := x_below |
| 123 | ne_left := x_ne_y |
| 124 | star_ne_left := star_ne_y |
| 125 | ne_right := x_ne_u |
| 126 | star_ne_right := star_ne_u }⟩ |
| 127 | |
| 128 | /-- If `ιℓ` takes the values of a nonzero `f` into a field `L`, it does so with the coefficient |
| 129 | `a - 1` of a Hecke polynomial `Q` of `f`: the eigenvalues are sums of values divided by a |
| 130 | nonzero value. -/ |
| 131 | lemma New.HasHeckePolyAt.coeff_pred_mem {ℓ : ℕ} {E : Type} {a : ℕ} {M : Type} [ThePrime ℓ] |
| 132 | [PadicIso ℓ] [Field E] [CMType E] {f : Gf E (Fin a) → M → ℂ} {w : FinPlace E} {hw : star w ≠ w} |
| 133 | {Q : ℂ[X]} (h_hecke : HasHeckePolyAt f w hw Q) {L : IntermediateField ℚ_[ℓ] (PadicAlgCl ℓ)} |
| 134 | (hL : ∀ (g : Gf E (Fin a)) (i : M), ιℓ (f g i) ∈ L) {g₀ : Gf E (Fin a)} {i₀ : M} |
| 135 | (hf₀ : f g₀ i₀ ≠ 0) : |
| 136 | ιℓ (Q.coeff (a - 1)) ∈ L := by |
| 137 | obtain ⟨f_sph, c, rfl, hc⟩ := h_hecke |
| 138 | have c_mem (j : ℕ) : ιℓ (c j) ∈ L := by |
| 139 | have h_value : c j * f g₀ i₀ = |
| 140 | heckeSplit (rightRegular ℂ (Gf E (Fin a)) (M → ℂ)) hw j f g₀ i₀ := by simp [hc j] |
| 141 | rw [eq_div_of_mul_eq hf₀ h_value, map_div₀] |
| 142 | refine div_mem ?_ (hL g₀ i₀) |
| 143 | simp [heckeSplit, heckeGL_eq_sum ((mem_sphericalAt_iff hw).mp f_sph), sum_mem, hL] |
| 144 | -- The coefficient is an integer multiple of an eigenvalue. |
| 145 | rw [coeff_heckePoly, map_mul] |
| 146 | exact mul_mem (by simp [-Int.cast_mul]) (c_mem _) |
| 147 | |
| 148 | /-- Let the continuous `r i` have characteristic polynomials `Q i` at most Frobenius elements. Let |
| 149 | the monoid `N` of an approximation (`New.IsApproximatingMonoid`: on it the first component is the |
| 150 | uniform limit of the combinations, with coefficients `t`, of the others) contain the pairs formed |
| 151 | by the coefficients of `P` and of the `Q i`, with the sign changed. If `P` is monic of degree `a` |
| 152 | and these coefficients of `P` in degree `a - 1` lie in a complete set, some `R` is attached to `P`, |
| 153 | and the pairs of the traces of `R` and of the `r i` lie in `N`. -/ |
| 154 | lemma New.GaloisRep.exists_attached_of_isApproximatingMonoid {ℓ : ℕ} {E : Type} {a : ℕ} [ThePrime ℓ] |
| 155 | [PadicIso ℓ] [Field E] [EmbeddedNumberField E] [NeZero a] {s : Set.Ioi (0 : ℝ) → ℕ} |
| 156 | {t : (η : Set.Ioi 0) → Fin (s η) → PadicAlgCl ℓ} |
| 157 | {N : Submonoid (PadicAlgCl ℓ × ((η : Set.Ioi 0) × Fin (s η) → PadicAlgCl ℓ))} |
| 158 | (apx : IsApproximatingMonoid s t N) |
| 159 | {r : (Σ η : Set.Ioi (0 : ℝ), Fin (s η)) → GalRep ℓ E (Fin a)} |
| 160 | {Q : (Σ η : Set.Ioi (0 : ℝ), Fin (s η)) → FinPlace E → ℂ[X]} |
| 161 | (r_cont : ∀ i : (η : Set.Ioi 0) × Fin (s η), Continuous (r i)) |
| 162 | (r_frob : ∀ i : (η : Set.Ioi 0) × Fin (s η), ∀ᶠ p : FrobeniusDatum E in mostFrobenii E, |
| 163 | (r i p.frob).val.charpoly = (Q i p.place).map ιℓ) |
| 164 | {L : Set (PadicAlgCl ℓ)} (hL : IsComplete L) (d : FrobeniusDatum E → ℕ → N) |
| 165 | {P : FinPlace E → ℂ[X]} |
| 166 | (hd : ∀ᶠ p : FrobeniusDatum E in mostFrobenii E, |
| 167 | (P p.place).IsMonicOfDegree a ∧ |
| 168 | -ιℓ ((P p.place).coeff (a - 1)) ∈ L ∧ |
| 169 | ∀ j : ℕ, |
| 170 | (d p j).val = |
| 171 | (-ιℓ ((P p.place).coeff j), fun i : (η : Set.Ioi 0) × Fin (s η) ↦ |
| 172 | -ιℓ ((Q i p.place).coeff j))) : |
| 173 | ∃ R : GalRep ℓ E (Fin a), |
| 174 | Attached P R ∧ |
| 175 | ∀ g : Gal(Ω/E), |
| 176 | ((R g).val.trace, fun i : (η : Set.Ioi 0) × Fin (s η) ↦ (r i g).val.trace) ∈ N := by |
| 177 | -- The trace of a matrix is minus the coefficient `a - 1` of its characteristic polynomial. |
| 178 | have trace_eq (i : (η : Set.Ioi 0) × Fin (s η)) : ∀ᶠ p : FrobeniusDatum E in mostFrobenii E, |
| 179 | (r i p.frob).val.trace = (d p (a - 1)).val.snd i := by |
| 180 | filter_upwards [r_frob i, hd] with p h_char ⟨_, _, h_pair⟩ |
| 181 | simp [trace_eq_neg_charpoly_coeff, h_char, h_pair] |
| 182 | have fst_mem : ∀ᶠ p : FrobeniusDatum E in mostFrobenii E, (d p (a - 1)).val.fst ∈ L := |
| 183 | hd.mono fun p ⟨_, h_mem, h_pair⟩ ↦ by rwa [h_pair] |
| 184 | have trace_tendsto (g : Gal(Ω/E)) (i : (η : Set.Ioi 0) × Fin (s η)) : |
| 185 | (mostFrobeniiAt E g).Tendsto (fun p : FrobeniusDatum E ↦ (d p (a - 1)).val.snd i) |
| 186 | (nhds (r i g).val.trace) := |
| 187 | (tendsto_mostFrobeniiAt fun g ↦ (r i g).val.trace).congr' (mem_inf_of_left (trace_eq i)) |
| 188 | obtain ⟨R, R_cont, R_nondeg, R_mem⟩ := |
| 189 | exists_continuous_isTraceNondeg_of_tendsto_trace apx |
| 190 | (fun g ↦ (mostFrobeniiAt E g).map fun p ↦ d p (a - 1)) hL |
| 191 | (fun _ ↦ mem_inf_of_left fst_mem) r_cont fun g i ↦ tendsto_map' (trace_tendsto g i) |
| 192 | let tr (g : Gal(Ω/E)) : N := ⟨_, R_mem g⟩ |
| 193 | -- By Newton's identities the coefficient `i` of a characteristic polynomial is a polynomial in |
| 194 | -- the traces of the powers. Add `d p i`: for each `r i` the sum is `0` at most Frobenius |
| 195 | -- elements, and for `R` and `P` it is the difference to bound. |
| 196 | refine ⟨R, ⟨R_cont, R_nondeg, .id, fun η hη ↦ ?_⟩, R_mem⟩ |
| 197 | let B (i : ℕ) : MvPolynomial ℕ (PadicAlgCl ℓ) := |
| 198 | .C ((-1) ^ (a - i) / (a - i)!) * newtonPoly (a - i) 1 |
| 199 | have tends (i : ℕ) : TendstoUniformly |
| 200 | (fun (ε : Set.Ioi (0 : ℝ)) (p : FrobeniusDatum E) ↦ |
| 201 | ∑ j : Fin (s ε), t ε j * (B i).eval (fun m : ℕ ↦ (r ⟨ε, j⟩ (p.frob ^ m)).val.trace) + |
| 202 | ∑ j : Fin (s ε), t ε j * (d p i).val.snd ⟨ε, j⟩) |
| 203 | (fun p : FrobeniusDatum E ↦ |
| 204 | (B i).eval (fun m : ℕ ↦ (R (p.frob ^ m)).val.trace) + (d p i).val.fst) atBot := |
| 205 | (apx.tendstoUniformly_eval (B i) fun (p : FrobeniusDatum E) m ↦ tr (p.frob ^ m)).add |
| 206 | (apx.tendstoUniformly.comp fun p ↦ d p i) |
| 207 | obtain ⟨ε, close⟩ := |
| 208 | ((Iic a).eventually_all.mpr fun i _ ↦ tendstoUniformly_iff.mp (tends i) η hη).exists |
| 209 | filter_upwards [eventually_all.mpr fun i ↦ r_frob ⟨ε, i⟩, hd] with p h_char ⟨h_monic, _, h_pair⟩ |
| 210 | refine forall_eq.mpr fun i ↦ ?_ |
| 211 | obtain hi | hi := le_or_gt i a |
| 212 | · -- Newton's identities give the coefficient `i` from the traces of the powers. |
| 213 | have eval_B (G : GalRep ℓ E (Fin a)) : |
| 214 | (B i).eval (fun m : ℕ ↦ ((G p.frob).val ^ m).trace) = (G p.frob).val.charpoly.coeff i := by |
| 215 | simp [B, hi, eval_newtonPoly, trace_pow_eq_sum_roots, charpoly_monic, |
| 216 | coeff_eq_esymm_roots_of_splits, IsAlgClosed.splits, ← mul_assoc] |
| 217 | simpa [eval_B, h_char, h_pair, sub_eq_add_neg] using (close i (mem_Iic.2 hi) p).le |
| 218 | · simp [hi, hη.le, coeff_eq_zero_of_natDegree_lt, h_monic.natDegree_eq] |
| 219 | |
| 220 | /-- The `ℓ`-adic model `padicModel κ κ 1 f` of a nonzero `f` (from weight `κ` to itself, with matrix |
| 221 | `1`; applying `weylRep κ` at the `ℓ`-adic components of `g` to it gives back `ιℓ ∘ f g`) is |
| 222 | nonzero. -/ |
| 223 | lemma New.padicModel_one_ne_zero {ℓ : ℕ} {E : Type} {a : ℕ} [ThePrime ℓ] [PadicIso ℓ] [Field E] |
| 224 | [CMType E] {κ : Weight E} {f : Gf E (Fin a) → WeylIndex (Fin a) κ.1 → ℂ} (hf : f ≠ 0) : |
| 225 | padicModel (l := ℓ) κ κ 1 f ≠ 0 := by |
| 226 | intro h_zero |
| 227 | refine hf (funext fun g ↦ funext fun i ↦ ?_) |
| 228 | -- Applying the weight representation at `padicComponents g` to the model gives back `ιℓ (f g i)`. |
| 229 | have h_apply : |
| 230 | (weylRep κ.1 κ.2 (padicComponents g) *ᵥ |
| 231 | fun j : WeylIndex (Fin a) κ.1 ↦ padicModel (l := ℓ) κ κ 1 f ⟨g, j⟩) i = ιℓ (f g i) := by |
| 232 | simp [padicModel, ← map_mul] |
| 233 | simpa [h_zero, ← Pi.zero_def] using h_apply.symm |
| 234 | |
| 235 | /-- A free family of integers (`New.HasNoSmallRelations`: for small `d`, two choices of `d` entries |
| 236 | with repetition that have the same sum coincide) stays free when it is multiplied by `ε ≠ 0` and |
| 237 | shifted by `c`. -/ |
| 238 | lemma New.HasNoSmallRelations.const_add_mul {n : ℕ} {e : Fin n → ℤ} (he : HasNoSmallRelations e) |
| 239 | (c : ℤ) {ε : ℤ} (hε : ε ≠ 0) : |
| 240 | HasNoSmallRelations fun i : Fin n ↦ c + ε * e i := by |
| 241 | intro d hd α hα β hβ h_eq |
| 242 | have h_weight (γ : Fin n →₀ ℕ) (hγ : Finsupp.degree γ = d) : |
| 243 | Finsupp.weight (fun i : Fin n ↦ c + ε * e i) γ = d * c + ε * Finsupp.weight e γ := by |
| 244 | simp [← hγ, Finsupp.weight_eq_sum, Finsupp.degree_eq_sum, mul_add, sum_add_distrib, sum_mul, |
| 245 | mul_sum, mul_left_comm] |
| 246 | rw [h_weight α hα, h_weight β hβ] at h_eq |
| 247 | exact he d hd hα hβ (mul_left_cancel₀ hε (add_left_cancel h_eq)) |
| 248 | |
| 249 | /-- Let `κ_h` be the entries of the weight `κ` at the infinite place of `σ`. If the `a` integers |
| 250 | `-∑_{j < h < a} (κ_h + 1)`, for `j < a`, form a free family (`New.HasNoSmallRelations`), then the |
| 251 | jumps of `κ` at `σ` contain a free family of `a` integers. -/ |
| 252 | lemma New.HasNoSmallRelations.exists_mem_jumps {E : Type} {a : ℕ} [Field E] [CMType E] |
| 253 | {κ : Weight E} {σ : E →+* ℂ} |
| 254 | (h_free : HasNoSmallRelations fun j : Fin a ↦ |
| 255 | -∑ h ∈ Finset.Ioo ↑j a, (κ.1 (NumberField.InfinitePlace.mk σ) h + 1)) : |
| 256 | ∃ e : Fin a → ℤ, HasNoSmallRelations e ∧ ∀ i : Fin a, e i ∈ jumps κ a σ := by |
| 257 | -- The jumps are, up to a common sign and shift, the free integers of `h_free`. |
| 258 | unfold jumps |
| 259 | generalize NumberField.InfinitePlace.mk σ = τ at h_free ⊢ |
| 260 | have h_sum (i : Fin a) : |
| 261 | ((∑ h ∈ Finset.Ioo ↑i a, (κ.1 τ h + 1) : ℕ) : ℤ) = |
| 262 | (∑ h ∈ Finset.Ioo ↑i a, κ.1 τ h : ℕ) + (a - 1 - i) := by |
| 263 | rw [sum_add_distrib, ← card_eq_sum_ones, Nat.card_Ioo] |
| 264 | omega |
| 265 | by_cases hσ : σ = Φ τ |
| 266 | · refine ⟨_, h_free.const_add_mul (a - 1 - κ.2 τ) one_ne_zero, fun i ↦ Multiset.mem_map.2 |
| 267 | ⟨i, Multiset.mem_range.2 i.isLt, (ite_eq_left hσ).trans (by linarith [h_sum i])⟩⟩ |
| 268 | · refine ⟨_, h_free.const_add_mul (κ.2 τ) (neg_ne_zero.2 one_ne_zero), fun i ↦ Multiset.mem_map.2 |
| 269 | ⟨i, Multiset.mem_range.2 i.isLt, (ite_eq_right hσ).trans (by linarith [h_sum i])⟩⟩ |
| 270 | |
| 271 | /-- Let `v` be a split place, `V` an open subgroup, and `ϑ` a character of the matrices `≡ 1` |
| 272 | modulo `v` that is trivial on those `≡ 1` modulo `v ^ 2`. There are a level `K` and a character |
| 273 | `χ` of `K`, trivial near `1`, such that an integral point that is `1` at `v` lies in `K` exactly |
| 274 | when it lies in `V`, and is then killed by `χ`, while the matrices `≡ 1` modulo `v`, placed at `v`, |
| 275 | lie in `K` and `χ` is `ϑ` on them. -/ |
| 276 | lemma New.GaloisRep.exists_isLevel_of_localCongruence_hom {E : Type} {a : ℕ} [Field E] [CMType E] |
| 277 | {v : FinPlace E} (v_split : v.IsSplit) (V : OpenSubgroup (Gf E (Fin a))) |
| 278 | {ϑ : localCongruence (Fin a) v 0 →* ℂ} |
| 279 | (ϑ_one : ∀ k : localCongruence (Fin a) v 0, k.val ∈ localCongruence (Fin a) v 1 → ϑ k = 1) : |
| 280 | ∃ (K : Subgroup (Gf E (Fin a))) (χ : K →* ℂ), |
| 281 | IsLevel K ∧ |
| 282 | χ =ᶠ[nhds 1] 1 ∧ |
| 283 | (∀ k ∈ stdLevel E (Fin a), atPlace v k = 1 → (k ∈ K ↔ k ∈ V)) ∧ |
| 284 | (∀ k : K, atPlace v k.val = 1 → χ k = 1) ∧ |
| 285 | ∀ j : localCongruence (Fin a) v 0, ∃ k : K, |
| 286 | k.val = ofSplitPlace v_split j.val ∧ χ k = ϑ j := by |
| 287 | -- `K`: the integral points that are `≡ 1` modulo `v` and whose part off `v` lies in `V`; |
| 288 | -- `χ` is `ϑ` read at `v` |
| 289 | let K : OpenSubgroup (Gf E (Fin a)) := |
| 290 | .comap (atPlace v) (continuous_atPlace v) |
| 291 | ⟨localCongruence (Fin a) v 0, isOpen_localCongruence⟩ ⊓ |
| 292 | offPartComap v_split V ⊓ ⟨stdLevel E (Fin a), isOpen_stdLevel⟩ |
| 293 | have mem_K (k : Gf E (Fin a)) : k ∈ K.toSubgroup ↔ atPlace v k ∈ localCongruence (Fin a) v 0 ∧ |
| 294 | k * (ofSplitPlace v_split (atPlace v k))⁻¹ ∈ V ∧ k ∈ stdLevel E (Fin a) := by |
| 295 | simp [K, offPartComap, and_assoc] |
| 296 | let χ : K.toSubgroup →* ℂ := |
| 297 | ϑ.comp (.mk' (fun k ↦ ⟨atPlace v k, ((mem_K k).1 k.property).left⟩) (by simp)) |
| 298 | have χ_near : χ =ᶠ[nhds 1] 1 := |
| 299 | .mono (((isOpen_localCongruence (m := 1)).preimage_of_continuous |
| 300 | ((continuous_atPlace v).comp continuous_subtypeVal)).mem_nhds (by simp)) fun k hk ↦ |
| 301 | show χ k = 1 from ϑ_one ⟨_, ((mem_K k).1 k.property).left⟩ hk |
| 302 | have K_off (k : Gf E (Fin a)) (k_int : k ∈ stdLevel E (Fin a)) (k_v : atPlace v k = 1) : |
| 303 | k ∈ K.toSubgroup ↔ k ∈ V := by simp [mem_K, k_v, k_int] |
| 304 | have χ_off (k : K.toSubgroup) (k_v : atPlace v k.val = 1) : χ k = 1 := by simp [χ, k_v, ϑ_one] |
| 305 | have j_mem (j : localCongruence (Fin a) v 0) : ofSplitPlace v_split j.val ∈ K.toSubgroup := by |
| 306 | have j_int : j.val ∈ localIntGL (Fin a) v := j.prop.1 |
| 307 | simpa [mem_K] using j_int |
| 308 | exact ⟨K.toSubgroup, χ, ⟨inf_le_right, K.isOpen'⟩, χ_near, K_off, χ_off, |
| 309 | fun j ↦ ⟨⟨_, j_mem j⟩, rfl, by simp [χ]⟩⟩ |
| 310 | |
| 311 | /-- Let `N` be a closed monoid of pairs `(x, φ)` such that `∑ i, t η i * φ (η, i)` tends to `x` |
| 312 | uniformly on `N` as `η → 0`. Let `ρ` and the `r i` be continuous, let `ρ` have a non-degenerate |
| 313 | trace form, and let `N` contain the pairs of traces of `ρ` and of the `r i`. Let each `r i` be |
| 314 | spherical above `u` (good, with the jumps of `κ`, and `ιℓ (Q i)` kills geometric Frobenii), with |
| 315 | `Q i` of degree `a` if `u` is split. For each Hecke polynomial `X` of `f ≠ 0` at `u`, let `N` |
| 316 | contain a nonzero multiple of each pair of coefficients of `X` and the `Q i`. Then `ρ` is compatible |
| 317 | with `f` at every place `A` over `u` (`IsCompatibleAt`: unramified or crystalline, with the jumps of |
| 318 | `κ`, and `ιℓ X` kills geometric Frobenii). -/ |
| 319 | lemma New.GaloisRep.isCompatibleAt_of_isApproximatingMonoid {ℓ : ℕ} {E : Type} {a : ℕ} [ThePrime ℓ] |
| 320 | [PadicIso ℓ] [Field E] [CMType E] [EmbeddedNumberField E] {s : Set.Ioi (0 : ℝ) → ℕ} |
| 321 | {t : (η : Set.Ioi 0) → Fin (s η) → PadicAlgCl ℓ} |
| 322 | {N : Submonoid (PadicAlgCl ℓ × ((η : Set.Ioi 0) × Fin (s η) → PadicAlgCl ℓ))} |
| 323 | (apx : IsApproximatingMonoid s t N) {κ : Weight E} |
| 324 | {f : Gf E (Fin a) → WeylIndex (Fin a) κ.1 → ℂ} (hf : f ≠ 0) {u : FinPlace E} |
| 325 | {r : (Σ η : Set.Ioi (0 : ℝ), Fin (s η)) → GalRep ℓ E (Fin a)} |
| 326 | {Q : (Σ η : Set.Ioi (0 : ℝ), Fin (s η)) → ℂ[X]} |
| 327 | (r_cont : ∀ i : (η : Set.Ioi 0) × Fin (s η), Continuous (r i)) |
| 328 | (r_sph : ∀ i : (η : Set.Ioi 0) × Fin (s η), |
| 329 | IsSphericalAbove (r i) Eq (jumps κ a) u ((Q i).map ιℓ)) |
| 330 | (Q_deg : star u ≠ u → ∀ i : (η : Set.Ioi 0) × Fin (s η), (Q i).natDegree = a) |
| 331 | (coeff_mem : ∀ (hu : star u ≠ u) (X : ℂ[X]), HasHeckePolyAt f u hu X → ∀ j : ℕ, |
| 332 | ∃ c : PadicAlgCl ℓ, c ≠ 0 ∧ |
| 333 | (c * ιℓ (X.coeff j), fun i : (η : Set.Ioi 0) × Fin (s η) ↦ c * ιℓ ((Q i).coeff j)) ∈ N) |
| 334 | {ρ : GalRep ℓ E (Fin a)} (ρ_cont : Continuous ρ) (ρ_nondeg : IsTraceNondeg ρ) |
| 335 | (trace_mem : ∀ g : Gal(Ω/E), |
| 336 | ((ρ g).val.trace, fun i : (η : Set.Ioi 0) × Fin (s η) ↦ (r i g).val.trace) ∈ N) |
| 337 | {A : ClosurePlace} (hA : IsPlaceOver A u) : |
| 338 | IsCompatibleAt f a u ρ A := by |
| 339 | -- The trace of `ρ` is a limit of combinations of the traces of the `r i`, so the local clauses |
| 340 | -- pass from the `r i` to `ρ`. |
| 341 | let tr (g : Gal(Ω/E)) : N := ⟨_, trace_mem g⟩ |
| 342 | have r_jump (η : Set.Ioi (0 : ℝ)) (i : Fin (s η)) : HasJumpsAt (r ⟨η, i⟩) A (jumps κ a) := |
| 343 | (r_sph ⟨η, i⟩ hA).2.1 |
| 344 | have ρ_limit : IsTraceLimit ρ A atBot t fun η i ↦ ⟨r ⟨η, i⟩⟩ := |
| 345 | ⟨ρ_cont, ρ_nondeg, fun η i ↦ r_cont ⟨η, i⟩, fun η i ↦ (r_sph ⟨η, i⟩ hA).1, |
| 346 | .inr ⟨jumps κ a, r_jump⟩, apx.tendstoUniformly.comp tr⟩ |
| 347 | refine ⟨ρ_limit.isGoodAt, ρ_limit.jumpsRelAt r_jump fun τ k m n h_eq h_lim ↦ ?_, |
| 348 | fun u_split X hX σ hσ ↦ ?_⟩ |
| 349 | · -- The coefficients `t η i` sum to `1` in the limit (take `1 : N` in `apx`), so the common jump |
| 350 | -- multiplicity of the `r i` is that of the limit. |
| 351 | have h_sum : Tendsto (fun η : Set.Ioi (0 : ℝ) ↦ ∑ i : Fin (s η), t η i) atBot (nhds 1) := by |
| 352 | simpa using apx.tendstoUniformly.tendsto_at 1 |
| 353 | have h_count : Tendsto (fun η : Set.Ioi 0 ↦ ∑ i : Fin (s η), t η i * m η i) atBot |
| 354 | (nhds ((jumps κ a τ).count k : PadicAlgCl ℓ)) := by |
| 355 | simpa [← h_eq, sum_mul] using h_sum.mul_const ((jumps κ a τ).count k : PadicAlgCl ℓ) |
| 356 | exact cast_inj.1 (tendsto_nhds_unique h_count h_lim) |
| 357 | · have X_deg : X.natDegree = a := by simpa using (hX.isMonicOfDegree hf).natDegree_eq |
| 358 | refine ρ_limit.polyKillsAt (n := a + 1) (Q := fun η i ↦ (Q ⟨η, i⟩).map ιℓ.toRingHom) ?_ |
| 359 | (fun η i ↦ by simp [Q_deg u_split]) (fun η i ↦ (r_sph ⟨η, i⟩ hA).2.2 σ hσ) fun j ↦ ?_ |
| 360 | · simp [X_deg] |
| 361 | -- Divide the pair `d` of coefficients by `c` and multiply it by the pair of traces. |
| 362 | obtain ⟨c, hc, c_mem⟩ := coeff_mem u_split X hX j |
| 363 | let d : N := ⟨_, c_mem⟩ |
| 364 | simpa [tr, d, mul_assoc, hc] using |
| 365 | apx.tendstoUniformly_eval (c⁻¹ • .X 0 * .X 1) fun g ↦ ![d, tr g] |
| 366 | |
| 367 | /-- Let `x` be a split place and `H` an open subgroup. There is a finite set `S` of places such that |
| 368 | the integral points trivial at `S` have their part off `x` (the point times the inverse of its |
| 369 | component at `x`, placed at `x`) in `H`. It avoids `x` and its conjugate, and also `w` and its |
| 370 | conjugate when `w` is apart from them and `H` contains `maxCompactAt _ w`. -/ |
| 371 | private lemma New.GaloisRep.exists_inf_trivialOn_le_offPartComap {E : Type} {a : ℕ} [Field E] |
| 372 | [CMType E] {x : FinPlace E} (x_split : x.IsSplit) (H : OpenSubgroup (Gf E (Fin a))) : |
| 373 | ∃ S : Finset (FinPlace E), |
| 374 | x ∉ S ∧ |
| 375 | star x ∉ S ∧ |
| 376 | (∀ w : FinPlace E, x ≠ w → star x ≠ w → maxCompactAt (Fin a) w ≤ H.1 → w ∉ S ∧ star w ∉ S) ∧ |
| 377 | stdLevel E (Fin a) ⊓ trivialOn (Fin a) S ≤ (offPartComap x_split H).toSubgroup := by |
| 378 | obtain ⟨S, S_min, S_level⟩ : ∃ S : Finset (FinPlace E), |
| 379 | (∀ w : FinPlace E, maxCompactAt (Fin a) w ≤ (offPartComap x_split H).1 → w ∉ S ∧ star w ∉ S) ∧ |
| 380 | stdLevel E (Fin a) ⊓ trivialOn (Fin a) S ≤ (offPartComap x_split H).toSubgroup := |
| 381 | exists_inf_trivialOn_le (offPartComap x_split H).isOpen' |
| 382 | -- A point supported at `x` and its conjugate has trivial part off `x`. |
| 383 | have x_le : maxCompactAt (Fin a) x ≤ (offPartComap x_split H).toSubgroup := |
| 384 | inf_le_of_right_le (by simp [LE.le, ← range_ofSplitPlace x_split, offPartComap]) |
| 385 | obtain ⟨x_off, star_off⟩ := S_min x x_le |
| 386 | refine ⟨S, x_off, star_off, fun w x_ne star_ne le_H ↦ S_min w fun g hg ↦ ?_, S_level⟩ |
| 387 | -- A point supported at `w` and its conjugate is `1` at `x`, so it is its own part off `x`. |
| 388 | have g_x : atPlace x g = 1 := by simp [mem_supportedOn.1 hg.2 x, x_ne, star_ne] |
| 389 | simpa [g_x, offPartComap] using le_H hg |
| 390 | |
| 391 | /-- The level `K` with its character `χ` has the type `ϑ` at the split place `v`, lies in `H` away |
| 392 | from `v` and `x`, and is spherical off the finite set `U`, which contains `v` and avoids `x`. -/ |
| 393 | private structure New.GaloisRep.IsTypeLevel {E : Type} {a : ℕ} [Field E] [CMType E] |
| 394 | {v : FinPlace E} (v_split : v.IsSplit) (ϑ : localCongruence (Fin a) v 0 →* ℂ) (x : FinPlace E) |
| 395 | (H : Subgroup (Gf E (Fin a))) (K : Subgroup (Gf E (Fin a))) (χ : K →* ℂ) |
| 396 | (U : Finset (FinPlace E)) : Prop where |
| 397 | /-- The subgroup `K` is open and consists of integral points. -/ |
| 398 | isLevel : IsLevel K |
| 399 | /-- The character `χ` is trivial near `1`. -/ |
| 400 | eventuallyEq_one : χ =ᶠ[nhds 1] 1 |
| 401 | /-- The matrices `≡ 1` modulo `v`, placed at `v`, lie in `K`, and `χ` is `ϑ` on them. -/ |
| 402 | exists_eq_ofSplitPlace (j : localCongruence (Fin a) v 0) : |
| 403 | ∃ k : K, k.val = ofSplitPlace v_split j.val ∧ χ k = ϑ j |
| 404 | /-- An element of `K` that is `1` at `v` and at `x` lies in `H` and is killed by `χ`. -/ |
| 405 | mem_of_atPlace_eq_one (k : K) (k_v : atPlace v k.val = 1) (k_x : atPlace x k.val = 1) : |
| 406 | k.val ∈ H ∧ χ k = 1 |
| 407 | /-- The integral points trivial at `U` lie in `K` and are killed by `χ`. -/ |
| 408 | exists_mem_of_trivialOn (k : Gf E (Fin a)) (hk : k ∈ stdLevel E (Fin a) ⊓ trivialOn (Fin a) U) : |
| 409 | ∃ k_mem : k ∈ K, χ ⟨k, k_mem⟩ = 1 |
| 410 | /-- The place `v` is in `U`. -/ |
| 411 | mem : v ∈ U |
| 412 | /-- The place `x` is not in `U`. -/ |
| 413 | notMem : x ∉ U |
| 414 | /-- The conjugate of `x` is not in `U`. -/ |
| 415 | star_notMem : star x ∉ U |
| 416 | /-- A place `w` apart from `v`, `x` and their conjugates, at which `H` contains the integral |
| 417 | points, is off `U` with its conjugate. -/ |
| 418 | notMem_of_maxCompactAt_le (w : FinPlace E) (v_ne : v ≠ w) (star_v_ne : star v ≠ w) |
| 419 | (x_ne : x ≠ w) (star_x_ne : star x ≠ w) (le_H : maxCompactAt (Fin a) w ≤ H) : |
| 420 | w ∉ U ∧ star w ∉ U |
| 421 | |
| 422 | /-- Let `v` and `x` be split places with `v` apart from `x` and its conjugate, `H` an open subgroup, |
| 423 | and `ϑ` a character of the matrices `≡ 1` modulo `v` that is trivial on those `≡ 1` modulo `v ^ 2`. |
| 424 | Then there is a level of type `ϑ` at `v` that lies in `H` away from `v` and `x`. -/ |
| 425 | private lemma New.GaloisRep.exists_isTypeLevel {E : Type} {a : ℕ} [Field E] [CMType E] |
| 426 | {v x : FinPlace E} (v_split : v.IsSplit) (x_split : x.IsSplit) (x_ne : x ≠ v) |
| 427 | (star_x_ne : star x ≠ v) (H : OpenSubgroup (Gf E (Fin a))) |
| 428 | {ϑ : localCongruence (Fin a) v 0 →* ℂ} |
| 429 | (ϑ_one : ∀ k : localCongruence (Fin a) v 0, k.val ∈ localCongruence (Fin a) v 1 → ϑ k = 1) : |
| 430 | ∃ (K : Subgroup (Gf E (Fin a))) (χ : K →* ℂ) (U : Finset (FinPlace E)), |
| 431 | IsTypeLevel v_split ϑ x H.toSubgroup K χ U := by |
| 432 | classical |
| 433 | -- Off `v` the level is the group of integral points whose part off `x` lies in `H`. |
| 434 | obtain ⟨S, x_off, star_x_off, S_min, S_level⟩ := exists_inf_trivialOn_le_offPartComap x_split H |
| 435 | obtain ⟨K, χ, K_level, χ_near, K_off, χ_off, K_at⟩ := |
| 436 | exists_isLevel_of_localCongruence_hom v_split (offPartComap x_split H) ϑ_one |
| 437 | refine ⟨K, χ, insert v S, K_level, χ_near, K_at, fun k k_v k_x ↦ ⟨?_, χ_off k k_v⟩, ?_, |
| 438 | mem_insert_self v S, by simp [x_off, x_ne], by simp [star_x_off, star_x_ne], ?_⟩ |
| 439 | · have k_mem : k.val ∈ offPartComap x_split H := (K_off k (K_level.le k.prop) k_v).1 k.prop |
| 440 | simpa [k_x, offPartComap] using k_mem |
| 441 | · rintro k ⟨k_int, k_off⟩ |
| 442 | obtain ⟨k_v, k_S⟩ : atPlace v k = 1 ∧ ∀ w ∈ S, atPlace w k = 1 := by simpa using k_off |
| 443 | have k_mem : k ∈ K := (K_off k k_int k_v).2 (S_level ⟨k_int, mem_trivialOn.2 k_S⟩) |
| 444 | exact ⟨k_mem, χ_off ⟨k, k_mem⟩ k_v⟩ |
| 445 | · intro w v_ne star_v_ne x_ne_w star_x_ne_w le_H |
| 446 | obtain ⟨w_off, star_w_off⟩ := S_min w x_ne_w star_x_ne_w le_H |
| 447 | have star_w_ne : star w ≠ v := fun h ↦ star_v_ne (star_eq_iff_star_eq.mp h) |
| 448 | exact ⟨by simp [w_off, v_ne.symm], by simp [star_w_off, star_w_ne]⟩ |
| 449 | |
| 450 | /-- For a level `K` with character `χ` that is spherical off `U`, the forms of type `χ` and weight |
| 451 | `μ` are spanned by those that are Hecke eigenforms off `U` (`New.IsSphericalOff`). -/ |
| 452 | private lemma New.GaloisRep.IsTypeLevel.levelSpace_le_span {E : Type} {a : ℕ} [Field E] |
| 453 | [CMType E] {v x : FinPlace E} {v_split : v.IsSplit} {ϑ : localCongruence (Fin a) v 0 →* ℂ} |
| 454 | {H K : Subgroup (Gf E (Fin a))} {χ : K →* ℂ} {U : Finset (FinPlace E)} |
| 455 | (hK : IsTypeLevel v_split ϑ x H K χ U) (μ : Weight E) : |
| 456 | levelSpace ((stdSpace E (Fin a)).formTranslation μ) K χ ≤ |
| 457 | Submodule.span ℂ {g ∈ levelSpace ((stdSpace E (Fin a)).formTranslation μ) K χ | |
| 458 | ∃ Q : FinPlace E → ℂ[X], IsSphericalOff U g.val Q} := by |
| 459 | have le_sph : levelSpace ((stdSpace E (Fin a)).formTranslation μ) K χ ≤ |
| 460 | levelSpace ((stdSpace E (Fin a)).formTranslation μ) |
| 461 | (stdLevel E (Fin a) ⊓ trivialOn (Fin a) U) := by |
| 462 | rintro g hg ⟨k, k_off⟩ |
| 463 | obtain ⟨k_mem, χ_k⟩ := hK.exists_mem_of_trivialOn k k_off |
| 464 | simpa [χ_k] using hg ⟨k, k_mem⟩ |
| 465 | have : Module.Finite ℂ (levelSpace ((stdSpace E (Fin a)).formTranslation μ) K χ) := |
| 466 | (stdSpace E (Fin a)).finite_formTranslation_levelSpace μ hK.isLevel.isOpen χ |
| 467 | refine le_span_isSphericalOff _ le_sph fun y hy y_off star_off j g hg ↦ ?_ |
| 468 | exact heckeSplit_mem_levelSpace hy j (levelSpace_le_sphericalAt y_off star_off (le_sph hg)) |
| 469 | hK.isLevel.le hg |
| 470 | |
| 471 | /-- Let `a` be odd, and let `v` and `x` lie over the split place of `QuadField D` below `z`, apart |
| 472 | from `u` and from each other. Let `u` lie over a split place of `QuadField D` prime to `D`, and let |
| 473 | `u = z` if `u` is above `ℓ`. Let the level `K` with character `χ` have the cuspidal type `ϑ` at `v`, |
| 474 | and let the form `g` of type `χ` and weight `μ` have Hecke polynomials `Q` off `U`. Let `μ` agree |
| 475 | with `κ` at the infinite places that induce `u` or its conjugate and be free at the others (the |
| 476 | integers `-∑_{j < h < a} (μ_h + 1)` satisfy `New.HasNoSmallRelations`). Then a continuous |
| 477 | representation has characteristic polynomials `Q` at most Frobenius elements and, if `u` and its |
| 478 | conjugate are off `U`, satisfies the spherical clause at `u` with the jumps of `κ`. -/ |
| 479 | private lemma New.GaloisRep.exists_rep_of_free_weight {ℓ : ℕ} {E : Type} {a D : ℕ} [ThePrime ℓ] |
| 480 | [PadicIso ℓ] [Field E] [CMType E] [EmbeddedNumberField E] [HasPrimitiveRoot5040 E] |
| 481 | [HasQuadSubfield D E] (ha : Odd a) {z u v x : FinPlace E} {θ θ' : Ω →+* PadicAlgCl ℓ} |
| 482 | (hv : IsPlaceApart D z u u v θ') (hx : IsPlaceApart D z v u x θ) |
| 483 | (u_split : IsSplitPrimeToDisc (u.below (QuadField D))) (huz : ↑ℓ ∈ u.asIdeal → u = z) |
| 484 | {κ μ : Weight E} |
| 485 | (μ_eq : ∀ τ : NumberField.InfinitePlace E, |
| 486 | InducesPlacePair (l := ℓ) u τ → μ.1 τ = κ.1 τ ∧ μ.2 τ = κ.2 τ) |
| 487 | (μ_free : ∀ τ : NumberField.InfinitePlace E, ¬InducesPlacePair (l := ℓ) u τ → |
| 488 | HasNoSmallRelations fun j : Fin a ↦ -∑ h ∈ Finset.Ioo ↑j a, (μ.1 τ h + 1)) |
| 489 | {v_split : v.IsSplit} {ϑ : localCongruence (Fin a) v 0 →* ℂ} |
| 490 | (ϑ_type : Variety.IsCuspidalType (localCongruence (Fin a) v 0) ϑ) |
| 491 | {H K : Subgroup (Gf E (Fin a))} {χ : K →* ℂ} {U : Finset (FinPlace E)} |
| 492 | (hK : IsTypeLevel v_split ϑ x H K χ U) {g : (stdSpace E (Fin a)).forms μ} |
| 493 | (hg : g ∈ levelSpace ((stdSpace E (Fin a)).formTranslation μ) K χ) {Q : FinPlace E → ℂ[X]} |
| 494 | (hQ : IsSphericalOff U g.val Q) : |
| 495 | ∃ r : GalRep ℓ E (Fin a), |
| 496 | Continuous r ∧ |
| 497 | (∀ᶠ p : FrobeniusDatum E in mostFrobenii E, (r p.frob).val.charpoly = (Q p.place).map ιℓ) ∧ |
| 498 | (u ∉ U ∧ star u ∉ U → IsSphericalAbove r Eq (jumps κ a) u ((Q u).map ιℓ)) := by |
| 499 | -- The matrices `≡ 1` modulo `v`, placed at `v`, lie in `K` and act on `g` by `ϑ`. |
| 500 | have g_type (j : localCongruence (Fin a) v 0) : |
| 501 | rightRegular ℂ (Gf E (Fin a)) (WeylIndex (Fin a) μ.1 → ℂ) |
| 502 | (ofSplitPlace v_split j.val) g.val = ϑ j • g.val := by |
| 503 | obtain ⟨k, k_eq, χ_eq⟩ := hK.exists_eq_ofSplitPlace j |
| 504 | simpa [k_eq, χ_eq] using congrArg Subtype.val (hg k) |
| 505 | -- The weight `μ` is free at the infinite place given by `θ`, so its jumps there are free. |
| 506 | obtain ⟨e, e_free, e_mem⟩ : ∃ e : Fin a → ℤ, HasNoSmallRelations e ∧ |
| 507 | ∀ i : Fin a, e i ∈ jumps μ a (RingHom.comp ιℓ.symm (θ.comp (algebraMap E Ω))) := |
| 508 | (μ_free _ hx.not_inducesPlacePair).exists_mem_jumps |
| 509 | have x_below : x.below (QuadField D) = v.below (QuadField D) := hx.below_eq.trans hv.below_eq.symm |
| 510 | have u_below (hu : ↑ℓ ∈ u.asIdeal) : u.below (QuadField D) = v.below (QuadField D) := by |
| 511 | rw [huz hu, hv.below_eq] |
| 512 | obtain ⟨r, r_cont, r_frob, r_sph⟩ := |
| 513 | exists_rep_of_cuspidal_type ha g.prop hQ hK.mem hv.isSplitPrimeToDisc ϑ_type g_type |
| 514 | ⟨hK.notMem, hK.star_notMem, x_below⟩ hx.placeOfEmb_eq e_free e_mem u ⟨u_split, u_below⟩ |
| 515 | refine ⟨r, r_cont, r_frob, fun hu A hA ↦ ?_⟩ |
| 516 | -- Over `u` the weights `μ` and `κ` agree, so they have the same jumps. |
| 517 | obtain ⟨r_good, r_jump, r_poly⟩ := r_sph hu hA |
| 518 | refine ⟨r_good, r_jump.congr hA fun σ hσ ↦ ?_, r_poly⟩ |
| 519 | obtain ⟨h_columns, h_det⟩ := μ_eq _ (inducesPlacePair_mk u σ hσ) |
| 520 | simp [jumps, h_columns, h_det] |
| 521 | |
| 522 | /-- Let `f` be an eigenform with polynomials `P`, and let the continuous `r i` have characteristic |
| 523 | polynomials `Q i` at most Frobenius elements. Let the monoid `N` of an approximation contain, at |
| 524 | each split place `w` prime to `ℓ` with `w` and its conjugate off `U`, the pairs formed by the |
| 525 | coefficients of the Hecke polynomial of `f` and of the `Q i w`, with the sign changed. Then some `R` |
| 526 | is attached to `P`, and the pairs of the traces of `R` and of the `r i` lie in `N`. -/ |
| 527 | private lemma New.GaloisRep.exists_attached_of_coeff_mem {ℓ : ℕ} {E : Type} {a : ℕ} [ThePrime ℓ] |
| 528 | [PadicIso ℓ] [Field E] [CMType E] [EmbeddedNumberField E] [NeZero a] |
| 529 | {s : Set.Ioi (0 : ℝ) → ℕ} {t : (η : Set.Ioi 0) → Fin (s η) → PadicAlgCl ℓ} |
| 530 | {N : Submonoid (PadicAlgCl ℓ × ((η : Set.Ioi 0) × Fin (s η) → PadicAlgCl ℓ))} |
| 531 | (apx : IsApproximatingMonoid s t N) {κ : Weight E} |
| 532 | {f : Gf E (Fin a) → WeylIndex (Fin a) κ.1 → ℂ} (hf : f ∈ (stdSpace E (Fin a)).forms κ) |
| 533 | {P : FinPlace E → ℂ[X]} (h_eig : IsEigenform f P) |
| 534 | {r : (Σ η : Set.Ioi (0 : ℝ), Fin (s η)) → GalRep ℓ E (Fin a)} |
| 535 | {Q : (Σ η : Set.Ioi (0 : ℝ), Fin (s η)) → FinPlace E → ℂ[X]} |
| 536 | (r_cont : ∀ i : (η : Set.Ioi 0) × Fin (s η), Continuous (r i)) |
| 537 | (r_frob : ∀ i : (η : Set.Ioi 0) × Fin (s η), ∀ᶠ p : FrobeniusDatum E in mostFrobenii E, |
| 538 | (r i p.frob).val.charpoly = (Q i p.place).map ιℓ) {U : Finset (FinPlace E)} |
| 539 | (coeff_mem : ∀ (w : FinPlace E) (hw : star w ≠ w) (X : ℂ[X]) (j : ℕ), |
| 540 | w ∉ U → star w ∉ U → ↑ℓ ∉ w.asIdeal → HasHeckePolyAt f w hw X → |
| 541 | (-ιℓ (X.coeff j), fun i : (η : Set.Ioi 0) × Fin (s η) ↦ -ιℓ ((Q i w).coeff j)) ∈ N) : |
| 542 | ∃ R : GalRep ℓ E (Fin a), |
| 543 | Attached P R ∧ |
| 544 | ∀ g : Gal(Ω/E), |
| 545 | ((R g).val.trace, fun i : (η : Set.Ioi 0) × Fin (s η) ↦ (r i g).val.trace) ∈ N := by |
| 546 | obtain ⟨hf_ne, h_hecke⟩ := h_eig |
| 547 | -- The values of `f` lie in a finite, so complete, extension `L` of `ℚ_ℓ`. |
| 548 | obtain ⟨L, L_finite, hL⟩ : ∃ L : IntermediateField ℚ_[ℓ] (PadicAlgCl ℓ), Module.Finite ℚ_[ℓ] L ∧ |
| 549 | ∀ (g : Gf E (Fin a)) (i : WeylIndex (Fin a) κ.1), ιℓ (f g i) ∈ L := |
| 550 | exists_padic_field_of_form_values hf |
| 551 | obtain ⟨g₀, i₀, hf₀⟩ : ∃ (g : Gf E (Fin a)) (i : WeylIndex (Fin a) κ.1), f g i ≠ 0 := by |
| 552 | simpa [funext_iff] using hf_ne |
| 553 | -- `d p j` is the pair of coefficients as an element of `N`, when it lies in `N`. |
| 554 | let pair (p : FrobeniusDatum E) (j : ℕ) : |
| 555 | PadicAlgCl ℓ × ((η : Set.Ioi 0) × Fin (s η) → PadicAlgCl ℓ) := |
| 556 | (-ιℓ ((P p.place).coeff j), fun i ↦ -ιℓ ((Q i p.place).coeff j)) |
| 557 | have exists_lift (p : FrobeniusDatum E) (j : ℕ) (h_mem : pair p j ∈ N) : |
| 558 | ∃ d : N, d.val = pair p j := ⟨⟨pair p j, h_mem⟩, rfl⟩ |
| 559 | choose! d hd using exists_lift |
| 560 | -- Most Frobenius elements are at places off `U` and prime to `ℓ`. |
| 561 | have most_frob : ∀ᶠ p : FrobeniusDatum E in mostFrobenii E, |
| 562 | (P p.place).IsMonicOfDegree a ∧ |
| 563 | -ιℓ ((P p.place).coeff (a - 1)) ∈ L ∧ |
| 564 | ∀ j : ℕ, (d p j).val = pair p j := by |
| 565 | refine eventually_mostFrobenii ((eventually_notMem_star_notMem ℓ U).and h_hecke) ?_ |
| 566 | rintro p ⟨⟨p_off, star_off, p_prime⟩, h_at⟩ |
| 567 | obtain ⟨p_split, p_hecke⟩ := h_at p.prime_q |
| 568 | exact ⟨by simpa using p_hecke.isMonicOfDegree hf_ne, neg_mem (p_hecke.coeff_pred_mem hL hf₀), |
| 569 | fun j ↦ hd p j (coeff_mem p.place p_split _ j p_off star_off p_prime p_hecke)⟩ |
| 570 | exact exists_attached_of_isApproximatingMonoid apx r_cont r_frob |
| 571 | L.toSubmodule.isComplete_of_finiteDimensional d |
| 572 | most_frob |
| 573 | |
| 574 | -- Keeps definitional checks from unfolding the finite sums. |
| 575 | seal Finset.univ in |
| 576 | /-- Let `E` be a CM field containing a primitive 5040th root of unity and `ℚ(√−D)`, with |
| 577 | `D ≡ 3 mod 4`, and let `a` be odd. Suppose `u` and every place above `ℓ` lie over primes of `ℚ(√−D)` |
| 578 | that split (`New.GaloisRep.IsSplitPrimeToDisc`). Then every eigenform of any weight on the standard |
| 579 | definite unitary group of rank `a` has an attached Galois representation. If the form is spherical |
| 580 | at `u`, every representation attached to its Hecke polynomials satisfies the local conditions |
| 581 | `IsCompatibleAt` at every place of `Ω` over `u` (`New.GaloisRep.SphericalCompat`): it is good there, |
| 582 | has the jumps of the weight and, if `u` is split, the Hecke polynomial kills geometric Frobenius. -/ |
| 583 | lemma New.GaloisRep.sphericalCompat_of_split {ℓ : ℕ} {E : Type} {a D : ℕ} [ThePrime ℓ] [PadicIso ℓ] |
| 584 | [Field E] [CMType E] [EmbeddedNumberField E] [HasPrimitiveRoot5040 E] (ha : Odd a) |
| 585 | [HasQuadSubfield D E] {u : FinPlace E} |
| 586 | (hsp : ∀ v : FinPlace E, |
| 587 | ↑ℓ ∈ v.asIdeal ∨ v = u → IsSplitPrimeToDisc (v.below (QuadField D))) : |
| 588 | SphericalCompat (ℓ := ℓ) E (Fin a) a u := by |
| 589 | classical |
| 590 | -- Approximate the `ℓ`-adic model of `f` by eigenforms that are wildly ramified at a place `v` |
| 591 | -- above `ℓ` and whose weights equal `κ` at the infinite places that induce `u` or its conjugate |
| 592 | -- and are free at the others; these have representations by `exists_rep_of_free_weight`. |
| 593 | -- The limit of their traces is a trace, and `isCompatibleAt_of_isApproximatingMonoid` carries the |
| 594 | -- local clauses over to it. |
| 595 | intro P κ f hf h_eig |
| 596 | have : NeZero a := .of_pos ha.pos |
| 597 | -- Places `v`, `x` above `ℓ`, over one split place of `QuadField D`, apart from each other and |
| 598 | -- from `u` up to conjugation. |
| 599 | obtain ⟨z, hz, huz⟩ : ∃ z : FinPlace E, ↑ℓ ∈ z.asIdeal ∧ (↑ℓ ∈ u.asIdeal → u = z) := by |
| 600 | by_cases hu : ↑ℓ ∈ u.asIdeal |
| 601 | · exact ⟨u, hu, fun _ ↦ rfl⟩ |
| 602 | · obtain ⟨z, hz⟩ := FinPlace.exists_natCast_mem E ℓ |
| 603 | exact ⟨z, hz, fun hu' ↦ absurd hu' hu⟩ |
| 604 | obtain ⟨v, θ', hv⟩ := exists_place_apart hz (hsp z (.inl hz)) u u |
| 605 | obtain ⟨x, θ, hx⟩ := exists_place_apart hz (hsp z (.inl hz)) v u |
| 606 | have v_split : v.IsSplit := hv.isSplitPrimeToDisc.isSplit_of_below |
| 607 | have x_split : x.IsSplit := hx.isSplitPrimeToDisc.isSplit_of_below |
| 608 | -- `ϑ`: a cuspidal type on the matrices `≡ 1` modulo `v`, trivial on those `≡ 1` modulo `v ^ 2` |
| 609 | obtain ⟨ϑ, ϑ_type, ϑ_one⟩ := Variety.exists_isCuspidalType v a |
| 610 | -- `K` is a level and `χ` a character of `K` that is `ϑ` at `v`; away from `v` and `x` the level |
| 611 | -- fixes `f`. |
| 612 | let stab : OpenSubgroup (Gf E (Fin a)) := ⟨rightStabilizer f, hf.1⟩ |
| 613 | obtain ⟨K, χ, U, hK⟩ : ∃ (K : Subgroup (Gf E (Fin a))) (χ : K →* ℂ) (U : Finset (FinPlace E)), |
| 614 | IsTypeLevel v_split ϑ x (rightStabilizer f) K χ U := |
| 615 | exists_isTypeLevel v_split x_split hx.ne_left hx.star_ne_left stab ϑ_one |
| 616 | -- Hecke operators `T y hy j` that do not increase the sup norm (`hT`). On the model of a form |
| 617 | -- with polynomial `X` at `y` the eigenvalue is `b y hy j * ιℓ (X.coeff j)` (`hE`), where `b` is |
| 618 | -- not zero (`hb`) and is `-1` for `y` prime to `ℓ` (`hb'`). |
| 619 | choose b hb hb' T hT hE using exists_padicModel_hecke_contraction (N := a) (l := ℓ) κ |
| 620 | -- A seed is a common eigenvector, with polynomials `Q`, that has a representation `r`. |
| 621 | let Seed : Set (Gf E (Fin a) × WeylIndex (Fin a) κ.1 → PadicAlgCl ℓ) := |
| 622 | {F | ∃ (r : GalRep ℓ E (Fin a)) (Q : FinPlace E → ℂ[X]), |
| 623 | (∀ (y : FinPlace E) (hy : star y ≠ y) (j : ℕ), y ∉ U → star y ∉ U → |
| 624 | (↑ℓ ∈ y.asIdeal → y = u) → T y hy j F = (b y hy j * ιℓ ((Q y).coeff j)) • F) ∧ |
| 625 | Continuous r ∧ |
| 626 | (∀ᶠ p : FrobeniusDatum E in mostFrobenii E, (r p.frob).val.charpoly = (Q p.place).map ιℓ) ∧ |
| 627 | (u ∉ U ∧ star u ∉ U → |
| 628 | IsSphericalAbove r Eq (jumps κ a) u ((Q u).map ιℓ) ∧ (star u ≠ u → (Q u).natDegree = a))} |
| 629 | -- The model of `f` is a uniform limit of combinations of models of forms of type `χ`, whose |
| 630 | -- weights `μ` are free except at the infinite places that induce the pair of `u`. |
| 631 | have mem_closure : padicModel κ κ 1 f ∈ uniformClosure Seed := by |
| 632 | refine padicModel_mem_uniformClosure κ hK.isLevel hK.eventuallyEq_one |
| 633 | {σ | ¬InducesPlacePair u σ} ⟨f, hf⟩ (fun k hk ↦ ?_) fun μ g₀ hg₀ μ_eq μ_free M hM ↦ ?_ |
| 634 | · -- Such a `k` is `1` at `v` and at `x`, so it fixes `f` and `χ k = 1`. |
| 635 | exact hK.mem_of_atPlace_eq_one k |
| 636 | (hv.inducesPlacePair.atPlace_eq_one v (hk _ hv.not_inducesPlacePair)) |
| 637 | (hx.inducesPlacePair.atPlace_eq_one x (hk _ hx.not_inducesPlacePair)) |
| 638 | -- The forms of type `χ` and weight `μ` are spanned by Hecke eigenforms `g` off `U`. |
| 639 | refine Submodule.mapsTo_span (f := (padicModel κ μ M).domRestrict _) ?_ |
| 640 | (hK.levelSpace_le_span μ hg₀) |
| 641 | rintro g ⟨hg, Q, hQ⟩ |
| 642 | obtain ⟨r, r_cont, r_frob, r_sph⟩ := |
| 643 | exists_rep_of_free_weight ha hv hx (hsp u (.inr rfl)) huz |
| 644 | (fun τ hτ ↦ μ_eq τ (not_not_intro hτ)) μ_free ϑ_type hK hg hQ |
| 645 | obtain ⟨g_ne, -, g_hecke⟩ := hQ |
| 646 | refine ⟨r, Q, fun y hy j h₁ h₂ h₃ ↦ ?_, r_cont, r_frob, fun hu ↦ ⟨r_sph hu, fun h ↦ ?_⟩⟩ |
| 647 | · -- The matrix `M` intertwines the two weights at `y`, so `T y hy j` has the eigenvalue wanted. |
| 648 | refine hE y hy j M _ (g_hecke y hy h₁ h₂) fun _ ↦ hM _ fun _ h_not_over ↦ ?_ |
| 649 | exact padicComponents_ofSplitPlace _ _ _ fun hℓ ↦ by rwa [h₃ hℓ] |
| 650 | · simpa using ((g_hecke u h hu.left hu.right).isMonicOfDegree g_ne).natDegree_eq |
| 651 | -- So there are seeds `y i` and a closed monoid `N` of pairs on which the first entry is the |
| 652 | -- limit of combinations of the others. It contains the pairs of eigenvalues of the `T w hw j`. |
| 653 | obtain ⟨s, t, N, apx, y, mem_N⟩ := |
| 654 | exists_isApproximatingMonoid_of_mem_uniformClosure (padicModel_one_ne_zero h_eig.1) mem_closure |
| 655 | choose r Q y_eig y_cont y_frob y_sph using fun i ↦ (y i).property |
| 656 | have pair_mem (w : FinPlace E) (hw : star w ≠ w) (X : ℂ[X]) (j : ℕ) (h₁ : w ∉ U) |
| 657 | (h₂ : star w ∉ U) (h₃ : ↑ℓ ∈ w.asIdeal → w = u) (hX : HasHeckePolyAt f w hw X) : |
| 658 | (b w hw j * ιℓ (X.coeff j), fun i ↦ b w hw j * ιℓ ((Q i w).coeff j)) ∈ N := |
| 659 | mem_N _ ⟨T w hw j, hT w hw j, hE w hw j 1 X hX (by simp [← map_mul]), |
| 660 | fun i ↦ y_eig i w hw j h₁ h₂ h₃⟩ |
| 661 | -- At places prime to `ℓ` the constant `b` is `-1`. |
| 662 | have neg_pair_mem (w : FinPlace E) (hw : star w ≠ w) (X : ℂ[X]) (j : ℕ) (h₁ : w ∉ U) |
| 663 | (h₂ : star w ∉ U) (hℓ : ↑ℓ ∉ w.asIdeal) (hX : HasHeckePolyAt f w hw X) : |
| 664 | (-ιℓ (X.coeff j), fun i ↦ -ιℓ ((Q i w).coeff j)) ∈ N := by |
| 665 | simpa only [hb' w hw j hℓ, neg_one_mul] using |
| 666 | pair_mem w hw X j h₁ h₂ (fun h ↦ absurd h hℓ) hX |
| 667 | obtain ⟨R, attached, R_mem⟩ := |
| 668 | exists_attached_of_coeff_mem apx hf h_eig y_cont y_frob neg_pair_mem |
| 669 | -- Any attached `ρ` has the trace of `R`, the limit of combinations of the traces of the `r i`. |
| 670 | refine ⟨⟨R, attached⟩, fun ρ hρ f_sph A hA ↦ ?_⟩ |
| 671 | have u_good : u ∉ U ∧ star u ∉ U := |
| 672 | hK.notMem_of_maxCompactAt_le u hv.ne_right hv.star_ne_right hx.ne_right hx.star_ne_right |
| 673 | fun g hg ↦ mem_rightStabilizer.2 (by simpa [funext_iff] using f_sph ⟨g, hg⟩) |
| 674 | have coeff_mem (u_split : star u ≠ u) (X : ℂ[X]) (hX : HasHeckePolyAt f u u_split X) (j : ℕ) : |
| 675 | ∃ c : PadicAlgCl ℓ, c ≠ 0 ∧ |
| 676 | (c * ιℓ (X.coeff j), fun i ↦ c * ιℓ ((Q i u).coeff j)) ∈ N := |
| 677 | ⟨b u u_split j, hb u u_split j, |
| 678 | pair_mem u u_split X j u_good.left u_good.right (fun _ ↦ rfl) hX⟩ |
| 679 | have trace_mem (g : Gal(Ω/E)) : ((ρ g).val.trace, fun i ↦ (r i g).val.trace) ∈ N := by |
| 680 | simpa [hρ.trace_eq attached g rfl] using R_mem g |
| 681 | exact isCompatibleAt_of_isApproximatingMonoid apx h_eig.1 y_cont (fun i ↦ (y_sph i u_good).1) |
| 682 | (fun u_split i ↦ (y_sph i u_good).2 u_split) coeff_mem hρ.continuous hρ.isTraceNondeg |
| 683 | trace_mem hA |
| 684 | |
| 685 | end OddRank |