Riemann hypothesis: the Lean proof, cleaned up together
The 2026 Lean proof of the Riemann hypothesis and GRH, machine-checked by others, not refereed, no word from Clay; cleaned up together: more readable, faster to build, the theorems unchanged

| 1 | module |
| 2 | |
| 3 | import Mathlib.RingTheory.Etale.Weakly |
| 4 | import Mathlib.RingTheory.Finiteness.ModuleFinitePresentation |
| 5 | public import Lib.GaloisRep.BaseChange.PrimeDegreeTransfer |
| 6 | public import Lib.GaloisRep.LocalGlobal.LocalFormTypes |
| 7 | import Lib.Adelic.Landherr |
| 8 | import Lib.GaloisRep.BaseChange.StepMatchingPairs |
| 9 | import Lib.GaloisRep.Hilbert90.TameActions |
| 10 | import Lib.GaloisRep.Hilbert90.UnitaryGroups |
| 11 | import Lib.General.LinearAlgebra.Eigenvalues |
| 12 | import Lib.General.LinearAlgebra.MatrixPolynomials |
| 13 | import Lib.LocalGL.Iwahori.HeckeDegrees |
| 14 | import Lib.LocalGL.Iwahori.QuadraticRelation |
| 15 | import Lib.PadicComparison.Descent.TestCategory |
| 16 | |
| 17 | /-! |
| 18 | # Hilbert 90 for the pro-p Iwahori group and base change of Iwahori eigenforms |
| 19 | |
| 20 | `F` is a valued field with compact ring of integers, and `σ` is an isometric endomorphism with |
| 21 | `σ ^ p = 1`. `New.proIwahori` is the pro-`p` Iwahori subgroup of `GL n F`, the matrices that are |
| 22 | upper unitriangular modulo the maximal ideal. `New.twistedNorm τ p δ = δ * τ δ * ⋯ * τ ^ (p - 1) δ` |
| 23 | is the twisted norm. The file proves a Hilbert 90 statement and a matching of dominant double cosets |
| 24 | for this group. These local results give matching local data at a place with exactly one place above |
| 25 | it. |
| 26 | |
| 27 | ## Main definitions and results |
| 28 | |
| 29 | * `New.exists_coboundary_proIwahori`: if some integer of `F` has `σ`-trace `1`, an element of |
| 30 | `New.proIwahori` of norm `1` is a coboundary `t * (σ t)⁻¹` with `t` in `New.proIwahori`. |
| 31 | * `New.proIwahori_doubleCoset_match`: the double cosets of a strictly dominant diagonal matrix over |
| 32 | `F` and of its norm over the fixed field correspond under `γ ↦ z γ` for a polynomial `z` |
| 33 | (`New.IsIwahoriMatchingPolynomial`). |
| 34 | * `New.isLocalMatching_proIwahori`: the indicator functions of the double cosets `K N(t) K` at `w` |
| 35 | and `K' t K'` at `u` are matching local data (`New.IsLocalMatching`). It globalises |
| 36 | `New.proIwahori_doubleCoset_match` and `New.exists_coboundary_proIwahori`. |
| 37 | * `New.exists_baseChange_isIwahoriEigen`: feeding these into |
| 38 | `New.exists_isWeakBaseChange_of_matching` gives a base change whose eigencharacter at `u` is that |
| 39 | of `f` at `w` composed with `N`. |
| 40 | |
| 41 | Notions from other files: |
| 42 | * `New.IsStep E' μ`: a step `E'/E`. The field `E` contains a primitive `5040`-th root of unity, |
| 43 | `E'` is a CM field Galois over `E` of prime degree with an integer of trace `1`, and `μ` is the |
| 44 | character of the finite ideles of `E` that goes with the extension. |
| 45 | * `New.locIdele`: the homomorphism that sends `x` in the units of the completion at `v` to the |
| 46 | finite idele with component `x` at `v` and `1` elsewhere. |
| 47 | * `New.iwahoriDoubleCoset t`: the double coset `K t K` of the diagonal matrix `t`, where `K` is |
| 48 | `New.proIwahori`. |
| 49 | * `New.diagGL t`: the diagonal matrix with the units `t i` on the diagonal, as an element of `GL`. |
| 50 | |
| 51 | ## Relation to the literature |
| 52 | |
| 53 | Known; see `Lib.GaloisRep.BaseChange.PrimeDegreeTransfer` for sources. |
| 54 | -/ |
| 55 | |
| 56 | @[expose] public section |
| 57 | |
| 58 | namespace New |
| 59 | |
| 60 | /-! |
| 61 | ## Hilbert 90 and matching of dominant double cosets |
| 62 | |
| 63 | The matching uses that such a double coset is `σ`-conjugate into the torus |
| 64 | (`New.exists_inv_mul_mul_map_eq_diagGL_mul`) and that the eigenvalues are told apart by their |
| 65 | valuations. |
| 66 | -/ |
| 67 | |
| 68 | section IwahoriMatching |
| 69 | |
| 70 | open Matrix WithZero Valued Polynomial GeneralLinearGroup DoubleCoset Finset Function |
| 71 | |
| 72 | variable {F F' : Type*} |
| 73 | {N : ℕ} [Field F] [Valued F ℤᵐ⁰] [Field F'] [Valued F' ℤᵐ⁰] |
| 74 | [CompactSpace 𝒪[F']] {σ : F →+* F} {p : ℕ} |
| 75 | |
| 76 | /-- Let `σ` be an endomorphism of `F` that keeps the valuation. Then `g ∈ GL N F` lies in the |
| 77 | pro-`p` Iwahori subgroup `New.proIwahori` exactly when `σ g`, with `σ` applied to the entries, |
| 78 | does. -/ |
| 79 | lemma map_mem_proIwahori_iff_of_isometry (hv : ∀ x : F, v (σ x) = v x) {g : GL (Fin N) F} : |
| 80 | g.map σ ∈ proIwahori ↔ g ∈ proIwahori := |
| 81 | map_mem_proIwahori_iff_of_isEquiv (.of_eq (Valuation.ext hv : v.comap σ = v)) |
| 82 | |
| 83 | lemma v_ringHom_pow_apply (hv : ∀ x : F, v (σ x) = v x) (i : ℕ) (x : F) : |
| 84 | v ((σ ^ i) x) = v x := by |
| 85 | rw [RingHom.coe_pow] |
| 86 | induction i with |
| 87 | | zero => rfl |
| 88 | | succ i ih => rw [iterate_succ_apply', hv, ih] |
| 89 | |
| 90 | /-- Hilbert 90 for the pro-`p` Iwahori subgroup `New.proIwahori` of `GL N F`. Let `σ` be an |
| 91 | endomorphism of `F` that keeps the valuation, with `σ ^ p = 1`, and let `c` be an integer of `F` |
| 92 | with trace `∑ i < p, σ ^ i c = 1`. If `s ∈ proIwahori` has twisted norm |
| 93 | `s * σ s * ⋯ * σ ^ (p - 1) s = 1` (`New.twistedNorm`, with `σ` acting on the entries), then |
| 94 | `s * σ t = t` for some `t ∈ proIwahori`. -/ |
| 95 | lemma exists_coboundary_proIwahori (hv : ∀ x : F, v (σ x) = v x) (hσ : σ ^ p = 1) {c : F} |
| 96 | (hc_int : v c ≤ 1) (hc_trace : ∑ i ∈ range p, (σ ^ i) c = 1) |
| 97 | {s : GL (Fin N) F} (hs_mem : s ∈ proIwahori) (hs_norm : twistedNorm (.map σ) p s = 1) : |
| 98 | ∃ t ∈ proIwahori, s * t.map σ = t := by |
| 99 | -- Take `t = ∑ l < p, σ ^ l c • n l`, where `n l` is the partial twisted norm of `s` of length |
| 100 | -- `l`. Every `n l` lies in `proIwahori`, which gives three conditions on its entries. |
| 101 | have hn (l : ℕ) := mem_proIwahori.mp <| twistedNorm_mem (GeneralLinearGroup.map σ) l |
| 102 | (fun _ ↦ (map_mem_proIwahori_iff_of_isometry hv).mpr) hs_mem |
| 103 | let a (l : ℕ) : Matrix (Fin N) (Fin N) F := (σ ^ l) c • (twistedNorm (.map σ) l s).val |
| 104 | let M := ∑ l ∈ range p, a l |
| 105 | have hc_pow (l : ℕ) : v ((σ ^ l) c) ≤ 1 := by rwa [v_ringHom_pow_apply hv] |
| 106 | have hM (i j : Fin N) : M i j = ∑ l ∈ range p, (σ ^ l) c * twistedNorm (.map σ) l s i j := by |
| 107 | simp [M, a, Matrix.sum_apply] |
| 108 | -- Modulo the maximal ideal `M` is upper triangular, with diagonal entries `∑ σ ^ l c = 1`. |
| 109 | obtain ⟨t, ht, htM⟩ := exists_proIwahori_coe_eq_of_residue_unitriangular M |
| 110 | (fun i j ↦ hM i j ▸ v.map_sum_le fun l _ ↦ |
| 111 | (v.map_mul _ _).trans_le (mul_le_one' (hc_pow l) ((hn l).1 i j))) |
| 112 | (fun i j hij ↦ hM i j ▸ v.map_sum_lt one_ne_zero fun l _ ↦ |
| 113 | (v.map_mul _ _).trans_lt (mul_lt_of_le_one_of_lt (hc_pow l) ((hn l).2.1 i j hij))) |
| 114 | (fun i ↦ by |
| 115 | rw [show M i i - 1 = ∑ l ∈ range p, (σ ^ l) c * (twistedNorm (.map σ) l s i i - 1) by |
| 116 | simp [hM, mul_sub_one, hc_trace, -RingHom.coe_pow]] |
| 117 | exact v.map_sum_lt one_ne_zero fun l _ ↦ |
| 118 | (v.map_mul _ _).trans_lt (mul_lt_of_le_one_of_lt (hc_pow l) ((hn l).2.2 i))) |
| 119 | -- The map `τ : m ↦ s * σ m` sends `a l` to `a (l + 1)` and `a p = a 0`, so `τ` fixes `M`. |
| 120 | let τ : Matrix (Fin N) (Fin N) F →+ Matrix (Fin N) (Fin N) F := |
| 121 | (AddMonoidHom.mulLeft s.val).comp σ.mapMatrix.toAddMonoidHom |
| 122 | have h_period : a p = a 0 := by |
| 123 | simp only [a, hσ, hs_norm] |
| 124 | simp [twistedNorm] |
| 125 | refine ⟨t, ht, Units.ext ?_⟩ |
| 126 | change τ t.val = t.val |
| 127 | rw [htM, fixed_sum τ a h_period fun l ↦ by |
| 128 | simp [a, τ, pow_succ', twistedNorm_succ', map_smul', -RingHom.coe_pow]] |
| 129 | |
| 130 | /-- Let `σ` be a continuous endomorphism of `F` that keeps the valuation, with `σ ^ p = 1` for some |
| 131 | `p > 0`, and let `t` be diagonal with `v (t i)` strictly increasing. Let `K` be the pro-`p` Iwahori |
| 132 | subgroup `New.proIwahori`. Every `δ` in the double coset `K t K` (`New.iwahoriDoubleCoset t`) is |
| 133 | `σ`-conjugate to `t * d` for some `d` diagonal in `K`: `k⁻¹ * δ * σ k = t * d` with `k ∈ K`. The |
| 134 | same `k` conjugates the twisted norm of `δ` (`New.twistedNorm`) to that of `t * d`. -/ |
| 135 | private lemma exists_twisted_conj_diag_and_twistedNorm_conj [CompactSpace 𝒪[F]] |
| 136 | (hv : ∀ x : F, v (σ x) = v x) |
| 137 | (hσ : σ ^ p = 1) (hp : 0 < p) (hσ_cont : Continuous σ) {t : Fin N → Fˣ} |
| 138 | (ht_mono : StrictMono fun i : Fin N ↦ v (t i).val) {δ : GL (Fin N) F} |
| 139 | (hδ : δ ∈ iwahoriDoubleCoset t) : |
| 140 | ∃ k ∈ proIwahori, ∃ d : Fin N → Fˣ, diagGL d ∈ proIwahori ∧ |
| 141 | k⁻¹ * δ * k.map σ = diagGL (t * d) ∧ |
| 142 | k⁻¹ * twistedNorm (.map σ) p δ * k = twistedNorm (.map σ) p (diagGL (t * d)) := by |
| 143 | -- As `σ ^ p = 1` with `p > 0`, `σ` acts on `GL N F` with period `p`, hence onto. |
| 144 | have h_iterate (i : ℕ) (k : GL (Fin N) F) : (map (n := Fin N) σ)^[i] k = k.map (σ ^ i) := by |
| 145 | induction i generalizing k with |
| 146 | | zero => rfl |
| 147 | | succ i ih => exact ih (k.map σ) |
| 148 | have h_period (k : GL (Fin N) F) : (map (n := Fin N) σ)^[p] k = k := by |
| 149 | simp [h_iterate, hσ, RingHom.one_def] |
| 150 | obtain ⟨k, hk, d, hd, h_conj⟩ := exists_inv_mul_mul_map_eq_diagGL_mul ht_mono σ hv hσ_cont |
| 151 | (fun k ↦ periodicPts_subset_range ⟨p, hp, h_period k⟩) hδ |
| 152 | refine ⟨k, hk, d, hd, h_conj, ?_⟩ |
| 153 | -- A twisted conjugation by `k`, which is fixed by `σ ^ p`, conjugates twisted norms. |
| 154 | rw [← h_conj, twistedNorm_conj (GeneralLinearGroup.map σ) p (h_period k)] |
| 155 | |
| 156 | /-- A point `x` of the double coset `K' s K'` over `F'` (`New.iwahoriDoubleCoset s`) is sent by `ι` |
| 157 | to a conjugate, by some `k ∈ New.proIwahori`, of the twisted norm (`New.twistedNorm`) of |
| 158 | `diagGL (t * d)` with `diagGL d ∈ New.proIwahori`. This uses that `ι s` is the twisted norm of |
| 159 | `diagGL t` (`hs_norm`) and that the `1`-units of `F'` are norms of `1`-units of `F` (`h_norms`). -/ |
| 160 | private lemma exists_conj_map_eq_twistedNorm_diagGL {ι : F' →+* F} (h_val : (v.comap ι).IsEquiv v) |
| 161 | (h_norms : ∀ x : F', v (ι x - 1) < 1 → ∃ y : Fˣ, |
| 162 | v (y.val - 1) < 1 ∧ ∏ i ∈ range p, (σ ^ i) y = ι x) |
| 163 | {t : Fin N → Fˣ} {s : Fin N → F'ˣ} (hs_mono : StrictMono fun i : Fin N ↦ v (s i).val) |
| 164 | (hs_norm : (diagGL s).map ι = twistedNorm (GeneralLinearGroup.map σ) p (diagGL t)) |
| 165 | {x : GL (Fin N) F'} (hx : x ∈ iwahoriDoubleCoset s) : |
| 166 | ∃ k ∈ proIwahori, ∃ d : Fin N → Fˣ, diagGL d ∈ proIwahori ∧ |
| 167 | k⁻¹ * x.map ι * k = twistedNorm (.map σ) p (diagGL (t * d)) := by |
| 168 | -- With the trivial twist, `x` is conjugate to `diagGL (s * e)` with `e` diagonal in `K'`. The |
| 169 | -- entries of `ι e` are norms of units `d i`, and then `ι (s * e)` is the twisted norm of |
| 170 | -- `diagGL (t * d)`. |
| 171 | obtain ⟨k, hk, e, he_mem, h_conj⟩ := |
| 172 | exists_inv_mul_mul_map_eq_diagGL_mul hs_mono (1 : F' →+* F') (by simp) continuous_id |
| 173 | surjective_id hx |
| 174 | have he_sub_one (i : Fin N) : v (ι (e i : F') - 1) < 1 := by |
| 175 | simpa using h_val.lt_one_iff_lt_one.mpr (diagGL_mem_proIwahori.mp he_mem i) |
| 176 | choose d hd hd_norm using fun i : Fin N ↦ h_norms (e i) (he_sub_one i) |
| 177 | refine ⟨k.map ι, (map_mem_proIwahori_iff_of_isEquiv h_val).mpr hk, d, |
| 178 | diagGL_mem_proIwahori.mpr hd, Units.ext ?_⟩ |
| 179 | -- Apply `ι` to `k⁻¹ * x * k = diagGL (s * e)` and compare the diagonal entries. |
| 180 | rw [twistedNorm_diagGL] |
| 181 | simpa [Units.ext_iff, hs_norm, hd_norm, prod_mul_distrib, -RingHom.coe_pow] using |
| 182 | congrArg (GeneralLinearGroup.map ι) h_conj |
| 183 | |
| 184 | /-- Let `σ` be an endomorphism of `F` that keeps the valuation, let `p > 0`, let `t` be diagonal |
| 185 | with `v (t i)` strictly increasing, and let `d`, `d'` be diagonal in the pro-`p` Iwahori subgroup |
| 186 | `New.proIwahori`. If the norms `∏ l < p, σ ^ l (t i * d i)` and `∏ l < p, σ ^ l (t j * d' j)` agree, |
| 187 | then `i = j`, since the valuation of the first is `v (t i) ^ p`. -/ |
| 188 | private lemma eq_of_prod_ringHom_pow_apply_eq (hv : ∀ x : F, v (σ x) = v x) (hp : 0 < p) |
| 189 | {t d d' : Fin N → Fˣ} (ht_mono : StrictMono fun i : Fin N ↦ v (t i).val) |
| 190 | (hd : diagGL d ∈ proIwahori) (hd' : diagGL d' ∈ proIwahori) (i j : Fin N) |
| 191 | (h_eq : ∏ l ∈ range p, (σ ^ l) ((t * d) i : F) = ∏ l ∈ range p, (σ ^ l) ((t * d') j : F)) : |
| 192 | i = j := by |
| 193 | have h_unit {e : Fin N → Fˣ} (he_mem : diagGL e ∈ proIwahori) (m : Fin N) : v (e m : F) = 1 := by |
| 194 | simpa using v_diag_eq_one_of_mem_proIwahori he_mem m |
| 195 | refine ht_mono.injective (show v (t i : F) = v (t j : F) from ?_) |
| 196 | simpa [hp.ne', h_unit hd, h_unit hd', v_ringHom_pow_apply hv, -RingHom.coe_pow] using |
| 197 | congrArg v h_eq |
| 198 | |
| 199 | omit [Valued F ℤᵐ⁰] in |
| 200 | /-- Let `σ ^ p = 1`, and let the values `c i = ∏ l < p, σ ^ l (e i)` be distinct. If the polynomial |
| 201 | `z` takes the value `e i` at `c i` for every `i`, then the characteristic polynomial |
| 202 | `∏ i, (X - c i)` of `diagonal c` divides `N(z) - X`, where `N(z) = ∏ l < p, σ ^ l z` is the |
| 203 | twisted norm (`New.twistedNorm`) of `z`. -/ |
| 204 | private lemma charpoly_diagonal_dvd_twistedNorm_sub_X (hσ : σ ^ p = 1) {c e : Fin N → F} |
| 205 | (hc_inj : Injective c) (hc : ∀ i : Fin N, c i = ∏ l ∈ range p, (σ ^ l) (e i)) {z : F[X]} |
| 206 | (hz : ∀ i : Fin N, z.eval (c i) = e i) : |
| 207 | (diagonal c).charpoly ∣ twistedNorm (Polynomial.map σ) p z - X := by |
| 208 | -- The roots `c i` are distinct, so it suffices that each is a root of `N(z) - X`. As `c i` is a |
| 209 | -- norm, it is fixed by `σ`, so `(σ ^ l z) (c i) = σ ^ l (z (c i)) = σ ^ l (e i)`. |
| 210 | rw [charpoly_diagonal] |
| 211 | refine Fintype.prod_dvd_of_coprime (pairwise_coprime_X_sub_C hc_inj) fun i ↦ ?_ |
| 212 | have h_eval_map (l : ℕ) : (z.map (σ ^ l)).eval (c i) = (σ ^ l) (e i) := by |
| 213 | rw [← hz, ← eval_map_apply, σ.coe_pow, hc, (isFixedPt_prod_range_pow_apply hσ).iterate] |
| 214 | have h_eval_norm : (twistedNorm (Polynomial.map σ) p z).eval (c i) = c i := by |
| 215 | rw [twistedNorm_map_eq_prod, eval_prod] |
| 216 | exact (prod_congr rfl fun l _ ↦ h_eval_map l).trans (hc i).symm |
| 217 | rw [dvd_iff_isRoot, IsRoot.def, eval_sub, eval_X, h_eval_norm, sub_self] |
| 218 | |
| 219 | omit [Valued F ℤᵐ⁰] in |
| 220 | /-- Let `γ` have the characteristic polynomial of the diagonal matrix `diagonal c`, and let |
| 221 | `k⁻¹ * γ * k = diagonal c'`, where `c' i = c l` holds only for `i = l`. Then for every polynomial |
| 222 | `z` the matrix `z γ` is `k * diagonal (z ∘ c) * k⁻¹`. -/ |
| 223 | private lemma aeval_eq_conj_diagonal_eval {c c' : Fin N → F} {k γ : GL (Fin N) F} |
| 224 | (hγ : γ.val.charpoly = (diagonal c).charpoly) (h_conj : (k⁻¹ * γ * k).val = diagonal c') |
| 225 | (h_inj : ∀ i l : Fin N, c' i = c l → i = l) (z : F[X]) : |
| 226 | aeval γ.val z = k.val * diagonal (fun i : Fin N ↦ z.eval (c i)) * k⁻¹.val := by |
| 227 | -- Each `c' i` is a root of the characteristic polynomial of `γ`, so it is some `c l`, and then |
| 228 | -- `l = i`. So `k` intertwines `diagonal c` with `γ`, hence `z (diagonal c)` with `z γ`. |
| 229 | have h_charpoly : (diagonal c').charpoly = (diagonal c).charpoly := by |
| 230 | simp only [← h_conj, Units.val_mul, coe_units_inv, charpoly_units_conj', hγ] |
| 231 | have h_eq : c' = c := by |
| 232 | funext i |
| 233 | have h_root : (diagonal c).charpoly.eval (c' i) = 0 := by |
| 234 | simp [← h_charpoly, charpoly_diagonal, eval_prod, prod_eq_zero_iff, sub_eq_zero] |
| 235 | obtain ⟨l, hl⟩ : ∃ l : Fin N, c' i = c l := by |
| 236 | simpa [charpoly_diagonal, eval_prod, prod_eq_zero_iff, sub_eq_zero] using h_root |
| 237 | rw [hl, h_inj i l hl] |
| 238 | have h_semi : k.val * diagonalAlgHom F c = γ.val * k.val := by |
| 239 | simp [← h_eq, ← h_conj, ← mul_assoc] |
| 240 | have h_aeval_diag : aeval (diagonalAlgHom F c) z = diagonal fun i : Fin N ↦ z.eval (c i) := by |
| 241 | rw [aeval_algHom_apply, diagonalAlgHom_apply, aeval_pi_apply] |
| 242 | simp |
| 243 | rw [← h_aeval_diag, aeval_semiconj h_semi z, mul_assoc, Units.mul_inv, mul_one] |
| 244 | |
| 245 | omit [CompactSpace 𝒪[F']] in |
| 246 | /-- Descent for clause (a) of `New.proIwahori_doubleCoset_match`. Let `σ` preserve `v` and let the |
| 247 | `σ`-fixed elements of `F` lie in the range of `ι : F' →+* F`, with `v ∘ ι` equivalent to `v`. Let |
| 248 | `ι (diagGL s)` be the twisted norm (`New.twistedNorm`, over `σ`, `p` factors) of `diagGL t`, and let |
| 249 | `k, diagGL d ∈ New.proIwahori`, `a = k * diagGL (t * d₀) * k⁻¹` and |
| 250 | `k⁻¹ * a * σ k = diagGL (t * d)`. If `k⁻¹ * ι x * k` is the twisted norm of `diagGL (t * d)`, then |
| 251 | `x` lies in `I₁ diag(s) I₁` over `F'` (`New.iwahoriDoubleCoset s`). -/ |
| 252 | private lemma mem_iwahoriDoubleCoset_of_conj_map_eq_twistedNorm (hv : ∀ x : F, v (σ x) = v x) |
| 253 | {ι : F' →+* F} (h_range : ∀ x : F, σ x = x → x ∈ ι.range) (h_val : (v.comap ι).IsEquiv v) |
| 254 | {t : Fin N → Fˣ} {s : Fin N → F'ˣ} |
| 255 | (hs_norm : (diagGL s).map ι = twistedNorm (GeneralLinearGroup.map σ) p (diagGL t)) |
| 256 | {k a : GL (Fin N) F} (hk : k ∈ proIwahori) {d₀ d : Fin N → Fˣ} (hd : diagGL d ∈ proIwahori) |
| 257 | (h_twist : k⁻¹ * a * k.map σ = diagGL (t * d)) (ha : k * diagGL (t * d₀) * k⁻¹ = a) |
| 258 | {x : GL (Fin N) F'} (hx : k⁻¹ * x.map ι * k = twistedNorm (.map σ) p (diagGL (t * d))) : |
| 259 | x ∈ iwahoriDoubleCoset s := by |
| 260 | -- Let `e` be the diagonal of `k`. As `σ` multiplies each column of `k` by a scalar, |
| 261 | -- `k * diagGL e⁻¹` is fixed by `σ`, so it is `ι g` for some `g` over `F'`. Then `x = g * s * r`, |
| 262 | -- where `ι r = diagGL e * N(diagGL d) * k⁻¹` lies in `proIwahori`, as the twisted norm |
| 263 | -- `N(t * d)` is `N(t) * N(d) = ι s * N(d)`. |
| 264 | have hk_map : k.map σ = k * ((diagGL (t * d₀))⁻¹ * diagGL (t * d)) := by |
| 265 | rw [← h_twist, ← ha] |
| 266 | group |
| 267 | have hσk (i j : Fin N) : σ (k i j) = k i j * (((t * d₀) j : F)⁻¹ * (t * d) j) := by |
| 268 | simpa [← map_inv, mul_assoc] using congrArg (fun g : GL (Fin N) F ↦ g i j) hk_map |
| 269 | have hk_diag (i : Fin N) : k i i ≠ 0 := |
| 270 | v.ne_zero_iff.mp (by simp [v_diag_eq_one_of_mem_proIwahori hk i]) |
| 271 | let e (i : Fin N) : Fˣ := .mk0 (k i i) (hk_diag i) |
| 272 | obtain ⟨-, -, hk_diag_one⟩ := mem_proIwahori.mp hk |
| 273 | have he_mem : diagGL e ∈ proIwahori := diagGL_mem_proIwahori.mpr hk_diag_one |
| 274 | have h_fixed : (k * diagGL e⁻¹).map σ = k * diagGL e⁻¹ := by |
| 275 | -- `map_inv` is left out: it would turn the diagonal of inverses into a matrix inverse. |
| 276 | simp [Units.ext_iff, ← ext_iff, -map_inv, hσk, e, mul_assoc] |
| 277 | obtain ⟨g, hg⟩ : ∃ g : GL (Fin N) F', g.map ι = k * diagGL e⁻¹ := |
| 278 | exists_gl_map_eq_of_fixed ι.injective h_range h_fixed |
| 279 | have h_map_r : ((g * diagGL s)⁻¹ * x).map ι = |
| 280 | ((diagGL s).map ι)⁻¹ * (diagGL e * (k⁻¹ * x.map ι * k)) * k⁻¹ := by |
| 281 | simp only [map_mul, map_inv, hg] |
| 282 | group |
| 283 | -- The diagonal matrices `diagGL e`, `N(t)` and `N(d)` commute, and `N(t * d) = N(t) * N(d)`. |
| 284 | have h_diag_eq : diagGL e * twistedNorm (.map σ) p (diagGL (t * d)) = |
| 285 | (diagGL s).map ι * (diagGL e * twistedNorm (.map σ) p (diagGL d)) := by |
| 286 | simp only [hs_norm, Units.ext_iff, Units.val_mul, twistedNorm_diagGL] |
| 287 | simp [prod_mul_distrib, mul_left_comm] |
| 288 | have hr : ((g * diagGL s)⁻¹ * x).map ι = diagGL e * twistedNorm (.map σ) p (diagGL d) * k⁻¹ := by |
| 289 | rw [h_map_r, hx, h_diag_eq, inv_mul_cancel_left] |
| 290 | have hg_mem : g ∈ proIwahori := by |
| 291 | rw [← map_mem_proIwahori_iff_of_isEquiv h_val, hg, map_inv] |
| 292 | exact mul_mem hk (inv_mem he_mem) |
| 293 | have hr_mem : (g * diagGL s)⁻¹ * x ∈ proIwahori := by |
| 294 | rw [← map_mem_proIwahori_iff_of_isEquiv h_val, hr] |
| 295 | exact mul_mem (mul_mem he_mem (twistedNorm_mem (GeneralLinearGroup.map σ) p |
| 296 | (fun _ ↦ (map_mem_proIwahori_iff_of_isometry hv).mpr) hd)) (inv_mem hk) |
| 297 | exact mem_doubleCoset.mpr ⟨g, hg_mem, _, hr_mem, (mul_inv_cancel_left _ x).symm⟩ |
| 298 | |
| 299 | /-- Let `σ` be an endomorphism of `F` that keeps the valuation, let `k`, `diagGL d₀` and `diagGL d` |
| 300 | lie in the pro-`p` Iwahori subgroup `New.proIwahori`, and let `k⁻¹ * δ * σ k = diagGL (t * d)` and |
| 301 | `a = k * diagGL (t * d₀) * k⁻¹`. Then `a⁻¹ * δ = k * diagGL (d₀⁻¹ * d) * (σ k)⁻¹` lies in |
| 302 | `New.proIwahori`. -/ |
| 303 | private lemma inv_mul_mem_proIwahori_of_twisted_conj (hv : ∀ x : F, v (σ x) = v x) |
| 304 | {t d₀ d : Fin N → Fˣ} {k a δ : GL (Fin N) F} (hk : k ∈ proIwahori) |
| 305 | (hd₀ : diagGL d₀ ∈ proIwahori) (hd : diagGL d ∈ proIwahori) |
| 306 | (h_twist : k⁻¹ * δ * k.map σ = diagGL (t * d)) (ha : k * diagGL (t * d₀) * k⁻¹ = a) : |
| 307 | a⁻¹ * δ ∈ proIwahori := by |
| 308 | have h_quot : a⁻¹ * δ = k * ((diagGL d₀)⁻¹ * diagGL d) * (k.map σ)⁻¹ := by |
| 309 | rw [← ha, ← inv_mul_cancel_left (diagGL t) (diagGL d), ← map_mul, ← h_twist, map_mul] |
| 310 | group |
| 311 | rw [h_quot] |
| 312 | exact mul_mem (mul_mem hk (mul_mem (inv_mem hd₀) hd)) |
| 313 | (inv_mem ((map_mem_proIwahori_iff_of_isometry hv).mpr hk)) |
| 314 | |
| 315 | variable (σ p) in |
| 316 | /-- The polynomial `z` over `F` matches the double cosets `K' s K'` over `F'` and `K t K` over `F` |
| 317 | at the polynomial `P`. Here `K`, `K'` are the pro-`p` Iwahori subgroups `New.proIwahori`, the |
| 318 | double cosets are `New.iwahoriDoubleCoset`, twisted norms (`New.twistedNorm`) are taken with the |
| 319 | endomorphism `σ` of `F` and length `p`, and `ι : F' →+* F`. In the last two fields `γ` has |
| 320 | characteristic polynomial `P` and `a = z γ`. -/ |
| 321 | structure IsIwahoriMatchingPolynomial (ι : F' →+* F) (s : Fin N → F'ˣ) (t : Fin N → Fˣ) |
| 322 | (P z : F[X]) : Prop where |
| 323 | /-- The twisted norm `z * σ z * ⋯ * σ ^ (p - 1) z` is `X` modulo `P`. -/ |
| 324 | dvd_twistedNorm_sub_X : P ∣ twistedNorm (Polynomial.map σ) p z - X |
| 325 | /-- If `γ = ι x` and `γ` is the twisted norm of `a`, then `x ∈ K' s K'` exactly when |
| 326 | `a ∈ K t K`. -/ |
| 327 | mem_iwahoriDoubleCoset_iff : ∀ γ a : GL (Fin N) F, γ.val.charpoly = P → a.val = aeval γ.val z → |
| 328 | ∀ x : GL (Fin N) F', x.map ι = γ → twistedNorm (GeneralLinearGroup.map σ) p a = γ → |
| 329 | (x ∈ iwahoriDoubleCoset s ↔ a ∈ iwahoriDoubleCoset t) |
| 330 | /-- Every `δ ∈ K t K` with twisted norm `γ` has `a⁻¹ * δ ∈ K`, so it lies in the coset `a K`. -/ |
| 331 | inv_mul_mem_proIwahori : ∀ γ a : GL (Fin N) F, γ.val.charpoly = P → a.val = aeval γ.val z → |
| 332 | ∀ δ ∈ iwahoriDoubleCoset t, twistedNorm (GeneralLinearGroup.map σ) p δ = γ → |
| 333 | a⁻¹ * δ ∈ proIwahori |
| 334 | |
| 335 | /-- Matching at pro-`p` Iwahori level. Let `σ` be a continuous endomorphism of `F` that keeps the |
| 336 | valuation, with `σ ^ p = 1` and `p > 0`. Let `ι : F' →+* F` be a map whose image holds the points |
| 337 | fixed by `σ` (`h_range`), along which `v` restricts to a valuation equivalent to that of `F'` |
| 338 | (`h_val`), and such that every `x` with `v (ι x - 1) < 1` has `ι x = ∏ i < p, σ ^ i y` for a unit |
| 339 | `y` with `v (y - 1) < 1` (`h_norms`). Let `t` over `F` and `s` over `F'` have strictly increasing |
| 340 | valuations, with `ι (diagGL s)` the twisted norm (`New.twistedNorm`) of `diagGL t`. Let `P` be the |
| 341 | characteristic polynomial of `ι x` for `x` in `K' s K'`, or of the twisted norm of a point of |
| 342 | `K t K` (`New.iwahoriDoubleCoset`, with `K`, `K'` the groups `New.proIwahori`). Then some polynomial |
| 343 | `z` matches the two double cosets at `P` (`New.IsIwahoriMatchingPolynomial`): its twisted norm is |
| 344 | `X` modulo `P`, and for `γ` with characteristic polynomial `P` and `a = z γ`, (a) if `γ = ι x` is |
| 345 | the twisted norm of `a`, then `x ∈ K' s K' ↔ a ∈ K t K`; (b) every `δ ∈ K t K` with twisted norm `γ` |
| 346 | lies in `a K`. -/ |
| 347 | lemma proIwahori_doubleCoset_match [CompactSpace 𝒪[F]] |
| 348 | (hv : ∀ x : F, v (σ x) = v x) (hσ : σ ^ p = 1) (hp : 0 < p) |
| 349 | (hσ_cont : Continuous σ) {ι : F' →+* F} |
| 350 | (h_range : ∀ x : F, σ x = x → x ∈ ι.range) (h_val : (v.comap ι).IsEquiv v) |
| 351 | (h_norms : ∀ x : F', v (ι x - 1) < 1 → ∃ y : Fˣ, |
| 352 | v (y.val - 1) < 1 ∧ ∏ i ∈ range p, (σ ^ i) y = ι x) |
| 353 | {t : Fin N → Fˣ} {s : Fin N → F'ˣ} (ht_mono : StrictMono fun i : Fin N ↦ v (t i).val) |
| 354 | (hs_mono : StrictMono fun i : Fin N ↦ v (s i).val) |
| 355 | (hs_norm : (diagGL s).map ι = twistedNorm (GeneralLinearGroup.map σ) p (diagGL t)) (P : F[X]) |
| 356 | (hP : P ∈ (fun γ : GL (Fin N) F ↦ γ.val.charpoly) '' |
| 357 | (GeneralLinearGroup.map ι '' iwahoriDoubleCoset s ∪ |
| 358 | twistedNorm (GeneralLinearGroup.map σ) p '' iwahoriDoubleCoset t)) : |
| 359 | ∃ z : F[X], IsIwahoriMatchingPolynomial σ p ι s t P z := by |
| 360 | -- Points of `iwahoriDoubleCoset s` and norms from `iwahoriDoubleCoset t` are conjugate under |
| 361 | -- `proIwahori` to diagonal matrices `ν d`, the norms of `diagGL (t * d)` with |
| 362 | -- `diagGL d ∈ proIwahori`. The entries `ρ d i` of `ν d` are told apart by their valuations, so |
| 363 | -- `P` determines them, and `z` interpolates from the entries of `ν d₀` to those of `t * d₀`. |
| 364 | let ν (d : Fin N → Fˣ) : GL (Fin N) F := twistedNorm (.map σ) p (diagGL (t * d)) |
| 365 | let ρ (d : Fin N → Fˣ) (i : Fin N) : F := ∏ l ∈ range p, (σ ^ l) ((t * d) i) |
| 366 | have hν (d : Fin N → Fˣ) : ν d = diagonal (ρ d) := twistedNorm_diagGL (t * d) p |
| 367 | -- A norm `γ` of `δ ∈ K t K` is conjugated to `ν d` by the `k` that twists `δ` to `t * d`. |
| 368 | have h_of_norm {γ δ : GL (Fin N) F} (hδ : δ ∈ iwahoriDoubleCoset t) |
| 369 | (hδ_norm : twistedNorm (.map σ) p δ = γ) : ∃ k ∈ proIwahori, ∃ d : Fin N → Fˣ, |
| 370 | diagGL d ∈ proIwahori ∧ k⁻¹ * δ * k.map σ = diagGL (t * d) ∧ k⁻¹ * γ * k = ν d := by |
| 371 | subst hδ_norm |
| 372 | exact exists_twisted_conj_diag_and_twistedNorm_conj hv hσ hp hσ_cont ht_mono hδ |
| 373 | -- Conjugation keeps the characteristic polynomial, so `P` is that of some `ν d₀`. |
| 374 | obtain ⟨γ₀, hγ₀_mem, rfl⟩ := hP |
| 375 | obtain ⟨k₀, -, d₀, hd₀, h_conj₀⟩ : ∃ k ∈ proIwahori, ∃ d : Fin N → Fˣ, diagGL d ∈ proIwahori ∧ |
| 376 | k⁻¹ * γ₀ * k = ν d := by |
| 377 | rcases hγ₀_mem with ⟨x, hx, rfl⟩ | ⟨δ, hδ, rfl⟩ |
| 378 | · exact exists_conj_map_eq_twistedNorm_diagGL h_val h_norms hs_mono hs_norm hx |
| 379 | · obtain ⟨k, hk, d, hd, -, h_norm⟩ := h_of_norm hδ rfl |
| 380 | exact ⟨k, hk, d, hd, h_norm⟩ |
| 381 | have hP : γ₀.val.charpoly = (diagonal (ρ d₀)).charpoly := by |
| 382 | simp only [← hν, ← h_conj₀, Units.val_mul, coe_units_inv, charpoly_units_conj'] |
| 383 | have h_inj {d : Fin N → Fˣ} (hd : diagGL d ∈ proIwahori) : |
| 384 | ∀ i l : Fin N, ρ d i = ρ d₀ l → i = l := |
| 385 | eq_of_prod_ringHom_pow_apply_eq hv hp ht_mono hd hd₀ |
| 386 | obtain ⟨z, hz⟩ : ∃ z : F[X], ∀ i : Fin N, z.eval (ρ d₀ i) = (t * d₀) i := |
| 387 | (exists_eval_eq_iff (ρ d₀) _).mpr fun i j h_eq ↦ by rw [h_inj hd₀ i j h_eq] |
| 388 | -- If `k` conjugates `γ` to `ν d`, then `k` conjugates `a = z γ` to |
| 389 | -- `z (ν d₀) = diagGL (t * d₀)`. |
| 390 | have h_root {γ a : GL (Fin N) F} (hγ : γ.val.charpoly = (diagonal (ρ d₀)).charpoly) |
| 391 | (ha : a.val = aeval γ.val z) {d : Fin N → Fˣ} (k : GL (Fin N) F) |
| 392 | (hd : diagGL d ∈ proIwahori) (h_conj : k⁻¹ * γ * k = ν d) : |
| 393 | k * diagGL (t * d₀) * k⁻¹ = a := by |
| 394 | have h_diag : (k⁻¹ * γ * k).val = diagonal (ρ d) := by rw [h_conj, hν] |
| 395 | rw [Units.ext_iff, ha, aeval_eq_conj_diagonal_eval hγ h_diag (h_inj hd) z, funext hz, |
| 396 | Units.val_mul, Units.val_mul, coe_diagGL] |
| 397 | simp only [hP] |
| 398 | refine ⟨z, charpoly_diagonal_dvd_twistedNorm_sub_X hσ (h_inj hd₀) (fun i ↦ rfl) hz, |
| 399 | ?_, fun γ a hγ ha δ hδ hδ_norm ↦ ?_⟩ |
| 400 | · rintro _ a hγ ha x rfl ha_norm |
| 401 | refine ⟨fun hx_mem ↦ ?_, fun ha_mem ↦ ?_⟩ |
| 402 | · -- (a), left to right: `a = k * diagGL t * (diagGL d₀ * k⁻¹)`. |
| 403 | obtain ⟨k, hk, d, hd, h_conj⟩ := |
| 404 | exists_conj_map_eq_twistedNorm_diagGL h_val h_norms hs_mono hs_norm hx_mem |
| 405 | refine mem_doubleCoset.mpr ⟨k, hk, diagGL d₀ * k⁻¹, mul_mem hd₀ (inv_mem hk), ?_⟩ |
| 406 | simp only [← h_root hγ ha k hd h_conj, map_mul, mul_assoc] |
| 407 | · -- (a), right to left. |
| 408 | obtain ⟨k, hk, d, hd, h_twist, h_norm⟩ := h_of_norm ha_mem ha_norm |
| 409 | exact mem_iwahoriDoubleCoset_of_conj_map_eq_twistedNorm hv h_range h_val hs_norm hk hd |
| 410 | h_twist (h_root hγ ha k hd h_norm) h_norm |
| 411 | · -- (b): `δ` lies in the coset `a K`. |
| 412 | obtain ⟨k, hk, d, hd, h_twist, h_norm⟩ := h_of_norm hδ hδ_norm |
| 413 | exact inv_mul_mem_proIwahori_of_twisted_conj hv hk hd₀ hd h_twist (h_root hγ ha k hd h_norm) |
| 414 | |
| 415 | end IwahoriMatching |
| 416 | |
| 417 | /-! |
| 418 | ## Base change of Iwahori eigenforms at a place with one place above |
| 419 | |
| 420 | Base change of Iwahori eigenforms along a step `E'/E` (`New.IsStep E' μ`), at a split place `w` of |
| 421 | `E` where `μ` is trivial and that has exactly one place `u` of `E'` above it, also split. `N` is the |
| 422 | local norm from `(LocField u)ˣ` to `(LocField w)ˣ`. |
| 423 | |
| 424 | `New.proIwahori` is the pro-`p` Iwahori subgroup; `New.dominantTorus` the diagonal `t` with |
| 425 | non-decreasing absolute values; `New.IsIwahoriEigen ρ ξ f` says that `f ≠ 0` is fixed by |
| 426 | `New.proIwahori` and that the average of `ρ t f` over it is `ξ t • f` for dominant `t`. For a family |
| 427 | `θ` of `r` characters, `New.torusChar θ` is the character `t ↦ ∏ i, θ i (t i) * |t i| ^ (r - 1 - i)` |
| 428 | of the diagonal torus. |
| 429 | -/ |
| 430 | |
| 431 | section BaseChangeEigenchar |
| 432 | |
| 433 | open Matrix Polynomial Valued Finset Patching |
| 434 | |
| 435 | variable {E E' : Type} [Field E] [CMType E] [Field E'] [Algebra E E'] [CMTypeOver E E'] {m : Type _} |
| 436 | {μ : (𝔸f E)ˣ →* ℂˣ} [Fintype m] [DecidableEq m] {u : FinPlace E'} [hμ : IsStep E' μ] |
| 437 | {hw : (u.below E).IsSplit} (hu : u.IsSplit) |
| 438 | |
| 439 | /-- At a place `u` of `E'` fixed by `τ`, the component at `u` of the `i`-th iterate of `τ` on |
| 440 | finite adeles is the `i`-th iterate of the local action `locMap τ hs` of `τ` on the completion at |
| 441 | `u`, applied to the component at `u`. -/ |
| 442 | lemma iterate_adeleMap_apply {τ : Gal(E'/E)} (hs : u.comap τ = u) (i : ℕ) (x : 𝔸f E') : |
| 443 | (adeleMap τ)^[i] x u = (locMap (τ : E' →+* E') hs)^[i] (x u) := |
| 444 | (Function.Semiconj.iterate_right (f := fun x : 𝔸f E' ↦ x u) (adeleMap_apply _ hs) i).eq x |
| 445 | |
| 446 | /-- Local norms are onto the `1`-units at a place with one place above. Let `E'/E` be a step, `u` |
| 447 | the only place of `E'` above `w = u.below E` (`h_unique`), and `τ ≠ 1` fix `u`. Then every `x` at |
| 448 | `w` with `v (x - 1) < 1` is a norm `∏ i < [E' : E], (σ ^ i) y` of a unit `y` at `u` with |
| 449 | `v (y - 1) < 1`, where `σ = locMap τ hs` is the action of `τ` on the completion at `u`. -/ |
| 450 | lemma exists_local_norm_eq |
| 451 | (h_unique : ∀ u' : FinPlace E', FinPlace.below E u' = u.below E ↔ u' = u) |
| 452 | {μ : (𝔸f E)ˣ →* ℂˣ} [IsStep E' μ] {τ : Gal(E'/E)} (hτ : τ ≠ 1) |
| 453 | (hs : u.comap τ = u) (x : LocField (u.below E)) |
| 454 | (hx : v (locMap (algebraMap E E') rfl x - 1 : LocField u) < 1) : |
| 455 | ∃ y : (LocField u)ˣ, |
| 456 | v (y.val - 1) < 1 ∧ |
| 457 | ∏ i ∈ range (Module.finrank E E'), (locMap (τ : E' →+* E') hs ^ i) y = |
| 458 | locMap (algebraMap E E') rfl x := by |
| 459 | -- The integral adele `a` that is `x - 1` at `u` and `0` elsewhere is fixed by `τ` and reduces to |
| 460 | -- `0` at every place, so `τ` is tame at level `a`; then `1 + a` is a norm of some `z ≡ 1`. |
| 461 | obtain ⟨C, -, h_tame⟩ := exists_isTameAtLevel_intAdeleMap hτ |
| 462 | set ι : LocField (u.below E) →+* LocField u := locMap (algebraMap E E') rfl |
| 463 | let a : Ô E' := |
| 464 | ⟨singleAdele u (ι x - 1), by simpa +contextual [mem_Ô, ← and_forall_ne u] using hx.le⟩ |
| 465 | have ha_red : ∀ o : FinPlace E', reduceAt o a = 0 := by |
| 466 | simp +contextual [hx, a, ← and_forall_ne u] |
| 467 | -- `a` comes from the adele of `E` that is `x - 1` at `w`, as `u` is the only place above `w` |
| 468 | have ha_range : a.val ∈ (finAdeleIncl E E').range := by |
| 469 | refine ⟨singleAdele _ (x - 1), ?_⟩ |
| 470 | simp +contextual [DFunLike.ext_iff, ← and_forall_ne u, a, ι, h_unique, adeleMap_apply] |
| 471 | have ha_fixed : intAdeleMap (τ : E' →+* E') a = a := |
| 472 | Subtype.ext (mem_range_finAdeleIncl_iff.mp ha_range τ) |
| 473 | have h_unit : IsUnit (1 + a) := by |
| 474 | simp [v.map_one_add_of_lt, ← reduceAt_eq_zero, ha_red] |
| 475 | obtain ⟨z, hz_one, -, hz⟩ := (h_tame a ha_fixed fun o _ _ ↦ |
| 476 | ha_red o).exists_prod_range_pow_apply_eq |
| 477 | (.inr isProfiniteRing_intAdeles) h_unit (by simp [ha_fixed]) (by simp) |
| 478 | refine ⟨z.map ((evalAt u).domRestrict (Ô E')).toMonoidHom, ?_, ?_⟩ |
| 479 | · -- `z ≡ 1` modulo `a`, and `a` reduces to `0` at `u` |
| 480 | have h_red : reduceAt u a ∣ reduceAt u ((z : Ô E') - 1) := map_dvd (reduceAt u) hz_one |
| 481 | rw [ha_red u, zero_dvd_iff, reduceAt_eq_zero] at h_red |
| 482 | simpa using h_red |
| 483 | · -- read the norm equation `∏ (τ ^ i) z = 1 + a` at `u` |
| 484 | simpa [iterate_adeleMap_apply hs, a] using congrArg (fun b : Ô E' ↦ evalAt u (b : 𝔸f E')) hz |
| 485 | |
| 486 | include hμ in |
| 487 | /-- At a place `u` of `E'` fixed by `τ`, the local action `locMap τ hs` of `τ` on the completion |
| 488 | at `u` has order dividing `[E' : E]`. -/ |
| 489 | private lemma locMap_pow_finrank_eq_one {τ : Gal(E'/E)} (hs : u.comap τ = u) : |
| 490 | locMap (τ : E' →+* E') hs ^ Module.finrank E E' = 1 := by |
| 491 | -- Read `adeleMap τ ^ [E' : E] = 1` at `u` on the adele that is `x` at `u` and `0` elsewhere. |
| 492 | refine RingHom.ext fun x ↦ ?_ |
| 493 | simpa [iterate_adeleMap_apply hs] using congrArg |
| 494 | (fun φ : 𝔸f E' →+* 𝔸f E' ↦ φ (singleAdele u x) u) (adeleMap_pow_finrank_eq_one (σ := τ)) |
| 495 | |
| 496 | include hμ in |
| 497 | /-- Fixed points of the local action come from below. Let `E'/E` be a step (so Galois of prime |
| 498 | degree), `u` the only place of `E'` above `w = u.below E` (`h_unique`), and `τ ≠ 1` fix `u`. Then |
| 499 | every `x` in the completion at `u` fixed by the local action `locMap τ hs` of `τ` is the image of an |
| 500 | element of the completion at `w`. -/ |
| 501 | private lemma mem_range_locMap_of_locMap_eq_self |
| 502 | (h_unique : ∀ u' : FinPlace E', FinPlace.below E u' = u.below E ↔ u' = u) {τ : Gal(E'/E)} |
| 503 | (hτ : τ ≠ 1) (hs : u.comap τ = u) {x : LocField u} (hx : locMap (τ : E' →+* E') hs x = x) : |
| 504 | x ∈ (locMap (algebraMap E E') rfl : LocField (u.below E) →+* LocField u).range := by |
| 505 | -- The adele that is `x` at `u` and `0` elsewhere is fixed by `τ`, as `τ` fixes `u` and moves |
| 506 | -- no other place onto `u`. So it comes from a finite adele `y` of `E`, and `x` is the image of |
| 507 | -- the component of `y` at `w`. |
| 508 | have h_single : adeleMap (τ : E' →+* E') (singleAdele u x) = singleAdele u x := by |
| 509 | ext1 o |
| 510 | obtain rfl | ho := eq_or_ne o u |
| 511 | · simp [hx, hs, adeleMap_apply] |
| 512 | · have h_comap_ne : FinPlace.comap (τ : E' →+* E') o ≠ u := by |
| 513 | rwa [Ne, ← h_unique, below_comap, h_unique] |
| 514 | simp [h_comap_ne, ho, adeleMap_apply] |
| 515 | obtain ⟨y, hy⟩ : singleAdele u x ∈ (finAdeleIncl E E').range := |
| 516 | mem_range_finAdeleIncl_of_adeleMap_eq hτ h_single |
| 517 | exact ⟨y (u.below E), by simp_all [← adeleMap_apply]⟩ |
| 518 | |
| 519 | include hμ in |
| 520 | /-- The local norm as a product of conjugates. At a place `u` of `E'` fixed by `τ ≠ 1`, along a step |
| 521 | `E'/E`, the local norm of `y`, mapped into the completion at `u`, is the product of the conjugates |
| 522 | `(σ ^ i) y`, `i < [E' : E]`, where `σ = locMap τ hs`. -/ |
| 523 | private lemma locMap_localNorm_eq_prod {τ : Gal(E'/E)} (hτ : τ ≠ 1) (hs : u.comap τ = u) |
| 524 | (y : (LocField u)ˣ) : |
| 525 | locMap (algebraMap E E') rfl (localNorm E u y : LocField (u.below E)) = |
| 526 | ∏ i ∈ range (Module.finrank E E'), (locMap (τ : E' →+* E') hs ^ i) (y : LocField u) := by |
| 527 | -- The local norm is the component at `w` of the adelic norm of the idele `y` at `u`, and the |
| 528 | -- adelic norm is the product of the Galois conjugates, which are the powers of `τ`. |
| 529 | have h_unfold : (localNorm E u y : LocField (u.below E)) = |
| 530 | adeleNorm E E' (locIdele u y : 𝔸f E') (u.below E) := rfl |
| 531 | rw [h_unfold, ← adeleMap_apply, finAdeleIncl_adeleNorm, ← evalAt_apply, map_prod (evalAt u), |
| 532 | prod_range, ← (bijective_pow_of_ne_one_of_prime_finrank hτ).prod_comp] |
| 533 | simp [← adeleMap_gal_pow, iterate_adeleMap_apply hs] |
| 534 | |
| 535 | include hμ in |
| 536 | /-- Cocycles split at pro-`p` Iwahori level at a place `u` fixed by `τ ≠ 1`, along a step `E'/E`. |
| 537 | Let `ρ` be a retraction of `embedAtSplit hu` at the places above `u.below E` and its conjugate |
| 538 | (`New.IsLocalRetraction`) that carries `galoisGf τ` to the entrywise action of `σ = locMap τ hs`. |
| 539 | Then at the level of the `δ` with `ρ δ ∈ proIwahori`, every `galoisGf τ`-cocycle is a coboundary on |
| 540 | those places (`New.CocyclesSplit`). -/ |
| 541 | private lemma cocyclesSplit_comap_proIwahori {τ : Gal(E'/E)} (hτ : τ ≠ 1) (hs : u.comap τ = u) |
| 542 | {ρ : Gf E' m →* GL (Fin (Fintype.card m)) (LocField u)} |
| 543 | (hρ_retr : IsLocalRetraction (embedAtSplit hu) ρ (placesAbove E' {u.below E})) |
| 544 | (hρ_gal : ∀ δ : Gf E' m, ρ (galoisGf τ δ) = (ρ δ).map (locMap (τ : E' →+* E') hs)) : |
| 545 | CocyclesSplit (Module.finrank E E') (idem (placesAbove E' {u.below E})) (proIwahori.comap ρ) |
| 546 | (galoisGf τ) := by |
| 547 | -- Tameness at level `0` gives an integral adele `c` of trace `1`, so the component of `c` at `u` |
| 548 | -- has `σ`-trace `1`, and a cocycle at `u` is a coboundary `t` there |
| 549 | -- (`exists_coboundary_proIwahori`). Then `embedAtSplit hu t` splits the cocycle. |
| 550 | intro δ hδ h_cocycle |
| 551 | set σ : LocField u →+* LocField u := locMap (τ : E' →+* E') hs |
| 552 | obtain ⟨C, -, h_tame⟩ := exists_isTameAtLevel_intAdeleMap hτ |
| 553 | obtain ⟨-, ⟨c, hc_dvd⟩, -⟩ := h_tame 0 (by simp) (by simp) |
| 554 | have hc_sum : ∑ i ∈ range (Module.finrank E E'), (intAdeleMap (τ : E' →+* E') ^ i) c = 1 := by |
| 555 | rwa [zero_dvd_iff, sub_eq_zero] at hc_dvd |
| 556 | have h_trace : ∑ i ∈ range (Module.finrank E E'), (σ ^ i) (c.val u) = 1 := by |
| 557 | simpa [iterate_adeleMap_apply hs] using congrArg (fun b : Ô E' ↦ evalAt u (b : 𝔸f E')) hc_sum |
| 558 | have hδ_norm : twistedNorm (.map σ) (Module.finrank E E') (ρ δ) = 1 := by |
| 559 | rw [← map_twistedNorm ρ hρ_gal, h_cocycle, map_one] |
| 560 | obtain ⟨t, ht, ht_eq⟩ : ∃ t ∈ proIwahori, ρ δ * t.map σ = t := |
| 561 | exists_coboundary_proIwahori (v_locMap_eq_of_surjective _ hs τ.surjective) |
| 562 | (locMap_pow_finrank_eq_one hs) (mem_Ô.mp c.prop u) h_trace hδ hδ_norm |
| 563 | obtain ⟨h_supp, h_retract, h_ker⟩ := hρ_retr |
| 564 | refine ⟨embedAtSplit hu t, ?_, ?_, ?_⟩ |
| 565 | · -- `ρ` retracts `embedAtSplit hu`, so the component at `u` is `t ∈ proIwahori` |
| 566 | rwa [Subgroup.mem_comap, h_retract] |
| 567 | · -- `embedAtSplit hu t` is `1` off the places above `w` |
| 568 | rw [← idem_compl, idem_smul_eq_iff_mem_trivialOn] |
| 569 | simpa [Gf.trivialOn, Gf.supportedOn, Subgroup.mem_iInf] using h_supp t |
| 570 | · -- above `w`, being trivial means lying in the kernel of `ρ`, and `t⁻¹ * ρ δ * σ t = 1` |
| 571 | rw [idem_smul_eq_iff_mem_trivialOn, ← h_ker, MonoidHom.mem_ker, map_mul, map_mul, map_inv, |
| 572 | hρ_gal, h_retract, mul_assoc, ht_eq, inv_mul_cancel] |
| 573 | |
| 574 | /-- At a place `u` of `E'` fixed by `τ`, the twisted norm under `τ` of the adelic polynomial |
| 575 | `1 + idem {u} • (y - 1)`, which is `y` at `u` and `1` elsewhere, read at `u`, is the twisted norm |
| 576 | under the local action `locMap τ hs` of `y` read at `u`. -/ |
| 577 | private lemma map_evalAt_twistedNorm_one_add_idem_smul {τ : Gal(E'/E)} (hs : u.comap τ = u) |
| 578 | (p : ℕ) (y : (𝔸f E')[X]) : |
| 579 | (twistedNorm (.map (adeleMap (τ : E' →+* E'))) p (1 + idem {u} • (y - 1))).map (evalAt u) = |
| 580 | twistedNorm (.map (locMap (τ : E' →+* E') hs)) p (y.map (evalAt u)) := by |
| 581 | -- Both sides are products of conjugates; compare them factor by factor and coefficient by |
| 582 | -- coefficient. |
| 583 | simp only [twistedNorm_map_eq_prod, Polynomial.map_prod] |
| 584 | refine Finset.prod_congr rfl fun i _ ↦ ?_ |
| 585 | ext k |
| 586 | simp [iterate_adeleMap_apply hs] |
| 587 | |
| 588 | variable (hw) in |
| 589 | include hμ hw in |
| 590 | /-- Let `E'/E` be a step with character `μ`, and `u` a finite place of `E'` above the split place |
| 591 | `w = u.below E` (`hw`) with `μ` trivial at `w` (`hμ_loc`), such that `u` is the only place of `E'` |
| 592 | above `w` (`h_unique`) and is fixed by `τ : Gal(E'/E)` (`hs`). For a finite type `m`, let `ρ` and |
| 593 | `r` be the local components at `u` and `w` of `Gf E' m` and `Gf E m`, carrying `galoisGf τ` to |
| 594 | `locMap τ hs` (`hρ_gal`), agreeing with the renumbered component at `u` (`hρ_val`), preserving |
| 595 | characteristic polynomials (`hρ_charpoly`), and commuting with `baseChangeGf` (`hρ_baseChange`). |
| 596 | Given `g : Gf E' m`, diagonal entries `s` at `w` and `t` at `u`, and a polynomial |
| 597 | `z : (LocField u)[X]` matching the double cosets of `s` and `t` at the characteristic polynomial of |
| 598 | `g` at `u` (`IsIwahoriMatchingPolynomial`, `hz`), there is an adelic norm root `z' : (𝔸f E')[X]` |
| 599 | above `{w}` for the characteristic polynomial of `g` such that for all `γ a : Gf E' m` with the |
| 600 | same characteristic polynomial as `g` and |
| 601 | `IsRootQuotient γ (idem (placesAbove E' {w}) • z') a.val`, (a) for every `x : Gf E m` with |
| 602 | `baseChangeGf x = γ` and `twistedNorm (galoisGf τ) (Module.finrank E E') a = γ`, the indicator of |
| 603 | `iwahoriDoubleCoset s` at `r x` equals that of `iwahoriDoubleCoset t` at `ρ a`, and (b) for every |
| 604 | `δ : Gf E' m` of twisted norm `γ` with `((iwahoriDoubleCoset t).indicator 1 ∘ ρ) δ ≠ 0`, we have |
| 605 | `a⁻¹ * δ ∈ proIwahori.comap ρ`. -/ |
| 606 | private lemma exists_normRoot_of_isIwahoriMatchingPolynomial |
| 607 | (h_unique : ∀ u' : FinPlace E', FinPlace.below E u' = u.below E ↔ u' = u) |
| 608 | (hμ_loc : ∀ x : (LocField (FinPlace.below E u))ˣ, μ (locIdele (u.below E) x) = 1) |
| 609 | {τ : Gal(E'/E)} (hs : u.comap τ = u) |
| 610 | {ρ : Gf E' m →* GL (Fin (Fintype.card m)) (LocField u)} |
| 611 | {r : Gf E m →* GL (Fin (Fintype.card m)) (LocField (u.below E))} |
| 612 | (hρ_gal : ∀ δ : Gf E' m, ρ (galoisGf τ δ) = (ρ δ).map (locMap (τ : E' →+* E') hs)) |
| 613 | (hρ_val : ∀ g : Gf E' m, (ρ g).val = |
| 614 | reindexAlgEquiv (LocField u) (LocField u) (Fintype.equivFin m) (g.atPlace u).val) |
| 615 | (hρ_charpoly : |
| 616 | ∀ g : Gf E' m, (ρ g).val.charpoly = (↑↑g : Matrix m m (𝔸f E')).charpoly.map (evalAt u)) |
| 617 | (hρ_baseChange : ∀ x : Gf E m, ρ (baseChangeGf x) = (r x).map (locMap (algebraMap E E') rfl)) |
| 618 | {s : Fin (Fintype.card m) → (LocField (u.below E))ˣ} |
| 619 | {t : Fin (Fintype.card m) → (LocField u)ˣ} {g : Gf E' m} {z : (LocField u)[X]} |
| 620 | (hz : IsIwahoriMatchingPolynomial (locMap (τ : E' →+* E') hs) (Module.finrank E E') |
| 621 | (locMap (algebraMap E E') rfl) s t ((↑↑g : Matrix m m (𝔸f E')).charpoly.map (evalAt u)) z) : |
| 622 | ∃ z' : (𝔸f E')[X], |
| 623 | IsNormRoot m (adeleMap (τ : E' →+* E')) (Module.finrank E E') |
| 624 | (idem (placesAbove E' {u.below E})) (kerCompNorm E' μ) |
| 625 | (↑↑g : Matrix m m (𝔸f E')).charpoly z' ∧ |
| 626 | ∀ γ a : Gf E' m, |
| 627 | (↑↑γ : Matrix m m (𝔸f E')).charpoly = (↑↑g : Matrix m m (𝔸f E')).charpoly → |
| 628 | IsRootQuotient γ (idem (placesAbove E' {u.below E}) • z') a.val → |
| 629 | (∀ x : Gf E m, baseChangeGf x = γ → |
| 630 | twistedNorm (galoisGf τ) (Module.finrank E E') a = γ → |
| 631 | ((iwahoriDoubleCoset s).indicator (1 : GL _ _ → ℂ) ∘ r) x = |
| 632 | ((iwahoriDoubleCoset t).indicator (1 : GL _ _ → ℂ) ∘ ρ) a) ∧ |
| 633 | ∀ δ : Gf E' m, twistedNorm (galoisGf τ) (Module.finrank E E') δ = γ → |
| 634 | ((iwahoriDoubleCoset t).indicator (1 : GL _ _ → ℂ) ∘ ρ) δ ≠ 0 → |
| 635 | a⁻¹ * δ ∈ proIwahori.comap ρ := by |
| 636 | classical |
| 637 | set σ : LocField u →+* LocField u := locMap (τ : E' →+* E') hs |
| 638 | obtain ⟨hz_dvd, hz_iff, hz_coset⟩ := hz |
| 639 | -- Lift `z` to an adelic `y`; `1 + idem {u} • (y - 1)` is `y` at `u` and `1` elsewhere. |
| 640 | obtain ⟨y, rfl⟩ := map_surjective (evalAt u) (fun x ↦ ⟨singleAdele u x, by simp⟩) z |
| 641 | have h_dvd : (↑↑g : Matrix m m (𝔸f E')).charpoly.map (evalAt u) ∣ |
| 642 | (twistedNorm (.map (adeleMap τ)) (Module.finrank E E') (1 + idem {u} • (y - 1))).map |
| 643 | (evalAt u) - X := by |
| 644 | rwa [map_evalAt_twistedNorm_one_add_idem_smul hs] |
| 645 | have hz_off : ∀ u' : FinPlace E', u'.below E ∉ ({u.below E} : Set (FinPlace E)) → |
| 646 | (1 + idem {u} • (y - 1)).map (evalAt u') = 1 := by simp_all |
| 647 | -- A root at `u` alone is a root above `w` and its conjugate (`h_root`), and the unitary `a` |
| 648 | -- that it attaches to `γ` has component `y(γ)` at `u` (`h_comp`). |
| 649 | obtain ⟨h_root, h_comp⟩ := |
| 650 | hμ.isNormRoot_of_one_side (n := m) (T := {u.below E}) rfl (by simpa using hμ_loc) |
| 651 | (by simpa using hw) hz_off (by simpa [h_unique] using h_dvd) |
| 652 | refine ⟨1 + idem {u} • (y - 1), h_root, fun γ a hγ ha ↦ ?_⟩ |
| 653 | have ha_u : (ρ a).val = aeval (ρ γ).val (y.map (evalAt u)) := by |
| 654 | rw [hρ_val a, hρ_val γ, aeval_algHom_apply, h_comp γ a ha u rfl] |
| 655 | simp |
| 656 | have hγ_u : (ρ γ).val.charpoly = (↑↑g : Matrix m m (𝔸f E')).charpoly.map (evalAt u) := by |
| 657 | rw [hρ_charpoly, hγ] |
| 658 | have h_norm_u (b : Gf E' m) (hb : twistedNorm (galoisGf τ) (Module.finrank E E') b = γ) : |
| 659 | twistedNorm (.map σ) (Module.finrank E E') (ρ b) = ρ γ := by |
| 660 | rw [← map_twistedNorm ρ hρ_gal, hb] |
| 661 | refine ⟨fun x hx hNm ↦ ?_, fun δ hδ_norm hδ_ne ↦ ?_⟩ |
| 662 | · -- (a): `x` is in the double coset of `s` at `w` iff `a` is in that of `t` at `u` |
| 663 | exact if_congr |
| 664 | (hz_iff _ _ hγ_u ha_u _ (by rw [← hx, hρ_baseChange]) (h_norm_u a hNm)) rfl rfl |
| 665 | · -- (b): a point `δ` of the double coset of `t` of norm `γ` lies in `a * proIwahori` |
| 666 | simpa using hz_coset _ _ hγ_u ha_u _ (Set.mem_of_indicator_ne_zero hδ_ne) |
| 667 | (h_norm_u δ hδ_norm) |
| 668 | |
| 669 | /-- The indicators of `K N(t) K` (through `r`) and of `K t K` (through `ρ`) are a matching pair |
| 670 | above `w = u.below E` (`New.IsMatchingPairAbove`), for `t` with strictly increasing `v (t i)`. Here |
| 671 | `K = proIwahori`, `N(t) = localNorm E u ∘ t`, and `ρ`, `r` are the components at `u` and `w` of the |
| 672 | adelic groups `Gf E' m` and `Gf E m` (`baseChangeGf` maps `Gf E m` into `Gf E' m`), renumbered: `ρ` |
| 673 | carries `galoisGf τ` to `locMap τ hs`, keeps characteristic polynomials, and sends a base change to |
| 674 | `r` followed by the inclusion of the completion at `w`. -/ |
| 675 | private lemma isMatchingPairAbove_proIwahori |
| 676 | (h_unique : ∀ u' : FinPlace E', FinPlace.below E u' = u.below E ↔ u' = u) |
| 677 | (hμ_loc : ∀ x : (LocField (FinPlace.below E u))ˣ, μ (locIdele (u.below E) x) = 1) |
| 678 | (hw : (u.below E).IsSplit) {τ : Gal(E'/E)} (hτ : τ ≠ 1) (hs : u.comap τ = u) |
| 679 | {ρ : Gf E' m →* GL (Fin (Fintype.card m)) (LocField u)} |
| 680 | {r : Gf E m →* GL (Fin (Fintype.card m)) (LocField (u.below E))} |
| 681 | (hρ_gal : ∀ δ : Gf E' m, ρ (galoisGf τ δ) = (ρ δ).map (locMap (τ : E' →+* E') hs)) |
| 682 | (hρ_val : ∀ g : Gf E' m, (ρ g).val = |
| 683 | reindexAlgEquiv (LocField u) (LocField u) (Fintype.equivFin m) (g.atPlace u).val) |
| 684 | (hρ_charpoly : |
| 685 | ∀ g : Gf E' m, (ρ g).val.charpoly = (↑↑g : Matrix m m (𝔸f E')).charpoly.map (evalAt u)) |
| 686 | (hρ_baseChange : ∀ x : Gf E m, ρ (baseChangeGf x) = (r x).map (locMap (algebraMap E E') rfl)) |
| 687 | {t : Fin (Fintype.card m) → (LocField u)ˣ} |
| 688 | (ht : StrictMono fun i : Fin (Fintype.card m) ↦ v (t i : LocField u)) : |
| 689 | IsMatchingPairAbove (n := m) τ μ {u.below E} (proIwahori.comap ρ) |
| 690 | ((iwahoriDoubleCoset (localNorm E u ∘ t)).indicator 1 ∘ r) |
| 691 | ((iwahoriDoubleCoset t).indicator 1 ∘ ρ) := by |
| 692 | -- At `u`, `τ` acts by an isometry `σ` of order dividing `[E' : E]` whose fixed points come from |
| 693 | -- the completion at `w`, and the norm of `t` is `N(t)`. So `proIwahori_doubleCoset_match` gives a |
| 694 | -- local polynomial `z`, which `exists_normRoot_of_isIwahoriMatchingPolynomial` lifts to an adelic |
| 695 | -- norm root. |
| 696 | classical |
| 697 | set σ : LocField u →+* LocField u := locMap (τ : E' →+* E') hs |
| 698 | set ι : LocField (u.below E) →+* LocField u := locMap (algebraMap E E') rfl |
| 699 | have hσ_v (x : LocField u) : v (σ x) = v x := v_locMap_eq_of_surjective _ hs τ.surjective x |
| 700 | refine ⟨?_, ?_⟩ |
| 701 | · -- The indicator of `iwahoriDoubleCoset t` is invariant under twisted conjugation by |
| 702 | -- `proIwahori`. |
| 703 | simp +contextual [hρ_gal, hσ_v, map_mem_proIwahori_iff_of_isometry, |
| 704 | (isHeckeFunction_doubleCoset isOpen_proIwahori _).2] |
| 705 | · rintro _ ⟨g, hg, rfl⟩ - |
| 706 | have hNt_mono : StrictMono fun i ↦ v ((localNorm E u ∘ t) i : LocField (u.below E)) := by |
| 707 | simpa [StrictMono, ← toNormedField.norm_lt_iff] using ht |
| 708 | have h_Nm : (diagGL (localNorm E u ∘ t)).map ι = |
| 709 | twistedNorm (.map σ) (Module.finrank E E') (diagGL t) := |
| 710 | Units.ext (by simp [ι, σ, locMap_localNorm_eq_prod hτ hs]) |
| 711 | -- At `u`, the element `g` comes from the double coset of `N(t)` or is a norm from that of `t`. |
| 712 | have hg_mem : ρ g ∈ .map ι '' iwahoriDoubleCoset (localNorm E u ∘ t) ∪ |
| 713 | twistedNorm (.map σ) (Module.finrank E E') '' iwahoriDoubleCoset t := by |
| 714 | rcases hg with ⟨x, hx, rfl⟩ | ⟨δ, hδ, rfl⟩ |
| 715 | · exact Or.inl ⟨r x, Set.mem_of_indicator_ne_zero hx, (hρ_baseChange x).symm⟩ |
| 716 | · exact Or.inr ⟨ρ δ, Set.mem_of_indicator_ne_zero hδ, (map_twistedNorm ρ hρ_gal _ δ).symm⟩ |
| 717 | -- So there is a polynomial `z` over `LocField u` of norm `X` modulo the characteristic |
| 718 | -- polynomial of `ρ g`, such that `γ ↦ z(γ)` matches the two double cosets. |
| 719 | obtain ⟨z, hz⟩ := |
| 720 | proIwahori_doubleCoset_match hσ_v (locMap_pow_finrank_eq_one hs) hμ.out.pos (by fun_prop) |
| 721 | (fun x hx ↦ mem_range_locMap_of_locMap_eq_self h_unique hτ hs hx) |
| 722 | (isEquiv_comap_locMap (algebraMap E E') rfl) (exists_local_norm_eq h_unique hτ hs) ht |
| 723 | hNt_mono h_Nm _ ⟨ρ g, hg_mem, hρ_charpoly g⟩ |
| 724 | exact exists_normRoot_of_isIwahoriMatchingPolynomial hw h_unique hμ_loc hs hρ_gal hρ_val |
| 725 | hρ_charpoly hρ_baseChange hz |
| 726 | |
| 727 | /-- Matching local data at a place with one place above. Let `E'/E` be a step, `w = u.below E` split |
| 728 | (`hw`) with `μ` trivial at `w` (`hμ_loc`), and `u` the only place above `w` (`h_unique`), split |
| 729 | (`hu`). Then the indicators of `K N(t) K` at `w` and `K' t K'` at `u`, with `K`, `K'` the pro-`p` |
| 730 | Iwahori subgroups and `N(t) = localNorm E u ∘ t`, are matching local data (`New.IsLocalMatching`) |
| 731 | for the dominant `t` whose valuations `v (t i)` increase strictly. -/ |
| 732 | lemma isLocalMatching_proIwahori |
| 733 | (h_unique : ∀ u' : FinPlace E', FinPlace.below E u' = u.below E ↔ u' = u) |
| 734 | (hμ_loc : ∀ x : (LocField (FinPlace.below E u))ˣ, μ (locIdele (u.below E) x) = 1) : |
| 735 | IsLocalMatching (n := m) μ {u.below E} (embedAtSplit hw) (embedAtSplit hu) proIwahori proIwahori |
| 736 | {t : dominantTorus | StrictMono fun i : Fin (Fintype.card m) ↦ v (t.val i).val} |
| 737 | (fun t : dominantTorus ↦ (iwahoriDoubleCoset (localNorm E u ∘ t)).indicator 1) |
| 738 | fun t : dominantTorus ↦ (iwahoriDoubleCoset t.val).indicator 1 := by |
| 739 | -- Everything is read at `u`, where some `τ ≠ 1` acts by an isometry of order dividing `[E' : E]` |
| 740 | -- whose fixed points come from the completion at `w`. The local results |
| 741 | -- `cocyclesSplit_comap_proIwahori` and `isMatchingPairAbove_proIwahori` then give the splitting |
| 742 | -- of cocycles and the matching of the two double cosets. |
| 743 | let ε : m ≃ Fin (Fintype.card m) := Fintype.equivFin m |
| 744 | -- `ρ` and `r` are the components at `u` and at `w`, renumbered; they retract the embeddings. |
| 745 | set ρ : Gf E' m →* GL (Fin (Fintype.card m)) (LocField u) := |
| 746 | (reindexGL ε).toMonoidHom.comp (Gf.atPlace u) |
| 747 | set r : Gf E m →* GL (Fin (Fintype.card m)) (LocField (u.below E)) := |
| 748 | (reindexGL ε).toMonoidHom.comp (Gf.atPlace (u.below E)) |
| 749 | obtain ⟨h_retr_w, h_retr_u, h_level⟩ := isLocalRetraction_ofSplitPlace m h_unique hu hw |
| 750 | have hρ_retr : IsLocalRetraction (embedAtSplit hu) ρ (placesAbove E' {u.below E}) := by |
| 751 | simp_all [IsLocalRetraction, ρ, ε] |
| 752 | have hr_retr : IsLocalRetraction (embedAtSplit hw) r {u.below E} := by |
| 753 | simp_all [IsLocalRetraction, r, ε] |
| 754 | obtain ⟨τ, hτ⟩ := hμ.exists_gal_ne_one (E := E) (E' := E') |
| 755 | have hs : u.comap τ = u := (h_unique _).mp (below_comap τ u) |
| 756 | -- `ρ` carries `galoisGf τ` to the entrywise action of `τ` at `u`, and a base change to `r` |
| 757 | -- followed by the inclusion of the completion at `w`. |
| 758 | have hρ_gal (δ : Gf E' m) : ρ (galoisGf τ δ) = (ρ δ).map (locMap (τ : E' →+* E') hs) := |
| 759 | congrArg (reindexGL ε) (atPlace_galoisGf τ δ hs) |
| 760 | have hρ_charpoly (g : Gf E' m) : |
| 761 | (ρ g).val.charpoly = (↑↑g : Matrix m m (𝔸f E')).charpoly.map (evalAt u) := |
| 762 | (charpoly_reindex ε (g.atPlace u).val).trans (charpoly_map _ (evalAt u)) |
| 763 | have hρ_baseChange (x : Gf E m) : |
| 764 | ρ (baseChangeGf x) = (r x).map (locMap (algebraMap E E') rfl) := rfl |
| 765 | have h_stable (k : Gf E' m) : ρ (galoisGf τ k) ∈ proIwahori ↔ ρ k ∈ proIwahori := by |
| 766 | rw [hρ_gal] |
| 767 | exact map_mem_proIwahori_iff_of_isometry (v_locMap_eq_of_surjective _ hs τ.surjective) |
| 768 | -- The component at `u` of the base change of `g` is the component at `w`, mapped into the |
| 769 | -- completion at `u`. |
| 770 | have h_baseChange : |
| 771 | (Subgroup.comap ρ proIwahori).comap baseChangeGf = Subgroup.comap r proIwahori := by |
| 772 | ext g |
| 773 | simp only [Subgroup.mem_comap, hρ_baseChange] |
| 774 | exact map_mem_proIwahori_iff_of_isEquiv (isEquiv_comap_locMap (algebraMap E E') rfl) |
| 775 | -- `ρ` is continuous, as renumbering the entries of a matrix is, and `proIwahori` is open |
| 776 | have h_open : (Subgroup.comap ρ proIwahori).IsOpen := by |
| 777 | have h_reindex : Continuous fun M : Matrix m m (LocField u) ↦ M.submatrix ε.symm ε.symm := by |
| 778 | fun_prop |
| 779 | exact isOpen_proIwahori.preimage (.comp (.units_map _ h_reindex) (by fun_prop)) |
| 780 | have h_le_level : Subgroup.comap ρ proIwahori ≤ localLevel m (placesAbove E' {u.below E}) := by |
| 781 | rintro g ⟨hg_int, -⟩ |
| 782 | simpa [h_level, mem_intGL, reindex_equiv ε.symm, ρ] using hg_int |
| 783 | -- Both indicators are bi-invariant, as double cosets of the open group `proIwahori`. |
| 784 | exact ⟨τ, hτ, r, ρ, ⟨fun t ↦ ⟨isHeckeFunction_doubleCoset isOpen_proIwahori _, |
| 785 | isHeckeFunction_doubleCoset isOpen_proIwahori _⟩, hr_retr, hρ_retr, Set.finite_singleton _, |
| 786 | h_stable⟩, |
| 787 | h_baseChange, h_open, Subgroup.comap ρ proIwahori, ⟨le_rfl, h_le_level⟩, |
| 788 | cocyclesSplit_comap_proIwahori hu hτ hs hρ_retr hρ_gal, fun t ht ↦ |
| 789 | isMatchingPairAbove_proIwahori h_unique hμ_loc hw hτ hs hρ_gal (fun _ ↦ rfl) hρ_charpoly |
| 790 | hρ_baseChange ht⟩ |
| 791 | |
| 792 | /-- The operators of dominant double cosets multiply like the torus. Let `ρ` be a smooth |
| 793 | representation of `GL_N` over the completion of a number field at `o`, and `s`, `t` elements of |
| 794 | `New.dominantTorus`. On vectors `x` fixed by `New.proIwahori`, applying the operator of the double |
| 795 | coset of `t` and then that of `s` is applying that of `s * t`. -/ |
| 796 | private lemma heckeFun_iwahoriDoubleCoset_mul {F : Type} [Field F] [NumberField F] {o : FinPlace F} |
| 797 | {N : ℕ} (ρ : Rep ℂ (GL (Fin N) (LocField o))) [IsSmoothRep ρ.ρ] {s t : Fin N → (LocField o)ˣ} |
| 798 | (hs : s ∈ dominantTorus) (ht : t ∈ dominantTorus) (x : ρ) |
| 799 | (hx : x ∈ levelSpace ρ.ρ proIwahori) : |
| 800 | heckeFun ρ.ρ proIwahori ((iwahoriDoubleCoset s).indicator 1) |
| 801 | (heckeFun ρ.ρ proIwahori ((iwahoriDoubleCoset t).indicator 1) x) = |
| 802 | heckeFun ρ.ρ proIwahori ((iwahoriDoubleCoset (s * t)).indicator 1) x := by |
| 803 | -- Each operator is `iwahoriDegree` times the mean of a translate; the means multiply by |
| 804 | -- `compactMean_diagGL_compactMean_diagGL`, and the degrees multiply. |
| 805 | have h_deg : iwahoriDegree t * iwahoriDegree s = iwahoriDegree (s * t) := by |
| 806 | simp [prod_mul_distrib, div_mul_div_comm, mul_comm] |
| 807 | simp only [hs, ht, hx, mul_mem, heckeFun_iwahoriDoubleCoset_eq_iwahoriDegree_smul, map_smul, |
| 808 | compactMean_mem_levelSpace, compactMean_diagGL_compactMean_diagGL, smul_smul, h_deg] |
| 809 | |
| 810 | /-- Base change keeps an Iwahori eigencharacter. Let `E'/E` be a step with `E'` containing a |
| 811 | primitive `5040`-th root of unity (`HasPrimitiveRoot5040`). Let `w = u.below E` be split (`hw`) with |
| 812 | `μ` trivial at `w` (`hμ_loc`), and let `u` be the only place above `w` (`h_unique`), split (`hu`). |
| 813 | If `f`, an element of `localFormRep (stdSpace E m) κ hw` (the forms of weight `κ`, as a |
| 814 | representation of `GL` at `w`), is an Iwahori eigenvector at `w` (`New.IsIwahoriEigen`) with |
| 815 | character `torusChar θ`, some form `f'` over `E'` is (a) an eigenform, (b) a weak base change of `f` |
| 816 | off `w` and its conjugate, and (c) an Iwahori eigenvector at `u` with character |
| 817 | `torusChar (θ i ∘ N)`, `N = localNorm E u`. -/ |
| 818 | lemma exists_baseChange_isIwahoriEigen |
| 819 | (h_unique : ∀ u' : FinPlace E', FinPlace.below E u' = u.below E ↔ u' = u) |
| 820 | (hμ_loc : ∀ x : (LocField (FinPlace.below E u))ˣ, μ (locIdele (u.below E) x) = 1) |
| 821 | [HasPrimitiveRoot5040 E'] {κ : Weight E} {f : localFormRep (stdSpace E m) κ hw} |
| 822 | {θ : Fin (Fintype.card m) → (LocField (u.below E))ˣ →* ℂˣ} |
| 823 | (hf : IsIwahoriEigen (localFormRep (stdSpace E m) κ hw) (torusChar θ) f) : |
| 824 | ∃ f' : (stdSpace E' m).forms κ.baseChange, ∃ P : FinPlace E' → ℂ[X], |
| 825 | -- (a) `f'` is an eigenform |
| 826 | IsEigenform f'.val P ∧ |
| 827 | -- (b) it is a weak base change of `f` away from the place below `u` |
| 828 | IsWeakBaseChange μ {u.below E} f.val f'.val ∧ |
| 829 | -- (c) at `u` its characters are those of `f` composed with the local norm |
| 830 | IsIwahoriEigen (localFormRep (stdSpace E' m) κ.baseChange hu) |
| 831 | (torusChar fun i : Fin (Fintype.card m) ↦ (θ i).comp (localNorm E u)) f' := by |
| 832 | -- Apply `exists_isWeakBaseChange_of_matching` to the double cosets of |
| 833 | -- `isLocalMatching_proIwahori`. For dominant `t`, the operator of the double coset of `t` is |
| 834 | -- `iwahoriDegree t` times the operator of `IsIwahoriEigen` |
| 835 | -- (`heckeFun_iwahoriDoubleCoset_eq_iwahoriDegree_smul`), and the local norm keeps absolute |
| 836 | -- values. Any strictly dominant `t₀` serves as the distinguished index. |
| 837 | obtain ⟨hf_ne, hf_level, hf_eigen⟩ := hf |
| 838 | obtain ⟨t₀, ht₀, -⟩ := |
| 839 | exists_iwahoriHeckeHom_injective (localFormRep (stdSpace E' m) κ.baseChange hu) |
| 840 | (v_uniformizer u) |
| 841 | have h_dom (n : ℕ) (t : Fin n → (LocField u)ˣ) : |
| 842 | localNorm E u ∘ t ∈ dominantTorus ↔ t ∈ dominantTorus := by |
| 843 | simp [dominantTorus, Monotone, ← toNormedField.norm_le_iff] |
| 844 | refine (exists_isWeakBaseChange_of_matching f |
| 845 | (isLocalMatching_proIwahori (hw := hw) hu h_unique hμ_loc) id |
| 846 | (fun a ↦ iwahoriDegree a.val * torusChar θ (localNorm E u ∘ a)) ⟨t₀, ht₀.monotone⟩ ht₀ |
| 847 | ?comm ?stable ?trace).imp ?eigen |
| 848 | case comm => |
| 849 | -- the operators of dominant elements multiply like the torus, which is commutative |
| 850 | intro s t |
| 851 | have hNs : localNorm E u ∘ s.val ∈ dominantTorus := (h_dom _ s.val).mpr s.prop |
| 852 | have hNt : localNorm E u ∘ t.val ∈ dominantTorus := (h_dom _ t.val).mpr t.prop |
| 853 | refine ⟨fun x hx ↦ ?_, fun x hx ↦ ?_⟩ |
| 854 | · rw [heckeFun_iwahoriDoubleCoset_mul (localFormRep (stdSpace E m) κ hw) hNs hNt x hx, |
| 855 | heckeFun_iwahoriDoubleCoset_mul (localFormRep (stdSpace E m) κ hw) hNt hNs x hx, mul_comm] |
| 856 | · rw [heckeFun_iwahoriDoubleCoset_mul (localFormRep (stdSpace E' m) κ.baseChange hu) s.prop |
| 857 | t.prop x hx, |
| 858 | heckeFun_iwahoriDoubleCoset_mul (localFormRep (stdSpace E' m) κ.baseChange hu) t.prop |
| 859 | s.prop x hx, mul_comm] |
| 860 | case stable => |
| 861 | -- dominant times strictly dominant is strictly dominant |
| 862 | intro s t ht |
| 863 | refine ⟨s * t, ?_, fun x hx ↦ ?_, |
| 864 | heckeFun_iwahoriDoubleCoset_mul (localFormRep (stdSpace E' m) κ.baseChange hu) s.prop t.prop⟩ |
| 865 | · simpa [Pi.mul_def] using s.prop.mul_strictMono ht (by simp [pos_iff_ne_zero]) (by simp) |
| 866 | · rw [id_eq, heckeFun_iwahoriDoubleCoset_mul (localFormRep (stdSpace E m) κ hw) |
| 867 | ((h_dom _ s.val).mpr s.prop) ((h_dom _ t.val).mpr t.prop) x hx] |
| 868 | simp [Function.comp_def, Pi.mul_def] |
| 869 | case trace => |
| 870 | -- The space contains `f ≠ 0`, and the operator has one non-zero generalised eigenvalue on it. |
| 871 | intro W hfW _ h_maps |
| 872 | refine trace_restrict_ne_zero (c := iwahoriDegree t₀ * (torusChar θ (localNorm E u ∘ t₀) : ℂ)) |
| 873 | (by simp [prod_ne_zero_iff]) (fun h0 ↦ ?_) (fun x hx ↦ ?_) h_maps |
| 874 | · -- `f` lies in the space, being fixed by `proIwahori` and an eigenvector of each operator; |
| 875 | -- so the space is not `⊥`, as `f ≠ 0` |
| 876 | apply hf_ne |
| 877 | rw [← Submodule.mem_bot ℂ, ← h0, Submodule.mem_inf, mem_heckeGenEigenspace] |
| 878 | refine ⟨⟨hf_level, fun a ↦ ?_⟩, hfW⟩ |
| 879 | rw [Module.End.mem_maxGenEigenspace] |
| 880 | have hNa : localNorm E u ∘ a.val ∈ dominantTorus := (h_dom _ a.val).mpr a.prop |
| 881 | refine ⟨1, ?_⟩ |
| 882 | simp only [pow_one, LinearMap.sub_apply, LinearMap.smul_apply, one_apply_eq_self, |
| 883 | Function.comp_apply, id_eq, sub_eq_zero, |
| 884 | heckeFun_iwahoriDoubleCoset_eq_iwahoriDegree_smul hNa hf_level, hf_eigen _ hNa, mul_smul] |
| 885 | simp [iwahoriDegree] |
| 886 | · exact (mem_heckeGenEigenspace.mp (Submodule.mem_inf.mp hx).1).2 _ |
| 887 | case eigen => |
| 888 | -- Cancel `iwahoriDegree t ≠ 0`; the character `torusChar θ (localNorm E u ∘ ·)` is that of the |
| 889 | -- characters `(θ i).comp (localNorm E u)`. |
| 890 | rintro f' ⟨P, ⟨hf'_ne, hf'_poly⟩, h_same, ⟨h_fixed, h_val⟩, -⟩ |
| 891 | refine ⟨P, ⟨hf'_ne, hf'_poly⟩, h_same, ne_of_apply_ne Subtype.val hf'_ne, h_fixed, ?_⟩ |
| 892 | simpa [h_fixed, mul_smul, prod_eq_zero_iff, torusChar, Pi.monoidHomMulEquiv, |
| 893 | MonoidHom.comp_apply, coe_normAbsChar_locField] using h_val |
| 894 | |
| 895 | end BaseChangeEigenchar |
| 896 | |
| 897 | end New |