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.Analysis.SpecialFunctions.RegularizedHypergeometric |
| 5 | import Mathlib.Data.Rat.Cast.OfScientific |
| 6 | public import New.Congruences.Selmer.AuxiliaryPrimes |
| 7 | public import New.Congruences.GaloisRepresentations.SelmerHypotheses |
| 8 | import Lib.GaloisRep.Pseudocharacter.Pseudorepresentations |
| 9 | import Lib.General.LinearAlgebra.Eigenvalues |
| 10 | import Lib.General.NumberTheory.FrobeniusOrbits |
| 11 | import Lib.PadicComparison.ToricTower |
| 12 | import New.Congruences.GaloisRepresentations.AttachedRepresentations |
| 13 | |
| 14 | /-! |
| 15 | # Main summands and conjugate self-dual representations from type polynomials |
| 16 | |
| 17 | Let `O` be a descent pair (`New.DescentPair`) with type polynomials `c` in a lift setting |
| 18 | (`New.Selmer.IsLiftSetting`). This file describes inertia on representations of a type for `O` and |
| 19 | on representations attached to its eigenforms. |
| 20 | |
| 21 | * `New.Selmer.exists_inertiaGroup_isInertiaSpectrum`: inertia elements above the primes |
| 22 | `D.levelPrime 0` and `D.levelPrime 1` are killed by polynomials whose roots are roots of unity of |
| 23 | controlled order (`New.Selmer.IsInertiaSpectrum`). |
| 24 | * `New.Selmer.IsRepOfType.isMainSummandLike`: a representation of a type of rank `card r` and empty |
| 25 | level, with jumps as in `New.Selmer.IsMainSummandWeights`, is a main summand |
| 26 | (`New.Selmer.IsMainSummandLike`). |
| 27 | * `New.Selmer.isFiniteTypeAt_and_polyKillsAt_of_mem_conjClosure`: a representation attached to an |
| 28 | eigenform of parahoric type at the auxiliary places (`New.Selmer.HasTwistParahoricType`) has no |
| 29 | monodromy above `ϑ.Q` and its conjugates, and a quadratic polynomial kills inertia there. |
| 30 | * `New.Selmer.normalizedRep_quadratic_on_inertia`: its normalised representation satisfies the same |
| 31 | quadratic relation on inertia above `ϑ.Q` and its conjugates. |
| 32 | |
| 33 | Notions from other files: |
| 34 | * `New.Selmer.IsLiftSetting O c ϑ`: the places of `O` are the chosen places above `D.levelPrime 0`, |
| 35 | `D.levelPrime 1` and those of `ϑ.Q`, its character is a power of `D.chiMLocal` times `ϑ.tamePart`, |
| 36 | and `c` are type polynomials of degree `card r`. |
| 37 | * `New.Selmer.IsRepOfType O k J c S R`: `R` is a conjugate self-dual representation of given level |
| 38 | (`New.Selmer.IsConjSelfDualOfLevel`: on traces `R^c ≅ R^∨(1 - k)`, with Hodge–Tate jumps `J` and |
| 39 | local conditions off the level `S` and above `ℓ M`), and inertia at the chosen places acts through |
| 40 | the roots of the type polynomials `c` over the residue fields. |
| 41 | * `New.ClosurePlace`: a place of the algebraic closure `Ω` of `ℚ`, that is, a valuation subring; |
| 42 | `conjPlace A` is the complex conjugate place, and `AbsGal D` is `Gal(Ω/D.E)`. |
| 43 | * `New.Data.IsChosen`: a place of `D.E` is chosen if it divides `D.piM`, an integer whose product |
| 44 | with its conjugate is `M = D.levelPrime 0 * D.levelPrime 1`. |
| 45 | * `New.GaloisRep.PolyKillsAt R A s P`: `P` kills `s` at the place `A`, that is, `P (R s) = 0` off |
| 46 | `ℓ`, and an analogue for Weil pairs (`New.Period.IsKilledBy`) above `ℓ`. |
| 47 | * `New.Selmer.scaledTypePoly`: the scaled type polynomial, `c i` with its roots multiplied by the |
| 48 | element of the residue field that names the character `(O.tamePart w)⁻¹`, `w = O.chosenPlace i`. |
| 49 | * `New.ellVal`: the `ℓ`-adic valuation with values in `[0, ∞]`. |
| 50 | * `New.Data.Twist`: a tame character (`New.Data.TameChar`) whose tame part is non-trivial at every |
| 51 | place of its set `Q`. |
| 52 | |
| 53 | ## Relation to the literature |
| 54 | |
| 55 | See `New.Congruences.GaloisRepresentations.RowsFromEigensystems` for related work. |
| 56 | -/ |
| 57 | |
| 58 | @[expose] public section |
| 59 | |
| 60 | namespace New.Selmer |
| 61 | |
| 62 | open Matrix Polynomial Fintype GaloisRep Fact IsAlgClosed |
| 63 | |
| 64 | attribute [local instance low] Fintype.ofFinite |
| 65 | open Multiset hiding card |
| 66 | open scoped NumberField |
| 67 | |
| 68 | variable {ℓ : ℕ} [hp : ThePrime ℓ] {P : Parameters} {D : Data P} |
| 69 | {r n : Type} [Fintype r] [DecidableEq r] [Fintype n] |
| 70 | |
| 71 | /-- Let `x` be a root of unity in `ℚ̄_ℓ`. If `(x ^ a) ^ ℓ ^ u ≠ (x ^ b) ^ ℓ ^ u` for all `u`, then |
| 72 | `x ^ a - x ^ b` has norm `1`. -/ |
| 73 | lemma norm_pow_sub_pow_eq_one {x : PadicAlgCl ℓ} (hx : IsOfFinOrder x) (a b : ℕ) |
| 74 | (h_ne : ∀ u : ℕ, (x ^ a) ^ ℓ ^ u ≠ (x ^ b) ^ ℓ ^ u) : ‖x ^ a - x ^ b‖ = 1 := by |
| 75 | -- Write the order of `x` as `ℓ ^ u * k` with `¬ℓ ∣ k`. The `ℓ ^ u`-th powers of `x ^ a` and |
| 76 | -- `x ^ b` are distinct `k`-th roots of unity, so their difference has norm at least `‖k‖ ≥ 1`; |
| 77 | -- and it is an integral multiple of `x ^ a - x ^ b`. |
| 78 | obtain ⟨u, k, hk, h_ord⟩ := WfDvdMonoid.max_power_factor hx.orderOf_pos.ne' (out : ℓ.Prime) |
| 79 | have h_root (c : ℕ) : ((x ^ c) ^ ℓ ^ u) ^ k = 1 := by |
| 80 | rw [← pow_mul, ← h_ord, pow_right_comm, pow_orderOf_eq_one, one_pow] |
| 81 | let z : NormedField.valuation.integer := ⟨x, hx.norm_eq_one.le⟩ |
| 82 | refine le_antisymm (z ^ a - z ^ b).prop ?_ |
| 83 | calc 1 ≤ ‖(k : PadicAlgCl ℓ)‖ := by |
| 84 | simpa only [← Padic.norm_natCast_lt_one_iff, ← PadicAlgCl.norm_extends, map_natCast, |
| 85 | not_lt] using hk |
| 86 | _ ≤ ‖(x ^ a) ^ ℓ ^ u - (x ^ b) ^ ℓ ^ u‖ := |
| 87 | norm_natCast_le_norm_sub_of_pow_eq_one (h_root a) (h_root b) (h_ne u) |
| 88 | _ ≤ ‖x ^ a - x ^ b‖ := |
| 89 | (Valuation.integer.integers _).le_of_dvd (sub_dvd_pow_sub_pow (z ^ a) (z ^ b) _) |
| 90 | |
| 91 | /-- Let the matrix `Z` be killed by the polynomial with roots `μ`, where each member `y` of `μ` is |
| 92 | different from `1` and satisfies `y ^ (D.levelPrime i ^ d - 1) = 1` for some `1 ≤ d ≤ D.r`. Then the |
| 93 | `ℓ`-adic valuation of `det (Z - 1)` is at most `card r` times that of `D.chosenGroupOrder`. -/ |
| 94 | lemma ellVal_det_sub_one_le_card_mul {i : Fin 2} {μ : Multiset (PadicAlgCl ℓ)} |
| 95 | (hμ : ∀ y ∈ μ, y ≠ 1 ∧ ∃ d ∈ Set.Icc 1 D.r, y ^ (D.levelPrime i ^ d - 1) = 1) |
| 96 | {Z : Matrix r r (PadicAlgCl ℓ)} (h_kill : aeval Z (μ.map (X - C ·)).prod = 0) : |
| 97 | ellVal (Z - 1).det ≤ card r * padicValNat ℓ D.chosenGroupOrder := by |
| 98 | -- Each eigenvalue `x` is a root of unity `≠ 1` of order dividing some `D.levelPrime i ^ d - 1`, |
| 99 | -- so the valuation of `x - 1` is at most that of `D.levelPrime i ^ d - 1`. |
| 100 | have h_root : ∀ x ∈ Z.charpoly.roots, ellVal (x - 1) ≤ padicValNat ℓ D.chosenGroupOrder := by |
| 101 | intro x hx |
| 102 | have hxμ : x ∈ μ := by |
| 103 | simpa only [IsRoot.def, eval_multiset_prod, Multiset.map_map, Function.comp_apply, eval_sub, |
| 104 | eval_X, eval_C, prod_eq_zero_iff, mem_map, sub_eq_zero, |
| 105 | exists_eq_right'] using isRoot_of_isRoot_charpoly h_kill (isRoot_of_mem_roots hx) |
| 106 | obtain ⟨h_ne, d, ⟨hd_pos, hd_le⟩, hxd⟩ := hμ x hxμ |
| 107 | have h_norm : ‖(D.levelPrime i ^ d - 1 : PadicAlgCl ℓ)‖ ≤ ‖x - 1‖ := by |
| 108 | simpa only [NeZero.pos, Nat.cast_pred, |
| 109 | Nat.cast_pow] using norm_natCast_le_norm_sub_of_pow_eq_one hxd (one_pow _) h_ne |
| 110 | exact (ellVal_le_ellVal h_norm).trans |
| 111 | (ellVal_levelPrime_pow_sub_one_le D ℓ i ⟨hd_pos, hd_le.trans D.nat_le_of_hasLogBound⟩) |
| 112 | have h_det : (Z - 1).det = (Z.charpoly.roots.map (· - 1)).prod := by |
| 113 | simpa only [aeval_sub, aeval_neg, aeval_X, neg_neg, map_one, eval_sub, eval_neg, eval_X, |
| 114 | eval_one] using (det_aeval_neg_eq_prod_roots Z (-X - 1) :) |
| 115 | rw [h_det] |
| 116 | calc _ ≤ ((Z.charpoly.roots.map (· - 1)).map ellVal).sum := |
| 117 | apply_prod_le_sum_map _ ellVal (by |
| 118 | simp only [ellVal, norm_one, one_ne_zero, ↓reduceIte, Real.logb_one, neg_zero, |
| 119 | ENNReal.ofReal_zero, Std.le_refl]) fun _ _ ↦ ellVal_mul_le |
| 120 | _ ≤ _ := sum_le_card_nsmul _ _ (by simpa only [forall_mem_map_iff] using h_root) |
| 121 | _ = card r * padicValNat ℓ D.chosenGroupOrder := by |
| 122 | simp only [Multiset.map_map, Function.comp_apply, card_map, card_roots_eq_natDegree, |
| 123 | charpoly_natDegree_eq_dim, nsmul_eq_mul] |
| 124 | |
| 125 | /-- Let `D` be the data of the construction with parameters `P`, so that `D.m` is the number of |
| 126 | lifts and `D.r` the rank of the target, and let `1 ≤ j ≤ D.m`, `1 ≤ t ≤ 4 * D.r + 2`. Let |
| 127 | `s = D.towerExp` |
| 128 | be the exponent with `2 ^ s = D.m ^ 22`. The number `P.q₂ s` is a multiple of `P.q₀ ^ s` and is the |
| 129 | order of the fixed residue field characters `D.chiMLocal` at the chosen places of `D.E` above the |
| 130 | level. It does not divide `j * t` times a power of `ℓ`. -/ |
| 131 | lemma not_q₂_dvd_mul_pow_mul {j t : ℕ} (hj : j ∈ Set.Icc 1 D.m) |
| 132 | (ht : t ∈ Set.Icc 1 (4 * D.r + 2)) (b : ℕ) : ¬P.q₂ D.towerExp ∣ j * (ℓ ^ b * t) := by |
| 133 | -- For a prime `p ≠ ℓ` dividing `q₀` we would get `p ^ D.towerExp ∣ j * t`, but |
| 134 | -- `0 < j * t < p ^ D.towerExp`. |
| 135 | intro h_dvd |
| 136 | -- one of the primes `2` and `5`, which divide `18480` and hence `q₀` |
| 137 | obtain ⟨p, hpℓ, hp_prime, hp_dvd⟩ : ∃ p : ℕ, p ≠ ℓ ∧ p.Prime ∧ p ∣ P.q₀ := by |
| 138 | by_cases h_two : 2 = ℓ |
| 139 | · exact ⟨5, by omega, Nat.prime_five, Nat.dvd_trans (by norm_num) P.dvd_q₀⟩ |
| 140 | · exact ⟨2, h_two, Nat.prime_two, Nat.dvd_trans (by norm_num) P.dvd_q₀⟩ |
| 141 | have h_lt : j * t < p ^ D.towerExp := |
| 142 | calc j * t ≤ D.m * (4 * D.r + 2) := Nat.mul_le_mul hj.2 ht.2 |
| 143 | _ < 2 ^ D.towerExp := D.nat_lt_of_hasLogBound |
| 144 | _ ≤ p ^ D.towerExp := Nat.pow_le_pow_left hp_prime.two_le _ |
| 145 | have h_pow_dvd : p ^ D.towerExp ∣ ℓ ^ b * (j * t) := |
| 146 | calc p ^ D.towerExp ∣ P.q₂ D.towerExp := by |
| 147 | grw [hp_dvd.mul_right P.d, Parameters.q₂, ← le_self_add] |
| 148 | _ ∣ j * (ℓ ^ b * t) := h_dvd |
| 149 | _ = ℓ ^ b * (j * t) := mul_left_comm _ _ _ |
| 150 | exact Nat.not_dvd_of_pos_of_lt (mul_pos hj.1 ht.1) h_lt |
| 151 | ((Nat.coprime_pow_primes D.towerExp b hp_prime out hpℓ).dvd_mul_left.1 h_pow_dvd) |
| 152 | |
| 153 | variable [PadicIso ℓ] |
| 154 | {O : DescentPair D.E r n} {ϑ : D.Twist} |
| 155 | {c : (i : O.ChosenIndex) → (ResField (O.chosenPlace i))[X]} |
| 156 | |
| 157 | variable (O c) in |
| 158 | /-- A multiset `μ` of possible eigenvalues of `s` at the place `A` of `Ω = ℚ̄`, common to all |
| 159 | representations `R` of a type of rank `card m` whose type polynomials are the scaled type |
| 160 | polynomials `scaledTypePoly O c i` times `(X - 1) ^ t`; the duality twist `k`, the jumps `J` and the |
| 161 | level `S` of `R` are arbitrary. It consists of `card r + t` roots of unity whose orders are bounded |
| 162 | through `p = D.levelPrime l`. On every such representation the polynomial with roots `μ` kills `s` |
| 163 | at `A`, and kills `conjGal s⁻¹` at the complex conjugate place `conjPlace A`. Here `conjGal` is |
| 164 | conjugation by complex conjugation, and off `ℓ` "`Q` kills `s`" (`PolyKillsAt`) means |
| 165 | `Q (R s) = 0`. -/ |
| 166 | structure IsInertiaSpectrum (m : Type) [Fintype m] [DecidableEq m] (l : Fin 2) (A : ClosurePlace) |
| 167 | (t : ℕ) (s : Gal(Ω/D.E)) (μ : Multiset (PadicAlgCl ℓ)) : Prop where |
| 168 | /-- `μ` has `card r + t` members. -/ |
| 169 | card_eq : Multiset.card μ = card r + t |
| 170 | /-- Each member of `μ` has order dividing `p ^ (card r)! - 1`, `p = D.levelPrime l`. -/ |
| 171 | pow_factorial_eq_one : ∀ y ∈ μ, y ^ (D.levelPrime l ^ (card r).factorial - 1) = 1 |
| 172 | /-- Each member of `μ` has order dividing `p ^ d - 1` for some `1 ≤ d ≤ D.r`. -/ |
| 173 | exists_pow_eq_one : ∀ y ∈ μ, ∃ d ∈ Set.Icc 1 D.r, y ^ (D.levelPrime l ^ d - 1) = 1 |
| 174 | /-- On every such representation, the polynomial with roots `μ` kills `s` at `A`. -/ |
| 175 | polyKillsAt {R : GalRep ℓ D.E m} {k : ℕ} {J : (D.E →+* ℂ) → Multiset ℤ} {S : Set (FinPlace D.E)} |
| 176 | (hR : IsRepOfType (m := m) O k J |
| 177 | (fun i : O.ChosenIndex ↦ scaledTypePoly O c i * (X - 1) ^ t) S R) : |
| 178 | PolyKillsAt R A s (μ.map fun y : PadicAlgCl ℓ ↦ X - C y).prod |
| 179 | /-- On every such representation, the polynomial with roots `μ` kills `conjGal s⁻¹` at the |
| 180 | conjugate place. -/ |
| 181 | polyKillsAt_conjPlace {R : GalRep ℓ D.E m} {k : ℕ} {J : (D.E →+* ℂ) → Multiset ℤ} |
| 182 | {S : Set (FinPlace D.E)} (hR : IsRepOfType (m := m) O k J |
| 183 | (fun i : O.ChosenIndex ↦ scaledTypePoly O c i * (X - 1) ^ t) S R) : |
| 184 | PolyKillsAt R (conjPlace A) (conjGal s⁻¹) (μ.map fun y : PadicAlgCl ℓ ↦ X - C y).prod |
| 185 | |
| 186 | /-- If `μ` is an inertia spectrum (`IsInertiaSpectrum`: a multiset of possible eigenvalues) of |
| 187 | `conjGal s⁻¹` at the conjugate place `conjPlace A`, then `μ` is also an inertia spectrum of `s` at |
| 188 | `A`. -/ |
| 189 | lemma IsInertiaSpectrum.of_conjPlace {m : Type} [Fintype m] [DecidableEq m] {l : Fin 2} |
| 190 | {A : ClosurePlace} {t : ℕ} {s : Gal(Ω/D.E)} {μ : Multiset (PadicAlgCl ℓ)} |
| 191 | (hμ : IsInertiaSpectrum O c m l (conjPlace A) t (conjGal s⁻¹) μ) : |
| 192 | IsInertiaSpectrum O c m l A t s μ := |
| 193 | { hμ with |
| 194 | polyKillsAt hR := by |
| 195 | simpa only [conjPlace_conjPlace, map_inv, inv_inv, |
| 196 | conjGal_conjGal] using hμ.polyKillsAt_conjPlace hR |
| 197 | polyKillsAt_conjPlace hR := hμ.polyKillsAt hR } |
| 198 | |
| 199 | /-- The eigenvalues of inertia at a chosen place. Let `O.chosenPlace i` divide `p = D.levelPrime l`, |
| 200 | and let `A` be a place of `Ω = ℚ̄` over it. Each `s` in inertia at `A` has a multiset `μ` of |
| 201 | `card r + t` roots of unity (`IsInertiaSpectrum`), each of order dividing `p ^ (card r)! - 1` and |
| 202 | some `p ^ d - 1`, `1 ≤ d ≤ D.r`, such that the polynomial with roots `μ` kills `s` at `A` and |
| 203 | `conjGal s⁻¹` at the conjugate place in every rank `card m` representation with type polynomials |
| 204 | `scaledTypePoly O c i * (X - 1) ^ t`. Moreover `1 ∉ μ` if `t = 0` and `s` is `hA.tameGenerator`, the |
| 205 | fixed generator of tame inertia at `A`. -/ |
| 206 | lemma exists_isInertiaSpectrum_chosenPlace (m : Type) [Fintype m] [DecidableEq m] |
| 207 | (hc : IsLiftSetting O c ϑ) {l : Fin 2} {i : O.ChosenIndex} |
| 208 | (hv : (D.levelPrime l : 𝓞 D.E) ∈ (O.chosenPlace i).asIdeal) {A : ClosurePlace} |
| 209 | (hA : IsPlaceOver A (O.chosenPlace i)) (t : ℕ) {s : Gal(Ω/D.E)} |
| 210 | (hs : s ∈ inertiaGroup Gal(Ω/D.E) A) : |
| 211 | ∃ μ : Multiset (PadicAlgCl ℓ), |
| 212 | IsInertiaSpectrum O c m l A t s μ ∧ (t = 0 → s = hA.tameGenerator.val → 1 ∉ μ) := by |
| 213 | -- `s` acts through the roots of the type polynomial raised to its tame exponent. |
| 214 | have h_label : IsLabel (card r) (scaledTypePoly O c i) := (hc.isLabel i).scaleRoots _ |
| 215 | have hq : (O.chosenPlace i).q = D.levelPrime l := D.q_eq_levelPrime hv |
| 216 | let K : Type := AlgebraicClosure (ResField (O.chosenPlace i)) |
| 217 | let T : MulChar K ℂ := faithfulChar _ |
| 218 | -- `a` is the tame exponent of `s`, prime to `q ^ (card r)! - 1` for the tame generator |
| 219 | obtain ⟨a, h_tame, h_coprime⟩ := (GaloisRep.exists_isTameExponent T hA (card r)).2 s hs |
| 220 | -- `μ` consists of the images under `ιℓ ∘ T ^ a` of the roots of the scaled type polynomial times |
| 221 | -- `(X - 1) ^ t` |
| 222 | let roots : Multiset K := (scaledTypePoly O c i * (X - 1) ^ t).aroots K |
| 223 | let μ : Multiset (PadicAlgCl ℓ) := roots.map fun x ↦ ιℓ ((T ^ a) x) |
| 224 | have h_roots (x : K) (hx : x ∈ roots) : aeval x (scaledTypePoly O c i) = 0 ∨ x = 1 ∧ t ≠ 0 := by |
| 225 | simpa only [ne_eq, map_mul, map_pow, aeval_sub, aeval_X, map_one, mul_eq_zero, pow_eq_zero_iff', |
| 226 | sub_eq_zero] using (mem_aroots.1 hx).2 |
| 227 | -- every root is killed by `D.levelPrime l ^ (card r)! - 1` and by some `D.levelPrime l ^ d - 1` |
| 228 | have h_order (x : K) (hx : x ∈ roots) : x ^ (D.levelPrime l ^ (card r).factorial - 1) = 1 ∧ |
| 229 | ∃ d ∈ Set.Icc 1 D.r, x ^ (D.levelPrime l ^ d - 1) = 1 := by |
| 230 | obtain h_root | ⟨rfl, -⟩ := h_roots x hx |
| 231 | · grw [← hq, ← hc.rank_le.1] |
| 232 | exact h_label.root_pow_eq_one h_root |
| 233 | · exact ⟨one_pow _, 1, ⟨le_rfl, D.nat_le_of_hasLogBound⟩, one_pow _⟩ |
| 234 | have h_image (x : K) (e : ℕ) (hx : x ^ e = 1) : ιℓ ((T ^ a) x) ^ e = 1 := by |
| 235 | simp only [← map_pow, hx, map_one] |
| 236 | -- the polynomial of the type polynomials kills `s` |
| 237 | have h_kill {R : GalRep ℓ D.E m} {k : ℕ} {J : (D.E →+* ℂ) → Multiset ℤ} {S : Set (FinPlace D.E)} |
| 238 | (hR : IsRepOfType (m := m) O k J (fun i ↦ scaledTypePoly O c i * (X - 1) ^ t) S R) : |
| 239 | PolyKillsAt R A s (μ.map (X - C ·)).prod := by |
| 240 | simpa only [μ, Multiset.map_map, Function.comp_apply] using hR.labeled h_tame |
| 241 | refine ⟨μ, |
| 242 | { card_eq := ?_ |
| 243 | pow_factorial_eq_one := forall_mem_map_iff.2 fun x hx ↦ h_image x _ (h_order x hx).1 |
| 244 | exists_pow_eq_one := forall_mem_map_iff.2 fun x hx ↦ ?_ |
| 245 | polyKillsAt := h_kill |
| 246 | polyKillsAt_conjPlace := fun hR ↦ ?_ }, fun ht hs_gen h_one ↦ ?_⟩ |
| 247 | · obtain ⟨h_monic, -, h_deg, -⟩ := h_label |
| 248 | simp only [← C_1, card_map, card_aroots_eq_natDegree, |
| 249 | h_monic.natDegree_mul ((monic_X_sub_C 1).pow t), h_deg, natDegree_pow, natDegree_sub_C, |
| 250 | natDegree_X, mul_one, μ, roots] |
| 251 | · obtain ⟨-, d, hd, h_pow_d⟩ := h_order x hx |
| 252 | exact ⟨d, hd, h_image x _ h_pow_d⟩ |
| 253 | · -- duality carries the relation to the conjugate place |
| 254 | have h_above : O.chosenPlace i ∈ placesAboveM D := ⟨l, hv⟩ |
| 255 | obtain ⟨h_fin, -⟩ := hR.local_conditions _ (by |
| 256 | simp only [Set.mem_sdiff, Set.mem_union, h_above, or_true, not_true_eq_false, and_false, |
| 257 | not_false_eq_true]) hA |
| 258 | obtain ⟨-, -, h_dual⟩ := isFiniteTypeAt_and_hasJumpsAt_of_conjPlace hR.toIsConjSelfDual |
| 259 | (A := conjPlace A) (by simpa only [conjPlace_conjPlace] using h_fin) |
| 260 | exact h_dual s (by simpa) _ (by simpa only [conjPlace_conjPlace] using h_kill hR) |
| 261 | · -- For the tame generator `a` is prime to the order of a root `x`, so `T x ^ a = 1` forces |
| 262 | -- `x = 1`, which is not a root of the scaled type polynomial. |
| 263 | obtain ⟨x, hx, hx_image⟩ : ∃ x ∈ roots, ιℓ ((T ^ a) x) = 1 := mem_map.1 h_one |
| 264 | have hxa : x ^ a = 1 := by |
| 265 | obtain rfl | ha := eq_or_ne a 0 |
| 266 | · exact pow_zero x |
| 267 | · apply IsFaithfulMulChar.injective (T := T) |
| 268 | simpa only [map_pow, ← T.pow_apply' ha, map_one] using ιℓ.map_eq_one_iff.1 hx_image |
| 269 | obtain rfl : x = 1 := |
| 270 | (pow_eq_one_iff_of_coprime (h_coprime hs_gen)).1 ⟨hxa, by |
| 271 | simpa only [hq] using (h_order x hx).1⟩ |
| 272 | exact hc.not_isRoot_scaledTypePoly i (by |
| 273 | simpa only [IsRoot.def, aeval_def, eval₂_at_one, _root_.map_eq_zero, ht, ne_eq, |
| 274 | not_true_eq_false, and_false, or_false] using h_roots 1 hx) |
| 275 | |
| 276 | /-- The eigenvalues of inertia above the two primes `D.levelPrime l` of the level. Let `v` be a |
| 277 | place of `D.E` dividing `p = D.levelPrime l` and `A` a place of `Ω = ℚ̄` over `v`. There is `γ` in |
| 278 | inertia at `A`, the fixed generator `hA.tameGenerator` of tame inertia if `v` is chosen, such that |
| 279 | each `s` in inertia has a multiset `μ` of `card r + t` possible eigenvalues (`IsInertiaSpectrum`), |
| 280 | with `1 ∉ μ` if `t = 0` and `s = γ`. These are roots of unity of order dividing `p ^ (card r)! - 1` |
| 281 | and some `p ^ d - 1`, `1 ≤ d ≤ D.r`, and the polynomial with roots `μ` kills `s` at `A`, and |
| 282 | `conjGal s⁻¹` at the conjugate place, in every rank `card m` representation whose type polynomials |
| 283 | are the `scaledTypePoly O c i` times `(X - 1) ^ t`. -/ |
| 284 | lemma exists_inertiaGroup_isInertiaSpectrum (m : Type) [Fintype m] [DecidableEq m] |
| 285 | (hc : IsLiftSetting O c ϑ) |
| 286 | {l : Fin 2} {v : FinPlace D.E} (hv : (D.levelPrime l : 𝓞 D.E) ∈ v.asIdeal) |
| 287 | {A : ClosurePlace} (hA : IsPlaceOver A v) (t : ℕ) : |
| 288 | ∃ γ : inertiaGroup Gal(Ω/D.E) A, |
| 289 | (D.IsChosen v → γ = hA.tameGenerator) ∧ |
| 290 | ∀ s ∈ inertiaGroup Gal(Ω/D.E) A, ∃ μ : Multiset (PadicAlgCl ℓ), |
| 291 | IsInertiaSpectrum O c m l A t s μ ∧ (t = 0 → s = γ.val → 1 ∉ μ) := by |
| 292 | -- The places above `D.levelPrime l` that are not chosen are the conjugates of chosen ones. |
| 293 | wlog h_chosen : D.IsChosen v generalizing v A with at_chosen |
| 294 | · obtain ⟨γ, -, hγ⟩ := |
| 295 | at_chosen (by simpa) hA.conjPlace_star ((D.isChosen_star_iff hv).2 h_chosen) |
| 296 | use ⟨conjGal γ.val⁻¹, conjGal_mem_inertiaGroup_iff.1 (by simp)⟩, h_chosen.elim |
| 297 | intro s hs |
| 298 | obtain ⟨μ, hμ, h_one⟩ := hγ (conjGal s⁻¹) (inv_mem hs).conjPlace_conjGal |
| 299 | exact ⟨μ, hμ.of_conjPlace, fun ht hs_eq ↦ h_one ht (by |
| 300 | simp only [hs_eq, map_inv, inv_inv, conjGal_conjGal])⟩ |
| 301 | obtain ⟨i, rfl⟩ : ∃ i : O.ChosenIndex, O.chosenPlace i = v := by |
| 302 | rw [hc.toLevelPlaces_eq] |
| 303 | exact D.range_chosenPlace.ge h_chosen |
| 304 | exact ⟨hA.tameGenerator, fun _ ↦ rfl, fun _ ↦ exists_isInertiaSpectrum_chosenPlace m hc hv hA t⟩ |
| 305 | |
| 306 | /-- Ramification of a representation of a type above `M = D.levelPrime 0 * D.levelPrime 1`. Let `R` |
| 307 | be a rank `card r` representation of a type (`IsRepOfType`) and empty level: conjugate self-dual of |
| 308 | weight `k` with Hodge–Tate jumps `J`, unramified off `ℓ M`, inertia at each `O.chosenPlace i` acting |
| 309 | through the roots of `scaledTypePoly O c i`. Let `A` lie over a place `v` that divides `M` |
| 310 | (`placesAboveM`) but not `ℓ`. Then `R` is trivial on the `N`-th powers of the inertia group of `A` |
| 311 | in `AbsGal D = Gal(Ω/D.E)` for some `N` that is a unit at `A`. For some `γ` in inertia, the fixed |
| 312 | tame generator if `v` is chosen, the `ℓ`-adic valuations of the determinants of `R γ - 1` and |
| 313 | `R (conjGal γ)⁻¹ - 1` are at most `card r` times that of `D.chosenGroupOrder`, the product of the |
| 314 | orders of `GL (D.r * D.t)` over the residue fields at the chosen places. Here `conjGal γ` is the |
| 315 | conjugate of `γ` by the chosen complex conjugation `cmConj` of `Ω`. -/ |
| 316 | lemma IsRepOfType.exists_map_pow_eq_one_and_ellVal_det_le (hc : IsLiftSetting O c ϑ) |
| 317 | {R : GalRep ℓ D.E r} {k : ℕ} {J : (D.E →+* ℂ) → Multiset ℤ} |
| 318 | (hR : IsRepOfType (m := r) O k J (Selmer.scaledTypePoly O c) ∅ R) {v : FinPlace D.E} |
| 319 | (hvM : v ∈ placesAboveM D) (hℓ : v ∉ placesDividing D.E ℓ) {A : ClosurePlace} |
| 320 | (hA : IsPlaceOver A v) : |
| 321 | ∃ (γ : inertiaGroup (AbsGal D) A) (N : ℕ), |
| 322 | (D.IsChosen v → γ = hA.tameGenerator) ∧ |
| 323 | A.valuation (N : Ω) = 1 ∧ |
| 324 | (∀ s ∈ inertiaGroup (AbsGal D) A, R (s ^ N) = 1) ∧ |
| 325 | ellVal ((R γ).val - 1).det ≤ card r * padicValNat ℓ D.chosenGroupOrder ∧ |
| 326 | ellVal ((R (conjGal γ.val)⁻¹).val - 1).det ≤ card r * padicValNat ℓ D.chosenGroupOrder := by |
| 327 | obtain ⟨l, hl⟩ : ∃ l : Fin 2, (D.levelPrime l : 𝓞 D.E) ∈ v.asIdeal := hvM |
| 328 | have h_val : A.valuation ℓ = 1 := hA.valuation_natCast_eq_one_iff.mpr hℓ |
| 329 | let N : ℕ := D.levelPrime l ^ (card r).factorial - 1 |
| 330 | have hR_zero : IsRepOfType (m := r) O k J |
| 331 | (fun j ↦ Selmer.scaledTypePoly O c j * (X - 1) ^ 0) ∅ R := by |
| 332 | simpa only [pow_zero, mul_one] using hR |
| 333 | -- `h_eigen s` gives a multiset `μ` containing the eigenvalues of `s` and of `(conjGal s)⁻¹` |
| 334 | obtain ⟨γ, hγ, h_eigen⟩ := exists_inertiaGroup_isInertiaSpectrum (ℓ := ℓ) r hc hl hA 0 |
| 335 | refine ⟨γ, N, hγ, ?_, fun s hs ↦ ?_, ?_⟩ |
| 336 | · -- `D.levelPrime l` vanishes in the residue field, so `N` is `-1` there |
| 337 | rw [hA.valuation_natCast_eq_one_iff] |
| 338 | simp only [← D.q_eq_levelPrime hl, ← card_ResField, Nat.card_eq_fintype_card, NeZero.pos, |
| 339 | Nat.cast_pred, Nat.cast_pow, ← algebraMap_ResField_eq_zero, map_sub, map_pow, map_natCast, |
| 340 | Nat.cast_card_eq_zero, ne_eq, Nat.factorial_ne_zero, not_false_eq_true, zero_pow, map_one, |
| 341 | zero_sub, neg_eq_zero, one_ne_zero, N] |
| 342 | · -- the members of `μ` are roots of `X ^ N - 1` |
| 343 | obtain ⟨μ, hμ, -⟩ := h_eigen s hs |
| 344 | have h_pow : aeval (R s).val (X ^ N - 1 : (PadicAlgCl ℓ)[X]) = 0 := |
| 345 | (hR.local_conditions v (by simp) hA).1.aeval_eq_zero_of_roots h_val hs |
| 346 | (hμ.polyKillsAt hR_zero) _ |
| 347 | (by |
| 348 | simpa only [IsRoot.def, eval_multiset_prod, Multiset.map_map, Function.comp_apply, |
| 349 | eval_sub, eval_X, eval_C, prod_eq_zero_iff, mem_map, sub_eq_zero, exists_eq_right', |
| 350 | eval_pow, eval_one] using hμ.pow_factorial_eq_one) |
| 351 | simpa only [map_pow, Units.ext_iff, Units.val_pow_eq_pow_val, Units.val_one, aeval_sub, aeval_X, |
| 352 | map_one, sub_eq_zero] using h_pow |
| 353 | · -- both matrices are killed by the polynomial with roots `μ` |
| 354 | obtain ⟨μ, hμ, h_one⟩ := h_eigen γ γ.prop |
| 355 | have h_roots : ∀ y ∈ μ, y ≠ 1 ∧ ∃ d ∈ Set.Icc 1 D.r, y ^ (D.levelPrime l ^ d - 1) = 1 := |
| 356 | fun y hy ↦ ⟨ne_of_mem_of_not_mem hy (h_one rfl rfl), hμ.exists_pow_eq_one y hy⟩ |
| 357 | have h_val_conj : (conjPlace A).valuation ℓ = 1 := by |
| 358 | simpa only [hA.conjPlace_star.valuation_natCast_eq_one_iff, mem_star_place, star_natCast] |
| 359 | constructor |
| 360 | · exact ellVal_det_sub_one_le_card_mul h_roots ((hμ.polyKillsAt hR_zero).1 h_val) |
| 361 | · apply ellVal_det_sub_one_le_card_mul h_roots |
| 362 | simpa only [map_inv, coe_units_inv] using (hμ.polyKillsAt_conjPlace hR_zero).1 h_val_conj |
| 363 | |
| 364 | variable (ℓ O c) in |
| 365 | /-- The roots of the scaled type polynomial `scaledTypePoly O c i`, taken in an algebraic closure of |
| 366 | the residue field of `O.chosenPlace i`, have the common `e`-th power `y`, of large order relative to |
| 367 | `j`. With `q` the order of the residue field, each root is fixed by the `q ^ card r`-th power, and |
| 368 | its Frobenius conjugates stay distinct after raising to powers of `ℓ`. -/ |
| 369 | structure IsCommonRootPower (i : O.ChosenIndex) (j e : ℕ) |
| 370 | (y : AlgebraicClosure (ResField (O.chosenPlace i))) : Prop where |
| 371 | /-- Each root `ξ` has `ξ ^ e = y`. -/ |
| 372 | pow_eq : ∀ ξ ∈ (scaledTypePoly O c i).aroots (AlgebraicClosure (ResField (O.chosenPlace i))), |
| 373 | ξ ^ e = y |
| 374 | /-- Each root is fixed by the `q ^ card r`-th power. -/ |
| 375 | pow_q_pow_card_eq : ∀ ξ ∈ (scaledTypePoly O c i).aroots |
| 376 | (AlgebraicClosure (ResField (O.chosenPlace i))), ξ ^ (O.chosenPlace i).q ^ card r = ξ |
| 377 | /-- For each root `ξ` and each `u`, the powers `(ξ ^ q ^ a) ^ ℓ ^ u`, `a < card r`, are |
| 378 | distinct. -/ |
| 379 | injOn_pow : ∀ ξ ∈ (scaledTypePoly O c i).aroots (AlgebraicClosure (ResField (O.chosenPlace i))), |
| 380 | ∀ u : ℕ, (Set.Iio (card r)).InjOn fun a : ℕ ↦ (ξ ^ (O.chosenPlace i).q ^ a) ^ ℓ ^ u |
| 381 | /-- If `y ^ x = 1` then `P.q₂ D.towerExp`, the order of `D.chiMLocal` at the chosen places, |
| 382 | divides `j * x`. -/ |
| 383 | dvd_of_pow_eq_one (x : ℕ) (hx : y ^ x = 1) : P.q₂ D.towerExp ∣ j * x |
| 384 | |
| 385 | omit [PadicIso ℓ] in |
| 386 | /-- Let `c` be a lift setting for the descent pair `O` and the twist `ϑ`, so that `c i` is a type |
| 387 | polynomial over the residue field, of order `q`, of the place `O.chosenPlace i` above the level, and |
| 388 | let `O.tamePart = D.chiMLocal ^ j * ϑ.tamePart`, where `D.chiMLocal` has order `N = P.q₂ D.towerExp` |
| 389 | at the chosen places (`P`: the parameters of the data `D`). Let `card r = D.r` and let `c i` be a |
| 390 | primitive polynomial: monic irreducible of degree `card r` with a root of order `q ^ card r - 1`. |
| 391 | Then the roots `ξ` of the scaled type polynomial `scaledTypePoly O c i` have a common `e`-th power |
| 392 | `y` such that, for every `x : ℕ`, `y ^ x = 1` forces `N ∣ j * x`; moreover (`IsCommonRootPower`) |
| 393 | `ξ ^ q ^ card r = ξ`, and for each `u` the powers `(ξ ^ q ^ a) ^ ℓ ^ u`, `a < card r`, are |
| 394 | distinct. -/ |
| 395 | lemma IsLiftSetting.exists_isCommonRootPower_of_isPrimitivePolynomial (hc : IsLiftSetting O c ϑ) |
| 396 | {i : O.ChosenIndex} (h_card : card r = D.r) |
| 397 | (h_primitive : IsPrimitivePolynomial (card r) (c i)) {j : ℕ} |
| 398 | (h_tamePart : O.tamePart = D.chiMLocal ^ (j : ℤ) * ϑ.tamePart) : |
| 399 | ∃ (e : ℕ) (y : AlgebraicClosure (ResField (O.chosenPlace i))), |
| 400 | IsCommonRootPower ℓ O c i j e y := by |
| 401 | -- A primitive polynomial stays primitive after normalisation; `y` is the product of its roots. |
| 402 | have h_chosen : D.IsChosen (O.chosenPlace i) := hc.isChosen_chosenPlace i |
| 403 | obtain ⟨l, hl⟩ : O.chosenPlace i ∈ placesAboveM D := h_chosen.mem_placesAboveM |
| 404 | obtain ⟨r_exp, hr_exp⟩ := D.exists_r_eq_three_pow |
| 405 | -- `q = D.levelPrime l`, so `q₂ ^ 2` divides `q - 1`; and so does `9`, as `3 ∣ 18480 ∣ q₀ ∣ q₂` |
| 406 | have h_Mω_sq : P.q₂ D.towerExp ^ 2 ∣ Nat.card (ResField (O.chosenPlace i)) - 1 := by |
| 407 | simpa only [card_ResField, D.q_eq_levelPrime hl] using D.dvd_levelPrime_sub_one l |
| 408 | have h_nine : 3 ^ 2 ∣ Nat.card (ResField (O.chosenPlace i)) - 1 := by |
| 409 | refine (pow_dvd_pow_of_dvd ?_ 2).trans h_Mω_sq |
| 410 | exact dvd_pow ((Nat.dvd_trans (by norm_num) P.dvd_q₀).mul_right P.d) (by omega) |
| 411 | have h_tamePart_pow : O.tamePart (O.chosenPlace i) ^ P.q₂ D.towerExp = 1 := by |
| 412 | rw [h_tamePart, D.chiMLocal_zpow_mul_pow_eq_one j (ϑ.tamePart_eq_one_of_isChosen h_chosen)] |
| 413 | have h_twisted : IsPrimitivePolynomial (card r) (Selmer.scaledTypePoly O c i) := |
| 414 | h_primitive.scaleRoots _ (charName_pow_eq_one (by |
| 415 | simp only [inv_pow, h_tamePart_pow, inv_one])) h_Mω_sq |
| 416 | let K : Type := AlgebraicClosure (ResField (O.chosenPlace i)) |
| 417 | let roots : Multiset K := (Selmer.scaledTypePoly O c i).aroots K |
| 418 | obtain ⟨h_prod, e, h_pow⟩ : |
| 419 | IsPrimitiveRoot roots.prod (Nat.card (ResField (O.chosenPlace i)) - 1) ∧ |
| 420 | ∃ e : ℕ, ∀ ξ ∈ roots, ξ ^ e = roots.prod := |
| 421 | h_twisted.isPrimitiveRoot_prod_aroots_and_exists_pow_eq |
| 422 | obtain ⟨⟨-, -, h_deg, -⟩, h_irred, η, hη, hη_order⟩ := h_twisted |
| 423 | refine ⟨e, roots.prod, |
| 424 | { pow_eq := h_pow |
| 425 | pow_q_pow_card_eq := fun ξ hξ ↦ ?_ |
| 426 | injOn_pow := fun ξ hξ u a ha b hb hab ↦ ?_ |
| 427 | dvd_of_pow_eq_one := fun x hx ↦ ?_ }⟩ |
| 428 | · -- the type polynomial is irreducible of degree `card r` |
| 429 | rw [← card_ResField, root_pow_card_pow_eq_self_iff h_irred (mem_aroots.mp hξ).2, h_deg] |
| 430 | · -- `ξ` is a Frobenius conjugate of the primitive root `η`; as `9 ∣ q - 1` and `card r` is a |
| 431 | -- power of `3`, the conjugates of `η ^ ℓ ^ u` are distinct |
| 432 | obtain ⟨d, -, rfl⟩ := exists_pow_card_pow_eq_of_root h_irred (mem_aroots.mp hξ).2 hη |
| 433 | rw [h_card, hr_exp] at hη_order ha hb |
| 434 | apply injOn_Iio_pow_card_pow_of_isPrimitiveRoot u h_nine hη_order hp.out ha hb |
| 435 | have h_comm (q a : ℕ) : ((ξ ^ q ^ d) ^ ℓ ^ u) ^ q ^ a = ((ξ ^ q ^ a) ^ ℓ ^ u) ^ q ^ d := by ring |
| 436 | simp only [h_comm, card_ResField, hab] |
| 437 | · -- `y` has order `q - 1`, a multiple of `q₂ ^ 2` |
| 438 | grw [dvd_pow_self (P.q₂ D.towerExp) two_ne_zero, h_Mω_sq, h_prod.dvd_of_pow_eq_one x hx] |
| 439 | exact dvd_mul_left x j |
| 440 | |
| 441 | omit hp [PadicIso ℓ] in |
| 442 | /-- Let `c` be a lift setting for the descent pair `O` and the twist `ϑ`, so that `c i` is a type |
| 443 | polynomial over the residue field, of order `q`, of the place `O.chosenPlace i` above the level, and |
| 444 | let `O.tamePart = D.chiMLocal ^ j * ϑ.tamePart`, where `D.chiMLocal` has order |
| 445 | `N = P.q₂ D.towerExp` at the chosen places (`P`: the parameters of the data `D`). Let `card r = 1` |
| 446 | and `c i = X - 1`, so that `scaledTypePoly O c i` has as only root `ξ` the element naming |
| 447 | `O.tamePart⁻¹`. Then some power `y = ξ ^ e` has the property that, for every `x : ℕ`, `y ^ x = 1` |
| 448 | forces `N ∣ j * x`; moreover (`IsCommonRootPower`) `ξ ^ q = ξ`, the remaining condition being |
| 449 | empty in rank `1`. -/ |
| 450 | lemma IsLiftSetting.exists_isCommonRootPower_of_eq_X_sub_one (hc : IsLiftSetting O c ϑ) |
| 451 | {i : O.ChosenIndex} (h_card : card r = 1) (h_eq : c i = X - 1) {j : ℕ} |
| 452 | (h_tamePart : O.tamePart = D.chiMLocal ^ (j : ℤ) * ϑ.tamePart) : |
| 453 | ∃ (e : ℕ) (y : AlgebraicClosure (ResField (O.chosenPlace i))), |
| 454 | IsCommonRootPower ℓ O c i j e y := by |
| 455 | -- The only root is the name `z` of `ω⁻ʲ`, where the character |
| 456 | -- `ω = D.chiMLocal (O.chosenPlace i)` has order `q₂`. |
| 457 | have h_chosen : D.IsChosen (O.chosenPlace i) := hc.isChosen_chosenPlace i |
| 458 | let K : Type := AlgebraicClosure (ResField (O.chosenPlace i)) |
| 459 | let z : (ResField (O.chosenPlace i))ˣ := |
| 460 | charName (faithfulChar (ResField (O.chosenPlace i))) (O.tamePart (O.chosenPlace i))⁻¹ |
| 461 | let y : K := algebraMap _ K z.val |
| 462 | have h_scaled_eq : Selmer.scaledTypePoly O c i = X - C z.val := by |
| 463 | rw [Selmer.scaledTypePoly, h_eq, ← C_1, X_sub_C_scaleRoots, one_mul] |
| 464 | have h_root (ξ : K) (hξ : ξ ∈ (Selmer.scaledTypePoly O c i).aroots K) : ξ = y := by |
| 465 | simpa only [h_scaled_eq, aroots_X_sub_C, mem_singleton] using hξ |
| 466 | refine ⟨1, y, |
| 467 | { pow_eq := fun ξ hξ ↦ by rw [pow_one, h_root ξ hξ] |
| 468 | pow_q_pow_card_eq := fun ξ hξ ↦ ?_ |
| 469 | injOn_pow := fun ξ hξ u a ha b hb _ ↦ ?_ |
| 470 | dvd_of_pow_eq_one := fun x hx ↦ ?_ }⟩ |
| 471 | · simp only [h_root ξ hξ, ← card_ResField, Nat.card_eq_fintype_card, h_card, pow_one, ← map_pow, |
| 472 | FiniteField.pow_card, y] |
| 473 | · -- the only index below `card r = 1` is `0` |
| 474 | rw [h_card, Set.mem_Iio] at ha hb |
| 475 | omega |
| 476 | · have hz : z ^ x = 1 := by |
| 477 | simpa only [y, K, ← map_pow, ← Units.val_pow_eq_pow_val, FaithfulSMul.algebraMap_eq_one_iff, |
| 478 | Units.val_eq_one] using hx |
| 479 | have hω : O.tamePart (O.chosenPlace i) = D.chiMLocal (O.chosenPlace i) ^ j := by |
| 480 | simp only [h_tamePart, zpow_natCast, Pi.mul_apply, Pi.pow_apply, |
| 481 | ϑ.toTameChar.tamePart_eq_one_of_isChosen h_chosen, mul_one] |
| 482 | rw [← D.orderOf_chiMLocal h_chosen, orderOf_dvd_iff_pow_eq_one, pow_mul, ← hω] |
| 483 | simpa only [z, map_inv, inv_pow, ← map_pow, inv_eq_one, MulEquiv.map_eq_one_iff] using hz |
| 484 | |
| 485 | omit [PadicIso ℓ] in |
| 486 | /-- Let `c` be a lift setting for the descent pair `O` and the twist `ϑ`, so that `c i` is a type |
| 487 | polynomial over the residue field, of order `q`, of the place `O.chosenPlace i` above the level, and |
| 488 | let `O.tamePart = D.chiMLocal ^ j * ϑ.tamePart`, where `D.chiMLocal` has order `N = P.q₂ D.towerExp` |
| 489 | at the chosen places (`P`: the parameters of the data `D`). Let `c i` be primitive with |
| 490 | `card r = D.r`, or `X - 1` with `card r = 1`. Then the roots `ξ` of `scaledTypePoly O c i` have a |
| 491 | common `e`-th power `y` such that, for every `x : ℕ`, `y ^ x = 1` forces `N ∣ j * x`; moreover |
| 492 | `ξ ^ q ^ card r = ξ`, and for each `u` the powers `(ξ ^ q ^ a) ^ ℓ ^ u`, `a < card r`, are |
| 493 | distinct. -/ |
| 494 | lemma IsLiftSetting.exists_isCommonRootPower (hc : IsLiftSetting O c ϑ) {i : O.ChosenIndex} |
| 495 | (h_primitive_or_one : |
| 496 | (card r = D.r ∧ IsPrimitivePolynomial (card r) (c i)) ∨ (card r = 1 ∧ c i = X - 1)) |
| 497 | {j : ℕ} (h_tamePart : O.tamePart = D.chiMLocal ^ (j : ℤ) * ϑ.tamePart) : |
| 498 | ∃ (e : ℕ) (y : AlgebraicClosure (ResField (O.chosenPlace i))), |
| 499 | IsCommonRootPower ℓ O c i j e y := by |
| 500 | obtain ⟨h_card, h_primitive⟩ | ⟨h_card, h_eq⟩ := h_primitive_or_one |
| 501 | · exact hc.exists_isCommonRootPower_of_isPrimitivePolynomial h_card h_primitive h_tamePart |
| 502 | · exact hc.exists_isCommonRootPower_of_eq_X_sub_one h_card h_eq h_tamePart |
| 503 | |
| 504 | /-- Let `c` be a lift setting for the descent pair `O` and the twist `ϑ`. Let `R` be a rank `card r` |
| 505 | representation of `AbsGal D = Gal(Ω/D.E)` over `ℚ̄_ℓ` of empty level whose inertia at each chosen |
| 506 | place acts through the roots of `scaledTypePoly O c i` (`IsRepOfType`), these being the roots of |
| 507 | `c i` times the element naming `O.tamePart⁻¹`. Let the place `A` of `Ω = ℚ̄` lie over |
| 508 | `O.chosenPlace i` and not over `ℓ`. There are `s` in inertia at `A` and an injective multiplicative |
| 509 | map `τ` from the algebraic closure of the residue field to `ℚ̄_ℓ` such that `R s` is killed by every |
| 510 | polynomial that vanishes on the images of the roots of the scaled type polynomial, and one image |
| 511 | `τ ξ`, a root of unity, is an eigenvalue of `R s`. -/ |
| 512 | lemma IsRepOfType.exists_inertia_isRoot_charpoly (hc : IsLiftSetting O c ϑ) {R : GalRep ℓ D.E r} |
| 513 | {k : ℕ} {J : (D.E →+* ℂ) → Multiset ℤ} |
| 514 | (hR : IsRepOfType (m := r) O k J (Selmer.scaledTypePoly O c) ∅ R) {i : O.ChosenIndex} |
| 515 | {A : ClosurePlace} (hA : IsPlaceOver A (O.chosenPlace i)) (h_val : A.valuation ℓ = 1) : |
| 516 | ∃ (s : inertiaGroup (AbsGal D) A) |
| 517 | (τ : AlgebraicClosure (ResField (O.chosenPlace i)) →* PadicAlgCl ℓ), |
| 518 | Function.Injective τ ∧ |
| 519 | (∀ p : (PadicAlgCl ℓ)[X], |
| 520 | (∀ η ∈ (Selmer.scaledTypePoly O c i).aroots (AlgebraicClosure (ResField (O.chosenPlace i))), |
| 521 | p.IsRoot (τ η)) → aeval (R s).val p = 0) ∧ |
| 522 | ∃ ξ ∈ (Selmer.scaledTypePoly O c i).aroots (AlgebraicClosure (ResField (O.chosenPlace i))), |
| 523 | (R s).val.charpoly.IsRoot (τ ξ) ∧ IsOfFinOrder (τ ξ) := by |
| 524 | -- `s` has tame exponent `1`, and `τ` is the faithful character followed by `ιℓ` |
| 525 | let K : Type := AlgebraicClosure (ResField (O.chosenPlace i)) |
| 526 | let T : MulChar K ℂ := faithfulChar _ |
| 527 | let τ : K →* PadicAlgCl ℓ := ιℓ.toMonoidHom.comp T |
| 528 | let Z : Multiset K := (Selmer.scaledTypePoly O c i).aroots K |
| 529 | obtain ⟨⟨s, hs⟩, -⟩ := GaloisRep.exists_isTameExponent T hA (card r) |
| 530 | have h_poly : PolyKillsAt R A s (Z.map fun ξ ↦ X - C (τ ξ)).prod := by |
| 531 | simpa only [τ, RingHom.toMonoidHom_eq_coe, RingEquiv.toRingHom_eq_coe, MonoidHom.coe_comp, |
| 532 | MonoidHom.coe_ofClass, RingHom.coe_coe, Function.comp_apply, pow_one] using hR.labeled hs |
| 533 | have h_root (x : PadicAlgCl ℓ) (hx : (Z.map fun ξ ↦ X - C (τ ξ)).prod.IsRoot x) : |
| 534 | ∃ ξ ∈ Z, x = τ ξ := by |
| 535 | simpa only [IsRoot.def, eval_multiset_prod, Multiset.map_map, Function.comp_apply, eval_sub, |
| 536 | eval_X, eval_C, prod_eq_zero_iff, mem_map, sub_eq_zero] using hx |
| 537 | refine ⟨s, τ, ιℓ.injective.comp IsFaithfulMulChar.injective, fun p hp_root ↦ ?_, ?_⟩ |
| 538 | · have h_fin : IsFiniteTypeAt R A := (hR.local_conditions _ (by simp) hA).1 |
| 539 | refine h_fin.aeval_eq_zero_of_roots h_val s.prop h_poly p fun x hx ↦ ?_ |
| 540 | obtain ⟨ξ, hξ, rfl⟩ := h_root x hx |
| 541 | exact hp_root ξ hξ |
| 542 | · obtain ⟨ζ, hζ⟩ := exists_root (R s).val.charpoly (by |
| 543 | simp only [charpoly_degree_eq_dim, ne_eq, Nat.cast_eq_zero, hc.odd.1.pos.ne', |
| 544 | not_false_eq_true]) |
| 545 | obtain ⟨ξ, hξ, rfl⟩ := h_root ζ (isRoot_of_isRoot_charpoly (h_poly.1 h_val) hζ) |
| 546 | obtain ⟨h_pow, -⟩ := ((hc.isLabel i).scaleRoots _).root_pow_eq_one (mem_aroots'.1 hξ).2 |
| 547 | exact ⟨ξ, hξ, hζ, τ.isOfFinOrder |
| 548 | (isOfFinOrder_iff_pow_eq_one.2 ⟨_, by |
| 549 | simp only [tsub_pos_iff_lt, ne_eq, NeZero.ne, not_false_eq_true, Nat.one_lt_pow_iff, |
| 550 | FinPlace.one_lt_q], h_pow⟩)⟩ |
| 551 | |
| 552 | omit [PadicIso ℓ] in |
| 553 | /-- Let `A` be a place of `Ω = ℚ̄`, not over `ℓ`, over the place `w` dividing `D.levelPrime l`, with |
| 554 | residue field of order `q`. Let the representation `R` of rank `card r` have finite type at `A` and |
| 555 | be trivial on the `N`-th powers of inertia, `N` a unit at `A`. Let `s` in inertia have |
| 556 | `R (s ^ q ^ card r) = R s` and an eigenvalue `ζ`, a root of unity, whose conjugates `ζ ^ q ^ a`, |
| 557 | `a < card r`, are pairwise incongruent. Then over all large coefficient rings the image of a lattice |
| 558 | in `R` spans all matrices and has a scalar matrix at an element of cyclotomic character |
| 559 | `D.levelPrime m ^ card r` for some `m`. -/ |
| 560 | lemma eventually_span_eq_top_and_exists_scalar_of_tame_pair {R : GalRep ℓ D.E r} {l : Fin 2} |
| 561 | {w : FinPlace D.E} (hlw : ↑(D.levelPrime l) ∈ w.asIdeal) {A : ClosurePlace} |
| 562 | (hA : IsPlaceOver A w) (h_val : A.valuation ℓ = 1) (h_fin : IsFiniteTypeAt R A) {N : ℕ} |
| 563 | (hN : A.valuation (N : Ω) = 1) (hRN : ∀ s ∈ inertiaGroup (AbsGal D) A, R (s ^ N) = 1) |
| 564 | {s : inertiaGroup (AbsGal D) A} {ζ : PadicAlgCl ℓ} (h_ord : IsOfFinOrder ζ) |
| 565 | (h_eigen : (R s).val.charpoly.IsRoot ζ) (h_fix : R (s ^ w.q ^ card r) = R s) |
| 566 | (h_dist : ∀ a < card r, ∀ b < card r, a ≠ b → ‖ζ ^ w.q ^ a - ζ ^ w.q ^ b‖ = 1) : |
| 567 | ∀ᶠ 𝒪 : CoeffRing ℓ in Filter.atTop, ∀ u : AbsGal D →* Matrix r r 𝒪, |
| 568 | IsLatticeIn R u → |
| 569 | Submodule.span 𝒪 (Set.range u) = ⊤ ∧ |
| 570 | ∃ (g : AbsGal D) (m : Fin 2) (α : ↑𝒪), |
| 571 | (cyclotomicChar Ω ℓ g).val = D.levelPrime m ^ card r ∧ u g = α • 1 := by |
| 572 | -- conjugation by a Frobenius `φ` raises `R s` to the `q`-th power |
| 573 | obtain ⟨φ, hφ⟩ := hA.exists_isFrob (AbsGal D) |
| 574 | have h_frob : R s ^ w.q = R (φ * s * φ⁻¹) := |
| 575 | ((hA.tame_inertia R (h_fin.1 h_val) hN (by simpa only [map_pow] using hRN) s).2 w.q φ hφ).symm |
| 576 | filter_upwards [CoeffRing.eventually_mem h_ord.norm_eq_one.le] with 𝒪 h_mem u hu |
| 577 | -- the image of the lattice `u` spans all matrices over `𝒪`, and `φ ^ card r` acts by a scalar |
| 578 | obtain ⟨h_span, α, hα⟩ := |
| 579 | hu.span_range_eq_top_of_map_pow_eq_map_conj (ζ := ⟨ζ, h_mem⟩) (φ := φ⁻¹) h_frob h_dist |
| 580 | h_eigen h_fix |
| 581 | refine ⟨h_span, φ ^ card r, l, α, ?_, by rwa [inv_inv] at hα⟩ |
| 582 | simp only [map_pow, Units.val_pow_eq_pow_val, hφ.cyclotomicChar_eq ℓ h_val, D.q_eq_levelPrime hlw] |
| 583 | |
| 584 | /-- Let `c` be a lift setting for the descent pair `O` and the twist `ϑ`, and let |
| 585 | `M = D.levelPrime 0 * D.levelPrime 1`. Let `R` be a representation of a type of rank `card r` and |
| 586 | empty level: in particular `R^c ≅ R^∨(1 - k)` on traces, `R` has Hodge–Tate jumps `J` and is |
| 587 | unramified off `ℓ M`, and inertia at `O.chosenPlace i` acts through the roots of |
| 588 | `scaledTypePoly O c i`. Let `k` and `J` satisfy `IsMainSummandWeights`: `k ≤ D.t`; for one |
| 589 | `j ≤ D.m` each jump `u` has `D.gap / 4 ≤ |u| ≤ 2 D.m D.gap` or is within `D.t` of `-D.liftWeight j` |
| 590 | (of `D.liftWeight j` at embeddings outside the CM type); at most `card r * D.m / D.k` jumps at an |
| 591 | embedding have `|u| ≤ 2 D.halfGap ^ 2`, and at most `card r` at a conjugate pair are negative. Then |
| 592 | `R` is like a main summand (`IsMainSummandLike`): above `M` and off `ℓ`, inertia is killed by a |
| 593 | power prime to the place and, for some inertia element `γ`, `det (R γ - 1)` and |
| 594 | `det (R (conjGal γ)⁻¹ - 1)` have valuation at most `card r` times that of `D.chosenGroupOrder`; over |
| 595 | all large coefficient rings the image of a lattice spans all matrices and has a scalar at an element |
| 596 | of cyclotomic character `D.levelPrime m ^ card r`; and an inertia element above `M` acts by a scalar |
| 597 | `y` with `y ^ (ℓ ^ a * t) - 1` a unit for all `a` and `1 ≤ t ≤ 4 * card r + 2`. -/ |
| 598 | lemma IsRepOfType.isMainSummandLike (hc : IsLiftSetting O c ϑ) {R : GalRep ℓ D.E r} {k : ℕ} |
| 599 | {J : (D.E →+* ℂ) → Multiset ℤ} (hR : IsRepOfType (m := r) O k J (Selmer.scaledTypePoly O c) ∅ R) |
| 600 | (hJ : IsMainSummandWeights D (card r) k J) : IsMainSummandLike D k J R := by |
| 601 | -- Take a chosen place `w` not above `ℓ` whose type polynomial is primitive or `X - 1`, and `s` in |
| 602 | -- inertia at `w` of tame exponent `1`; the eigenvalues of `R s` come from the roots of the scaled |
| 603 | -- type polynomial, `R s` and a Frobenius generate all matrices, and a power of `s` acts by a |
| 604 | -- scalar of large order. |
| 605 | obtain ⟨l, hl⟩ : ∃ l : Fin 2, D.levelPrime l ≠ ℓ := D.levelPrime_injective.exists_ne ℓ |
| 606 | obtain ⟨i, hli, h_primitive_or_one⟩ := hc.exists_primitive_or_one l |
| 607 | obtain ⟨j, hj, h_tamePart⟩ : |
| 608 | ∃ j ∈ Set.Icc 1 D.m, O.tamePart = D.chiMLocal ^ (j : ℤ) * ϑ.tamePart := |
| 609 | hc.exists_tamePart_eq_chiMLocal_zpow_mul |
| 610 | -- the roots of the scaled type polynomial have the common `e`-th power `y`, of large order |
| 611 | obtain ⟨e, y, hy⟩ := hc.exists_isCommonRootPower (ℓ := ℓ) h_primitive_or_one h_tamePart |
| 612 | let w : FinPlace D.E := O.chosenPlace i |
| 613 | obtain ⟨A, hA⟩ : ∃ A : ClosurePlace, IsPlaceOver A w := ⟨_, w.isPlaceOver_placeOver⟩ |
| 614 | have hwℓ : w ∉ placesDividing D.E ℓ := |
| 615 | fun hw ↦ hl ((w.natCast_prime_mem_iff_eq hli).mp hw) |
| 616 | have hwM : w ∈ placesAboveM D := ⟨l, hli⟩ |
| 617 | have h_val : A.valuation ℓ = 1 := hA.valuation_natCast_eq_one_iff.2 hwℓ |
| 618 | -- `τ ξ` is an eigenvalue of `R s` |
| 619 | obtain ⟨s, τ, hτ, h_kill, ξ, hξ, h_eigen, h_ord⟩ := hR.exists_inertia_isRoot_charpoly hc hA h_val |
| 620 | have h_fin : IsFiniteTypeAt R A := (hR.local_conditions w (by simp) hA).1 |
| 621 | have h_fix : R (s ^ w.q ^ card r) = R s := by |
| 622 | have h_aeval : aeval (R s).val (X ^ w.q ^ card r - X : (PadicAlgCl ℓ)[X]) = 0 := by |
| 623 | refine h_kill _ fun η hη ↦ ?_ |
| 624 | rw [IsRoot, eval_sub, eval_X_pow, ← map_pow, hy.pow_q_pow_card_eq η hη, eval_X, sub_self] |
| 625 | simpa only [map_pow, Units.ext_iff, Units.val_pow_eq_pow_val, aeval_sub, aeval_X, |
| 626 | sub_eq_zero] using h_aeval |
| 627 | have h_dist (a : ℕ) (ha : a < card r) (b : ℕ) (hb : b < card r) (hab : a ≠ b) : |
| 628 | ‖τ ξ ^ w.q ^ a - τ ξ ^ w.q ^ b‖ = 1 := |
| 629 | norm_pow_sub_pow_eq_one h_ord _ _ fun u hu ↦ |
| 630 | hab (hy.injOn_pow ξ hξ u ha hb (hτ (by simpa only [map_pow] using hu))) |
| 631 | obtain ⟨-, N, -, hN, hRN, -⟩ := hR.exists_map_pow_eq_one_and_ellVal_det_le hc hwM hwℓ hA |
| 632 | have h_large := eventually_span_eq_top_and_exists_scalar_of_tame_pair hli hA h_val h_fin hN hRN |
| 633 | h_ord h_eigen h_fix h_dist |
| 634 | -- the scalar is `R (s ^ e) = τ y`, as `X ^ e - τ y` kills `R s` |
| 635 | have h_scalar : (R ↑(s ^ e)).val = τ y • 1 := by |
| 636 | have h_aeval : aeval (R s).val (X ^ e - C (τ y) : (PadicAlgCl ℓ)[X]) = 0 := |
| 637 | h_kill _ fun η hη ↦ by |
| 638 | simp only [IsRoot.def, eval_sub, eval_pow, eval_X, ← map_pow, hy.pow_eq η hη, eval_C, |
| 639 | sub_self] |
| 640 | simpa only [SubmonoidClass.coe_pow, map_pow, Units.val_pow_eq_pow_val, Algebra.smul_def, |
| 641 | mul_one, aeval_sub, aeval_X, aeval_C, sub_eq_zero] using h_aeval |
| 642 | -- `y ^ (ℓ ^ a * t)` does not have `ℓ`-power order, as `q₂` does not divide `j * ℓ ^ b * t` |
| 643 | have h_unit (a t : ℕ) (ht : t ∈ Set.Icc 1 (4 * card r + 2)) : |
| 644 | ‖τ y ^ (ℓ ^ a * t) - 1‖ = 1 := by |
| 645 | have ht_le : t ∈ Set.Icc 1 (4 * D.r + 2) := ⟨ht.1, by grw [ht.2, hc.rank_le.1]⟩ |
| 646 | have h_ne (u : ℕ) : y ^ (ℓ ^ (a + u) * t) ≠ 1 := |
| 647 | fun hu ↦ not_q₂_dvd_mul_pow_mul hj ht_le (a + u) (hy.dvd_of_pow_eq_one _ hu) |
| 648 | have hτy : τ y = τ ξ ^ e := by rw [← map_pow, hy.pow_eq ξ hξ] |
| 649 | have h_norm : ‖τ ξ ^ (e * ℓ ^ a * t) - τ ξ ^ 0‖ = 1 := by |
| 650 | refine norm_pow_sub_pow_eq_one h_ord _ _ fun u hu ↦ h_ne u (hτ ?_) |
| 651 | simpa only [pow_add, pow_mul, pow_right_comm, map_pow, hτy, map_one, pow_zero, |
| 652 | one_pow] using hu |
| 653 | simpa only [hτy, pow_mul, pow_zero] using h_norm |
| 654 | have h_inertia : (↑(s ^ e) : AbsGal D) ∈ |
| 655 | inertiaAbove (placesAboveM D \ placesDividing D.E ℓ) := |
| 656 | ⟨w, ⟨hwM, hwℓ⟩, A, hA, (s ^ e).prop⟩ |
| 657 | exact |
| 658 | { hR.toIsConjSelfDualOfLevel, hJ with |
| 659 | inertia_above_M := fun v ⟨hvM, hvℓ⟩ B ↦ |
| 660 | hR.exists_map_pow_eq_one_and_ellVal_det_le hc hvM hvℓ |
| 661 | span_eq_top := h_large.mono fun 𝒪 h𝒪 u hu ↦ (h𝒪 u hu).1 |
| 662 | exists_scalar_cyclotomicChar := h_large.mono fun 𝒪 h𝒪 u hu ↦ (h𝒪 u hu).2 |
| 663 | exists_scalar_inertia := ⟨↑(s ^ e), h_inertia, τ y, h_scalar, h_unit⟩ } |
| 664 | |
| 665 | /-- Let `ϑ` be a twist, that is, a tame Hecke character with tame part `ϑ.tamePart` non-trivial on |
| 666 | its set of places `ϑ.Q`, and let `ϑ.invAvatar` be the `ℓ`-adic avatar of `ϑ⁻¹`, the Galois character |
| 667 | with values in `ℚ̄_ℓ` obtained through the fixed isomorphism `ιℓ : ℂ ≅ ℚ̄_ℓ`. Let `A` be a place of |
| 668 | `Ω = ℚ̄` not over `ℓ`, let `w` be a place in `ϑ.Q` different from its conjugate `star w`, with |
| 669 | residue field `k` of order `q`, and let `T = faithfulChar k` be the fixed injective character of the |
| 670 | algebraic closure of `k`. Let `s` have tame exponent `a` of level `f` at `A` over `w`: `s` is in |
| 671 | inertia, and `T` sends the residue of `s z / z` to `exp (2πi / (q ^ f - 1)) ^ a` for a |
| 672 | `(q ^ f - 1)`-th root `z` of a uniformiser. Then `ϑ.invAvatar` sends `s` to `ιℓ ((T ^ a) x⁻¹)`, |
| 673 | where `x` is the unit of `k` that corresponds to the character `ϑ.tamePart w` under the isomorphism |
| 674 | `charName T`. -/ |
| 675 | lemma invAvatar_eq_of_isTameExponent {w : FinPlace D.E} (hw : w ∈ ϑ.Q) (h_split : star w ≠ w) |
| 676 | {A : ClosurePlace} (h_val : A.valuation ℓ = 1) {s : AbsGal D} {f a : ℕ} |
| 677 | (ha : IsTameExponent w A (faithfulChar (ResField w)) f s a) : |
| 678 | ϑ.invAvatar (ℓ := ℓ) s = ιℓ ((faithfulChar (ResField w) ^ a) |
| 679 | (algebraMap (ResField w) (AlgebraicClosure (ResField w)) |
| 680 | (charName (faithfulChar (ResField w)) (ϑ.tamePart w)).val)⁻¹) := by |
| 681 | have h_star : ϑ.tamePart⁻¹ (star w) = 1 := by |
| 682 | simp only [Pi.inv_apply, ϑ.tamePart_eq_one _ (ϑ.star_notMem w hw), inv_one] |
| 683 | -- the avatar, as a one-dimensional representation, is labelled by `X - x⁻¹` at `w` |
| 684 | have h_kill : aeval |
| 685 | ((GeneralLinearGroup.scalar (Fin 1)).comp |
| 686 | (ϑ.hasWeight.inv.toAlgebraic 0 0).avatar s).val |
| 687 | ((((X - C (charName (faithfulChar (ResField w)) (ϑ.tamePart⁻¹ w)).val).aroots |
| 688 | (AlgebraicClosure (ResField w))).map fun x ↦ |
| 689 | X - C (ιℓ ((faithfulChar (ResField w) ^ a) x))).prod : (PadicAlgCl ℓ)[X]) = 0 := |
| 690 | (isLabeledAt_avatar (ℓ := ℓ) ϑ.hasWeight.inv 0 0 h_star h_split ha).1 h_val |
| 691 | -- on `1 × 1` scalar matrices this says that the avatar takes the value `ιℓ ((T ^ a) x⁻¹)` |
| 692 | simpa only [Data.TameChar.invAvatar, neg_zero, MonoidHom.coe_comp, Function.comp_apply, |
| 693 | Units.coeHom_apply, GeneralLinearGroup.coe_scalar, scalar_apply, Pi.inv_apply, map_inv, |
| 694 | Units.val_inv_eq_inv_val, aroots_X_sub_C, map_inv₀, map_singleton, prod_singleton, aeval_sub, |
| 695 | aeval_X, aeval_C, algebraMap_eq_diagonal, diagonal_sub, Pi.algebraMap_apply, |
| 696 | Algebra.algebraMap_self, RingHom.id_apply, diagonal_eq_zero, funext_iff, Pi.zero_apply, |
| 697 | sub_eq_zero, forall_const] using h_kill |
| 698 | |
| 699 | /-- Each place `O.twistPlace i` of the twist of the pair `O` differs from its conjugate. -/ |
| 700 | lemma isSplit_twistPlace (O : DescentPair D.E r n) (i : O.TwistIndex) : (O.twistPlace i).IsSplit := |
| 701 | O.apart.star_ne (.inr i) (.inr i) |
| 702 | |
| 703 | variable (O) in |
| 704 | /-- The function `f` on the finite adelic unitary group `Gf D.E n`, with values in the coordinates |
| 705 | `WeylIndex n O.columnCount → ℂ` of the Weyl module of weight `O.columnCount`, has the parahoric type |
| 706 | (`New.HasParahoricType`) of the pair `O` at `w = O.twistPlace i`, a place of the twist of `O`. |
| 707 | Block `0` is empty; block `1` is the complement of the range of the embedding `O.incl : r ↪ n`, with |
| 708 | the trivial character; block `2` is that range, with the character `(O.tamePart w)⁻¹`. So an |
| 709 | integral matrix at `w` whose reduction is block triangular multiplies `f` by `(O.tamePart w)⁻¹` of |
| 710 | the determinant of block `2` of the reduction. -/ |
| 711 | def HasTwistParahoricType [DecidableEq n] (f : Gf D.E n → WeylIndex n O.columnCount → ℂ) |
| 712 | (i : O.TwistIndex) : Prop := |
| 713 | HasParahoricType f (isSplit_twistPlace O i) (ρ := Empty) Function.Embedding.ofIsEmpty |
| 714 | (fun a : n ↦ if a ∈ Set.range O.incl then 2 else 1) 1 ![1, (O.tamePart (O.twistPlace i))⁻¹] |
| 715 | fun _ : GL Empty (ResField (O.twistPlace i)) ↦ f |
| 716 | |
| 717 | omit [PadicIso ℓ] in |
| 718 | /-- If `ϑ.Q` is auxiliary (`IsAuxiliary`) for the places dividing `ℓ p₀ p₁ N` (`badPlaces D ℓ`), |
| 719 | then no place `w` of `ϑ.Q` or of its conjugate divides `ℓ`, that is, `ℓ ∉ w.asIdeal`. -/ |
| 720 | lemma natCast_notMem_of_mem_conjClosure (hQ : IsAuxiliary (badPlaces D ℓ) ϑ.Q) {w : FinPlace D.E} |
| 721 | (hwQ : w ∈ Set.conjClosure ϑ.Q) : (ℓ : 𝓞 D.E) ∉ w.asIdeal := by |
| 722 | have h_bad {v : FinPlace D.E} (hv : v ∈ placesDividing D.E ℓ) : v ∉ ϑ.Q := |
| 723 | fun hvQ ↦ (hQ v hvQ).1 (placesDividing_union_subset_badPlaces D ℓ (.inl hv)) |
| 724 | exact fun hw ↦ hwQ.elim (h_bad hw) (h_bad (star_mem_placesDividing.2 hw)) |
| 725 | |
| 726 | /-- In a lift setting `hc` for `O` and `ϑ`, a nonzero form `f` with the parahoric type of `O` at a |
| 727 | twist place `w = O.twistPlace i ∈ ϑ.Q` admits a product label with trivial block `0` and characters |
| 728 | `![1, (ϑ.tamePart w)⁻¹]`. -/ |
| 729 | private lemma hasProductLabel_of_hasTwistParahoricType [DecidableEq n] (hc : IsLiftSetting O c ϑ) |
| 730 | {f : (stdSpace D.E n).forms (O.columnCount, O.detExp)} (hf : f.val ≠ 0) {i : O.TwistIndex} |
| 731 | (h_type : HasTwistParahoricType O f.val i) (hw : O.twistPlace i ∈ ϑ.Q) : |
| 732 | ∃ t : Fin 2 → ℕ, |
| 733 | HasProductLabel f.val (isSplit_twistPlace O i) (faithfulChar (ResField (O.twistPlace i))) |
| 734 | (card Empty) 1 ![1, (ϑ.tamePart (O.twistPlace i))⁻¹] t := by |
| 735 | -- `D.chiMLocal` is trivial at `Q`, so there `O.tamePart = D.chiMLocal ^ j * ϑ.tamePart` is |
| 736 | -- `ϑ.tamePart` |
| 737 | have h_tamePart : O.tamePart (O.twistPlace i) = ϑ.tamePart (O.twistPlace i) := by |
| 738 | obtain ⟨j, -, hj⟩ := hc.exists_tamePart_eq_chiMLocal_zpow_mul |
| 739 | obtain ⟨-, h_not_chosen, -⟩ := D.normQ_mem_and_notMem_of_mem_Q _ (.inl hw) |
| 740 | simp only [hj, zpow_natCast, Pi.mul_apply, Pi.pow_apply, |
| 741 | D.chiMLocal_eq_one_of_not_isChosen h_not_chosen, one_pow, one_mul] |
| 742 | -- block `0` is empty, so its label is `1`, whose idempotent does not kill `f` |
| 743 | have h_idem : (1 : Representation ℂ _ _).asAlgebraHom |
| 744 | (labelIdem (k := ResField (O.twistPlace i)) Empty 1) f.val ≠ 0 := by |
| 745 | have h_one : labelIdem (k := ResField (O.twistPlace i)) Empty 1 = 1 := by |
| 746 | ext |
| 747 | simp [labelIdem, IsLabel, Hall.evalGL, MonoidAlgebra.one_def, |
| 748 | Subsingleton.elim (default : GL Empty (ResField (O.twistPlace i))) 1] |
| 749 | simpa only [h_one, map_one, one_apply_eq_self] using hf |
| 750 | have h_lab := h_type.hasProductLabel 1 Function.injective_id h_idem |
| 751 | (by |
| 752 | simp only [Nat.succ_eq_add_one, Nat.reduceAdd, h_tamePart, Matrix.injective_pair_iff_ne, |
| 753 | ne_eq, one_eq_inv, hw, ϑ.tamePart_ne_one, not_false_eq_true]) (by simp) |
| 754 | exact ⟨_, by simpa only [scaleRoots_one, map_one, Units.val_one, h_tamePart] using h_lab⟩ |
| 755 | |
| 756 | /-- The `w ∈ ϑ.Q` case of `isFiniteTypeAt_and_polyKillsAt_of_mem_conjClosure`: at a place `A` |
| 757 | above `w ∈ ϑ.Q`, `R` has finite type and `(X - ϑ.invAvatar s) * (X - 1)` kills each `s` in the |
| 758 | inertia group of `A`. -/ |
| 759 | private lemma isFiniteTypeAt_and_polyKillsAt_of_mem_Q [DecidableEq n] [Nonempty n] |
| 760 | (hc : IsLiftSetting O c ϑ) (hQ : IsAuxiliary (badPlaces D ℓ) ϑ.Q) |
| 761 | {f : (stdSpace D.E n).forms (O.columnCount, O.detExp)} {H : FinPlace D.E → ℂ[X]} |
| 762 | {R : Gal(Ω/D.E) →* GL n (PadicAlgCl ℓ)} (he : IsEigenform f.val H) (hR : Attached H R) |
| 763 | (h_type : ∀ i : O.TwistIndex, HasTwistParahoricType O f.val i) {w : FinPlace D.E} |
| 764 | (hw : w ∈ ϑ.Q) {A : ClosurePlace} (hA : IsPlaceOver A w) : |
| 765 | IsFiniteTypeAt R A ∧ |
| 766 | ∀ s ∈ inertiaGroup (AbsGal D) A, PolyKillsAt R A s ((X - C (ϑ.invAvatar s)) * (X - 1)) := by |
| 767 | obtain ⟨i, rfl⟩ : ∃ i : O.TwistIndex, O.twistPlace i = w := by |
| 768 | rw [hc.toLevelPlaces_eq] |
| 769 | exact ⟨⟨w, hw⟩, rfl⟩ |
| 770 | have h_val : A.valuation ℓ = 1 := |
| 771 | hA.valuation_natCast_eq_one_iff.2 (natCast_notMem_of_mem_conjClosure hQ (.inl hw)) |
| 772 | have h_split : star (O.twistPlace i) ≠ O.twistPlace i := isSplit_twistPlace O i |
| 773 | obtain ⟨t, h_lab⟩ := hasProductLabel_of_hasTwistParahoricType hc he.1 (h_type i) hw |
| 774 | obtain ⟨h_fin, -, h_labelled⟩ := hR.isLabelledAt f.prop he h_lab hA |
| 775 | refine ⟨h_fin, fun s hs ↦ ?_⟩ |
| 776 | -- with `a` the tame exponent of `s`, the roots of the label give the eigenvalues of `s` |
| 777 | obtain ⟨a, ha, -⟩ := |
| 778 | (GaloisRep.exists_isTameExponent (faithfulChar (ResField (O.twistPlace i))) hA (card Empty)).2 |
| 779 | s hs |
| 780 | refine ⟨fun _ ↦ h_fin.aeval_eq_zero_of_roots h_val hs (h_labelled ha) _ ?_, fun {L} ↦ ?_⟩ |
| 781 | · -- the roots of the label are `1` and the name of `(ϑ.tamePart)⁻¹`, whose images are the roots |
| 782 | -- of the quadratic |
| 783 | rw [invAvatar_eq_of_isTameExponent hw h_split h_val ha] |
| 784 | simp only [one_mul, Polynomial.prod_map_aroots_prod_X_sub_C_pow] |
| 785 | simp +contextual [Fin.prod_univ_two, IsRoot.def, pow_eq_zero_iff', or_imp] |
| 786 | · -- `A` is not above `ℓ`, so no embedding in `ℚ̄_ℓ` induces it |
| 787 | obtain ⟨⟨h_comap, -⟩, -⟩ := L.inducesPlace |
| 788 | rw [← h_comap] at h_val |
| 789 | exact absurd h_val (valuation_comap_intQpBar_lt_one L.e).ne |
| 790 | |
| 791 | /-- Let `c` be a lift setting (`IsLiftSetting`) for the descent pair `O` and `ϑ`: the places |
| 792 | `O.twistPlace i` are those of `ϑ.Q`, and `O.tamePart` agrees with `ϑ.tamePart` there. Let `ϑ.Q` be |
| 793 | auxiliary for the places dividing `ℓ * D.levelPrime 0 * D.levelPrime 1 * D.N` (`badPlaces D ℓ`): its |
| 794 | places have prime norm, and neither they nor their conjugates are bad. Let `R` be attached |
| 795 | (`Attached`) to the Hecke polynomials `H` of an eigenform `f`. Suppose that at each `O.twistPlace i` |
| 796 | the form `f` has the parahoric type of `O`: block triangular integral matrices act through |
| 797 | `O.tamePart⁻¹` of the determinant of the block indexed by `r`. Let `A` lie over a place `w` in |
| 798 | `Set.conjClosure ϑ.Q`. Then `R` has finite type at `A`. Also `(X - a s) (X - 1)` kills each `s` in |
| 799 | the inertia group of `A`, where `a = ϑ.invAvatar` is the `ℓ`-adic avatar of `ϑ⁻¹`. -/ |
| 800 | lemma isFiniteTypeAt_and_polyKillsAt_of_mem_conjClosure [DecidableEq n] [Nonempty n] |
| 801 | (hc : IsLiftSetting O c ϑ) (hQ : IsAuxiliary (badPlaces D ℓ) ϑ.Q) |
| 802 | {f : (stdSpace D.E n).forms (O.columnCount, O.detExp)} {H : FinPlace D.E → ℂ[X]} |
| 803 | {R : Gal(Ω/D.E) →* GL n (PadicAlgCl ℓ)} (he : IsEigenform f.val H) (hR : Attached H R) |
| 804 | (h_type : ∀ i : O.TwistIndex, HasTwistParahoricType O f.val i) {w : FinPlace D.E} |
| 805 | (hwQ : w ∈ Set.conjClosure ϑ.Q) {A : ClosurePlace} (hA : IsPlaceOver A w) : |
| 806 | IsFiniteTypeAt R A ∧ |
| 807 | ∀ s ∈ inertiaGroup (AbsGal D) A, PolyKillsAt R A s ((X - C (ϑ.invAvatar s)) * (X - 1)) := by |
| 808 | -- At a place of `Q` inertia acts through `1` and the tame character of `ϑ.tamePart⁻¹`; duality |
| 809 | -- carries both clauses to the conjugate places. |
| 810 | rcases hwQ with hw | hw_star |
| 811 | · exact isFiniteTypeAt_and_polyKillsAt_of_mem_Q hc hQ he hR h_type hw hA |
| 812 | · obtain ⟨h_fin_conj, h_poly⟩ := |
| 813 | isFiniteTypeAt_and_polyKillsAt_of_mem_Q hc hQ he hR h_type hw_star hA.conjPlace_star |
| 814 | obtain ⟨h_fin, -, h_dual⟩ := |
| 815 | isFiniteTypeAt_and_hasJumpsAt_of_conjPlace (isConjSelfDual_of_attached he hR) h_fin_conj |
| 816 | refine ⟨h_fin, fun s hs ↦ ?_⟩ |
| 817 | have hs_conj : conjGal s⁻¹ ∈ inertiaGroup (AbsGal D) (conjPlace A) := by |
| 818 | simpa only [map_inv, inv_mem_iff, conjGal_mem_inertiaGroup_iff] using hs |
| 819 | have h_av : ϑ.invAvatar (ℓ := ℓ) (conjGal s⁻¹) = ϑ.invAvatar s := by |
| 820 | simp only [Data.TameChar.invAvatar, neg_zero, map_inv, MonoidHom.coe_comp, |
| 821 | Function.comp_apply, eq_inv_of_mul_eq_one_left (avatar_conjGal_mul_avatar _ 0 0 s), inv_inv, |
| 822 | Units.coeHom_apply] |
| 823 | have h_kill : PolyKillsAt R (conjPlace A) (conjGal s⁻¹) |
| 824 | ((X - C (ϑ.invAvatar s)) * (X - 1)) := by |
| 825 | rw [← h_av] |
| 826 | exact h_poly _ hs_conj |
| 827 | simpa only [map_inv, inv_inv, conjGal_conjGal] using h_dual _ hs_conj _ h_kill |
| 828 | |
| 829 | /-- Let `c` be a lift setting (`IsLiftSetting`) for the descent pair `O` and the twist `ϑ`: the |
| 830 | places `O.twistPlace i` are those of `ϑ.Q`. Let `ϑ.Q` be auxiliary for the set `badPlaces D ℓ` of |
| 831 | places dividing `ℓ * D.M * D.N`: its places have prime norm, and they and their conjugates are not |
| 832 | bad. Let `f ≠ 0` have Hecke polynomial `H w` at almost all places `w` of prime norm (`IsEigenform`), |
| 833 | and the parahoric type of `O` at each `O.twistPlace i`: block triangular integral matrices act |
| 834 | through `O.tamePart⁻¹` of the determinant of the block indexed by `r`. Let `R` be attached to `H`: |
| 835 | for each `η > 0` and most Frobenius elements, the coefficients of the characteristic polynomial are |
| 836 | within `η` of those of `ιℓ (H w)`. Let `u = normalizedRep O R` be the twist of `R` by |
| 837 | `normalizingAvatar O`, the avatar of a Hecke character made from the inverse of the character |
| 838 | `O.charW` of the hermitian space of `O`. Then `(u g - a g) (u g - 1) = 0` for `g` in inertia above |
| 839 | `ϑ.Q` and its conjugates, where `a = ϑ.invAvatar` is the `ℓ`-adic avatar of `ϑ⁻¹`. -/ |
| 840 | lemma normalizedRep_quadratic_on_inertia [DecidableEq n] [Nonempty n] (hc : IsLiftSetting O c ϑ) |
| 841 | (hQ : IsAuxiliary (badPlaces D ℓ) ϑ.Q) {f : (stdSpace D.E n).forms (O.columnCount, O.detExp)} |
| 842 | {H : FinPlace D.E → ℂ[X]} {R : Gal(Ω/D.E) →* GL n (PadicAlgCl ℓ)} (he : IsEigenform f.val H) |
| 843 | (hR : Attached H R) (h_type : ∀ i : O.TwistIndex, HasTwistParahoricType O f.val i) : |
| 844 | ∀ g ∈ inertiaAbove (Set.conjClosure ϑ.Q), |
| 845 | ((normalizedRep O R g).val - ϑ.invAvatar g • 1) * ((normalizedRep O R g).val - 1) = 0 := by |
| 846 | -- On inertia away from `ℓ` the normalising character is trivial, so it is enough that |
| 847 | -- `(X - ϑ.invAvatar s) * (X - 1)` kills `s` on `R`. |
| 848 | rintro s ⟨w, hwQ, A, hA, hs⟩ |
| 849 | have hℓ : (ℓ : 𝓞 D.E) ∉ w.asIdeal := natCast_notMem_of_mem_conjClosure hQ hwQ |
| 850 | obtain ⟨-, h_kill⟩ := isFiniteTypeAt_and_polyKillsAt_of_mem_conjClosure hc hQ he hR h_type hwQ hA |
| 851 | have h_aeval : aeval (R s).val ((X - C (ϑ.invAvatar s)) * (X - 1) : (PadicAlgCl ℓ)[X]) = 0 := |
| 852 | (h_kill s hs).1 (hA.valuation_natCast_eq_one_iff.2 hℓ) |
| 853 | simpa only [MonoidHom.mk'_apply, Units.val_smul, Units.smul_def, |
| 854 | normalizingAvatar_eq_of_isFrob_inv hA hℓ 0 (inv_mem hs), map_inv₀, pow_zero, Algebra.smul_def, |
| 855 | map_one, one_mul, mul_one, map_mul, aeval_sub, aeval_X, aeval_C] using h_aeval |
| 856 | |
| 857 | end New.Selmer |