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.AffineMonoid.UniqueSums |
| 4 | import Mathlib.NumberTheory.NumberField.Cyclotomic.Basic |
| 5 | import Mathlib.Tactic.Linter.Style |
| 6 | public import Lib.GaloisRep.LocalGlobal.LocalFormTypes |
| 7 | public import Lib.GaloisRep.Main.AttachedRepresentations |
| 8 | import Lib.ClassField.Global.ArtinMap |
| 9 | import Lib.ClassField.Places.TameInertia |
| 10 | import Lib.GaloisRep.BaseChange.ShintaniLift |
| 11 | import Lib.GaloisRep.LocalGlobal.IwahoriCompatibility |
| 12 | import Lib.GaloisRep.Main.OddRank |
| 13 | import Lib.General.NumberTheory.FrobeniusOrbits |
| 14 | import Lib.LocalGL.Green.LabelCharacters |
| 15 | import Lib.LocalGL.Iwahori.SortedExponents |
| 16 | import Lib.LocalGL.Shintani.LiftingGreenCharacters |
| 17 | import Lib.PadicComparison.Descent.TestCategory |
| 18 | |
| 19 | /-! |
| 20 | # Tame exponents of inertia and local-global compatibility for labelled forms |
| 21 | |
| 22 | Let `w` be a finite place of `E` whose residue field `k_w` has order `q`, let `A` be a valuation |
| 23 | subring of an algebraic closure `Ω` lying over `w`, and let `T` be an injective complex-valued |
| 24 | multiplicative character of an algebraically closed extension `K` of `k_w`. |
| 25 | |
| 26 | ## Main definitions and results |
| 27 | |
| 28 | * `New.GaloisRep.IsTameExponent w A T f s a`: the inertial element `s` moves a `(q ^ f - 1)`-th root |
| 29 | of a uniformiser by the root of unity that `T` reads as `exp (2πi a / (q ^ f - 1))`. |
| 30 | * `New.GaloisRep.IsLabelledAt`: for a polynomial `c` over the residue field, the polynomial with |
| 31 | roots `ιℓ ((T ^ a) x)` satisfies a given condition at each such `s`. Here `x` runs over the roots |
| 32 | of `c`, `ιℓ` is the fixed map from `ℂ` to `PadicAlgCl ℓ`, and `T ^ a` is the `a`-th power of the |
| 33 | character `T`. |
| 34 | * `New.GaloisRep.IsTameExponent.pow_apply_charName`: comparison with the local Artin map, for |
| 35 | characters of `k_wˣ`. |
| 36 | * `New.GaloisRep.exists_isTameExponent`: exponents exist when `f` is a factorial. |
| 37 | * `New.GaloisRep.Attached.isLabelledAt`: if an eigenform has, at a split place `w`, a type for |
| 38 | `GL n` of the residue field given by a label (`New.HasProductLabel`: a polynomial `c` of degree |
| 39 | `d` and characters `χ l` with multiplicities `t l`, where `d + ∑ l, t l` is the rank and the roots |
| 40 | of `c` and the names of the `χ l` are all distinct), then inertia at `w` acts on the attached |
| 41 | Galois representation through the tame characters given by the roots of the polynomial of the |
| 42 | label (`New.GaloisRep.IsLabelledAt`, `New.GaloisRep.IsTameExponent`). The proof uses base changes |
| 43 | of prime degree in which `w` is inert to reduce to the case where `c` splits into linear factors. |
| 44 | That case follows from `New.GaloisRep.Attached.local_global_of_eigencharacter` applied to local |
| 45 | units. |
| 46 | |
| 47 | Notions from other files: |
| 48 | * `New.IsPlaceOver A w`: the valuation subring `A` of `Ω` lies over `w`, that is, an integer of `E` |
| 49 | is in the maximal ideal of `A` exactly when it lies in `w`. |
| 50 | * `New.Cohomology.centerPrime Ω A`: the integers of `Ω` that lie in the maximal ideal of `A`. |
| 51 | * `New.charName T χ`: the unit of `k_w` that names the character `χ` of `k_wˣ`; the map `χ ↦ x_χ` is |
| 52 | an isomorphism from the character group of `k_wˣ` to `k_wˣ` that depends on `T`. |
| 53 | * `New.GaloisRep.PolyKillsAt r A s Q`: the polynomial `Q` kills `r s` if `ℓ` is a unit at `A`, and |
| 54 | kills the action of `s` on the periods of `r` if `A` lies above `ℓ`. |
| 55 | |
| 56 | ## Relation to the literature |
| 57 | |
| 58 | Known result: Local-global compatibility at tame level, away from ℓ and at ℓ. Here it is proved only |
| 59 | at split places, for depth-zero types induced from a squarefree type and characters of the |
| 60 | determinant. It is stated as polynomials that kill inertia elements, without the local Langlands |
| 61 | correspondence, and it is reduced by cyclic base change to the case of sorted tame Iwahori |
| 62 | eigencharacters. Source: Harris, Taylor, The geometry and cohomology of some simple Shimura |
| 63 | varieties (2001); Taylor, Yoshida, J. Amer. Math. Soc. 20 (2007); Barnet-Lamb, Gee, Geraghty, |
| 64 | Taylor, Local-global compatibility for l = p, II (2014), Thm 1.1. |
| 65 | |
| 66 | See also `Lib.ClassField.Local.ArtinMap`. |
| 67 | -/ |
| 68 | |
| 69 | @[expose] public section |
| 70 | |
| 71 | /-! ## Tame exponents of inertial elements and inertia acting through labels -/ |
| 72 | |
| 73 | namespace New.GaloisRep |
| 74 | |
| 75 | open NumberField Polynomial Cohomology Ideal Quotient IsAlgClosed IsLocalRing RingHom algebraMap |
| 76 | |
| 77 | variable {E : Type} [Field E] [EmbeddedNumberField E] (w : FinPlace E) (A : ClosurePlace) |
| 78 | {K : Type} [Field K] [Algebra (ResField w) K] (T : MulChar K ℂ) (f : ℕ) (s : Gal(Ω/E)) (a : ℕ) |
| 79 | |
| 80 | /-- A ring homomorphism `g : 𝓞 E →+* R` to a field killing `w` factors through `ResField w`. -/ |
| 81 | lemma exists_resField_hom {R : Type*} [Field R] (g : 𝓞 E →+* R) (h_le_ker : w.asIdeal ≤ ker g) : |
| 82 | ∃ j : ResField w →+* R, ∀ x : 𝓞 E, j (algebraMap (𝓞 E) (ResField w) x) = g x := |
| 83 | ⟨liftOfSurjective _ (algebraMap_ResField_surjective w) |
| 84 | ⟨g, fun _ hx ↦ h_le_ker (algebraMap_ResField_eq_zero.1 hx)⟩, liftOfSurjective_comp_apply _ _ _⟩ |
| 85 | |
| 86 | /-- Witness data for `New.GaloisRep.IsTameExponent`. -/ |
| 87 | structure IsTameWitness (φ : 𝓞 Ω →+* K) (π : E) (z : Ω) (t : 𝓞 Ω) : Prop where |
| 88 | centrePrime_le_ker : centerPrime Ω A ≤ ker φ |
| 89 | commutes (x : 𝓞 E) : φ (algebraMap (𝓞 E) (𝓞 Ω) x) = |
| 90 | algebraMap (ResField w) K (algebraMap (𝓞 E) (ResField w) x) |
| 91 | isUniformiser : IsUniformizer A π |
| 92 | pow_eq : z ^ (w.q ^ f - 1) = algebraMap E Ω π |
| 93 | coe_eq : (t : Ω) = s z / z |
| 94 | map_eq : T (φ t) = Complex.exp (2 * Real.pi * Complex.I / (w.q ^ f - 1 : ℕ)) ^ a |
| 95 | |
| 96 | /-- `s` has tame exponent `a` at level `f`: `A` lies over `w`, `f ≠ 0`, `s` lies in the inertia |
| 97 | group of `A`, and there is a witness (`New.GaloisRep.IsTameWitness`). -/ |
| 98 | structure IsTameExponent : Prop where |
| 99 | isPlaceOver : IsPlaceOver A w |
| 100 | level_ne_zero : f ≠ 0 |
| 101 | mem_inertiaGroup : s ∈ inertiaGroup Gal(Ω/E) A |
| 102 | exists_witness : ∃ (φ : 𝓞 Ω →+* K) (π : E) (z : Ω) (t : 𝓞 Ω), |
| 103 | IsTameWitness w A T f s a φ π z t |
| 104 | |
| 105 | variable {w A f s a} |
| 106 | |
| 107 | open Nat |
| 108 | |
| 109 | /-- Inertia acts through the tame characters of level `f` given by the roots of `c`: whenever `s` |
| 110 | has tame exponent `a`, `P` holds for `s` and `∏ x, (X - ιℓ ((T ^ a) x))` over the roots of `c`. -/ |
| 111 | def IsLabelledAt {ℓ : ℕ} [ThePrime ℓ] [PadicIso ℓ] (A : ClosurePlace) (T : MulChar K ℂ) (f : ℕ) |
| 112 | (P : Gal(Ω/E) → (PadicAlgCl ℓ)[X] → Prop) (c : (ResField w)[X]) : Prop := |
| 113 | ∀ ⦃s : Gal(Ω/E)⦄ ⦃a : ℕ⦄, |
| 114 | IsTameExponent w A T f s a → P s ((c.aroots K).map fun x : K ↦ X - C (ιℓ ((T ^ a) x))).prod |
| 115 | |
| 116 | /-- Comparison of `IsTameExponent` with the local Artin map: if `s` has tame exponent `a` and is |
| 117 | the local Artin symbol of a unit `u`, then `(T ^ a) (charName T χ) = χ (residue u)`. -/ |
| 118 | lemma IsTameExponent.pow_apply_charName [IsFaithfulMulChar K T] |
| 119 | {hs_dec : s ∈ decompGroup Gal(Ω/E) A} (h_exp : IsTameExponent w A T f s a) |
| 120 | {u : (IsDedekindDomain.HeightOneSpectrum.adicCompletion E w)ˣ} |
| 121 | (hu : Valued.v u.val = 1) (h_artin : localArtin Gal(Ω/E) A w u = ⟦⟨s, hs_dec⟩⟧) |
| 122 | (χ : MulChar (ResField w) ℂ) : |
| 123 | (T ^ a) ((charName T χ).val : ResField w) = χ (residue (LocInt w) ⟨u, hu.le⟩) := by |
| 124 | obtain ⟨ρ, hρ⟩ := h_exp.exists_witness |
| 125 | obtain ⟨π, z, t, hw⟩ := hρ |
| 126 | obtain ⟨k, hk⟩ : w.q - 1 ∣ w.q ^ f - 1 := w.q.sub_one_dvd_pow_sub_one f |
| 127 | obtain ⟨x, hx⟩ := algebraMap_ResField_surjective w (residue (LocInt w) ⟨u, hu.le⟩) |
| 128 | have h_res : ρ t ^ k = algebraMap (ResField w) K (residue (LocInt w) ⟨u, hu.le⟩) := by |
| 129 | have h_sym : A.valuation (s (z ^ k) / z ^ k - algebraMap E Ω x) < 1 := |
| 130 | (h_exp.isPlaceOver.valuation_sub_lt_one_iff_of_localArtin_eq hw.isUniformiser hu h_artin |
| 131 | (by rw [← pow_mul', ← hk, hw.pow_eq])).1 (residue_eq_iff_valuation_sub_lt_one.1 hx.symm) |
| 132 | rw [map_pow, ← div_pow, ← hw.coe_eq] at h_sym |
| 133 | have h_cong : t ^ k - algebraMap (𝓞 E) (𝓞 Ω) x ∈ centerPrime Ω A := mem_centerPrime.2 h_sym |
| 134 | simpa [← hx, hw.commutes, sub_eq_zero] using hw.centrePrime_le_ker h_cong |
| 135 | rw [← thetaChar_charName T χ, ← h_res] |
| 136 | exact (thetaChar_apply_pow T (algebraMap_pow_card_pred_eq_one _) |
| 137 | (Nat.sub_ne_zero_of_lt (Nat.one_lt_pow h_exp.level_ne_zero w.one_lt_q)) |
| 138 | (by rwa [card_ResField]) hw.map_eq).symm |
| 139 | |
| 140 | /-- Every root `x` in `K` of a label `c` of degree `r` over `k_w` satisfies `x ^ (q ^ r! - 1) = 1` |
| 141 | and `x ^ (q ^ d - 1) = 1` for some `1 ≤ d ≤ r`. -/ |
| 142 | lemma _root_.New.IsLabel.root_pow_eq_one {c : (ResField w)[X]} {r : ℕ} (h_label : IsLabel r c) |
| 143 | {x : K} (hx : aeval x c = 0) : |
| 144 | x ^ (w.q ^ (r)! - 1) = 1 ∧ ∃ d ∈ Set.Icc (1 : ℕ) r, x ^ (w.q ^ d - 1) = 1 := by |
| 145 | obtain ⟨hmonic, -, hdeg, hc0⟩ := h_label |
| 146 | set P : (ResField w)[X] := minpoly (ResField w) x |
| 147 | have hP : Irreducible P := minpoly.irreducible ⟨c, hmonic, hx⟩ |
| 148 | have hd_le : P.natDegree ≤ r := (natDegree_le_natDegree (minpoly.min _ _ hmonic hx)).trans_eq hdeg |
| 149 | have h_pow {n : ℕ} (hn : n ≠ 0) (hd : P.natDegree ∣ n) : x ^ (w.q ^ n - 1) = 1 := by |
| 150 | rw [pow_pred_eq_one_iff (one_lt_pow₀ w.one_lt_q hn), ← card_ResField, |
| 151 | root_pow_card_pow_eq_self_iff hP (minpoly.aeval _ x)] |
| 152 | exact ⟨fun h0 ↦ hc0 (by simpa [h0, aeval_def, eval₂_at_zero] using hx), hd⟩ |
| 153 | exact ⟨h_pow r.factorial_ne_zero (dvd_factorial hP.natDegree_pos hd_le), |
| 154 | P.natDegree, ⟨hP.natDegree_pos, hd_le⟩, h_pow hP.natDegree_pos.ne' dvd_rfl⟩ |
| 155 | |
| 156 | /-- Extend `ResField w →+* K` to `𝓞 Ω →+* K` killing `centerPrime Ω A` when `K` is alg. closed. -/ |
| 157 | private lemma exists_ringHom_centrePrime_le_ker [IsAlgClosed K] (hA : IsPlaceOver A w) : |
| 158 | ∃ ρ : 𝓞 Ω →+* K, centerPrime Ω A ≤ ker ρ ∧ ∀ x : 𝓞 E, |
| 159 | ρ (algebraMap (𝓞 E) (𝓞 Ω) x) = |
| 160 | algebraMap (ResField w) K (algebraMap (𝓞 E) (ResField w) x) := by |
| 161 | have := hA.centerPrime_liesOver; let := Quotient.field w.asIdeal |
| 162 | algebraize [(algebraMap (ResField w) K).comp |
| 163 | (Ideal.Quotient.lift w.asIdeal (algebraMap (𝓞 E) (ResField w)) (by simp))] |
| 164 | let j : (𝓞 Ω ⧸ centerPrime Ω A) →ₐ[𝓞 E ⧸ w.asIdeal] K := IsAlgClosed.lift |
| 165 | exact ⟨j.toRingHom.comp (Ideal.Quotient.mk _), fun _ ht ↦ by simp [eq_zero_iff_mem.2 ht], |
| 166 | fun x ↦ j.commutes (Ideal.Quotient.mk w.asIdeal x)⟩ |
| 167 | |
| 168 | /-- At level `f !` over `A` above `w` (with `IsFaithfulMulChar K T`): (a) some inertia element has |
| 169 | tame exponent `1`; (b) every inertia element `s` has a tame exponent `a`, coprime to `q ^ f ! - 1` |
| 170 | when `s = hA.tameGenerator`. -/ |
| 171 | lemma exists_isTameExponent [IsFaithfulMulChar K T] (hA : IsPlaceOver A w) (f : ℕ) : |
| 172 | (∃ s : inertiaGroup Gal(Ω/E) A, IsTameExponent w A T (f)! s.val 1) ∧ |
| 173 | ∀ s ∈ inertiaGroup Gal(Ω/E) A, ∃ a : ℕ, |
| 174 | IsTameExponent w A T (f)! s a ∧ (s = hA.tameGenerator → a.Coprime (w.q ^ (f)! - 1)) := by |
| 175 | let N : ℕ := w.q ^ f.factorial - 1 |
| 176 | have hN_res : NeZero (N : ResField w) := let := Fintype.ofFinite (ResField w); |
| 177 | ⟨by simp [N, ← card_ResField, f.factorial_ne_zero, NeZero.pos]⟩ |
| 178 | have : NeZero (N : K) := .of_faithfulSMul (ResField w) K N |
| 179 | have hN : NeZero N := hN_res.of_neZero_natCast |
| 180 | have hN_val : A.valuation N = 1 := hA.valuation_natCast_eq_one_iff.2 fun hmem ↦ |
| 181 | hN_res.out (mod_cast algebraMap_ResField_eq_zero.2 hmem) |
| 182 | obtain ⟨ρ, hρ_cen, hρ_int⟩ := exists_ringHom_centrePrime_le_ker (K := K) hA |
| 183 | obtain ⟨π, z, hπz⟩ := hA.exists_isPrimitiveRoot_tameGenerator_smul_div hN_val |
| 184 | obtain ⟨hπ, hz, hζ⟩ := hπz |
| 185 | have hρζ : IsPrimitiveRoot (ρ hζ.toInteger) N := |
| 186 | hζ.toInteger_isPrimitiveRoot.map_of_neZero_natCast ρ |
| 187 | obtain ⟨j, -, hj, hTj⟩ : |
| 188 | ∃ j < N, j.Coprime N ∧ T (ρ hζ.toInteger) ^ j = Complex.exp (2 * Real.pi * Complex.I / N) := |
| 189 | (hρζ.map_of_injective IsFaithfulMulChar.injective).isPrimitiveRoot_iff.1 |
| 190 | (Complex.isPrimitiveRoot_exp N hN.out) |
| 191 | have hζj : IsPrimitiveRoot ((hA.tameGenerator • z / z) ^ j) N := hζ.pow_of_coprime j hj |
| 192 | have tame_of_eq (s : inertiaGroup Gal(Ω/E) A) (a : ℕ) |
| 193 | (hsa : ((hA.tameGenerator • z / z) ^ j) ^ a = s.val z / z) : |
| 194 | IsTameExponent w A T f.factorial s a := |
| 195 | ⟨hA, f.factorial_ne_zero, s.property, ρ, ⟨π, z, (hζ.toInteger ^ j) ^ a, |
| 196 | { centrePrime_le_ker := hρ_cen, commutes := hρ_int, isUniformiser := hπ, |
| 197 | pow_eq := hz, coe_eq := hsa, map_eq := by simp only [map_pow, hTj, N] }⟩⟩ |
| 198 | refine ⟨⟨hA.tameGenerator ^ j, tame_of_eq _ 1 <| |
| 199 | (pow_one _).trans (inertia_pow_smul_div hA.tameGenerator.2 hN_val hz j).symm⟩, fun s hs ↦ ?_⟩ |
| 200 | obtain ⟨a, -, ha⟩ := hζj.eq_pow_of_pow_eq_one (ξ := s z / z) (by simp [div_pow, ← map_pow, hz]) |
| 201 | refine ⟨a, tame_of_eq ⟨s, hs⟩ a ha, fun hs_gen ↦ (hζj.pow_iff_coprime hN.pos a).1 ?_⟩ |
| 202 | rwa [ha, hs_gen] |
| 203 | |
| 204 | /-- Tame exponents after an unramified base change. -/ |
| 205 | private lemma IsTameExponent.of_unramified {L : Type} [Field L] [EmbeddedNumberField L] |
| 206 | [Algebra E L] [IsScalarTower E L Ω] {u : FinPlace L} [Algebra (ResField w) (ResField u)] |
| 207 | {p g : ℕ} {σ : Gal(Ω/L)} (h_exp : IsTameExponent w A T (p * g) (σ.restrictScalars E) a) |
| 208 | (h_below : u.below E = w) (hAu : IsPlaceOver A u) (h_ram : u.asIdeal.ramificationIdx (𝓞 E) = 1) |
| 209 | (hq : w.q ^ p = u.q) |
| 210 | (hj : ∀ x : 𝓞 E, algebraMap (ResField w) (ResField u) (algebraMap (𝓞 E) (ResField w) x) = |
| 211 | algebraMap (𝓞 L) (ResField u) (algebraMap (𝓞 E) (𝓞 L) x)) : |
| 212 | ∃ _ : Algebra (ResField u) K, |
| 213 | IsScalarTower (ResField w) (ResField u) K ∧ IsTameExponent u A T g σ a := by |
| 214 | subst h_below |
| 215 | obtain ⟨ρ, hρ⟩ := h_exp.exists_witness |
| 216 | obtain ⟨π, z, t, hw⟩ := hρ |
| 217 | obtain ⟨i, hi⟩ := exists_resField_hom u (ρ.comp (algebraMap (𝓞 L) (𝓞 Ω))) <| by |
| 218 | rw [hAu.centerPrime_liesOver.over]; exact fun _ hx ↦ hw.centrePrime_le_ker hx |
| 219 | algebraize [i] |
| 220 | refine ⟨i.toAlgebra, .of_algebraMap_eq fun y ↦ ?_, |
| 221 | ⟨hAu, right_ne_zero_of_mul h_exp.level_ne_zero, h_exp.mem_inertiaGroup, |
| 222 | ρ, ⟨algebraMap E L π, z, t, |
| 223 | { centrePrime_le_ker := hw.centrePrime_le_ker, commutes := fun x ↦ (hi x).symm, |
| 224 | isUniformiser := by rw [hAu.isUniformizer_iff, ← (u.below E).valuation_liesOver L, |
| 225 | h_exp.isPlaceOver.isUniformizer_iff.1 hw.isUniformiser, h_ram, pow_one], |
| 226 | pow_eq := by rw [← hq, ← pow_mul, hw.pow_eq, IsScalarTower.algebraMap_apply E L Ω], |
| 227 | coe_eq := hw.coe_eq, map_eq := by rw [← hq, ← pow_mul, hw.map_eq] }⟩⟩⟩ |
| 228 | obtain ⟨x, rfl⟩ := algebraMap_ResField_surjective _ y |
| 229 | change algebraMap (ResField (u.below E)) K _ = i _ |
| 230 | rw [hj, hi, comp_apply, ← IsScalarTower.algebraMap_apply (𝓞 E) (𝓞 L), hw.commutes] |
| 231 | |
| 232 | end New.GaloisRep |
| 233 | |
| 234 | /-! ## Local-global compatibility at a split place for a labelled form -/ |
| 235 | |
| 236 | section LabelCompatibility |
| 237 | |
| 238 | open NumberField Polynomial Ideal Finset Function Module Fin New QZChar |
| 239 | |
| 240 | /-- Mapping `y ↦ X - C (g y)` over the roots in `K` of `∏ i, (X - C (α i)) ^ e i`. -/ |
| 241 | lemma Polynomial.prod_map_aroots_prod_X_sub_C_pow {ι k K L : Type*} [Fintype ι] [Field k] [Field K] |
| 242 | [Algebra k K] [CommRing L] (α : ι → k) (e : ι → ℕ) (g : K → L) : |
| 243 | (((∏ i : ι, (X - C (α i)) ^ e i).aroots K).map fun y ↦ X - C (g y)).prod = |
| 244 | ∏ i : ι, (X - C (g (algebraMap k K (α i)))) ^ e i := by |
| 245 | rw [aroots, Polynomial.map_prod] |
| 246 | simp_rw [Polynomial.map_pow, Polynomial.map_sub, map_X, map_C] |
| 247 | rw [roots_prod _ _ (prod_ne_zero_iff.2 fun i _ ↦ ((monic_X_sub_C _).pow _).ne_zero)] |
| 248 | simp [Multiset.map_bind, Multiset.map_nsmul, Multiset.prod_nsmul] |
| 249 | |
| 250 | /-- Existence of a prime-degree cyclic base change in which a split place `w` is inert. -/ |
| 251 | private lemma exists_inertStep {E : Type} [Field E] [EmbeddedNumberField E] [CMType E] [WeilData E] |
| 252 | {w : FinPlace E} {A : ClosurePlace} {p : ℕ} (hw : w.IsSplit) (hA : IsPlaceOver A w) |
| 253 | (hp : p.Prime) : |
| 254 | ∃ (μ : QZChar Gal(Ω/E)) (u : FinPlace (stepField μ)), |
| 255 | (∃ η : (LocField w)ˣ →* Multiplicative QZ, GaloisRep.IsStepOfLocalChar A η p μ u) ∧ |
| 256 | inertiaGroup Gal(Ω/E) A ≤ ker (symmetrize μ) ∧ |
| 257 | u.asIdeal.ramificationIdx (𝓞 E) = 1 ∧ w.q ^ p = u.q := by |
| 258 | have : Fact p.Prime := ⟨hp⟩ |
| 259 | let η : (LocField w)ˣ →* Multiplicative QZ := |
| 260 | .mk' (fun x ↦ .ofAdd (.ofZMod p (Valued.v x.val).log)) (by simp) |
| 261 | have hη_unit (x : (LocField w)ˣ) (hx : Valued.v x.val = 1) : η x = 1 := by simp [η, hx] |
| 262 | obtain ⟨μ, u, h_step⟩ := GaloisRep.exists_isStepOfLocalChar hw hA hp η |
| 263 | (DFunLike.ne_iff.2 ⟨uniformizer w, by simp [η, map_eq_zero_iff]⟩) |
| 264 | (fun x ↦ by simp [η, ← ofAdd_nsmul, ← map_nsmul, ZMod.natCast_self]) |
| 265 | (fun x hx ↦ by rw [map_pow, hη_unit x hx, one_pow]) |
| 266 | have h_unram : inertiaGroup Gal(Ω/E) A ≤ ker (symmetrize μ) := |
| 267 | (hA.artinAt_units_trivial_iff_inertiaGroup_le (symmetrize μ)).1 |
| 268 | fun x hx ↦ (h_step.abelianLift_symmetrize_artinAt x).trans (hη_unit x hx) |
| 269 | have h_ram : u.asIdeal.ramificationIdx (𝓞 E) = 1 := |
| 270 | (hA.ramification_in_tower (ker (symmetrize μ)) h_step.isPlaceOver).2.1 h_unram |
| 271 | refine ⟨μ, u, ⟨η, h_step⟩, ⟨h_unram, h_ram, ?_⟩⟩ |
| 272 | have h_below : u.below E = w := (h_step.below_eq_iff u).2 rfl |
| 273 | have h_in : u.asIdeal.inertiaDeg (𝓞 E) = p := by |
| 274 | simpa [h_below, h_step.below_eq_iff, h_ram, h_step.finrank_eq] using |
| 275 | u.ncard_mul_ramificationIdx_mul_inertiaDeg (K := E) |
| 276 | simp [← h_below, ← h_in, absNorm_pow_inertiaDeg] |
| 277 | |
| 278 | variable {ℓ : ℕ} [ThePrime ℓ] [PadicIso ℓ] {E n : Type} [Nonempty n] [Field E] [CMType E] |
| 279 | [EmbeddedNumberField E] [Fintype n] [DecidableEq n] {κ : Weight E} |
| 280 | {f : Gf E n → WeylIndex n κ.1 → ℂ} {P : FinPlace E → ℂ[X]} {r : GalRep ℓ E n} |
| 281 | {w : FinPlace E} {A : ValuationSubring Ω} {hw : star w ≠ w} {K : Type} [Field K] |
| 282 | [Algebra (ResField w) K] {T : MulChar K ℂ} [IsFaithfulMulChar K T] {s d : ℕ} |
| 283 | {c : (ResField w)[X]} {χ : Fin s → MulChar (ResField w) ℂ} {t : Fin s → ℕ} [WeilData E] |
| 284 | |
| 285 | /-- Level-`1` case of `New.GaloisRep.Attached.isLabelledAt`, where `c` splits linearly. -/ |
| 286 | private lemma New.GaloisRep.Attached.isLabelledAt_one (hf : f ∈ (stdSpace E n).forms κ) |
| 287 | (he : IsEigenform f P) (hr : Attached P r) (hA : IsPlaceOver A w) |
| 288 | (h_prod_label : HasProductLabel f hw T d c χ t) |
| 289 | (h_roots : ∀ x : K, aeval x c = 0 → x ^ (w.q - 1) = 1) : |
| 290 | IsFiniteTypeAt r A ∧ |
| 291 | HasJumpsAt r A (jumps κ (Fintype.card n)) ∧ |
| 292 | IsLabelledAt A T 1 (PolyKillsAt r A) |
| 293 | (c * ∏ l : Fin s, (X - C (charName T (χ l)).val) ^ t l) := by |
| 294 | obtain ⟨h_label, h_sep, h_deg, h_has⟩ := h_prod_label |
| 295 | obtain ⟨ψ, rfl⟩ := h_label.exists_eq_prod_charName_of_root_pow_card_eq T fun y hy ↦ by |
| 296 | rw [card_ResField]; exact ((pow_pred_eq_one_iff w.one_lt_q).1 (h_roots y hy)).2 |
| 297 | have h_inj : Injective (append ψ χ) := .of_comp (f := fun η ↦ (charName T η).val) <| by |
| 298 | simpa [Function.comp_def, ← separable_prod_X_sub_C_iff, prod_univ_add] using h_sep |
| 299 | let ρ := Patching.localFormRep (stdSpace E n) κ hw |
| 300 | have h_act (g : GL n (LocField w)) : (ρ (reindexGL (Fintype.equivFin n) g) ⟨f, hf⟩).val = |
| 301 | rightRegular ℂ (Gf E n) (WeylIndex n κ.1 → ℂ) (ofSplitPlace hw g) f := by |
| 302 | simp [ρ, Patching.localFormRep, Patching.embedAtSplit] |
| 303 | have h_fix : ∀ k, reduceGL (w := w) k = 1 → |
| 304 | ρ (reindexGL (Fintype.equivFin n) k.val) ⟨f, hf⟩ = ⟨f, hf⟩ := |
| 305 | fun k hk ↦ Subtype.ext ((h_act k.val).trans (h_has.1 k hk)) |
| 306 | have h_sum : ∑ᶠ g : GL n (ResField w), |
| 307 | star ((∏ b, (detChar (append ψ χ b)).rankPart (append 1 t b)).evalGL g) • |
| 308 | ρ (reindexGL (Fintype.equivFin n) (surjInv reduceGL_surjective g).val) ⟨f, hf⟩ ≠ 0 := by |
| 309 | intro h0 |
| 310 | have h1 := congrArg ((stdSpace E n).forms κ).subtype h0 |
| 311 | rw [map_finsum _ (Set.toFinite _), map_zero] at h1 |
| 312 | exact h_has.2 (by simpa [h_act, prod_univ_add, labelChar_X_sub_C] using h1) |
| 313 | obtain ⟨z, hz, ξ, h_z⟩ := exists_sorted_of_detChar (ρ := ρ) (x := ⟨f, hf⟩) (v_uniformizer w) |
| 314 | isUnitary_localFormRep (Fintype.equivFin n) h_inj (m := append 1 t) |
| 315 | (by simpa [sum_univ_add] using h_deg) h_fix (s := surjInv (reduceGL_surjective (w := w))) |
| 316 | (surjInv_eq (reduceGL_surjective (w := w))) h_sum |
| 317 | obtain ⟨lab, h_eig, h_sorted, h_lab⟩ := h_z |
| 318 | have hez : IsEigenform z.val P := he.of_mem_cyclicSpan hz h_eig.ne_zero |
| 319 | obtain ⟨h_fin, h_jump, -⟩ := hr.local_global_of_eigencharacter h_eig hez h_sorted hA 1 1 0 |
| 320 | (by simp [← mem_inertiaGroup_iff]) (by simp) |
| 321 | refine ⟨h_fin, h_jump, fun σ a h_tame ↦ ?_⟩ |
| 322 | have hσ := h_tame.mem_inertiaGroup |
| 323 | obtain ⟨x, hx, hxσ⟩ := hA.exists_localArtin_eq (inv_mem hσ) 0 |
| 324 | have hx_unit : Valued.v x.val = 1 := by simpa using hx |
| 325 | rw [show (∏ i : Fin d, (X - C (charName T (ψ i)).val)) * |
| 326 | ∏ l : Fin s, (X - C (charName T (χ l)).val) ^ t l = |
| 327 | ∏ b : Fin (d + s), (X - C (charName T (append ψ χ b)).val) ^ append 1 t b by |
| 328 | simp [prod_univ_add], prod_map_aroots_prod_X_sub_C_pow] |
| 329 | simp_rw [h_tame.pow_apply_charName T hx_unit hxσ] |
| 330 | rw [← prod_X_sub_C_eq_prod_pow_of_card_fiber h_lab.1 fun i ↦ congrArg ιℓ (h_lab.2 x hx_unit i)] |
| 331 | exact (hr.local_global_of_eigencharacter h_eig hez h_sorted hA |
| 332 | ⟨σ, hσ.1⟩ x 0 (inv_mem hσ) hxσ).2.2 |
| 333 | |
| 334 | omit [ThePrime ℓ] [PadicIso ℓ] [Nonempty n] [CMType E] [Fintype n] [DecidableEq n] [WeilData E] in |
| 335 | /-- Multiplying a Shintani lift `Lift ℕ F F'` by rank parts of determinant characters whose names |
| 336 | match along `algebraMap (ResField w) k'` preserves the lift. -/ |
| 337 | private lemma lift_mul_prod_rankPart {k' : Type} [Field k'] [Finite k'] [Algebra (ResField w) k'] |
| 338 | [Algebra k' K] [IsScalarTower (ResField w) k' K] {F : Hall (ResField w)} {F' : Hall k'} |
| 339 | (h : Lift ℕ F F') {η : Fin s → MulChar k' ℂ} |
| 340 | (hη : ∀ l, (charName T (η l) : k') = algebraMap (ResField w) k' (charName T (χ l))) : |
| 341 | Lift ℕ (F * ∏ l, (detChar (χ l)).rankPart (t l)) |
| 342 | (F' * ∏ l, (detChar (η l)).rankPart (t l)) := |
| 343 | h.mul (prod_hom_rel .one fun l _ _ h_rest ↦ |
| 344 | .mul (.rankPart_of_hasCommonLift (lift_detChar T (hη l) (t l))) h_rest) |
| 345 | |
| 346 | omit [WeilData E] in |
| 347 | /-- Given an inert prime-degree cyclic base change `μ` at `w` with residue-field embedding |
| 348 | `ResField w → ResField u → K`, base-changing a form `f` with product label `(c, χ, t)` produces an |
| 349 | eigenform `f'` over `stepField μ` with an attached representation `r'` descending to `r` and with |
| 350 | product label `(c.map j, χ', t)` at `u`. -/ |
| 351 | private lemma New.GaloisRep.exists_baseChange_productLabel_of_inertStep {p : ℕ} (hp : p.Prime) |
| 352 | {μ : QZChar Gal(Ω/E)} {u : FinPlace (stepField μ)} {η : (LocField w)ˣ →* Multiplicative QZ} |
| 353 | (h_step : GaloisRep.IsStepOfLocalChar A η p μ u) |
| 354 | [Algebra (ResField w) (ResField u)] [Algebra (ResField u) K] |
| 355 | [IsScalarTower (ResField w) (ResField u) K] |
| 356 | (h_res : ∀ x : 𝓞 E, |
| 357 | algebraMap (ResField w) (ResField u) (algebraMap (𝓞 E) (ResField w) x) = |
| 358 | algebraMap (𝓞 (stepField μ)) (ResField u) (algebraMap (𝓞 E) _ x)) |
| 359 | (h_res_rank : finrank (ResField w) (ResField u) = p) |
| 360 | (hf : f ∈ (stdSpace E n).forms κ) (he : IsEigenform f P) (hr : Attached P r) |
| 361 | (h_prod_label : HasProductLabel f hw T d c χ t) : |
| 362 | let j : ResField w →+* ResField u := algebraMap (ResField w) (ResField u) |
| 363 | let χ' : Fin s → MulChar (ResField u) ℂ := |
| 364 | fun l ↦ (charName T).symm (Units.map j.toMonoidHom (charName T (χ l))) |
| 365 | ∃ (f' : Gf (stepField μ) n → WeylIndex n κ.baseChange.1 → ℂ) |
| 366 | (P' : FinPlace (stepField μ) → ℂ[X]) (r' : GalRep ℓ (stepField μ) n), |
| 367 | letI : IsStep (stepField μ) (ideleChar μ) := h_step.isStep |
| 368 | letI : WeilData (stepField μ) := h_step.nonempty_weilData.some |
| 369 | f' ∈ (stdSpace (stepField μ) n).forms κ.baseChange ∧ |
| 370 | IsEigenform f' P' ∧ Attached P' r' ∧ DescendsAt μ r' r A ∧ |
| 371 | HasProductLabel f' h_step.isSplit T d (c.map j) χ' t := by |
| 372 | obtain ⟨h_label, h_sep, h_deg, h_has⟩ := h_prod_label |
| 373 | obtain ⟨_⟩ := h_step.nonempty_weilData |
| 374 | have : IsStep (stepField μ) (ideleChar μ) := h_step.isStep |
| 375 | let j : ResField w →+* ResField u := algebraMap (ResField w) (ResField u) |
| 376 | let χ' (l : Fin s) : MulChar (ResField u) ℂ := |
| 377 | (charName T).symm (Units.map j.toMonoidHom (charName T (χ l))) |
| 378 | have hχ' (l : Fin s) : (charName T (χ' l)).val = j (charName T (χ l)).val := by simp [χ'] |
| 379 | obtain ⟨f', hf', P', he', h_bc, h_has'⟩ := exists_baseChange_hasLabel hw h_step.isSplit |
| 380 | h_step.below_eq_iff (fun _ ↦ by simp [h_step.abelianLift_artinAt]) h_res |
| 381 | (h_res_rank.trans h_step.finrank_eq.symm) hf |
| 382 | (isChar_of_mem_virtualChars |
| 383 | (lift_mul_prod_rankPart (K := K) (lift_labelChar_self T h_label) |
| 384 | fun _ ↦ rfl).evalGL_mem_virtualChars) |
| 385 | (lift_mul_prod_rankPart (K := K) |
| 386 | (shintani_lift_labelChar (by rwa [h_res_rank]) T h_label) hχ') h_has |
| 387 | obtain ⟨r', hr'⟩ := (sphericalCompat_std u hf' he').1 |
| 388 | have h_sep' : (c.map j * ∏ l, (X - C (charName T (χ' l)).val)).Separable := by |
| 389 | simpa [hχ', Polynomial.map_prod] using h_sep.map (f := j) |
| 390 | exact ⟨f', P', r', hf', he', hr', h_bc.descendsAt hr' he' he hr A, |
| 391 | ⟨h_label.map _, h_sep', h_deg, h_has'⟩⟩ |
| 392 | |
| 393 | /-- Level-`g` case (`g ≠ 0`) of `New.GaloisRep.Attached.isLabelledAt`. -/ |
| 394 | private lemma New.GaloisRep.Attached.isLabelledAt_of_root_pow_eq_one {g : ℕ} |
| 395 | (hf : f ∈ (stdSpace E n).forms κ) (he : IsEigenform f P) (hr : Attached P r) |
| 396 | (hA : IsPlaceOver A w) (h_prod_label : HasProductLabel f hw T d c χ t) (hg : g ≠ 0) |
| 397 | (h_roots : ∀ x : K, aeval x c = 0 → x ^ (w.q ^ g - 1) = 1) : |
| 398 | IsFiniteTypeAt r A ∧ |
| 399 | HasJumpsAt r A (jumps κ (Fintype.card n)) ∧ |
| 400 | IsLabelledAt A T g (PolyKillsAt r A) |
| 401 | (c * ∏ l : Fin s, (X - C (charName T (χ l)).val) ^ t l) := by |
| 402 | induction g using induction_on_primes generalizing E with |
| 403 | | zero => exact absurd rfl hg |
| 404 | | one => exact hr.isLabelledAt_one hf he hA h_prod_label (by simpa using h_roots) |
| 405 | | prime_mul p g hp ih => |
| 406 | obtain ⟨μ, u, ⟨_, h_step⟩, h_inert⟩ := exists_inertStep hw hA hp |
| 407 | obtain ⟨h_unram, h_ram, hq⟩ := h_inert |
| 408 | obtain ⟨_⟩ := h_step.nonempty_weilData |
| 409 | have hAu : IsPlaceOver A u := h_step.isPlaceOver |
| 410 | have h_below : u.below E = w := (h_step.below_eq_iff u).2 rfl |
| 411 | obtain ⟨j₀, h_res⟩ := GaloisRep.exists_resField_hom w |
| 412 | ((algebraMap (𝓞 (stepField μ)) (ResField u)).comp (algebraMap (𝓞 E) _)) |
| 413 | fun _ hx ↦ algebraMap_ResField_eq_zero.2 (by rwa [← h_below] at hx) |
| 414 | algebraize [j₀] |
| 415 | let j : ResField w →+* ResField u := algebraMap (ResField w) (ResField u) |
| 416 | have h_res_rank : finrank (ResField w) (ResField u) = p := Nat.pow_right_injective w.one_lt_q <| |
| 417 | by change w.q ^ _ = w.q ^ p; rw [hq, ← card_ResField, ← card_ResField, |
| 418 | ← natCard_eq_pow_finrank] |
| 419 | -- Given any `ResField w`-embedding `ResField u → K`, Shintani base change descends to `E`. |
| 420 | have descend [Algebra (ResField u) K] [IsScalarTower (ResField w) (ResField u) K] : |
| 421 | (IsFiniteTypeAt r A ∧ HasJumpsAt r A (jumps κ (Fintype.card n))) ∧ |
| 422 | ∃ r' : GalRep ℓ (stepField μ) n, DescendsAt μ r' r A ∧ |
| 423 | IsLabelledAt A T g (PolyKillsAt r' A) |
| 424 | ((c * ∏ l, (X - C (charName T (χ l)).val) ^ t l).map j) := by |
| 425 | obtain ⟨f', P', r', hf', he', hr', h_down, h_prod_label'⟩ := |
| 426 | New.GaloisRep.exists_baseChange_productLabel_of_inertStep hp h_step h_res h_res_rank |
| 427 | hf he hr h_prod_label |
| 428 | obtain ⟨h_fin, h_jump, h_lab⟩ := ih hf' he' hr' hAu h_prod_label' |
| 429 | (right_ne_zero_of_mul hg) fun x hx ↦ by |
| 430 | rw [← hq, ← pow_mul] |
| 431 | exact h_roots x ((c.aeval_map_algebraMap (ResField u) x).symm.trans hx) |
| 432 | refine ⟨⟨h_down.isFiniteTypeAt h_fin, h_down.hasJumpsAt _ h_jump⟩, r', h_down, ?_⟩ |
| 433 | rwa [show c.map j * ∏ l, (X - C (charName T ((charName T).symm |
| 434 | (Units.map j.toMonoidHom (charName T (χ l))))).val) ^ t l = |
| 435 | (c * ∏ l, (X - C (charName T (χ l)).val) ^ t l).map j by |
| 436 | simp [Polynomial.map_prod]] at h_lab |
| 437 | obtain ⟨h_fin, h_jump⟩ : IsFiniteTypeAt r A ∧ HasJumpsAt r A (jumps κ (Fintype.card n)) := by |
| 438 | let φ : ResField u →ₐ[ResField w] K := IsAlgClosed.lift |
| 439 | algebraize [φ.toRingHom] |
| 440 | have : IsScalarTower (ResField w) (ResField u) K := |
| 441 | .of_algebraMap_eq fun y ↦ (φ.commutes y).symm |
| 442 | exact descend.1 |
| 443 | refine ⟨h_fin, h_jump, fun σ a h_tame ↦ ?_⟩ |
| 444 | have hσ := h_tame.mem_inertiaGroup |
| 445 | obtain ⟨_, _, h_tame'⟩ := h_tame.of_unramified T |
| 446 | (σ := { σ with commutes' := fun x ↦ x.property ⟨σ, h_unram hσ⟩ }) h_below hAu h_ram hq h_res |
| 447 | obtain ⟨-, r', h_down, h_lab⟩ := descend |
| 448 | exact h_down.polyKillsAt ⟨σ, h_unram hσ, |
| 449 | (hA.artinAt_trivial_iff_decompGroup_le μ).1 h_step.abelianLift_artinAt hσ.1⟩ _ <| by |
| 450 | have h_kill := h_lab h_tame'; rwa [aroots_map] at h_kill |
| 451 | |
| 452 | /-- Let the Galois representation `r` be attached to the Hecke polynomials `P` of the eigenform `f` |
| 453 | of weight `κ`, which has the label `c` (of degree `d`), `χ l`, `t l` at the split place `w` |
| 454 | (`New.HasProductLabel`), and let `A` lie above `w`. Then (a) `r` is of finite type at `A` (finite on |
| 455 | inertia, or potentially crystalline above `ℓ`), (b) it has the Hodge–Tate jumps of `κ`, and (c) if |
| 456 | `σ` has tame exponent `a` at level `d!` (`New.GaloisRep.IsTameExponent`), then |
| 457 | `∏ x, (X - ιℓ ((T ^ a) x))` kills the action of `σ` (`New.GaloisRep.PolyKillsAt`), the product being |
| 458 | over the roots `x` in `K` of `c * ∏ l, (X - x_l) ^ t l`, where `x_l = New.charName T (χ l)`. |
| 459 | |
| 460 | This is local-global compatibility at tame level, away from `ℓ` and at `ℓ`, restricted to inertia at |
| 461 | a split place and to depth-zero types. |
| 462 | |
| 463 | Clause (c) is a weak form of what this compatibility (Barnet-Lamb–Gee–Geraghty–Taylor, Caraiani) |
| 464 | gives together with the description of the inertial parameters of depth-zero representations of |
| 465 | `GL_n` (see Emerton–Gee–Herzig). -/ |
| 466 | lemma New.GaloisRep.Attached.isLabelledAt (hf : f ∈ (stdSpace E n).forms κ) (he : IsEigenform f P) |
| 467 | (hr : Attached P r) (h_prod_label : HasProductLabel f hw T d c χ t) (hA : IsPlaceOver A w) : |
| 468 | IsFiniteTypeAt r A ∧ |
| 469 | HasJumpsAt r A (jumps κ (Fintype.card n)) ∧ |
| 470 | IsLabelledAt A T d.factorial (PolyKillsAt r A) |
| 471 | (c * ∏ l : Fin s, (X - C (charName T (χ l)).val) ^ t l) := |
| 472 | hr.isLabelledAt_of_root_pow_eq_one hf he hA h_prod_label d.factorial_ne_zero |
| 473 | fun _ hx ↦ (h_prod_label.1.root_pow_eq_one hx).1 |
| 474 | |
| 475 | end LabelCompatibility |