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.PiTensorProduct |
| 4 | public import Lib.LocalGL.Iwahori.ParahoricStructure |
| 5 | import Lib.General.LinearAlgebra.Eigenvalues |
| 6 | import Lib.General.LinearAlgebra.HermiteForm |
| 7 | |
| 8 | /-! |
| 9 | # Quadratic relation and injectivity of U_t at pro-p Iwahori level |
| 10 | |
| 11 | Let `ρ` be a smooth representation of `GL_N(F)`, where `F` has compact ring of integers and a |
| 12 | uniformiser `ϖ`. This file shows that conjugation by a monomial matrix carries one parahoric |
| 13 | subgroup into another. With this it proves the quadratic relation for a simple transposition. |
| 14 | It shows that some operator `U_t` with `t` strictly dominant is injective on the vectors fixed by |
| 15 | `New.proIwahori`. For an exponent, it shows that the mean over `New.proIwahori` in the defining |
| 16 | identity can be dropped at diagonal matrices of units and at certain monomial translates. |
| 17 | |
| 18 | ## Main definitions and results |
| 19 | |
| 20 | * `New.quadratic_relation`: the quadratic relation for a simple transposition. |
| 21 | * `New.exists_iwahoriHeckeHom_injective`: some operator `U_t` with `t` strictly dominant is |
| 22 | injective on the vectors fixed by `New.proIwahori`. Here `U_t = New.iwahoriHeckeHom ρ t` sends |
| 23 | such a vector `x` to the mean over `New.proIwahori` of `ρ(diag t) x`. |
| 24 | |
| 25 | Notions from other files: |
| 26 | * `New.proIwahori`: The pro-p Iwahori subgroup I₁ of GL_n(𝒪): matrices that are upper triangular |
| 27 | with ones on the diagonal modulo the maximal ideal. |
| 28 | * `New.dominantTorus`: Dominant elements of the diagonal torus: the `t` with `v (t i) ≤ v (t j)` for |
| 29 | `i ≤ j`. |
| 30 | * `New.IsExponent`: `l (ρ(t) (mean of x over proIwahori)) = ξ(t) l(x)` for all dominant diagonal `t` |
| 31 | and all `x`. |
| 32 | |
| 33 | ## Relation to the literature |
| 34 | |
| 35 | Known; see `Lib.LocalGL.Iwahori.SphericalExponents` for sources. |
| 36 | -/ |
| 37 | |
| 38 | @[expose] public section |
| 39 | |
| 40 | /-! |
| 41 | ## Monomial matrices and the quadratic relation |
| 42 | |
| 43 | Conjugation by a monomial matrix carries one parahoric subgroup into another |
| 44 | (`New.conj_monomial_mem_blockParahoric`); with it the file proves the quadratic relation for a |
| 45 | simple transposition. |
| 46 | -/ |
| 47 | |
| 48 | namespace New |
| 49 | |
| 50 | open Matrix WithZero Valued Equiv Finset IsLocalRing Function Units |
| 51 | |
| 52 | attribute [local instance low] Fintype.ofFinite |
| 53 | |
| 54 | variable {F W : Type*} [Field F] [Valued F ℤᵐ⁰] [AddCommGroup W] [Module ℂ W] |
| 55 | {N : ℕ} {ρ : Rep ℂ (GL (Fin N) F)} |
| 56 | {x : ρ} {c : ℕ → ℕ} {d : ℕ → ℕ} {g : GL (Fin N) F} {a b : Fin N} {φ : ρ →ₗ[ℂ] W} |
| 57 | |
| 58 | /-- An element `g` lies in `New.blockParahoric c` iff it lies in `GL_N` of the valuation ring and |
| 59 | its entry `g i j` has valuation less than 1 whenever `c j < c i`. -/ |
| 60 | @[grind =] |
| 61 | lemma mem_blockParahoric : |
| 62 | g ∈ blockParahoric c ↔ |
| 63 | g ∈ intGL (Fin N) 𝒪[F] ∧ ∀ i j : Fin N, c j.val < c i.val → v (g i j) < 1 := .rfl |
| 64 | |
| 65 | /-- An element lies in `New.proIwahori` iff it lies in the parahoric `New.blockParahoric id` and |
| 66 | every diagonal entry is congruent to 1 modulo the maximal ideal. -/ |
| 67 | lemma mem_proIwahori_iff_blockParahoric : |
| 68 | g ∈ proIwahori ↔ g ∈ blockParahoric id ∧ ∀ i : Fin N, g i i ∈ {x : F | v (x - 1) < 1} := |
| 69 | and_assoc.symm |
| 70 | |
| 71 | omit [Valued F ℤᵐ⁰] in |
| 72 | private lemma conj_monomial_apply (t : Fin N → Fˣ) (σ : Perm (Fin N)) (a b : Fin N) : |
| 73 | ((permGL σ * diagGL t)⁻¹ * g * (permGL σ * diagGL t) : GL (Fin N) F) a b = |
| 74 | (t a).val⁻¹ * g (σ a) (σ b) * (t b).val := by |
| 75 | simp [← map_inv, Matrix.mul_apply, symm_apply_eq, diagonal, mul_assoc] |
| 76 | |
| 77 | /-- Let `c` and `d` be level functions `ℕ → ℕ` (see `New.blockParahoric`), and let `g` lie in the |
| 78 | parahoric of level function `d`. Let `m = σ diag(t)`, with `σ` a permutation matrix. Suppose that |
| 79 | for all `a`, `b` either `g_{σa,σb} = 0` or |
| 80 | `log v(t_b) + [c(b) < c(a)] ≤ log v(t_a) + [d(σb) < d(σa)]`, where `log` gives the integer exponent |
| 81 | of a valuation. Then `m⁻¹ g m` lies in the parahoric of level function `c`. -/ |
| 82 | lemma conj_monomial_mem_blockParahoric_of_mem (t : Fin N → Fˣ) (σ : Perm (Fin N)) |
| 83 | (hg : g ∈ blockParahoric d) |
| 84 | (ht : ∀ a b : Fin N, |
| 85 | g (σ a) (σ b) = 0 ∨ |
| 86 | log (v (t b).val) + (if c b < c a then 1 else 0) ≤ |
| 87 | log (v (t a).val) + if d (σ b) < d (σ a) then 1 else 0) : |
| 88 | (permGL σ * diagGL t)⁻¹ * g * (permGL σ * diagGL t) ∈ blockParahoric c := by |
| 89 | set k : GL (Fin N) F := (permGL σ * diagGL t)⁻¹ * g * (permGL σ * diagGL t) |
| 90 | have h_det : k.val.det = g.val.det := det_units_conj' _ _ |
| 91 | simp only [mem_blockParahoric, mem_intGL_iff_det, k, conj_monomial_apply, h_det, map_mul, |
| 92 | map_inv₀] at hg ⊢ |
| 93 | obtain ⟨⟨hg_int, hg_det⟩, hg_below⟩ : |
| 94 | ((∀ a b : Fin N, v (g a b) ≤ 1) ∧ v g.val.det = 1) ∧ |
| 95 | (∀ i j : Fin N, d j.val < d i.val → v (g i j) < 1) := hg |
| 96 | -- For nonzero entries, `ht` gives the required bound on the log of the valuation. |
| 97 | refine ⟨⟨fun a b ↦ ?_, hg_det⟩, fun i j hij ↦ ?_⟩ <;> |
| 98 | grind [Units.ne_zero, =_ log_le_log, =_ log_lt_log, map_eq_zero, log_mul, log_inv, mul_eq_zero, |
| 99 | one_pos] |
| 100 | |
| 101 | omit [Valued F ℤᵐ⁰] in |
| 102 | /-- The diagonal entries of `m⁻¹ g m`, for `m = σ diag(t)`, are those of `g`, permuted by `σ`; so |
| 103 | they lie in every set `S` that holds the diagonal entries of `g`. -/ |
| 104 | lemma conj_monomial_apply_self_mem (t : Fin N → Fˣ) (σ : Perm (Fin N)) {S : Set F} |
| 105 | (hgS : ∀ i : Fin N, g i i ∈ S) (i : Fin N) : |
| 106 | ((permGL σ * diagGL t)⁻¹ * g * (permGL σ * diagGL t) : GL (Fin N) F) i i ∈ S := by |
| 107 | rw [conj_monomial_apply, mul_right_comm, inv_mul_cancel₀ (t i).ne_zero, one_mul] |
| 108 | exact hgS (σ i) |
| 109 | |
| 110 | /-- Let `g` lie in the parahoric of level function `d`, with diagonal entries in `S`, and let |
| 111 | `m = σ diag(t)` satisfy the condition of `New.conj_monomial_mem_blockParahoric_of_mem`. Then |
| 112 | `m⁻¹ g m` lies in the parahoric of level function `c`, with diagonal entries in `S`. -/ |
| 113 | lemma conj_monomial_mem_blockParahoric (t : Fin N → Fˣ) (σ : Perm (Fin N)) (S : Set F) |
| 114 | (hg : g ∈ blockParahoric d ∧ ∀ i : Fin N, g i i ∈ S) |
| 115 | (ht : ∀ a b : Fin N, |
| 116 | g (σ a) (σ b) = 0 ∨ |
| 117 | log (v (t b).val) + (if c b < c a then 1 else 0) ≤ |
| 118 | log (v (t a).val) + if d (σ b) < d (σ a) then 1 else 0) : |
| 119 | (permGL σ * diagGL t)⁻¹ * g * (permGL σ * diagGL t) ∈ blockParahoric c ∧ |
| 120 | ∀ i : Fin N, ((permGL σ * diagGL t)⁻¹ * g * (permGL σ * diagGL t) : GL (Fin N) F) i i ∈ S := |
| 121 | ⟨conj_monomial_mem_blockParahoric_of_mem t σ hg.left ht, |
| 122 | conj_monomial_apply_self_mem t σ hg.right⟩ |
| 123 | |
| 124 | /-- If `x` is fixed by `New.proIwahori` and `σ a < σ b`, then `ρ(σ⁻¹) x` is fixed by `1 + c E_ab` |
| 125 | for integral `c`. -/ |
| 126 | lemma transvectionGL_apply_permGL_inv {h : a ≠ b} {σ : Perm (Fin N)} |
| 127 | (hx : x ∈ levelSpace ρ.ρ proIwahori) (hσ : σ a < σ b) (c : F) (hc : v c ≤ 1) : |
| 128 | ρ (transvectionGL h c) (ρ (permGL σ⁻¹) x) = ρ (permGL σ⁻¹) x := by |
| 129 | -- Moved past the permutation, `transvectionGL h c` becomes an upper triangular element of |
| 130 | -- `proIwahori`. |
| 131 | have h_comm : transvectionGL h c * permGL σ⁻¹ = permGL σ⁻¹ * transvectionGL hσ.ne c := by |
| 132 | simpa using (permGL_mul_transvectionGL σ⁻¹ hσ.ne c).symm |
| 133 | have h_fix : ρ (transvectionGL hσ.ne c) x = x := by |
| 134 | simpa using hx ⟨_, transvectionGL_mem_proIwahori hσ.ne (.inr ⟨hc, hσ⟩)⟩ |
| 135 | rw [← mul_apply_eq_comp, ← map_mul ρ.ρ, h_comm, map_mul ρ.ρ, mul_apply_eq_comp, h_fix] |
| 136 | |
| 137 | /-- If `c j < c i` forces `j < i`, as it does for monotone `c`, then the pro-`p` Iwahori subgroup |
| 138 | lies in the parahoric subgroup for the blocks of `c`. -/ |
| 139 | lemma proIwahori_le_blockParahoric {c : ℕ → ℕ} (hc : ∀ i j : ℕ, c j < c i → j < i) : |
| 140 | (proIwahori : Subgroup (GL (Fin N) F)) ≤ blockParahoric c := by |
| 141 | intro g hg |
| 142 | -- The condition for the level function `id` implies the one for `c`, by `hc`. |
| 143 | obtain ⟨h_int, h_below⟩ := |
| 144 | mem_blockParahoric.mp (mem_proIwahori_iff_blockParahoric.mp hg).left |
| 145 | exact mem_blockParahoric.mpr ⟨h_int, fun i j hij ↦ h_below i j (hc i j hij)⟩ |
| 146 | |
| 147 | /-! ### The quadratic relation -/ |
| 148 | |
| 149 | omit [Valued F ℤᵐ⁰] in |
| 150 | /-- The factorisation `s (1 + u E_ab) = (1 + u⁻¹ E_ab) d (1 + u⁻¹ E_ba)`, for `s` the transposition |
| 151 | of `a` and `b` and `d` diagonal with `-u⁻¹` at `a`, `u` at `b` and `1` elsewhere. -/ |
| 152 | @[local simp] |
| 153 | lemma swap_mul_transvectionGL (h : a ≠ b) (u : Fˣ) : |
| 154 | permGL (Equiv.swap a b) * transvectionGL h u.val = |
| 155 | transvectionGL h u.val⁻¹ * diagGL (Pi.mulSingle a (-u⁻¹) * Pi.mulSingle b u) * |
| 156 | transvectionGL h.symm u.val⁻¹ := by |
| 157 | -- Compare entries: after unfolding, the entry `(i, j)` is a case split on `i, j ∈ {a, b}`. |
| 158 | ext i j |
| 159 | simp [PEquiv.toMatrix_mul_apply, transvection, mul_add, add_mul, single_apply, Matrix.one_apply, |
| 160 | diagonal_apply, apply_ite Units.val, Pi.mulSingle_apply] |
| 161 | grind |
| 162 | |
| 163 | /-- For adjacent indices (`h : a ⋖ b`, that is `b = a + 1`) and `g` in `New.proIwahori` there is an |
| 164 | integral `c` such that the transposition of `a` and `b` conjugates `g (1 + c E_ab)` into |
| 165 | `New.proIwahori`. -/ |
| 166 | lemma exists_swap_conj_mem_proIwahori (h : a ⋖ b) (hg : g ∈ proIwahori) : |
| 167 | ∃ c : 𝒪[F], |
| 168 | MulAut.conj (permGL (Equiv.swap a b)) (g * transvectionGL h.ne c.val) ∈ proIwahori := by |
| 169 | -- Choose `c` so `transvectionGL h.ne c` clears entry `(a, b)`, the only entry swapped across |
| 170 | -- the diagonal. |
| 171 | let c : F := -g a b / g a a |
| 172 | have hc : v c ≤ 1 := by simp_all [c, v_diag_eq_one_of_mem_proIwahori, mem_proIwahori] |
| 173 | have h_mem : (permGL (swap a b) * diagGL 1)⁻¹ * (g * transvectionGL h.ne c) * |
| 174 | (permGL (swap a b) * diagGL 1) ∈ proIwahori := |
| 175 | mem_proIwahori_iff_blockParahoric.mpr <| conj_monomial_mem_blockParahoric 1 (swap a b) _ |
| 176 | (mem_proIwahori_iff_blockParahoric.mp <| |
| 177 | mul_mem hg (transvectionGL_mem_proIwahori _ (.inr ⟨hc, h.lt⟩))) <| by |
| 178 | have haa : g a a ≠ 0 := fun h0 ↦ by simpa [h0] using v_diag_eq_one_of_mem_proIwahori hg a |
| 179 | have h0 : (g.val * transvection a b c) a b = 0 := by simp [mul_transvection_apply_same, c, haa] |
| 180 | obtain ⟨h_lt, h_adj⟩ := h |
| 181 | simp |
| 182 | grind [one_pos] |
| 183 | exact ⟨⟨c, hc⟩, by simpa [MulAut.conj_apply, ← map_inv] using h_mem⟩ |
| 184 | |
| 185 | /-- If `v u = 1`, every entry of the diagonal torus element with `-u⁻¹` at `a`, `u` at `b` and `1` |
| 186 | elsewhere has valuation `1`. -/ |
| 187 | lemma v_mulSingle_neg_inv_mul_mulSingle_eq_one {u : Fˣ} (hu : v u.val = 1) (i : Fin N) : |
| 188 | v ((Pi.mulSingle a (-u⁻¹) * Pi.mulSingle b u : Fin N → Fˣ) i).val = 1 := by |
| 189 | aesop (add simp Pi.mulSingle_apply) |
| 190 | |
| 191 | /-- Let `b` cover `a`, let `φ` be invariant under `New.proIwahori`, let `x` be fixed by all |
| 192 | `1 + r E_ba` with `r` integral, and let `φ (ρ(d) x) = c` for every diagonal `d` with `-u⁻¹` at `a` |
| 193 | and `u` at `b`, where `v u = 1`. For integral `w`, `φ (ρ (s (1 + w E_ab)) x)` is `φ (ρ(s) x)` if |
| 194 | `v w < 1` and `c` otherwise, where `s` is the matrix of the transposition of `a` and `b`. -/ |
| 195 | private lemma map_permGL_mul_transvectionGL_eq (hab : a ⋖ b) {c : W} |
| 196 | (hφ : ∀ k ∈ proIwahori, ∀ z : ρ, φ (ρ k z) = φ z) |
| 197 | (hx : ∀ r : F, v r ≤ 1 → ρ (transvectionGL hab.ne' r) x = x) |
| 198 | (hc : ∀ u : Fˣ, v u.val = 1 → |
| 199 | φ (ρ (diagGL (Pi.mulSingle a (-u⁻¹) * Pi.mulSingle b u)) x) = c) |
| 200 | {w : F} (hw : v w ≤ 1) : |
| 201 | φ (ρ (permGL (swap a b) * transvectionGL hab.ne w) x) = |
| 202 | if v w < 1 then φ (ρ (permGL (swap a b)) x) else c := by |
| 203 | rcases hw.lt_or_eq with hw_lt | hw_eq |
| 204 | · -- Moved to the left of the transposition, `transvectionGL hab.ne w` lies in `proIwahori`. |
| 205 | rw [ite_eq_left hw_lt, permGL_mul_transvectionGL, map_mul ρ.ρ, mul_apply_eq_comp] |
| 206 | exact hφ _ (transvectionGL_mem_proIwahori _ (.inl hw_lt)) _ |
| 207 | · -- Factor `s (1 + w E_ab) = (1 + w⁻¹ E_ab) d (1 + w⁻¹ E_ba)`: the left factor lies in |
| 208 | -- `proIwahori`, the right one fixes `x`, and `φ (ρ d x) = c`. |
| 209 | have hw_unit : IsUnit w := isUnit_iff_ne_zero.mpr fun hw_zero ↦ by simp [hw_zero] at hw_eq |
| 210 | lift w to Fˣ using hw_unit |
| 211 | have hw_inv : v w.val⁻¹ ≤ 1 := by simp [hw_eq] |
| 212 | rw [ite_eq_right hw_eq.not_lt, swap_mul_transvectionGL hab.ne w] |
| 213 | simp only [map_mul ρ.ρ, mul_apply_eq_comp, hx _ hw_inv, |
| 214 | hφ _ (transvectionGL_mem_proIwahori hab.ne (.inr ⟨hw_inv, hab.lt⟩))] |
| 215 | exact hc w hw_eq |
| 216 | |
| 217 | /-- The quadratic relation. Let `b = a + 1`, let `s` be the transposition of `a` and `b`, `q` the |
| 218 | order of the residue field, and `φ` a linear map invariant under `New.proIwahori`. Let `x` be fixed |
| 219 | by all `1 + r E_ba` with `r` integral. Let `φ (ρ(d) x) = c` for every diagonal `d` with `-u⁻¹` at |
| 220 | `a`, `u` at `b` and `1` elsewhere, where `v u = 1`. Then |
| 221 | `q φ (s (mean of x over New.proIwahori)) = φ (s x) + (q - 1) c`. -/ |
| 222 | lemma quadratic_relation [CompactSpace 𝒪[F]] [IsSmoothRep ρ.ρ] |
| 223 | (hab : a ⋖ b) (c : W) (hφ : ∀ k ∈ proIwahori, ∀ z : ρ, φ (ρ k z) = φ z) |
| 224 | (hx : ∀ r : F, v r ≤ 1 → ρ (transvectionGL hab.ne' r) x = x) |
| 225 | (hc : ∀ u : Fˣ, v u.val = 1 → |
| 226 | φ (ρ (diagGL (Pi.mulSingle a (-u⁻¹) * Pi.mulSingle b u)) x) = c) : |
| 227 | Nat.card 𝓀[F] • φ (ρ (permGL (Equiv.swap a b)) (compactMean ρ.ρ proIwahori x)) = |
| 228 | φ (ρ (permGL (Equiv.swap a b)) x) + (Nat.card 𝓀[F] - 1) • c := by |
| 229 | classical |
| 230 | -- Let `y = ∑ r, ρ (transvectionGL hab.ne (f r)) x`, with `f r` running over lifts of the residue |
| 231 | -- field, and `τ` the matrix of the transposition. The mean of `y` is `q` times that of `x`, and |
| 232 | -- `φ (ρ τ (ρ g y))` is the right side for every `g ∈ proIwahori`. |
| 233 | choose f hf using (residue_surjective : ∀ r : 𝓀[F], ∃ f : 𝒪[F], residue 𝒪[F] f = r) |
| 234 | set τ : GL (Fin N) F := permGL (swap a b) |
| 235 | have h_tv (p q : F) : |
| 236 | transvectionGL hab.ne p * transvectionGL hab.ne q = transvectionGL hab.ne (p + q) := |
| 237 | Units.ext (transvection_mul_transvection_same _ _ hab.ne p q) |
| 238 | let y : ρ := ∑ r, ρ (transvectionGL hab.ne (f r)) x |
| 239 | -- Each summand of `y` has the mean of `x`, as the transvections lie in `proIwahori`. |
| 240 | have h_mean_term (r : 𝓀[F]) : |
| 241 | compactMean ρ.ρ proIwahori (ρ (transvectionGL hab.ne (f r)) x) = |
| 242 | compactMean ρ.ρ proIwahori x := |
| 243 | compactMean_apply (transvectionGL_mem_proIwahori hab.ne (.inr ⟨(f r).prop, hab.lt⟩)) x |
| 244 | have h_mean : compactMean ρ.ρ proIwahori y = Nat.card 𝓀[F] • compactMean ρ.ρ proIwahori x := by |
| 245 | simp [y, h_mean_term] |
| 246 | have h_const (g : GL (Fin N) F) (hg : g ∈ proIwahori) : |
| 247 | φ (ρ τ (ρ g y)) = φ (ρ τ x) + (Nat.card 𝓀[F] - 1) • c := by |
| 248 | -- Modulo `proIwahori` on the left, `τ * g` is `τ * transvectionGL hab.ne (-z)`, which shifts |
| 249 | -- `f r` to `f r - z`. |
| 250 | obtain ⟨z, hk⟩ : ∃ z : 𝒪[F], |
| 251 | MulAut.conj (permGL (Equiv.swap a b)) (g * transvectionGL hab.ne z.val) ∈ proIwahori := |
| 252 | exists_swap_conj_mem_proIwahori hab hg |
| 253 | have h_shift (r : 𝓀[F]) : |
| 254 | φ (ρ (τ * g * transvectionGL hab.ne (f r).val) x) = |
| 255 | φ (ρ (τ * transvectionGL hab.ne (f r - z).val) x) := by |
| 256 | have h_prod : τ * g * transvectionGL hab.ne (f r).val = |
| 257 | MulAut.conj (permGL (Equiv.swap a b)) (g * transvectionGL hab.ne z.val) * |
| 258 | (τ * transvectionGL hab.ne (f r - z).val) := by |
| 259 | simp [τ, MulAut.conj_apply, mul_assoc, h_tv] |
| 260 | rw [h_prod, map_mul ρ.ρ, mul_apply_eq_comp, hφ _ hk] |
| 261 | have h_lt_iff (r : 𝓀[F]) : v (f r - z).val < 1 ↔ r = residue 𝒪[F] z := by |
| 262 | rw [← residue_eq_zero_iff_valuation_lt_one, map_sub, hf, sub_eq_zero] |
| 263 | calc |
| 264 | _ = ∑ r, φ (ρ (τ * g * transvectionGL hab.ne (f r).val) x) := by simp [y] |
| 265 | _ = ∑ r, if v (f r - z).val < 1 then φ (ρ τ x) else c := |
| 266 | sum_congr rfl fun r _ ↦ |
| 267 | (h_shift r).trans (map_permGL_mul_transvectionGL_eq hab hφ hx hc |
| 268 | (f r - z).prop) |
| 269 | -- Exactly one `r`, the residue of `z`, has `v (f r - z) < 1`. |
| 270 | _ = ∑ r, if r = residue 𝒪[F] z then φ (ρ τ x) else c := |
| 271 | sum_congr rfl fun r _ ↦ if_congr (h_lt_iff r) rfl rfl |
| 272 | _ = _ := by simp [sum_ite, filter_ne', card_filter] |
| 273 | simpa [h_mean] using map_compactMean_of_const (φ ∘ₗ ρ τ) h_const |
| 274 | |
| 275 | end New |
| 276 | |
| 277 | /-! |
| 278 | ## Injectivity of some U_t, and invariance properties of exponents |
| 279 | |
| 280 | Some `U_t` with `t` strictly dominant is injective. For an exponent, the mean over `New.proIwahori` |
| 281 | in its defining identity can be dropped in two cases: at diagonal matrices of units |
| 282 | (`New.IsExponent.apply_diagGL_unit`) and at certain monomial translates |
| 283 | (`New.IsExponent.apply_diagGL_apply_diagGL_mul_permGL`). |
| 284 | -/ |
| 285 | |
| 286 | section IwahoriInjective |
| 287 | |
| 288 | open WithZero Valued Finset Equiv OrderDual |
| 289 | |
| 290 | namespace New |
| 291 | |
| 292 | variable {F : Type*} [Field F] [Valued F ℤᵐ⁰] |
| 293 | {N : ℕ} {ϖ : Fˣ} (ρ : Rep ℂ (GL (Fin N) F)) [IsSmoothRep ρ.ρ] (hϖ : v ϖ.val = exp (-1)) |
| 294 | |
| 295 | /-- A diagonal matrix whose entries are units of the ring of integers conjugates every element of |
| 296 | `New.proIwahori` into `New.proIwahori`. -/ |
| 297 | lemma diagGL_conj_mem_proIwahori_of_v_eq_one {t : Fin N → Fˣ} {k : GL (Fin N) F} |
| 298 | (hk : k ∈ proIwahori) (ht : ∀ i : Fin N, v (t i).val = 1) : |
| 299 | diagGL t * k * (diagGL t)⁻¹ ∈ proIwahori := by |
| 300 | -- All entries of `t` have the same valuation, so every matrix is block triangular for it. |
| 301 | exact diagGL_conj_mem_proIwahori hk fun i j hij ↦ by simp [ht] at hij |
| 302 | |
| 303 | /-- If a linear map `φ` is invariant under `New.proIwahori` and `t` is a diagonal element whose |
| 304 | entries are units of the ring of integers, then the mean over `New.proIwahori` can be dropped |
| 305 | before applying `φ ∘ ρ (diagGL t)`. -/ |
| 306 | private lemma apply_diagGL_compactMean_of_v_eq_one {W : Type*} [AddCommGroup W] [Module ℂ W] |
| 307 | [CompactSpace 𝒪[F]] {ρ : Rep ℂ (GL (Fin N) F)} [IsSmoothRep ρ.ρ] {φ : ρ →ₗ[ℂ] W} |
| 308 | (hφ : ∀ k ∈ proIwahori, ∀ z : ρ, φ (ρ k z) = φ z) {t : Fin N → Fˣ} |
| 309 | (ht : ∀ i : Fin N, v (t i).val = 1) (z : ρ) : |
| 310 | φ (ρ (diagGL t) (compactMean ρ.ρ proIwahori z)) = φ (ρ (diagGL t) z) := |
| 311 | map_compactMean_of_factor hφ fun k hk ↦ ⟨k, diagGL_conj_mem_proIwahori_of_v_eq_one hk ht, by simp⟩ |
| 312 | |
| 313 | /-- For a uniformizer `ϖ` and index `a`, the monomial matrix `permGL (finCycle a)⁻¹ * diagGL s` |
| 314 | (where `s i = ϖ⁻¹` for `a ≤ i` and `1` otherwise) conjugates `New.proIwahori` into itself. -/ |
| 315 | private lemma conj_finCycle_inv_mul_diagGL_mem_proIwahori (hϖ : v ϖ.val = exp (-1)) (a : Fin N) |
| 316 | {k : GL (Fin N) F} (hk : k ∈ proIwahori) : |
| 317 | (permGL (finCycle a)⁻¹ * diagGL (fun i ↦ if a ≤ i then ϖ⁻¹ else 1))⁻¹ * k * |
| 318 | (permGL (finCycle a)⁻¹ * diagGL (fun i ↦ if a ≤ i then ϖ⁻¹ else 1)) ∈ proIwahori := by |
| 319 | refine mem_proIwahori_iff_blockParahoric.mpr |
| 320 | -- The torus element, the permutation and the set are inferred from the goal. |
| 321 | (conj_monomial_mem_blockParahoric _ _ _ (mem_proIwahori_iff_blockParahoric.mp hk) ?_) |
| 322 | -- The valuation condition is an inequality between indicator functions on `Fin N`, which |
| 323 | -- holds for every pair of indices. |
| 324 | suffices h_ind : ∀ i j : Fin N, |
| 325 | ((if a ≤ j then 1 else 0) + if j < i then 1 else 0 : ℤ) ≤ |
| 326 | (if a ≤ i then 1 else 0) + if j - a < i - a then 1 else 0 by |
| 327 | simpa [apply_ite Units.val, apply_ite v, apply_ite log, hϖ] using |
| 328 | fun i j : Fin N ↦ Or.inr (h_ind i j) |
| 329 | fin_omega |
| 330 | |
| 331 | /-- Let `F` have a uniformiser `ϖ` (`v ϖ = exp (-1)`) and let `ρ` be a smooth representation of |
| 332 | `GL_N(F)`. For dominant diagonal `t`, `U_t = iwahoriHeckeHom ρ t` acts on the vectors fixed by the |
| 333 | pro-`p` Iwahori subgroup `New.proIwahori`: it applies `ρ (diagGL t)` and then takes the mean |
| 334 | `compactMean` over `proIwahori`. There is a strictly dominant `t` (the valuations `v (t i)`, written |
| 335 | multiplicatively, strictly increase) such that `U_t` is injective. It is a case of the Moy–Prasad |
| 336 | and Morris injectivity of fixed vectors into the Jacquet module. -/ |
| 337 | lemma exists_iwahoriHeckeHom_injective [CompactSpace 𝒪[F]] (hϖ : v ϖ.val = exp (-1)) : |
| 338 | ∃ t : Fin N → Fˣ, ∃ h : StrictMono fun i : Fin N ↦ v (t i).val, |
| 339 | Function.Injective (iwahoriHeckeHom ρ ⟨t, h.monotone⟩) := by |
| 340 | -- Take `t = ∏ a, s a`, where `s a` is `ϖ⁻¹` from the index `a` on and `1` before it. |
| 341 | let s (a : Fin N) : dominantTorus (n := Fin N) (F := F) := |
| 342 | ⟨fun i ↦ if a ≤ i then ϖ⁻¹ else 1, by |
| 343 | simp +decide [dominantTorus, Monotone, apply_ite, ite_apply, hϖ] |
| 344 | lia⟩ |
| 345 | have h_strict : StrictMono fun i : Fin N ↦ v ((∏ a, s a).val i).val := by |
| 346 | simp [StrictMono, prod_ite, filter_ge_eq_Iic, s, hϖ] |
| 347 | -- The `U` with zero kernel form a submonoid, so it is enough that each `U (s a)` has zero kernel. |
| 348 | suffices h_ker : |
| 349 | ∀ (a : Fin N) (x : levelSpace ρ.ρ proIwahori), iwahoriHeckeHom ρ (s a) x = 0 → x = 0 by |
| 350 | have h_mem : (∏ a, s a) ∈ (nonZeroSMulDivisors (Module.End ℂ (levelSpace ρ.ρ proIwahori)) |
| 351 | (levelSpace ρ.ρ proIwahori)).comap (iwahoriHeckeHom ρ) := prod_mem fun a _ ↦ h_ker a |
| 352 | exact ⟨(∏ a, s a).val, h_strict, (injective_iff_map_eq_zero _).mpr h_mem⟩ |
| 353 | intro a x hx |
| 354 | -- A cyclic permutation makes `s a` an element `n` that normalises `proIwahori`, so `proIwahori` |
| 355 | -- fixes `y`. |
| 356 | let n : GL (Fin N) F := permGL (finCycle a)⁻¹ * diagGL (s a) |
| 357 | let y : ρ := ρ n x |
| 358 | have hy : y ∈ levelSpace ρ.ρ proIwahori := by |
| 359 | simpa [y, Representation.inv_apply_eq_iff] using fun (k : GL (Fin N) F) (hk : k ∈ proIwahori) ↦ |
| 360 | x.prop ⟨n⁻¹ * k * n, conj_finCycle_inv_mul_diagGL_mem_proIwahori hϖ a hk⟩ |
| 361 | -- `U (s a) x = 0` says that `P` holds for the inverse of the cycle. |
| 362 | let φ : Module.End ℂ ρ := compactMean ρ.ρ proIwahori |
| 363 | let P (σ : Perm (Fin N)) : Prop := φ (ρ (permGL σ⁻¹) y) = 0 |
| 364 | have hx_zero : compactMean ρ.ρ proIwahori (ρ (diagGL (s a)) x) = 0 := congrArg Subtype.val hx |
| 365 | have h_start : P (finCycle a)⁻¹ := by simpa [P, y, n] using hx_zero |
| 366 | -- The quadratic relation, with `c = 0`, carries `P` across a transposition that removes an |
| 367 | -- inversion. |
| 368 | have h_swap (σ : Perm (Fin N)) (i j : Fin N) (hij : i ⋖ j) (hσ : σ j < σ i) (hP : P σ) : |
| 369 | P (σ * swap i j) := by |
| 370 | let z : ρ := ρ (permGL σ⁻¹) y |
| 371 | let w : Module.End ℂ ρ := ρ (permGL (swap i j)) |
| 372 | have hz : φ z = 0 := hP |
| 373 | -- a diagonal matrix of units normalises `proIwahori`, so `z` may be replaced by its mean |
| 374 | have h_diag (t : Fin N → Fˣ) (ht : ∀ i : Fin N, v (t i).val = 1) : φ (ρ (diagGL t) z) = 0 := |
| 375 | calc |
| 376 | _ = φ (ρ (diagGL t) (φ z)) := |
| 377 | (apply_diagGL_compactMean_of_v_eq_one (fun _ ↦ compactMean_apply) ht z).symm |
| 378 | _ = 0 := by simp [hz] |
| 379 | have h_quad : Nat.card 𝓀[F] • φ (w (φ z)) = φ (w z) + (Nat.card 𝓀[F] - 1) • 0 := |
| 380 | quadratic_relation hij 0 (fun _ ↦ compactMean_apply) (transvectionGL_apply_permGL_inv hy hσ) |
| 381 | fun u hu ↦ h_diag _ (v_mulSingle_neg_inv_mul_mulSingle_eq_one hu) |
| 382 | -- The left side vanishes by `hz`, so the first term on the right does too. |
| 383 | simpa [P, w, z, hz, ← map_inv] using h_quad.symm |
| 384 | -- Sorting (`exists_antitone_of_swap`) ends at the monotone permutation `σ = 1`, where `P` says |
| 385 | -- `y = 0`; and `ρ n` is injective. |
| 386 | obtain ⟨σ, hP, h_anti⟩ := exists_antitone_of_swap toDual P ⟨_, h_start⟩ h_swap |
| 387 | have hσ_one : σ = 1 := (Perm.monotone_iff σ).mp (antitone_toDual_comp_iff.mp h_anti) |
| 388 | -- `y` is fixed by `proIwahori`, so it equals its mean, which vanishes by `P 1`. |
| 389 | have hy_zero : y = 0 := by simpa [P, φ, hσ_one, compactMean_eq_self _ hy] using hP |
| 390 | exact Subtype.ext ((map_eq_zero_iff (ρ.ρ n) (ρ.ρ.apply_bijective n).injective).mp hy_zero) |
| 391 | |
| 392 | variable [CompactSpace 𝒪[F]] |
| 393 | |
| 394 | variable {ρ} {y z : ρ} {ξ : (Fin N → Fˣ) →* ℂˣ} {l : ρ →ₗ[ℂ] ℂ} {t : Fin N → Fˣ} |
| 395 | {K : Subgroup (GL (Fin N) F)} {c : ℕ → ℕ} |
| 396 | |
| 397 | /-! ### Exponents -/ |
| 398 | |
| 399 | /-- An exponent `l` (with character `ξ`) does not change under the mean over `New.proIwahori`: |
| 400 | this is its defining identity at `t = 1`. -/ |
| 401 | lemma IsExponent.apply_compactMean (hl : IsExponent ρ ξ l) : |
| 402 | l (compactMean ρ.ρ proIwahori z) = l z := by simpa using hl (one_mem _) z |
| 403 | |
| 404 | /-- An exponent `l` (with character `ξ`) is invariant under `New.proIwahori`: |
| 405 | `l (ρ k z) = l z` for `k` in `New.proIwahori`. -/ |
| 406 | lemma IsExponent.apply_proIwahori (hl : IsExponent ρ ξ l) (k : GL (Fin N) F) (hk : k ∈ proIwahori) |
| 407 | (z : ρ) : l (ρ k z) = l z := by simp [← hl.apply_compactMean, hk] |
| 408 | |
| 409 | /-- Let `l` be an exponent with character `ξ`, and let `t` be a diagonal element all of whose |
| 410 | entries are units of the ring of integers. Then `l (ρ(diag t) z) = ξ(t) · l z` for every vector `z`, |
| 411 | so the mean over `New.proIwahori` can be dropped. -/ |
| 412 | lemma IsExponent.apply_diagGL_unit (hl : IsExponent ρ ξ l) (ht : ∀ a : Fin N, v (t a).val = 1) |
| 413 | (z : ρ) : l (ρ (diagGL t) z) = ξ t * l z := by |
| 414 | -- `t` is dominant and normalises `proIwahori`, so the mean in the eigen-equation `hl` can be |
| 415 | -- dropped. |
| 416 | rw [← hl (t := t) fun i j _ ↦ by simp [ht]] |
| 417 | exact (apply_diagGL_compactMean_of_v_eq_one hl.apply_proIwahori ht z).symm |
| 418 | |
| 419 | /-- Let `ρ` be a smooth complex representation of `GL_N(F)`, and let `l` be an exponent with |
| 420 | character `ξ`: `l (ρ(t) (mean of z over New.proIwahori)) = ξ(t) l z` for all vectors `z` and all |
| 421 | dominant diagonal `t`. Let `y` be fixed by a subgroup `K` containing every `g` of |
| 422 | `blockParahoric c` (entries `g i j` in the maximal ideal whenever `c j < c i`) whose diagonal |
| 423 | entries are `≡ 1` mod the maximal ideal; let `σ` be a permutation, `s` a diagonal torus element |
| 424 | and `d` dominant, and suppose that for `σ b < σ a` either `v s_{σ b} ≤ v s_{σ a}`, or `c a ≤ c b` |
| 425 | and `v s_{σ b} ≤ v s_{σ a} · exp 1`. Then at `x = ρ(diagGL s · permGL σ) y` the mean over |
| 426 | `New.proIwahori` can be dropped: `l (ρ(diagGL d) x) = ξ(d) l x`. -/ |
| 427 | lemma IsExponent.apply_diagGL_apply_diagGL_mul_permGL (hl : IsExponent ρ ξ l) |
| 428 | (hy : y ∈ levelSpace ρ.ρ K) |
| 429 | (hK : ∀ {g : GL (Fin N) F}, g ∈ blockParahoric c ∧ (∀ i : Fin N, v (g i i - 1) < 1) → g ∈ K) |
| 430 | (σ : Perm (Fin N)) {d s : Fin N → Fˣ} (hd : d ∈ dominantTorus) |
| 431 | (hs : ∀ a b : Fin N, σ b < σ a → v (s (σ b)).val ≤ v (s (σ a)).val ∨ |
| 432 | c a.val ≤ c b.val ∧ v (s (σ b)).val ≤ v (s (σ a)).val * exp 1) : |
| 433 | l (ρ (diagGL d) (ρ (diagGL s * permGL σ) y)) = ξ d * l (ρ (diagGL s * permGL σ) y) := by |
| 434 | -- Write `g ∈ proIwahori` as `u * (u⁻¹ * g)` with `u` upper unitriangular; `d` conjugates `u` |
| 435 | -- into `proIwahori`, and the lower triangular `u⁻¹ * g` fixes `ρ (diagGL s * permGL σ) y`. |
| 436 | rw [← hl hd] |
| 437 | refine (map_compactMean_of_factor hl.apply_proIwahori fun g hg ↦ ?_).symm |
| 438 | obtain ⟨u, hu, -, h_iw⟩ := exists_iwasawa_bruhat g |
| 439 | obtain ⟨hu_iw, h_lower⟩ : u ∈ proIwahori ∧ ∀ i j : Fin N, i < j → (u⁻¹ * g) i j = 0 := h_iw hg |
| 440 | have h_conj : (diagGL s * permGL σ)⁻¹ * (u⁻¹ * g) * (diagGL s * permGL σ) ∈ K := by |
| 441 | rw [diagGL_mul_permGL] |
| 442 | refine hK (conj_monomial_mem_blockParahoric _ σ _ |
| 443 | (mem_proIwahori_iff_blockParahoric.mp (mul_mem (inv_mem hu_iw) hg)) ?_) |
| 444 | intro i j |
| 445 | rcases lt_trichotomy (σ i) (σ j) with h_lt | h_eq | h_gt |
| 446 | · -- above the diagonal the entry of the lower triangular `u⁻¹ * g` vanishes |
| 447 | exact .inl (h_lower (σ i) (σ j) h_lt) |
| 448 | · -- on the diagonal both sides of the inequality agree |
| 449 | simp [σ.injective h_eq] |
| 450 | · -- below the diagonal take `log` of the valuations in `hs` (they are nonzero) |
| 451 | right |
| 452 | rcases hs i j h_gt with h_le | ⟨h_c, h_le⟩ |
| 453 | · have h_log : log (v (s (σ j)).val) ≤ log (v (s (σ i)).val) := |
| 454 | (log_le_log (by simp) (by simp)).mpr h_le |
| 455 | grind [id_eq] |
| 456 | · have h_log : log (v (s (σ j)).val) ≤ log (v (s (σ i)).val) + 1 := by |
| 457 | simpa [log_mul] using (log_le_log (by simp) (by simp)).mpr h_le |
| 458 | grind [id_eq] |
| 459 | have h_fix : ρ (u⁻¹ * g) (ρ (diagGL s * permGL σ) y) = ρ (diagGL s * permGL σ) y := by |
| 460 | simpa [Representation.inv_apply_eq_iff] using hy ⟨_, h_conj⟩ |
| 461 | exact ⟨u, conj_unitriangular_mem_proIwahori hd ⟨hu, hu_iw⟩, h_fix⟩ |
| 462 | |
| 463 | /-- The value of an exponent `l` of character `ξ` on monomial translates. Let `y` be fixed by a |
| 464 | subgroup `K` that contains the elements of the parahoric of level function `c` (integral `g` with |
| 465 | `v (g i j) < 1` whenever `c j < c i`) with diagonal entries `≡ 1`. Suppose that for `σ b < σ a` |
| 466 | either `v t_{σ b} ≤ v t_{σ a}`, or `c a ≤ c b` and `v t_{σ b} ≤ v t_{σ a} · exp 1`. Then |
| 467 | `l (ρ(t) ρ(σ) y) = ξ(t) l (ρ(σ) y)`. Here `ϖ` is a uniformiser (`hϖ`). -/ |
| 468 | lemma IsExponent.apply_monomial_translate (hϖ : v ϖ.val = exp (-1)) {y : ρ} |
| 469 | {ξ : (Fin N → Fˣ) →* ℂˣ} {l : ρ →ₗ[ℂ] ℂ} {t : Fin N → Fˣ} {K : Subgroup (GL (Fin N) F)} |
| 470 | {c : ℕ → ℕ} (hl : IsExponent ρ ξ l) (hy : y ∈ levelSpace ρ.ρ K) |
| 471 | (hK : ∀ {g : GL (Fin N) F}, g ∈ blockParahoric c ∧ (∀ i : Fin N, v (g i i - 1) < 1) → g ∈ K) |
| 472 | (σ : Perm (Fin N)) |
| 473 | (ht : ∀ a b : Fin N, σ b < σ a → v (t (σ b)).val ≤ v (t (σ a)).val ∨ |
| 474 | c a.val ≤ c b.val ∧ v (t (σ b)).val ≤ v (t (σ a)).val * exp 1) : |
| 475 | l (ρ (diagGL t * permGL σ) y) = ξ t * l (ρ (permGL σ) y) := by |
| 476 | -- Choose `k` with `t₀ ^ k * t` dominant, `t₀` strictly dominant. Drop the mean at |
| 477 | -- `(d, s) = (t₀ ^ k, t)` and at `(t₀ ^ k * t, 1)`: the left sides agree; cancel `ξ (t₀ ^ k)`. |
| 478 | let t₀ : Fin N → Fˣ := fun i ↦ ϖ⁻¹ ^ (i : ℕ) |
| 479 | have ht₀ : StrictMono fun i : Fin N ↦ v (t₀ i).val := fun i j hij ↦ by simpa [t₀, hϖ] using hij |
| 480 | obtain ⟨k, hk⟩ := (eventually_pow_mul_mem_dominantTorus ht₀ t).exists |
| 481 | refine mul_left_cancel₀ (ξ (t₀ ^ k)).ne_zero ?_ |
| 482 | calc ξ (t₀ ^ k) * l (ρ (diagGL t * permGL σ) y) |
| 483 | = l (ρ (diagGL (t₀ ^ k)) (ρ (diagGL t * permGL σ) y)) := |
| 484 | (hl.apply_diagGL_apply_diagGL_mul_permGL hy hK σ (pow_mem ht₀.monotone k) ht).symm |
| 485 | _ = l (ρ (diagGL (t₀ ^ k * t)) (ρ (diagGL 1 * permGL σ) y)) := by simp |
| 486 | _ = ξ (t₀ ^ k * t) * l (ρ (diagGL 1 * permGL σ) y) := |
| 487 | hl.apply_diagGL_apply_diagGL_mul_permGL hy hK σ hk fun a b _ ↦ .inl le_rfl |
| 488 | _ = ξ (t₀ ^ k) * (ξ t * l (ρ (permGL σ) y)) := by simp [mul_assoc] |
| 489 | |
| 490 | end New |
| 491 | |
| 492 | end IwahoriInjective |