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

| 1 | module |
| 2 | |
| 3 | import Mathlib.Algebra.Order.Star.Int |
| 4 | import Mathlib.Data.Rat.Cast.OfScientific |
| 5 | public import New.UpperBound.Divisibility.MarkedPrimes |
| 6 | public import New.UpperBound.ElementaryDivisors.ElementaryDivisorTheorem |
| 7 | import Lib.GLn.SchurModule.SchurNorm |
| 8 | import New.UpperBound.ElementaryDivisors.DefectCount |
| 9 | |
| 10 | /-! |
| 11 | # Elementary divisor bound for the scaled Hecke operator via edges |
| 12 | |
| 13 | Let `l` be a place of a marked set `Λ` above a prime `p`. This file carries the theorem on |
| 14 | elementary divisors, `New.FrobeniusCycle.elementary_divisors`, for the edge Hecke operator over |
| 15 | to the normalised Hecke operator `New.Data.IsMarked.scaledHeckeOperator` at `l`. It assumes a |
| 16 | Frobenius cycle that matches the places above `l`. The proof identifies the two operators in |
| 17 | four steps: |
| 18 | * The edges: the cosets of the Hecke operator at `l` are indexed by edges. An edge is determined |
| 19 | by its origin and its basis change there, because the rational points act freely on the cosets |
| 20 | of the level (`New.Columns.HeckeEdges.eq_of_origin_eq_of_mem_parahoric`). |
| 21 | * The variables: at an a-place that induces `l` or its conjugate, an edge acts by letter matrices |
| 22 | and powers of `p` (`New.Columns.kroneckerPi_symPowMatrix_eq_letterRep`). |
| 23 | * The weight space splits into monomials at these a-places and a factor on which the edges act |
| 24 | integrally (`New.Columns.exists_weylIndex_equiv`, `New.Columns.exists_schur_eq_map`). |
| 25 | * The module: integral source forms are families of integral vectors indexed by the classes |
| 26 | (`New.Columns.range_sourceFormOfValues`). |
| 27 | |
| 28 | ## Main definitions and results |
| 29 | |
| 30 | * `New.Columns.isOntoUpToColength_scaledHeckeOperator_of_frobeniusCycle`: given a Frobenius cycle |
| 31 | that matches the places above `l`, the operator is an edge Hecke operator, so the bound of the |
| 32 | theorem holds for it. |
| 33 | * `New.Columns.HeckeEdges.heckeSplit_apply_rep`: The Hecke operator as a sum over edges. |
| 34 | |
| 35 | Notions from other files: |
| 36 | * `New.IsOntoUpToColength`: The endomorphism `y` keeps `M`, and for some natural number `i ≤ c` the |
| 37 | sum `y (M) + p ^ j₀ • M` has index dividing `p ^ i` in `M` (in the sense of `New.ColengthDvd`): |
| 38 | `y` is onto on `M` modulo `p ^ j₀` up to an index `p ^ i`. |
| 39 | * `New.Data.IsMarked`: a marked set `Λ` of primes of `E` is disjoint from its complex conjugate, |
| 40 | each of its primes is induced by an a-place (an element of `D.aPlaces`), `p` is exceptional |
| 41 | (`New.Data.IsExceptional`), and `p` is below `D.x₁` and not split in the imaginary quadratic |
| 42 | field. |
| 43 | * `New.Data.integralSourceForms`: the module of the elements of `D.SourceForm` of gauge at most `1`. |
| 44 | * `New.FrobeniusCycle`: ring maps `ι s : W → R` for `s` in `ℤ/N`, alternately even and odd, with |
| 45 | `ι (s + 1) ≡ ι s ^ P` modulo `p`, where `P = p ^ frobExp` and the residue field of `W` has |
| 46 | `P ^ N` elements. |
| 47 | |
| 48 | ## Relation to the literature |
| 49 | |
| 50 | See `New.UpperBound.Divisibility.MarkOperator` for related work. |
| 51 | -/ |
| 52 | |
| 53 | @[expose] public section |
| 54 | |
| 55 | noncomputable section TwistedHeckeType |
| 56 | |
| 57 | namespace New.Columns |
| 58 | |
| 59 | open Matrix Finset FrobeniusCycle Gf Data ComplexConjugate WithZero NumberField |
| 60 | |
| 61 | /-! ### Lattices at a finite place -/ |
| 62 | |
| 63 | section Lattices |
| 64 | |
| 65 | variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] {k : ℕ} |
| 66 | |
| 67 | /-- The valuation ring in `E` of the finite place `v`. -/ |
| 68 | abbrev valuationRingAt (v : FinPlace E) : ValuationSubring E := (v.valuation E).valuationSubring |
| 69 | |
| 70 | /-- An invertible matrix over `E`, read over the completion of `E` at `v`. -/ |
| 71 | def localGL (v : FinPlace E) : GL n E →* GL n (LocField v) := |
| 72 | GeneralLinearGroup.map (algebraMap E (LocField v)) |
| 73 | |
| 74 | /-- A rational matrix lies in the maximal compact subgroup at `v` exactly if it is invertible over |
| 75 | the valuation ring of `v`. -/ |
| 76 | lemma localGL_mem_localIntGL_iff {v : FinPlace E} {x : GL n E} : |
| 77 | localGL v x ∈ localIntGL n v ↔ x ∈ intGL n (valuationRingAt v).toSubring := by |
| 78 | have h_entry (y : E) : |
| 79 | algebraMap E (LocField v) y ∈ (LocInt v).toSubring ↔ y ∈ (valuationRingAt v).toSubring := by |
| 80 | change Valued.v (algebraMap E (LocField v) y) ≤ 1 ↔ v.valuation E y ≤ 1 |
| 81 | rw [v_algebraMap_eq_valuation] |
| 82 | simp only [mem_intGL, ← map_inv, ← h_entry] |
| 83 | rfl |
| 84 | |
| 85 | /-- The component at `v` of the finite adelic point of a rational point `γ` of the unitary group is |
| 86 | `γ`, read over the completion at `v`. -/ |
| 87 | lemma atPlace_embFin (v : FinPlace E) (γ : U (stdSpace E n).J) : |
| 88 | ((stdSpace E n).embFin γ).atPlace v = localGL v γ := |
| 89 | congrArg (GeneralLinearGroup.map (evalAt v)) (stdSpace_embFin γ) |
| 90 | |
| 91 | /-- The group `GL_k(W)` over the valuation ring `W` of `v`, embedded in `GL_n(E)` by numbering the |
| 92 | coordinates with `q`. -/ |
| 93 | def latticeGL (q : n ≃ Fin k) (v : FinPlace E) : GL (Fin k) (valuationRingAt v) →* GL n E := |
| 94 | (GeneralLinearGroup.map (valuationRingAt v).subtype).comp (reindexGL q.symm).toMonoidHom |
| 95 | |
| 96 | lemma latticeGL_apply (q : n ≃ Fin k) (v : FinPlace E) (g : GL (Fin k) (valuationRingAt v)) |
| 97 | (i j : n) : latticeGL q v g i j = g (q i) (q j) := rfl |
| 98 | |
| 99 | /-- A rational matrix lies in the maximal compact subgroup at `v` exactly if it comes from `GL_k` |
| 100 | over the valuation ring of `v`, in the numbering `q` of the coordinates. -/ |
| 101 | lemma localGL_mem_localIntGL_iff_mem_range (q : n ≃ Fin k) {v : FinPlace E} {x : GL n E} : |
| 102 | localGL v x ∈ localIntGL n v ↔ x ∈ (latticeGL q v).range := by |
| 103 | have h_onto : (reindexGL (R := valuationRingAt v) q.symm).toMonoidHom.range = ⊤ := |
| 104 | MonoidHom.range_eq_top.2 (reindexGL q.symm).surjective |
| 105 | rw [localGL_mem_localIntGL_iff, latticeGL, MonoidHom.range_comp, h_onto, ← MonoidHom.range_eq_map] |
| 106 | rfl |
| 107 | |
| 108 | /-- The image of `GL_k` over the valuation ring of `v` lies in the maximal compact subgroup at |
| 109 | `v`. -/ |
| 110 | lemma localGL_latticeGL_mem_localIntGL (q : n ≃ Fin k) (v : FinPlace E) |
| 111 | (g : GL (Fin k) (valuationRingAt v)) : localGL v (latticeGL q v g) ∈ localIntGL n v := |
| 112 | (localGL_mem_localIntGL_iff_mem_range q).2 ⟨g, rfl⟩ |
| 113 | |
| 114 | variable (E) in |
| 115 | /-- The matrix `diag(p, …, p, 1, …, 1)` with `p` at the first `r` coordinates in the numbering |
| 116 | `q`. -/ |
| 117 | def blockScaling (q : n ≃ Fin k) (p r : ℕ) [Fact p.Prime] : GL n E := |
| 118 | diagGL fun i : n ↦ if q i < r then Units.mk0 (p : E) NeZero.out else 1 |
| 119 | |
| 120 | variable {p r : ℕ} [Fact p.Prime] {l : FinPlace E} |
| 121 | |
| 122 | lemma coe_blockScaling (q : n ≃ Fin k) : |
| 123 | (blockScaling E q p r).val = diagonal fun i : n ↦ if q i < r then (p : E) else 1 := by |
| 124 | simp [blockScaling, apply_ite Units.val] |
| 125 | |
| 126 | lemma coe_blockScaling_inv (q : n ≃ Fin k) : |
| 127 | (blockScaling E q p r)⁻¹.val = diagonal fun i : n ↦ if q i < r then (p : E)⁻¹ else 1 := by |
| 128 | simp [blockScaling, ← map_inv, apply_ite Units.val, apply_ite Inv.inv] |
| 129 | |
| 130 | /-- Let `p` be a uniformizer at `l`, let `q` number the `k` coordinates, and let `r < k`. The matrix |
| 131 | `blockScaling E q p r = diag(p, …, p, 1, …, 1)`, with `p` at the first `r` coordinates, lies over |
| 132 | the completion at `l` in the double coset `basicDoubleCoset n l r` of the Hecke operator of index |
| 133 | `r`. -/ |
| 134 | lemma blockScaling_mem_basicDoubleCoset (q : n ≃ Fin k) (hp : l.valuation E p = exp (-1)) |
| 135 | (hr : r < k) : localGL l (blockScaling E q p r) ∈ basicDoubleCoset n l r := by |
| 136 | let ϖ : (LocField l)ˣ := (Units.mk0 (p : E) NeZero.out).map (algebraMap E (LocField l)) |
| 137 | let s : Finset n := (Iio (⟨r, hr⟩ : Fin k)).map q.symm.toEmbedding |
| 138 | have h_diag : localGL l (blockScaling E q p r) = diagGL fun i : n ↦ if i ∈ s then ϖ else 1 := by |
| 139 | ext i j |
| 140 | simp [localGL, coe_blockScaling, s, ϖ, Fin.lt_def, diagonal_apply, apply_ite Units.val, |
| 141 | apply_ite (algebraMap E (LocField l))] |
| 142 | simpa [h_diag, s] using |
| 143 | diagGL_ite_mem_basicDoubleCoset (ϖ := ϖ) ((v_algebraMap_eq_valuation (p : E)).trans hp) s |
| 144 | |
| 145 | /-- Over a local ring `W`, a matrix is parahoric for the blocks of sizes `r` and `k - r` exactly if |
| 146 | its entries at `(i, j)` with `i < r ≤ j` lie in the maximal ideal. -/ |
| 147 | lemma mem_parahoric_twoBlock_iff {W : Type} [CommRing W] [IsLocalRing W] {β : GL (Fin k) W} : |
| 148 | β ∈ parahoric W (twoBlock k r) ↔ |
| 149 | ∀ i j : Fin k, i < r → r ≤ j → β i j ∈ IsLocalRing.maximalIdeal W := by |
| 150 | refine forall₂_congr fun i j ↦ ?_ |
| 151 | have h_blocks : twoBlock k r i < twoBlock k r j ↔ i < r ∧ r ≤ j := by grind [twoBlock] |
| 152 | change (twoBlock k r i < twoBlock k r j → IsLocalRing.residue W (β i j) = 0) ↔ _ |
| 153 | rw [h_blocks, and_imp, IsLocalRing.residue_eq_zero_iff] |
| 154 | |
| 155 | /-- Let `p` be a uniformizer at `l`, with valuation ring `W`, and let `d = diag(p, …, p, 1, …, 1)` |
| 156 | have `r` entries `p`. For `β` in `GL_k(W)`, the conjugate `d⁻¹ β d` is integral at `l`, together |
| 157 | with its inverse, exactly if `β` is parahoric for the blocks of sizes `r` and `k - r`, that is, if |
| 158 | its entries at `(i, j)` with `i < r ≤ j` lie in the maximal ideal of `W`. -/ |
| 159 | lemma conj_blockScaling_mem_localIntGL_iff (q : n ≃ Fin k) (hp : l.valuation E p = exp (-1)) |
| 160 | {β : GL (Fin k) (valuationRingAt l)} : |
| 161 | localGL l ((blockScaling E q p r)⁻¹ * latticeGL q l β * blockScaling E q p r) ∈ localIntGL n l ↔ |
| 162 | β ∈ parahoric (valuationRingAt l) (twoBlock k r) := by |
| 163 | set d : GL n E := blockScaling E q p r |
| 164 | have h_entries (x : GL (Fin k) (valuationRingAt l)) : |
| 165 | (∀ i j : n, (d⁻¹ * latticeGL q l x * d) i j ∈ (valuationRingAt l).toSubring) ↔ |
| 166 | x ∈ parahoric (valuationRingAt l) (twoBlock k r) := by |
| 167 | -- Conjugation divides one off-diagonal block by `p`, multiplies the other by `p` and fixes |
| 168 | -- the diagonal blocks. |
| 169 | rw [mem_parahoric_twoBlock_iff] |
| 170 | refine q.forall₂_congr q fun {i j} ↦ ?_ |
| 171 | have h_entry : l.valuation E ((d⁻¹ * latticeGL q l x * d) i j) = |
| 172 | (if q i < r then exp 1 else 1) * l.valuation E (x (q i) (q j)) * |
| 173 | if q j < r then exp (-1) else 1 := by |
| 174 | -- `-coe_units_inv`: the inverse stays that of a unit, so that `coe_blockScaling_inv` applies |
| 175 | simp [d, -coe_units_inv, coe_blockScaling, coe_blockScaling_inv, latticeGL_apply, hp, |
| 176 | apply_ite (l.valuation E)] |
| 177 | change l.valuation E _ ≤ 1 ↔ _ |
| 178 | rw [h_entry, Valuation.mem_maximalIdeal_iff] |
| 179 | have h_int : l.valuation E (x (q i) (q j)) ≤ 1 := (x (q i) (q j)).property |
| 180 | split_ifs with hi hj hj |
| 181 | · simpa [mul_right_comm, ← exp_add, hj.not_ge] using h_int |
| 182 | · -- the block that is divided by `p` |
| 183 | rw [mul_one, ← le_inv_mul_iff₀ exp_pos, ← WithZero.exp_neg, ← lt_mul_exp_iff_le (by simp)] |
| 184 | simp [hi, not_lt.1 hj, ← exp_add] |
| 185 | · simpa [hi] using mul_le_one' h_int (exp_le_exp.2 (by norm_num : (-1 : ℤ) ≤ 0)) |
| 186 | · simpa [hi] using h_int |
| 187 | have h_inv : (d⁻¹ * latticeGL q l β * d)⁻¹ = d⁻¹ * latticeGL q l β⁻¹ * d := by simp [mul_assoc] |
| 188 | rw [localGL_mem_localIntGL_iff, mem_intGL, h_inv, h_entries, h_entries, inv_mem_iff, and_self] |
| 189 | |
| 190 | /-- Let `p` be a uniformizer at `l` and let `d = diag(p, …, p, 1, …, 1)` have `r` entries `p`. If |
| 191 | `gᵀ g'ᵀ⁻¹` is parahoric for the blocks of sizes `r` and `k - r`, then `d g⁻¹ g' d⁻¹` is integral |
| 192 | at `l`: the inverse transpose keeps integrality and exchanges `d` with `d⁻¹`. -/ |
| 193 | lemma conj_mem_localIntGL_of_transposeGL_mem_parahoric (q : n ≃ Fin k) |
| 194 | (hp : l.valuation E p = exp (-1)) {g g' : GL (Fin k) (valuationRingAt l)} |
| 195 | (h_parahoric : |
| 196 | transposeGL g * (transposeGL g')⁻¹ ∈ parahoric (valuationRingAt l) (twoBlock k r)) : |
| 197 | localGL l (blockScaling E q p r * latticeGL q l (g⁻¹ * g') * (blockScaling E q p r)⁻¹) ∈ |
| 198 | localIntGL n l := by |
| 199 | set d : GL n E := blockScaling E q p r |
| 200 | have hd : invTransposeGL d = d⁻¹ := GeneralLinearGroup.ext fun i j ↦ by |
| 201 | change (d⁻¹.val)ᵀ i j = d⁻¹.val i j |
| 202 | rw [coe_blockScaling_inv, diagonal_transpose] |
| 203 | have h_lattice (x : GL (Fin k) (valuationRingAt l)) : |
| 204 | invTransposeGL (latticeGL q l (transposeGL x)) = latticeGL q l x⁻¹ := rfl |
| 205 | have h_eq : d * latticeGL q l (g⁻¹ * g') * d⁻¹ = |
| 206 | invTransposeGL (d⁻¹ * latticeGL q l (transposeGL g * (transposeGL g')⁻¹) * d) := by |
| 207 | simp only [map_mul, map_inv, hd, h_lattice, inv_inv] |
| 208 | rwa [h_eq, localGL_mem_localIntGL_iff, invTransposeGL_mem_intGL, ← localGL_mem_localIntGL_iff, |
| 209 | conj_blockScaling_mem_localIntGL_iff q hp] |
| 210 | |
| 211 | end Lattices |
| 212 | |
| 213 | /-! ### The cosets of the Hecke operator as origins of edges -/ |
| 214 | |
| 215 | section Edges |
| 216 | |
| 217 | variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] {k : ℕ} |
| 218 | |
| 219 | /-- The element `g_l⁻¹ β d` of `GL_n` over the completion at `l`, where `g_l` is the `l`-component |
| 220 | of `g` and `d = diag(p, …, p, 1, …, 1)`. Multiplying `g_l` by it on the right gives `β d`. -/ |
| 221 | def edgeStep (q : n ≃ Fin k) (p r : ℕ) [Fact p.Prime] {l : FinPlace E} (g : Gf E n) |
| 222 | (β : GL (Fin k) (valuationRingAt l)) : GL n (LocField l) := |
| 223 | (g.atPlace l)⁻¹ * localGL l (latticeGL q l β * blockScaling E q p r) |
| 224 | |
| 225 | variable {p r : ℕ} [Fact p.Prime] {l : FinPlace E} |
| 226 | |
| 227 | omit [Fact p.Prime] in |
| 228 | lemma natCast_mem_of_valuation_eq (hp : l.valuation E p = exp (-1)) : (p : 𝓞 E) ∈ l.asIdeal := |
| 229 | (l.valuation_lt_one_iff_mem (K := E) p).1 (hp.trans_lt (exp_lt_exp.2 (by norm_num))) |
| 230 | |
| 231 | /-- Let `p` be a uniformizer at `l`, let `q` number the `k` coordinates, and let `r < k`. Let the |
| 232 | component `g_l` of `g` at `l` be invertible over the local integers, let `β` lie in `GL_k` over the |
| 233 | valuation ring of `l`, and let `d = diag(p, …, p, 1, …, 1)` have `p` at the first `r` coordinates. |
| 234 | Then `edgeStep q p r g β = g_l⁻¹ β d` lies in the double coset `basicDoubleCoset n l r` of the Hecke |
| 235 | operator of index `r` at `l`. -/ |
| 236 | lemma edgeStep_mem_basicDoubleCoset (q : n ≃ Fin k) (hp : l.valuation E p = exp (-1)) (hr : r < k) |
| 237 | {g : Gf E n} (hg : g.atPlace l ∈ localIntGL n l) (β : GL (Fin k) (valuationRingAt l)) : |
| 238 | edgeStep q p r g β ∈ basicDoubleCoset n l r := by |
| 239 | have h_left : (g.atPlace l)⁻¹ * localGL l (latticeGL q l β) ∈ localIntGL n l := |
| 240 | mul_mem (inv_mem hg) (localGL_latticeGL_mem_localIntGL q l β) |
| 241 | rw [basicDoubleCoset_eq (blockScaling_mem_basicDoubleCoset q hp hr), edgeStep, map_mul, |
| 242 | ← mul_assoc] |
| 243 | exact DoubleCoset.mem_doubleCoset.2 ⟨_, h_left, 1, one_mem _, (mul_one _).symm⟩ |
| 244 | |
| 245 | /-- Let `p` be a uniformizer at `l`, and recall that `edgeStep q p r g β = g_l⁻¹ β d`. These |
| 246 | elements for `β` and `β'` lie in the same coset of the maximal compact subgroup at `l` exactly if |
| 247 | `β⁻¹ β'` is parahoric for the blocks of sizes `r` and `k - r`. -/ |
| 248 | lemma edgeStep_inv_mul_mem_localIntGL_iff (q : n ≃ Fin k) (hp : l.valuation E p = exp (-1)) |
| 249 | (g : Gf E n) (β β' : GL (Fin k) (valuationRingAt l)) : |
| 250 | (edgeStep q p r g β)⁻¹ * edgeStep q p r g β' ∈ localIntGL n l ↔ |
| 251 | β⁻¹ * β' ∈ parahoric (valuationRingAt l) (twoBlock k r) := by |
| 252 | rw [← conj_blockScaling_mem_localIntGL_iff q hp] |
| 253 | simp [edgeStep, mul_assoc] |
| 254 | |
| 255 | /-- Let `p` be a uniformizer at the split place `l` and let `g` be integral above `p`. Every coset |
| 256 | in the double coset of the Hecke operator of index `r < k` at `l` is the coset of |
| 257 | `edgeStep q p r g β = g_l⁻¹ β d` for some `β` over the valuation ring of `l`, where `g_l` is the |
| 258 | component of `g` at `l` and `d = diag(p, …, p, 1, …, 1)` has `p` at the first `r` coordinates. -/ |
| 259 | lemma exists_edgeStep_eq (q : n ≃ Fin k) (hl : l.IsSplit) (hp : l.valuation E p = exp (-1)) |
| 260 | (hr : r < k) {g : Gf E n} (hg : g ∈ integralAbove n p) {z : GL n (LocField l)} |
| 261 | (hz : z ∈ basicDoubleCoset n l r) : |
| 262 | ∃ β : GL (Fin k) (valuationRingAt l), |
| 263 | (edgeStep q p r g β : GL n (LocField l) ⧸ localIntGL n l) = z := by |
| 264 | set d : GL n (LocField l) := localGL l (blockScaling E q p r) |
| 265 | have hpl : (p : 𝓞 E) ∈ l.asIdeal := natCast_mem_of_valuation_eq hp |
| 266 | obtain ⟨u₁, hu₁, u₂, hu₂, rfl⟩ : ∃ u₁ ∈ localIntGL n l, ∃ u₂ ∈ localIntGL n l, |
| 267 | z = u₁ * d * u₂ := by |
| 268 | rwa [basicDoubleCoset_eq (blockScaling_mem_basicDoubleCoset q hp hr), |
| 269 | DoubleCoset.mem_doubleCoset] at hz |
| 270 | -- By weak approximation above `p`, a rational `η` makes `η g u₁` and its conjugate by `d` |
| 271 | -- integral. Then `η` is integral at `l`, so it comes from some `β`, and `β⁻¹` is as required. |
| 272 | obtain ⟨η, hη, hη_conj⟩ := exists_mul_mem_integralAbove p (g * ofSplitPlace hl u₁) |
| 273 | (ofSplitPlace hl d⁻¹) |
| 274 | have hη_l : localGL l η * (g.atPlace l * u₁) ∈ localIntGL n l := by |
| 275 | simpa [atPlace_embFin] using hη l hpl |
| 276 | have hη_conj_l : d⁻¹ * (localGL l η * (g.atPlace l * u₁)) * d ∈ localIntGL n l := by |
| 277 | simpa [atPlace_embFin] using hη_conj l hpl |
| 278 | obtain ⟨β, hβ⟩ : η.val ∈ (latticeGL q l).range := |
| 279 | (localGL_mem_localIntGL_iff_mem_range q).1 |
| 280 | ((mul_mem_cancel_right (mul_mem (hg l hpl) hu₁)).1 hη_l) |
| 281 | have h_eq : (edgeStep q p r g β⁻¹)⁻¹ * (u₁ * d * u₂) = |
| 282 | d⁻¹ * (localGL l η * (g.atPlace l * u₁)) * d * u₂ := by |
| 283 | simp [edgeStep, hβ, d, mul_assoc] |
| 284 | exact ⟨β⁻¹, QuotientGroup.eq.2 (by simpa only [h_eq] using mul_mem hη_conj_l hu₂)⟩ |
| 285 | |
| 286 | /-- The edges at `l` and level `K`: pairs of a class at level `K`, the terminus of the edge, and a |
| 287 | coset in `GL_k(W)` of the parahoric subgroup with blocks of sizes `r` and `k - r`, where `W` is the |
| 288 | valuation ring of `l`. -/ |
| 289 | abbrev ClassEdges (K : Subgroup (Gf E n)) (l : FinPlace E) (k r : ℕ) : Type := |
| 290 | StdClasses K × ParahoricCosets (valuationRingAt l) k r |
| 291 | |
| 292 | variable (p k r) in |
| 293 | /-- Coordinates for the cosets of the Hecke operator of index `r` at a split place `l`, at |
| 294 | level `K`. Write `W` for the valuation ring of `l` and `d = diag(p, …, p, 1, …, 1)`. The origin |
| 295 | of the edge `(x, b)` is the point obtained from the representative of `x` by replacing its |
| 296 | `l`-component with `β d` (and the component at the conjugate place accordingly), where `β = b.out` |
| 297 | represents the coset `b`. -/ |
| 298 | structure HeckeEdges (K : Subgroup (Gf E n)) (hl : l.IsSplit) where |
| 299 | /-- The numbering of the coordinates. -/ |
| 300 | numbering : n ≃ Fin k |
| 301 | /-- The representative of a class. -/ |
| 302 | rep : StdClasses K → Gf E n |
| 303 | /-- The point `rep x` lies in the class `x`. -/ |
| 304 | mk_rep : ∀ x : StdClasses K, DoubleCoset.mk stdRatPoints K (rep x) = x |
| 305 | /-- The representatives are integral above `p`. -/ |
| 306 | rep_mem_integralAbove : ∀ x : StdClasses K, rep x ∈ integralAbove n p |
| 307 | /-- The class of the origin of an edge. -/ |
| 308 | origin : ClassEdges K l k r → StdClasses K |
| 309 | /-- The rational part: a rational point that takes the representative of the class `origin e` to |
| 310 | the origin of `e`, up to right multiplication by `K`. -/ |
| 311 | rationalPart : ClassEdges K l k r → U (stdSpace E n).J |
| 312 | /-- The remaining factor in `K`. -/ |
| 313 | levelPart : ClassEdges K l k r → K |
| 314 | /-- The change of basis at the origin. -/ |
| 315 | originBasisChange : ClassEdges K l k r → GL (Fin k) (valuationRingAt l) |
| 316 | /-- The origin is the rational part times the representative of its class times `levelPart`. -/ |
| 317 | rep_mul_edgeStep_eq : ∀ (x : StdClasses K) (b : ParahoricCosets (valuationRingAt l) k r), |
| 318 | rep x * ofSplitPlace hl (edgeStep numbering p r (rep x) b.out) = |
| 319 | (stdSpace E n).embFin (rationalPart (x, b)) * rep (origin (x, b)) * levelPart (x, b) |
| 320 | /-- The inverse of the rational part is `g d⁻¹ β⁻¹`, with `g` the change of basis at the |
| 321 | origin. -/ |
| 322 | rationalPart_inv : ∀ (x : StdClasses K) (b : ParahoricCosets (valuationRingAt l) k r), |
| 323 | (rationalPart (x, b)).val⁻¹ = latticeGL numbering l (originBasisChange (x, b)) * |
| 324 | (blockScaling E numbering p r)⁻¹ * latticeGL numbering l b.out⁻¹ |
| 325 | |
| 326 | variable {K : Subgroup (Gf E n)} [IsLevel K] {hl : l.IsSplit} |
| 327 | |
| 328 | /-- The component at any place of an element of a level is integral. -/ |
| 329 | lemma atPlace_mem_localIntGL_of_isLevel (u : K) (v : FinPlace E) : |
| 330 | u.val.atPlace v ∈ localIntGL n v := |
| 331 | mem_stdLevel_iff.1 (IsLevel.le u.property) v |
| 332 | |
| 333 | variable (r K hl) in |
| 334 | /-- Let `l` be a split finite place above `p`, let `K` be a level and let `q` number the |
| 335 | coordinates. A class is a double coset of the rational points and `K`. An edge is a pair `(x, b)` of |
| 336 | a class `x`, its terminus, and a coset `b` of the parahoric subgroup with blocks of sizes `r` and |
| 337 | `k - r`. Then there is a choice of the data `New.Columns.HeckeEdges`: for each class a |
| 338 | representative that is integral above `p`, and for each edge a factorisation of its origin (the |
| 339 | representative of `x` moved at `l` to `β d`, with `β = b.out` and `d = diag(p, …, p, 1, …, 1)`) as a |
| 340 | rational matrix (the rational part) times the representative of the class of the origin times an |
| 341 | element of `K`, and a matrix in `GL_k` over the valuation ring of `l` by which the rational part |
| 342 | differs from `β d`. -/ |
| 343 | lemma nonempty_heckeEdges (q : n ≃ Fin k) (hpl : (p : 𝓞 E) ∈ l.asIdeal) : |
| 344 | Nonempty (HeckeEdges k p r K hl) := by |
| 345 | obtain ⟨ρ, hρ, hρ_int⟩ := exists_reps_integralAbove (K := K) p |
| 346 | have h_origin (e : ClassEdges K l k r) : |
| 347 | ∃ (y : StdClasses K) (γ : U (stdSpace E n).J) (u : K), |
| 348 | ρ e.1 * ofSplitPlace hl (edgeStep q p r (ρ e.1) e.2.out) = (stdSpace E n).embFin γ * ρ y * |
| 349 | u := |
| 350 | exists_eq_map_mul_rep_mul _ K hρ _ |
| 351 | choose origin γ u h_eq using h_origin |
| 352 | -- At `l` the origin is `β d`, so `γ⁻¹ β d` is integral at `l`. |
| 353 | have h_basisChange (e : ClassEdges K l k r) : |
| 354 | (γ e).val⁻¹ * (latticeGL q l e.2.out * blockScaling E q p r) ∈ (latticeGL q l).range := by |
| 355 | have h_at : localGL l (latticeGL q l e.2.out) * localGL l (blockScaling E q p r) = |
| 356 | localGL l (γ e) * ((ρ (origin e)).atPlace l * (u e).val.atPlace l) := by |
| 357 | simpa [edgeStep, atPlace_embFin, mul_assoc] using congrArg (atPlace l) (h_eq e) |
| 358 | rw [← localGL_mem_localIntGL_iff_mem_range, map_mul, map_mul, h_at, map_inv, |
| 359 | inv_mul_cancel_left] |
| 360 | exact mul_mem (hρ_int _ l hpl) (atPlace_mem_localIntGL_of_isLevel (u e) l) |
| 361 | choose g hg using h_basisChange |
| 362 | exact ⟨{ |
| 363 | numbering := q, rep := ρ, mk_rep := hρ, rep_mem_integralAbove := hρ_int |
| 364 | origin := origin, rationalPart := γ, levelPart := u, originBasisChange := g |
| 365 | rep_mul_edgeStep_eq x b := h_eq (x, b) |
| 366 | rationalPart_inv x b := by simp [hg, mul_assoc] }⟩ |
| 367 | |
| 368 | namespace HeckeEdges |
| 369 | |
| 370 | variable (C : HeckeEdges k p r K hl) |
| 371 | |
| 372 | omit [IsLevel K] in |
| 373 | /-- The rational part of the edge `(x, b)` as a finite adelic point: the origin of the edge, times |
| 374 | the inverse of its factor in `K`, times the inverse of the representative of the class of the |
| 375 | origin. -/ |
| 376 | lemma embFin_rationalPart (x : StdClasses K) (b : ParahoricCosets (valuationRingAt l) k r) : |
| 377 | (stdSpace E n).embFin (C.rationalPart (x, b)) = |
| 378 | C.rep x * ofSplitPlace hl (edgeStep C.numbering p r (C.rep x) b.out) * |
| 379 | (C.levelPart (x, b)).val⁻¹ * (C.rep (C.origin (x, b)))⁻¹ := by |
| 380 | simp [C.rep_mul_edgeStep_eq] |
| 381 | |
| 382 | omit [IsLevel K] in |
| 383 | /-- The rational part of the edge `(x, b)` is `β d g⁻¹`, with `β = b.out`, |
| 384 | `d = diag(p, …, p, 1, …, 1)` and `g` the change of basis at the origin. -/ |
| 385 | lemma rationalPart_eq (x : StdClasses K) (b : ParahoricCosets (valuationRingAt l) k r) : |
| 386 | (C.rationalPart (x, b)).val = latticeGL C.numbering l b.out * blockScaling E C.numbering p r * |
| 387 | latticeGL C.numbering l (C.originBasisChange (x, b))⁻¹ := by |
| 388 | simp [inv_eq_iff_eq_inv.1 (C.rationalPart_inv x b), mul_assoc] |
| 389 | |
| 390 | /-- For coordinates `C` of the edges at `l`, the rational part `C.rationalPart e` is integral at |
| 391 | every place `v` above `p` other than `l` and its conjugate `star l`. -/ |
| 392 | lemma localGL_rationalPart_mem_localIntGL (e : ClassEdges K l k r) {v : FinPlace E} |
| 393 | (hpv : (p : 𝓞 E) ∈ v.asIdeal) (hv : v ≠ l) (hv_star : star v ≠ l) : |
| 394 | localGL v (C.rationalPart e) ∈ localIntGL n v := by |
| 395 | obtain ⟨x, b⟩ := e |
| 396 | have h_atPlace : localGL v (C.rationalPart (x, b)) = (C.rep x).atPlace v * |
| 397 | ((C.levelPart (x, b)).val.atPlace v)⁻¹ * ((C.rep (C.origin (x, b))).atPlace v)⁻¹ := by |
| 398 | simp [← atPlace_embFin, C.embFin_rationalPart, atPlace_ofSplitPlace_of_ne hl _ hv hv_star] |
| 399 | rw [h_atPlace] |
| 400 | exact mul_mem (mul_mem (C.rep_mem_integralAbove x v hpv) |
| 401 | (inv_mem (atPlace_mem_localIntGL_of_isLevel _ v))) (inv_mem (C.rep_mem_integralAbove _ v hpv)) |
| 402 | |
| 403 | /-- Let `p` be a uniformizer at the split place `l`, let the level `K` be maximal at `l`, and let |
| 404 | the rational points act freely on the cosets of `K`. An edge is a pair `(x, b)` of a class `x` at |
| 405 | level `K`, its terminus, and a coset `b` of the parahoric subgroup. Its origin is the representative |
| 406 | of `x` moved at `l` to `β d`, with `β = b.out` and `d = diag(p, …, p, 1, …, 1)`. The data |
| 407 | `C : HeckeEdges k p r K hl` give the class `C.origin e` of the origin and the matrix |
| 408 | `g = C.originBasisChange e` in `GL_k` over the valuation ring of `l` for which the rational point |
| 409 | moving the representative of that class to the origin is `β d g⁻¹`. Then an edge `e` is determined |
| 410 | by `C.origin e` and by the parahoric coset of the transpose of `g`. -/ |
| 411 | lemma eq_of_origin_eq_of_mem_parahoric (hp : l.valuation E p = exp (-1)) (hK : maxCompactAt n l ≤ K) |
| 412 | (h_free : ∀ g : Gf E n, classAut stdRatPoints K g = ⊥) (e e' : ClassEdges K l k r) |
| 413 | (h_origin : C.origin e = C.origin e') |
| 414 | (h_basisChange : |
| 415 | transposeGL (C.originBasisChange e) * (transposeGL (C.originBasisChange e'))⁻¹ ∈ |
| 416 | parahoric (valuationRingAt l) (twoBlock k r)) : e = e' := by |
| 417 | -- The quotient `η` of the two rational parts takes the representative of one terminus to that of |
| 418 | -- the other modulo `K`. So the termini agree and `η = 1` by freeness; then the cosets agree. |
| 419 | obtain ⟨⟨x, b⟩, ⟨x', b'⟩⟩ := e, e' |
| 420 | let q : n ≃ Fin k := C.numbering |
| 421 | let d : GL n E := blockScaling E q p r |
| 422 | let g : GL n E := latticeGL q l ((C.originBasisChange (x, b))⁻¹ * C.originBasisChange (x', b')) |
| 423 | let η : U (stdSpace E n).J := C.rationalPart (x, b) * (C.rationalPart (x', b'))⁻¹ |
| 424 | let u : K := (C.levelPart (x', b'))⁻¹ * C.levelPart (x, b) |
| 425 | have hη : η.val = latticeGL q l b.out * (d * g * d⁻¹) * latticeGL q l b'.out⁻¹ := by |
| 426 | simp [η, d, g, q, C.rationalPart_eq, mul_assoc] |
| 427 | have hη_l : localGL l η ∈ localIntGL n l := by |
| 428 | rw [hη, map_mul, map_mul] |
| 429 | exact mul_mem (mul_mem (localGL_latticeGL_mem_localIntGL q l _) |
| 430 | (conj_mem_localIntGL_of_transposeGL_mem_parahoric q hp h_basisChange)) |
| 431 | (localGL_latticeGL_mem_localIntGL q l _) |
| 432 | -- The element `y u` is trivial away from `l` and `star l`, because the representatives of the |
| 433 | -- origins cancel, and it is integral at `l`. |
| 434 | let y : Gf E n := (C.rep x)⁻¹ * (stdSpace E n).embFin η * C.rep x' |
| 435 | have h_support : y * u ∈ supportedOn n {l} := by |
| 436 | have h_eq : y * u = ofSplitPlace hl (edgeStep q p r (C.rep x) b.out) * |
| 437 | (u.val⁻¹ * (ofSplitPlace hl (edgeStep q p r (C.rep x') b'.out))⁻¹ * u) := by |
| 438 | simp [y, η, u, q, C.embFin_rationalPart, h_origin, mul_assoc] |
| 439 | simp +contextual [h_eq, atPlace_ofSplitPlace_of_ne] |
| 440 | have h_int : (y * u).atPlace l ∈ localIntGL n l := by |
| 441 | have h_rep (z : StdClasses K) := C.rep_mem_integralAbove z l (natCast_mem_of_valuation_eq hp) |
| 442 | simpa [y, atPlace_embFin] using mul_mem (mul_mem (mul_mem (inv_mem (h_rep x)) hη_l) (h_rep x')) |
| 443 | (atPlace_mem_localIntGL_of_isLevel u l) |
| 444 | have h_level : y ∈ K := (mul_mem_cancel_right u.property).1 |
| 445 | (hK ⟨(mem_stdLevel_iff_of_supportedOn h_support).2 (by simpa using h_int), h_support⟩) |
| 446 | have h_stabilizer (γ : U (stdSpace E n).J) |
| 447 | (hγ : (C.rep x')⁻¹ * (stdSpace E n).embFin γ * C.rep x' ∈ K) : γ = 1 := |
| 448 | (map_eq_one_iff _ Fact.out).1 ((h_free (C.rep x')).le ⟨⟨γ, rfl⟩, hγ⟩) |
| 449 | obtain ⟨rfl, hη_one⟩ : x = x' ∧ η = 1 := |
| 450 | eq_and_eq_one_of_doubleCoset_rep C.mk_rep h_stabilizer η h_level |
| 451 | have h_coset : b.out⁻¹ * b'.out ∈ parahoric (valuationRingAt l) (twoBlock k r) := by |
| 452 | have h_one : latticeGL q l b.out * (d * g * d⁻¹) = latticeGL q l b'.out := by |
| 453 | rw [← mul_inv_eq_one, ← map_inv, ← hη, hη_one, OneMemClass.coe_one] |
| 454 | have h_conj : d⁻¹ * latticeGL q l (b.out⁻¹ * b'.out) * d = g := by simp [← h_one, mul_assoc] |
| 455 | rw [← conj_blockScaling_mem_localIntGL_iff q hp, h_conj] |
| 456 | exact localGL_latticeGL_mem_localIntGL q l _ |
| 457 | rw [← QuotientGroup.out_eq' b, ← QuotientGroup.out_eq' b', QuotientGroup.eq.2 h_coset] |
| 458 | |
| 459 | omit [IsLevel K] in |
| 460 | /-- Let `p` be a uniformizer at the split place `l`, let the level `K` be maximal at `l`, let `φ` be |
| 461 | an algebraic form of level `K`, and let `T_r` be the Hecke operator of index `r < k` at `l`. The |
| 462 | classes (`StdClasses K`) are the double cosets of the rational points and `K`, and `C.rep x` is the |
| 463 | representative of the class `x` chosen in the data `C : HeckeEdges k p r K hl`. An edge into `x` is |
| 464 | a pair `(x, b)` with `b` a coset of the parahoric subgroup with blocks of sizes `r` and `k - r`. |
| 465 | Then the value of `T_r φ` at `C.rep x` is the sum over `b` of `C.rationalPart (x, b)`, acting in the |
| 466 | weight representation, applied to `φ (C.rep (C.origin (x, b)))`. -/ |
| 467 | lemma heckeSplit_apply_rep [Fintype (ParahoricCosets (valuationRingAt l) k r)] |
| 468 | (hp : l.valuation E p = exp (-1)) (hr : r < k) (hK : maxCompactAt n l ≤ K) |
| 469 | {κ : InfinitePlace E → ℕ → ℕ} {c : InfinitePlace E → ℤ} {φ : AlgForm n κ c} |
| 470 | (hφ : φ ∈ levelSpace (algFormRep κ c) K) (x : StdClasses K) : |
| 471 | (heckeSplit (algFormRep κ c) hl r φ).val (C.rep x) = |
| 472 | ∑ b : ParahoricCosets (valuationRingAt l) k r, |
| 473 | (stdSpace E n).weightRep κ c (C.rationalPart (x, b)) (φ.val (C.rep (C.origin (x, b)))) := by |
| 474 | -- The cosets in the double coset of `T_r` are those of the `δ b.out`. |
| 475 | let δ (β : GL (Fin k) (valuationRingAt l)) := edgeStep C.numbering p r (C.rep x) β |
| 476 | let f : GL n (LocField l) → ℂ := (basicDoubleCoset n l r).indicator 1 |
| 477 | have hf (β : GL (Fin k) (valuationRingAt l)) : f (δ β) = 1 := |
| 478 | Set.indicator_of_mem (edgeStep_mem_basicDoubleCoset _ hp hr |
| 479 | (C.rep_mem_integralAbove x l (natCast_mem_of_valuation_eq hp)) β) 1 |
| 480 | have h_cover (z : GL n (LocField l)) (hz : f z ≠ 0) : |
| 481 | ∃ β : GL (Fin k) (valuationRingAt l), (δ β : GL n (LocField l) ⧸ localIntGL n l) = z := |
| 482 | exists_edgeStep_eq _ hl hp hr (C.rep_mem_integralAbove x) (Set.mem_of_indicator_ne_zero hz) |
| 483 | have h_sum : heckeSplit (algFormRep κ c) hl r φ = |
| 484 | ∑ b : ParahoricCosets (valuationRingAt l) k r, |
| 485 | algFormRep κ c (ofSplitPlace hl (δ b.out)) φ := by |
| 486 | -- By definition, `heckeSplit` is the operator of the indicator `f` of the double coset. |
| 487 | change heckeFun ((algFormRep κ c).comp (ofSplitPlace hl)) (localIntGL n l) f φ = _ |
| 488 | have hφ_l : φ ∈ sphericalAt (algFormRep κ c) l := levelSpace_anti hK hφ |
| 489 | have h_inv := edgeStep_inv_mul_mem_localIntGL_iff (r := r) C.numbering hp (C.rep x) |
| 490 | obtain ⟨-, h_eq⟩ := heckeFun_eq_sum_pullback (f := f) (by simp [f]) |
| 491 | ((mem_sphericalAt_iff hl).1 hφ_l) univ δ h_cover h_inv (by simp) |
| 492 | simpa only [hf, one_smul, MonoidHom.comp_apply] using h_eq |
| 493 | simp only [h_sum, AddSubmonoidClass.coe_finsetSum, Finset.sum_apply] |
| 494 | refine sum_congr rfl fun b _ ↦ ?_ |
| 495 | change φ.val (C.rep x * ofSplitPlace hl (δ b.out)) = _ |
| 496 | rw [C.rep_mul_edgeStep_eq, levelSpace_smoothFormRep_apply hφ, MonoidHom.one_apply, one_smul] |
| 497 | |
| 498 | end HeckeEdges |
| 499 | |
| 500 | end Edges |
| 501 | |
| 502 | /-! ### The variables -/ |
| 503 | |
| 504 | section Variables |
| 505 | |
| 506 | variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] {k N p r : ℕ} |
| 507 | [Fact p.Prime] {l : FinPlace E} {O : ValuationSubring ℂ} |
| 508 | |
| 509 | /-- The action on the variables of one letter `s`. Let `T` be a Frobenius cycle for `p` on the |
| 510 | valuation ring `W` of `l`: it assigns to each letter a ring map `T.embedding s` from `W` to `O` and |
| 511 | a parity. Let `T.embedding s` be the embedding `φ` if `s` is even and `φ ∘ conj` if `s` is odd. Let |
| 512 | `γ` be unitary with `γ⁻¹ = g d⁻¹ β`, where `g` and `β` lie in `GL_k(W)` and |
| 513 | `d = diag(p, …, p, 1, …, 1)` has `p` at the coordinates that `q` numbers below `r`. Here |
| 514 | `latticeGL q l` reads a matrix over `W` in the basis numbered by `q`, and the letter matrix of `g` |
| 515 | is `g` under `T.embedding s`, inverted and transposed for odd `s`. The variable `(i, s)` is deep if |
| 516 | `r ≤ i` for even `s` and if `i < r` for odd `s`; `T.deepIndicator r (i, s)` is `1` for deep |
| 517 | variables and `0` for the others. Apply `φ ∘ conj` to the entries of `γ`, transpose, and multiply by |
| 518 | `p` if `s` is even. The result is the letter matrix of `g`, times the diagonal matrix with `p` at |
| 519 | the deep variables and `1` elsewhere, times the letter matrix of `β`. -/ |
| 520 | lemma smul_transpose_map_eq_letterMatrix (T : FrobeniusCycle N (valuationRingAt l) O) |
| 521 | (hTp : T.p = p) (q : n ≃ Fin k) (s : ZMod N) (φ : E →+* ℂ) |
| 522 | (hι : ∀ x : valuationRingAt l, T.embedding s x = (if T.isEven s then φ else φ.comp conj) x) |
| 523 | {γ : U (stdSpace E n).J} {g β : GL (Fin k) (valuationRingAt l)} |
| 524 | (hγ : (γ : GL n E)⁻¹ = latticeGL q l g * (blockScaling E q p r)⁻¹ * latticeGL q l β) : |
| 525 | (if T.isEven s then (p : ℂ) else 1) • |
| 526 | ((γ : GL n E).val.map (φ.comp conj))ᵀ.submatrix q.symm q.symm = |
| 527 | (T.letterMatrix s g * diagonal (fun i : Fin k ↦ (T.p : O) ^ T.deepIndicator r (i, s)) * |
| 528 | T.letterMatrix s β).map O.subtype := by |
| 529 | -- `F` applies the embedding of the letter to the entries of a matrix and numbers the coordinates. |
| 530 | let ψ : E →+* ℂ := if T.isEven s then φ else φ.comp conj |
| 531 | let F : Matrix n n E →+* Matrix (Fin k) (Fin k) ℂ := |
| 532 | (reindexRingEquiv ℂ q).toRingHom.comp ψ.mapMatrix |
| 533 | have hF (x : GL (Fin k) (valuationRingAt l)) : |
| 534 | F (latticeGL q l x).val = (x.val.map (T.embedding s)).map O.subtype := |
| 535 | Matrix.ext fun i j ↦ by simp [F, ψ, latticeGL_apply, hι] |
| 536 | have hF_diagonal (v : n → E) : F (diagonal v) = diagonal fun i : Fin k ↦ ψ (v (q.symm i)) := |
| 537 | Matrix.ext fun i j ↦ by simp [F, diagonal_apply] |
| 538 | rw [Matrix.map_mul, Matrix.map_mul] |
| 539 | cases hs : T.isEven s |
| 540 | · -- Odd letter: transpose `γ = β⁻¹ d g⁻¹`. |
| 541 | have hγ_eq : γ.val = latticeGL q l β⁻¹ * blockScaling E q p r * latticeGL q l g⁻¹ := by |
| 542 | simp [inv_eq_iff_eq_inv.1 hγ, mul_assoc] |
| 543 | have hd : (F (blockScaling E q p r).val)ᵀ = |
| 544 | (diagonal fun i : Fin k ↦ (T.p : O) ^ T.deepIndicator r (i, s)).map O.subtype := by |
| 545 | rw [coe_blockScaling, hF_diagonal, diagonal_transpose, diagonal_map (map_zero _)] |
| 546 | congr with i |
| 547 | by_cases hi : i < r <;> simp [deepIndicator, hs, hTp, hi] |
| 548 | have h_letter (x : GL (Fin k) (valuationRingAt l)) : |
| 549 | (F (latticeGL q l x⁻¹).val)ᵀ = (T.letterMatrix s x).map O.subtype := by |
| 550 | simp [hF, letterMatrix, hs, transpose_map, -map_inv] |
| 551 | calc _ = (F γ.val.val)ᵀ := Matrix.ext fun i j ↦ by simp [F, ψ, hs] |
| 552 | _ = _ := by |
| 553 | simp only [hγ_eq, Units.val_mul, map_mul, transpose_mul, hd, h_letter, Matrix.mul_assoc] |
| 554 | · -- Even letter: `γ` is unitary, so its conjugate transpose is `γ⁻¹ = g d⁻¹ β`. |
| 555 | have h_unitary : γ.val⁻¹.val = γ.val.valᴴ := U.inv_val_eq_conjTranspose γ |
| 556 | have hd : (p : ℂ) • F (blockScaling E q p r)⁻¹.val = |
| 557 | (diagonal fun i : Fin k ↦ (T.p : O) ^ T.deepIndicator r (i, s)).map O.subtype := by |
| 558 | rw [coe_blockScaling_inv, hF_diagonal, ← diagonal_smul, diagonal_map (map_zero _)] |
| 559 | congr with i |
| 560 | by_cases hi : i < r <;> simp [deepIndicator, hs, hTp, hi, ← not_lt, NeZero.ne p] |
| 561 | have h_letter (x : GL (Fin k) (valuationRingAt l)) : F (latticeGL q l x).val = |
| 562 | (T.letterMatrix s x).map O.subtype := by simp [hF, letterMatrix, hs] |
| 563 | calc _ = (p : ℂ) • F γ.val⁻¹.val := by |
| 564 | simp only [h_unitary, F, ψ, hs, ite_true] |
| 565 | rfl |
| 566 | _ = _ := by |
| 567 | simp only [hγ, Units.val_mul, map_mul, ← hd, h_letter, Matrix.mul_smul, Matrix.smul_mul] |
| 568 | |
| 569 | /-- Let `γ` be unitary with `γ⁻¹ = g d⁻¹ β` (`g`, `β` in `GL_k` over the valuation ring of `l`, |
| 570 | `d = diag(p, …, p, 1, …, 1)` with `r` entries `p`), and let the Frobenius cycle `T` embed that ring |
| 571 | by `φ s` at even letters `s` and by `φ s ∘ conj` at odd ones. Apply `φ s ∘ conj` to `γ`, transpose, |
| 572 | multiply by `p` for even `s`, and take the tensor product over `s` of the `a`-th symmetric powers. |
| 573 | The result is `T.letterRep a g * T.depthPower k a r * T.letterRep a β`. Here `T.letterRep a` is the |
| 574 | representation on the monomials, and `T.depthPower k a r` is the diagonal matrix whose entry at a |
| 575 | monomial is `p` to its total degree in the deep variables. -/ |
| 576 | lemma kroneckerPi_symPowMatrix_eq_letterRep [NeZero N] (T : FrobeniusCycle N (valuationRingAt l) O) |
| 577 | (hTp : T.p = p) (q : n ≃ Fin k) (a : ℕ) (φ : ZMod N → E →+* ℂ) |
| 578 | (hι : ∀ (s : ZMod N) (x : valuationRingAt l), |
| 579 | T.embedding s x = (if T.isEven s then φ s else (φ s).comp conj) x) |
| 580 | {γ : U (stdSpace E n).J} {g β : GL (Fin k) (valuationRingAt l)} |
| 581 | (hγ : (γ : GL n E)⁻¹ = latticeGL q l g * (blockScaling E q p r)⁻¹ * latticeGL q l β) : |
| 582 | (kroneckerPi fun s : ZMod N ↦ symPowMatrix a ((if T.isEven s then (p : ℂ) else 1) • |
| 583 | ((γ : GL n E).val.map ((φ s).comp conj))ᵀ.submatrix q.symm q.symm)) = |
| 584 | (T.letterRep a g * T.depthPower k a r * T.letterRep a β).map O.subtype := by |
| 585 | -- Symmetric powers and tensor products are multiplicative. |
| 586 | simp only [smul_transpose_map_eq_letterMatrix T hTp q _ _ (hι _) hγ, symPowMatrix_map, |
| 587 | kroneckerPi_map, letterRep_apply, depthPower, diagonal_pow_depth, ← kroneckerPi_mul, ← map_mul] |
| 588 | |
| 589 | end Variables |
| 590 | |
| 591 | /-! ### The weight space and the module of integral source forms -/ |
| 592 | |
| 593 | /-- On the `k` coordinates `D.X 0`, numbered by `q`, the weight `D.columnCount τ` has one row, of |
| 594 | length `b = a` if the infinite place `τ` is an a-place (in `D.aPlaces`) and `b = 0` otherwise. So |
| 595 | there is a matching `ψ` of the basis with the monomials of degree `b` such that, for all `c` and |
| 596 | `z`, `c ^ b` times the Schur matrix of `z` is the transpose of the `b`-th symmetric power of `c zᵀ`, |
| 597 | with coordinates renumbered by `q`. -/ |
| 598 | lemma exists_schur_eq_symPowMatrix {P : Parameters} {D : Data P} (q : D.X 0 ≃ Fin D.k) |
| 599 | {τ : D.Φ} {b : ℕ} (hb : (if τ ∈ D.aPlaces then D.a else 0) = b) : |
| 600 | ∃ ψ : WeylIndex (D.X 0) (fun _ : Unit ↦ D.columnCount τ) ≃ Monomials (Fin D.k) b, |
| 601 | ∀ (c : ℂ) (z : Matrix (D.X 0) (D.X 0) ℂ) |
| 602 | (i j : WeylIndex (D.X 0) fun _ : Unit ↦ D.columnCount τ), |
| 603 | c ^ b * schur (fun _ : Unit ↦ D.columnCount τ) (fun _ : Unit ↦ z) i j = |
| 604 | symPowMatrix b (c • zᵀ.submatrix q.symm q.symm) (ψ j) (ψ i) := by |
| 605 | have h_card : Fintype.card (D.X 0) = D.k := by simpa using Fintype.card_congr q |
| 606 | have h_row : ∀ i > 0, i < Fintype.card (D.X 0) → D.columnCount τ i = if i = 1 then b else 0 := by |
| 607 | -- by the definition of the weight `D.columnCount`, given the value `hb` of `b` |
| 608 | grind only [columnCount] |
| 609 | exact exists_equiv_schur_one_row_eq_symPowMatrix q.symm |
| 610 | ((D.nat_le_of_hasLogBound (by scale_grind D)).trans_eq h_card.symm) h_row |
| 611 | |
| 612 | /-- Let `q` number the `D.k` coordinates `D.X 0`, and let `t` number a set `Q` of a-places among the |
| 613 | infinite places `D.Φ` of `D.E`. At an a-place the weight `D.columnCount` is one row of length |
| 614 | `a = D.a`. So a basis index of the weight space splits, by `J`, into monomials of degree `a` at the |
| 615 | places `t s` and an index for the places outside `Q`. Let `z` be a family of matrices, one for each |
| 616 | place, which acts on the weight space by its Schur matrix (`schur`), and let `c s` be scalars. Then |
| 617 | `(∏ s, c s) ^ a` times this matrix is the tensor product of the transposed `a`-th symmetric powers |
| 618 | of the `c s • (z (t s))ᵀ`, in the numbering `q`, and the Schur matrix of `z` outside `Q`. -/ |
| 619 | lemma exists_weylIndex_equiv {P : Parameters} {D : Data P} {N : ℕ} [NeZero N] {Q : D.Φ → Prop} |
| 620 | [DecidablePred Q] (q : D.X 0 ≃ Fin D.k) (t : ZMod N ≃ Subtype Q) |
| 621 | (h_aPlace : ∀ s : ZMod N, (t s).val ∈ D.aPlaces) : |
| 622 | ∃ J : WeylIndex (D.X 0) D.columnCount ≃ |
| 623 | Exponents N D.k D.a × WeylIndex (D.X 0) fun τ : {τ : D.Φ // ¬Q τ} ↦ D.columnCount τ, |
| 624 | ∀ (c : ZMod N → ℂ) (z : D.Φ → Matrix (D.X 0) (D.X 0) ℂ) |
| 625 | (i j : WeylIndex (D.X 0) D.columnCount), |
| 626 | (∏ s : ZMod N, c s) ^ D.a * schur D.columnCount z i j = |
| 627 | schur (fun τ : {τ : D.Φ // ¬Q τ} ↦ D.columnCount τ) (fun τ : {τ : D.Φ // ¬Q τ} ↦ z τ) |
| 628 | (J i).2 (J j).2 * |
| 629 | kroneckerPi |
| 630 | (fun s : ZMod N ↦ symPowMatrix D.a (c s • (z (t s))ᵀ.submatrix q.symm q.symm)) |
| 631 | (J j).1 (J i).1 := by |
| 632 | have h_place (s : ZMod N) : |
| 633 | ∃ ψ : WeylIndex (D.X 0) (fun _ : Unit ↦ D.columnCount (t s).val) ≃ Monomials (Fin D.k) D.a, |
| 634 | ∀ (c : ℂ) (z : Matrix (D.X 0) (D.X 0) ℂ) |
| 635 | (i j : WeylIndex (D.X 0) fun _ : Unit ↦ D.columnCount (t s).val), |
| 636 | c ^ D.a * schur (fun _ : Unit ↦ D.columnCount (t s).val) (fun _ : Unit ↦ z) i j = |
| 637 | symPowMatrix D.a (c • zᵀ.submatrix q.symm q.symm) (ψ j) (ψ i) := |
| 638 | exists_schur_eq_symPowMatrix q (ite_eq_left (h_aPlace s)) |
| 639 | choose ψ hψ using h_place |
| 640 | let J : WeylIndex (D.X 0) D.columnCount ≃ |
| 641 | Exponents N D.k D.a × WeylIndex (D.X 0) fun τ : {τ : D.Φ // ¬Q τ} ↦ D.columnCount τ := |
| 642 | (Equiv.piEquivPiSubtypeProd Q _).trans |
| 643 | ((t.piCongr fun s ↦ (ψ s).symm.trans (Equiv.piUnique _)).symm.prodCongr (Equiv.refl _)) |
| 644 | have hJ_fst (i : WeylIndex (D.X 0) D.columnCount) (s : ZMod N) : (J i).1 s = ψ s fun _ ↦ |
| 645 | i (t s) := rfl |
| 646 | have hJ_snd (i : WeylIndex (D.X 0) D.columnCount) (τ : {τ : D.Φ // ¬Q τ}) : (J i).2 τ = i τ := rfl |
| 647 | refine ⟨J, fun c z i j ↦ ?_⟩ |
| 648 | -- Both Schur matrices are products over places; split the places into `Q` and the others. |
| 649 | rw [schur_apply_eq_prod .refl, schur_apply_eq_prod .refl, |
| 650 | ← Fintype.prod_subtype_mul_prod_subtype Q, ← t.prod_comp, ← mul_assoc, ← prod_pow, |
| 651 | ← prod_mul_distrib, mul_comm] |
| 652 | simp only [hψ, kroneckerPi, of_apply, hJ_fst, hJ_snd] |
| 653 | |
| 654 | /-- Let `S` be a set of infinite places of `E = D.E`. A place `τ` has a chosen complex embedding |
| 655 | `Φ τ`, and with `ιₚ : ℂ → ℂ_p` it induces a prime `inducedPlace τ` above `p`. Let `γ` be an |
| 656 | invertible matrix over `E` that lies in `GL(O_v)` for the conjugate `v` of each prime induced by an |
| 657 | a-place (`D.aPlaces`) in `S`. Then at each infinite place `τ` in `S`, the Schur matrix of `γ` |
| 658 | embedded by `Φ τ ∘ conj`, for the weight `D.columnCount τ`, is the Schur matrix of an invertible |
| 659 | matrix over `embValRing`, mapped into `ℂ`. -/ |
| 660 | private lemma exists_schur_eq_map_at {P : Parameters} {D : Data P} {p : ℕ} [Fact p.Prime] |
| 661 | [PadicPlace p] {S : D.Φ → Prop} {γ : GL (D.X 0) D.E} |
| 662 | (hγ : ∀ τ ∈ D.aPlaces, S τ → |
| 663 | localGL (star (inducedPlace τ)) γ ∈ localIntGL (D.X 0) (star (inducedPlace τ))) |
| 664 | (τ : Subtype S) : |
| 665 | ∃ m : GL (D.X 0) embValRing, |
| 666 | schur (fun _ : Unit ↦ D.columnCount τ) (fun _ ↦ γ.val.map ((Φ τ.val).comp conj)) = |
| 667 | schur (fun _ : Unit ↦ D.columnCount τ) fun _ ↦ m.val.map embValRing.subtype := by |
| 668 | by_cases hτ : τ.val ∈ D.aPlaces |
| 669 | · -- The embedding `Φ τ ∘ conj` maps the valuation ring of its prime `v` into `embValRing`. |
| 670 | let v : FinPlace D.E := placeOfEmb (weightEmbedding ιₚ τ.val) |
| 671 | have h_star : star (inducedPlace τ.val) = v := (placeOfEmb_comp_star _).symm |
| 672 | obtain ⟨m, hm⟩ : γ ∈ intGL (D.X 0) (valuationRingAt v).toSubring := by |
| 673 | rw [← localGL_mem_localIntGL_iff, ← h_star] |
| 674 | exact hγ τ hτ τ.property |
| 675 | let ι : valuationRingAt v →+* embValRing := |
| 676 | ((Φ τ.val).comp conj).restrict _ _ fun _ ↦ (isEquiv_placeOfEmb _).le_one_iff_le_one.2 |
| 677 | refine ⟨GeneralLinearGroup.map ι m, ?_⟩ |
| 678 | rw [← hm] |
| 679 | rfl |
| 680 | · -- In degree `0` the Schur matrix does not depend on its argument: take the scalar `0`. |
| 681 | let q : D.X 0 ≃ Fin D.k := Fintype.equivFinOfCardEq (by simp [D.card_X 0, Data.n]) |
| 682 | obtain ⟨ψ, hψ⟩ := exists_schur_eq_symPowMatrix q (ite_eq_right hτ) |
| 683 | have h_const (z : Matrix (D.X 0) (D.X 0) ℂ) |
| 684 | (i j : WeylIndex (D.X 0) fun _ : Unit ↦ D.columnCount τ) : |
| 685 | schur (fun _ : Unit ↦ D.columnCount τ) (fun _ ↦ z) i j = symPowMatrix 0 0 (ψ j) |
| 686 | (ψ i) := by |
| 687 | simpa using hψ 0 z i j |
| 688 | exact ⟨1, Matrix.ext fun i j ↦ (h_const _ i j).trans (h_const _ i j).symm⟩ |
| 689 | |
| 690 | /-- Let `S` be a set of infinite places of `E = D.E`. A place `τ` has a chosen complex embedding |
| 691 | `Φ τ`, and with `ιₚ : ℂ → ℂ_p` it induces a prime `inducedPlace τ` above `p`. Let `γ` be an |
| 692 | invertible matrix over `E` that lies in `GL(O_v)` for the conjugate `v` of each prime induced by an |
| 693 | a-place (`D.aPlaces`) in `S`. Embed `γ` by `Φ τ ∘ conj` at `τ`. Then its Schur matrix (`schur`), the |
| 694 | action on the factor at `S` of the weight space of weight `D.columnCount`, is an invertible matrix |
| 695 | over `embValRing`, the ring of complex numbers that are integral under `ιₚ`. -/ |
| 696 | lemma exists_schur_eq_map {P : Parameters} {D : Data P} {p : ℕ} [Fact p.Prime] [PadicPlace p] |
| 697 | {S : D.Φ → Prop} [DecidablePred S] {γ : GL (D.X 0) D.E} |
| 698 | (hγ : ∀ τ ∈ D.aPlaces, S τ → |
| 699 | localGL (star (inducedPlace τ)) γ ∈ localIntGL (D.X 0) (star (inducedPlace τ))) : |
| 700 | ∃ m : GL (WeylIndex (D.X 0) fun τ : Subtype S ↦ D.columnCount τ) embValRing, |
| 701 | schur (fun τ : Subtype S ↦ D.columnCount τ) |
| 702 | (fun τ : Subtype S ↦ γ.val.map ((Φ τ.val).comp conj)) = |
| 703 | m.val.map embValRing.subtype := by |
| 704 | have h_place (τ : Subtype S) : ∃ m : GL (D.X 0) embValRing, |
| 705 | schur (fun _ : Unit ↦ D.columnCount τ) (fun _ ↦ γ.val.map ((Φ τ.val).comp conj)) = |
| 706 | schur (fun _ : Unit ↦ D.columnCount τ) fun _ ↦ m.val.map embValRing.subtype := |
| 707 | exists_schur_eq_map_at hγ τ |
| 708 | choose m hm using h_place |
| 709 | obtain ⟨M, hM⟩ : IsUnit (schur (fun τ : Subtype S ↦ D.columnCount τ) fun τ ↦ (m τ).val) := by |
| 710 | simpa [weylRep] using (Group.isUnit m).map (weylRep (fun τ : Subtype S ↦ D.columnCount τ) 0) |
| 711 | refine ⟨M, Matrix.ext fun i j ↦ ?_⟩ |
| 712 | rw [hM, ← schur_map .refl, schur_apply_eq_prod .refl, schur_apply_eq_prod .refl] |
| 713 | simp only [hm] |
| 714 | |
| 715 | section Columns |
| 716 | |
| 717 | variable {P : Parameters} {D : Data P} {p : ℕ} [Fact p.Prime] [PadicPlace p] |
| 718 | |
| 719 | omit [Fact p.Prime] [PadicPlace p] in |
| 720 | /-- On the definite space `D.X 0` the weight `(D.columnCount, D.lastEntry 0)` has no determinant |
| 721 | twist, so `weightRep` sends `γ` to the Schur matrix `schur D.columnCount` of the matrices `γ` with |
| 722 | entries mapped by `Φ τ ∘ conj`, applied to `v`. -/ |
| 723 | lemma weightRep_column_apply (γ : U (stdSpace D.E (D.X 0)).J) |
| 724 | (v : WeylIndex (D.X 0) D.columnCount → ℂ) : |
| 725 | (stdSpace D.E (D.X 0)).weightRep D.columnCount (D.lastEntry 0) γ v = |
| 726 | schur D.columnCount (fun τ : D.Φ ↦ (γ : GL (D.X 0) D.E).val.map ((Φ τ).comp conj)) *ᵥ v := by |
| 727 | simp [stdSpace_weightRep_apply, weylRep, lastEntry] |
| 728 | |
| 729 | /-- The source form with given values in `embValRing`, the `p`-integral complex numbers, at the |
| 730 | representatives `ρ x` of the classes. -/ |
| 731 | def sourceFormOfValues {ρ : StdClasses (D.levelX 0) → Gf D.E (D.X 0)} |
| 732 | (hρ : ∀ x : StdClasses (D.levelX 0), |
| 733 | DoubleCoset.mk stdRatPoints (D.levelX 0) (ρ x) = x) : |
| 734 | (StdClasses (D.levelX 0) → WeylIndex (D.X 0) D.columnCount → embValRing) →ₗ[embValRing] |
| 735 | D.SourceForm := |
| 736 | (freeLevelEquiv _ _ 1 D.classAut_levelX_zero_eq_bot hρ).symm.toLinearMap.restrictScalars _ ∘ₗ |
| 737 | ((Algebra.linearMap embValRing ℂ).compLeft _).compLeft _ |
| 738 | |
| 739 | /-- The source form with values `F` takes the value `F x` at the representative of the class `x`. -/ |
| 740 | lemma sourceFormOfValues_apply_rep {ρ : StdClasses (D.levelX 0) → Gf D.E (D.X 0)} |
| 741 | (hρ : ∀ x : StdClasses (D.levelX 0), |
| 742 | DoubleCoset.mk stdRatPoints (D.levelX 0) (ρ x) = x) |
| 743 | (F : StdClasses (D.levelX 0) → WeylIndex (D.X 0) D.columnCount → embValRing) |
| 744 | (x : StdClasses (D.levelX 0)) : |
| 745 | (sourceFormOfValues hρ F).val.val (ρ x) = fun i : WeylIndex (D.X 0) D.columnCount ↦ |
| 746 | (F x i : ℂ) := |
| 747 | congrFun ((freeLevelEquiv _ _ 1 D.classAut_levelX_zero_eq_bot hρ).apply_symm_apply _) x |
| 748 | |
| 749 | /-- Let `ρ` pick a matrix `ρ x` in each class `x`, a double coset for the rational points and the |
| 750 | level. The map `sourceFormOfValues hρ` sends a family of vectors over `embValRing` to the source |
| 751 | form with these values at the `ρ x`. If every `ρ x` is integral at the primes above `p`, then its |
| 752 | range is the module of integral source forms. -/ |
| 753 | lemma range_sourceFormOfValues {ρ : StdClasses (D.levelX 0) → Gf D.E (D.X 0)} |
| 754 | (hρ : ∀ x : StdClasses (D.levelX 0), |
| 755 | DoubleCoset.mk stdRatPoints (D.levelX 0) (ρ x) = x) |
| 756 | (hρ_int : ∀ x : StdClasses (D.levelX 0), ρ x ∈ integralAbove (D.X 0) p) : |
| 757 | (sourceFormOfValues hρ).range = D.integralSourceForms := by |
| 758 | have h_mem (φ : D.SourceForm) : φ ∈ D.integralSourceForms ↔ |
| 759 | ∀ g : Gf D.E (D.X 0), weylGauge D.columnCount (D.lastEntry 0) g (φ.val.val g) ≤ 1 := by |
| 760 | change φ.val ∈ D.SourceForm ∧ GaugeLe 1 1 φ.val ↔ _ |
| 761 | simp [GaugeLe] |
| 762 | have h_rep (φ : D.SourceForm) : φ ∈ D.integralSourceForms ↔ |
| 763 | ∀ x i, ‖ιₚ (φ.val.val (ρ x) i)‖ ≤ 1 := |
| 764 | (h_mem φ).trans |
| 765 | (weylGauge_le_one_iff_forall_rep (fun k ↦ by simp) hρ hρ_int φ) |
| 766 | refine le_antisymm ?_ fun φ hφ ↦ ?_ |
| 767 | · rintro _ ⟨F, rfl⟩ |
| 768 | exact (h_rep _).2 fun x i ↦ by |
| 769 | rw [sourceFormOfValues_apply_rep] |
| 770 | exact (F x i).property |
| 771 | · let F (x : StdClasses (D.levelX 0)) (i : WeylIndex (D.X 0) D.columnCount) : embValRing := |
| 772 | ⟨φ.val.val (ρ x) i, (h_rep φ).1 hφ x i⟩ |
| 773 | exact ⟨F, levelSpace_ext_doubleCosets hρ (sourceFormOfValues_apply_rep hρ F)⟩ |
| 774 | |
| 775 | end Columns |
| 776 | |
| 777 | /-! ### The bound for the scaled Hecke operator -/ |
| 778 | |
| 779 | /-- Given Hecke edges `C` at `l` and a Frobenius cycle `T` matching the a-places `Q` above `l` and |
| 780 | `star l`, there exist a splitting `J` of the weight space and `EdgeCoordinates` `𝓔` on the classes |
| 781 | with the same origins as `C` whose per-edge matrix coefficients match `p ^ heckeScalingExponent l` |
| 782 | times the Schur matrices of the rational parts of `C`. -/ |
| 783 | private lemma exists_edgeCoordinates {P : Parameters} {p : ℕ} {D : Data P} [Fact p.Prime] |
| 784 | [PadicPlace p] {l : FinPlace D.E} {hl : l.IsSplit} {N r : ℕ} {Q : D.Φ → Prop} [NeZero N] |
| 785 | [DecidablePred Q] (T : FrobeniusCycle N (valuationRingAt l) embValRing) (hTp : T.p = p) |
| 786 | (t : ZMod N ≃ Subtype Q) |
| 787 | (hQ : ∀ σ : D.Φ, Q σ ↔ σ ∈ D.aPlaces ∧ (inducedPlace σ = l ∨ inducedPlace σ = star l)) |
| 788 | (hι : ∀ (i : ZMod N) (x : valuationRingAt l), |
| 789 | T.embedding i x = (if T.isEven i then Φ (t i).val else (Φ (t i)).comp conj) x) |
| 790 | (h_exponent : heckeScalingExponent l = D.a * #{i : ZMod N | T.isEven i}) |
| 791 | (C : HeckeEdges D.k p r (D.levelX 0) hl) (hp_val : l.valuation D.E p = exp (-1)) |
| 792 | (hK : maxCompactAt (D.X 0) l ≤ D.levelX 0) : |
| 793 | ∃ (J : WeylIndex (D.X 0) D.columnCount ≃ |
| 794 | Exponents N D.k D.a × WeylIndex (D.X 0) fun τ : {τ : D.Φ // ¬Q τ} ↦ D.columnCount τ) |
| 795 | (𝓔 : EdgeCoordinates (valuationRingAt l) embValRing D.k r (StdClasses (D.levelX 0)) |
| 796 | (WeylIndex (D.X 0) fun τ : {τ : D.Φ // ¬Q τ} ↦ D.columnCount τ)), |
| 797 | C.origin = 𝓔.origin ∧ |
| 798 | ∀ (x : StdClasses (D.levelX 0)) (b : ParahoricCosets (valuationRingAt l) D.k r) |
| 799 | (i j : WeylIndex (D.X 0) D.columnCount), |
| 800 | (p : ℂ) ^ heckeScalingExponent l * |
| 801 | schur D.columnCount (fun τ ↦ (C.rationalPart (x, b)).val.val.map ((Φ τ).comp conj)) |
| 802 | i j = |
| 803 | 𝓔.transition (x, b) (J i).2 (J j).2 * |
| 804 | (T.letterRep D.a (𝓔.originBasisChange (x, b)) * T.depthPower D.k D.a r * |
| 805 | T.letterRep D.a (𝓔.terminusBasisChange b)) (J j).1 (J i).1 := by |
| 806 | have h_aPlace (i : ZMod N) : (t i).val ∈ D.aPlaces := ((hQ (t i)).1 (t i).property).1 |
| 807 | let H : Type := WeylIndex (D.X 0) fun τ : {τ : D.Φ // ¬Q τ} ↦ D.columnCount τ |
| 808 | obtain ⟨J, hJ⟩ := exists_weylIndex_equiv C.numbering t h_aPlace |
| 809 | -- The integral matrices `m e` by which the rational parts of the edges act outside `Q`. |
| 810 | have h_off (e : ClassEdges (D.levelX 0) l D.k r) : |
| 811 | ∃ m : GL H embValRing, |
| 812 | schur (fun τ : {τ : D.Φ // ¬Q τ} ↦ D.columnCount τ) |
| 813 | (fun τ ↦ (C.rationalPart e).val.val.map ((Φ τ.val).comp conj)) = |
| 814 | m.val.map embValRing.subtype := by |
| 815 | refine exists_schur_eq_map fun τ hτ hτQ ↦ ?_ |
| 816 | obtain ⟨h_ne, h_ne_star⟩ : inducedPlace τ ≠ l ∧ inducedPlace τ ≠ star l := by |
| 817 | simpa [hQ, hτ] using hτQ |
| 818 | exact C.localGL_rationalPart_mem_localIntGL e (by simpa using D.p_mem_inducedPlace τ) |
| 819 | (star_involutive.eq_iff.not.2 h_ne_star) (by rwa [star_star]) |
| 820 | choose m hm using h_off |
| 821 | let 𝓔 : EdgeCoordinates (valuationRingAt l) embValRing D.k r (StdClasses (D.levelX 0)) H := |
| 822 | { origin := C.origin |
| 823 | originBasisChange := C.originBasisChange |
| 824 | terminusBasisChange b := b.out⁻¹ |
| 825 | transition := m |
| 826 | mk_terminusBasisChange_inv b := by rw [inv_inv, QuotientGroup.out_eq'] |
| 827 | eq_of_origin_eq := C.eq_of_origin_eq_of_mem_parahoric hp_val hK |
| 828 | D.classAut_levelX_zero_eq_bot } |
| 829 | refine ⟨J, 𝓔, rfl, fun x b i j ↦ ?_⟩ |
| 830 | rw [h_exponent, pow_mul', ← prod_const, prod_filter, hJ, hm, |
| 831 | kroneckerPi_symPowMatrix_eq_letterRep T hTp C.numbering D.a (fun i : ZMod N ↦ Φ (t i).val) hι |
| 832 | (C.rationalPart_inv x b)] |
| 833 | -- it remains to unfold the fields of `𝓔` |
| 834 | rfl |
| 835 | |
| 836 | /-- If the scaled Schur matrix of each Hecke edge agrees with the matrix coefficient of `𝓔` under |
| 837 | the weight-space splitting `J`, then `sourceFormOfValues C.mk_rep` intertwines the edge Hecke |
| 838 | operator of `𝓔` with the scaled Hecke operator at `l`. -/ |
| 839 | private lemma scaledHeckeOperator_comp_sourceFormOfValues {P : Parameters} {p : ℕ} {D : Data P} |
| 840 | [Fact p.Prime] [PadicPlace p] {Λ : Finset (FinPlace D.E)} {l : FinPlace D.E} {N : ℕ} |
| 841 | {H : Type} [NeZero N] [Fintype H] [DecidableEq H] |
| 842 | [Fintype (ParahoricCosets (valuationRingAt l) D.k (D.ceilLogLifts p))] |
| 843 | (hΛ : D.IsMarked Λ) (hlΛ : l ∈ Λ) (T : FrobeniusCycle N (valuationRingAt l) embValRing) |
| 844 | (hr : D.ceilLogLifts p < D.k) |
| 845 | (C : HeckeEdges D.k p (D.ceilLogLifts p) (D.levelX 0) (hΛ.isSplit hlΛ)) |
| 846 | (J : WeylIndex (D.X 0) D.columnCount ≃ Exponents N D.k D.a × H) |
| 847 | (𝓔 : EdgeCoordinates (valuationRingAt l) embValRing D.k (D.ceilLogLifts p) |
| 848 | (StdClasses (D.levelX 0)) H) |
| 849 | (h_origin : C.origin = 𝓔.origin) |
| 850 | (h_edge : ∀ (x : StdClasses (D.levelX 0)) |
| 851 | (b : ParahoricCosets (valuationRingAt l) D.k (D.ceilLogLifts p)) |
| 852 | (i j : WeylIndex (D.X 0) D.columnCount), |
| 853 | (p : ℂ) ^ heckeScalingExponent l * |
| 854 | schur D.columnCount (fun τ ↦ (C.rationalPart (x, b)).val.val.map ((Φ τ).comp conj)) |
| 855 | i j = |
| 856 | 𝓔.transition (x, b) (J i).2 (J j).2 * |
| 857 | (T.letterRep D.a (𝓔.originBasisChange (x, b)) * |
| 858 | T.depthPower D.k D.a (D.ceilLogLifts p) * |
| 859 | T.letterRep D.a (𝓔.terminusBasisChange b)) (J j).1 (J i).1) : |
| 860 | hΛ.scaledHeckeOperator ⟨l, hlΛ⟩ ∘ₗ sourceFormOfValues C.mk_rep = |
| 861 | sourceFormOfValues C.mk_rep ∘ₗ T.edgeHeckeOperator D.a J 𝓔 := by |
| 862 | -- At the representative of `x` both operators are sums over the edges into `x`. |
| 863 | refine LinearMap.ext fun F ↦ levelSpace_ext_doubleCosets C.mk_rep fun x ↦ ?_ |
| 864 | change (p : ℂ) ^ heckeScalingExponent l • |
| 865 | (heckeSplit (algFormRep D.columnCount (D.lastEntry 0)) (hΛ.isSplit hlΛ) (D.ceilLogLifts p) |
| 866 | (sourceFormOfValues C.mk_rep F).val).val (C.rep x) = |
| 867 | (sourceFormOfValues C.mk_rep (T.edgeHeckeOperator D.a J 𝓔 F)).val.val (C.rep x) |
| 868 | rw [C.heckeSplit_apply_rep (hΛ.valuation_natCast_eq_exp_neg_one hlΛ) hr |
| 869 | (hΛ.maxCompactAt_le_levelX hlΛ) (sourceFormOfValues C.mk_rep F).property, |
| 870 | sourceFormOfValues_apply_rep, edgeHeckeOperator_apply] |
| 871 | -- In each coordinate, `h_edge` identifies the two matrix coefficients of every edge. |
| 872 | ext i |
| 873 | push_cast |
| 874 | simp only [sourceFormOfValues_apply_rep, weightRep_column_apply, Pi.smul_apply, smul_eq_mul, |
| 875 | Finset.sum_apply, mulVec, dotProduct, mul_sum, ← mul_assoc, h_edge, h_origin] |
| 876 | |
| 877 | /-- Let `Λ` be a marked set of primes above `p` and `l ∈ Λ`. Let `T` be a Frobenius cycle on the |
| 878 | valuation ring `W` of `l`: ring maps `T.embedding i` to `embValRing` for `i` modulo `N`, alternately |
| 879 | even and odd, each congruent modulo `p` to the `P`-th power of the one before, with |
| 880 | `P = p ^ T.frobExp` and `P ^ N` the size of the residue field. Assume that `T.p = p` is not a unit, |
| 881 | that `t` numbers the a-places that induce `l` or `star l`, that `T.embedding i` is the embedding |
| 882 | `Φ (t i)`, composed with conjugation unless `i` is even, and that `heckeScalingExponent l` is `a` |
| 883 | times the number of even letters. With `k = D.k`, `a = D.a` and `r` the least natural number with |
| 884 | `D.m ≤ p ^ r` (`D.ceilLogLifts p`), assume the size conditions `IsLargeDegree`: `0 < r`, `2 r ≤ k`, |
| 885 | `0 < θ ≤ 1`, `a ^ 4 ≤ q` and `(N k log q / θ) ^ 5 P ^ (3 r) ≤ a`, where `q = P ^ N`. Let `Y` be the |
| 886 | scaled Hecke operator at `l`. Then `Y` preserves the module `M` of integral source forms, and for |
| 887 | every natural `j₀` the index of `Y M + p ^ j₀ M` in `M` divides `p ^ e` for a natural |
| 888 | `e ≤ (3 c + θ j₀) * dim`. Here `c = T.divisorConstant k a r = N a (P ^ (-2 r) + r ^ 2 / (k P))`, and |
| 889 | `dim` is the complex dimension of `D.SourceForm`. -/ |
| 890 | lemma isOntoUpToColength_scaledHeckeOperator_of_frobeniusCycle {P : Parameters} {p : ℕ} {D : Data P} |
| 891 | [Fact p.Prime] [PadicPlace p] |
| 892 | {Λ : Finset (FinPlace D.E)} {l : FinPlace D.E} {N : ℕ} {W : ValuationSubring D.E} {θ : ℝ} |
| 893 | {Q : D.Φ → Prop} [NeZero N] (hΛ : D.IsMarked Λ) (hlΛ : l ∈ Λ) |
| 894 | (hW : W = (l.valuation D.E).valuationSubring) (T : FrobeniusCycle N W embValRing) |
| 895 | (hp_nonunit : ¬IsUnit (T.p : embValRing)) (hTp : T.p = p) (t : ZMod N ≃ Subtype Q) |
| 896 | (hQ : ∀ σ : D.Φ, Q σ ↔ σ ∈ D.aPlaces ∧ (inducedPlace σ = l ∨ inducedPlace σ = star l)) |
| 897 | (hι : ∀ (i : ZMod N) (x : W), |
| 898 | T.embedding i x = (if T.isEven i then Φ (t i).val else (Φ (t i)).comp conj) x) |
| 899 | (h_exponent : heckeScalingExponent l = D.a * #{i : ZMod N | T.isEven i}) |
| 900 | (h_size : T.IsLargeDegree D.k D.a (D.ceilLogLifts p) θ) (j₀ : ℕ) : |
| 901 | IsOntoUpToColength (T.p : embValRing) D.integralSourceForms j₀ (hΛ.scaledHeckeOperator ⟨l, hlΛ⟩) |
| 902 | ((3 * T.divisorConstant D.k D.a (D.ceilLogLifts p) + θ * j₀) * Module.finrank ℂ |
| 903 | D.SourceForm) := by |
| 904 | -- Evaluation at representatives of the classes turns integral source forms into families of |
| 905 | -- integral vectors, and the scaled Hecke operator into the edge Hecke operator of the edges at |
| 906 | -- `l`. |
| 907 | classical |
| 908 | subst hW |
| 909 | set r : ℕ := D.ceilLogLifts p |
| 910 | have hr : r < D.k := by linarith [h_size.block_pos, h_size.two_mul_block_le] |
| 911 | have hl : l.IsSplit := hΛ.isSplit hlΛ |
| 912 | have := T.finite_residueField |
| 913 | let : Fintype (ParahoricCosets (valuationRingAt l) D.k r) := .ofFinite _ |
| 914 | let q : D.X 0 ≃ Fin D.k := Fintype.equivFinOfCardEq (by simp [D.card_X 0, Data.n]) |
| 915 | obtain ⟨C⟩ : Nonempty (HeckeEdges D.k p r (D.levelX 0) hl) := |
| 916 | nonempty_heckeEdges r (D.levelX 0) hl q (hΛ.natCast_mem_asIdeal hlΛ) |
| 917 | obtain ⟨J, 𝓔, h_origin, h_edge⟩ := exists_edgeCoordinates T hTp t hQ hι h_exponent C |
| 918 | (hΛ.valuation_natCast_eq_exp_neg_one hlΛ) (hΛ.maxCompactAt_le_levelX hlΛ) |
| 919 | have h_lift := |
| 920 | scaledHeckeOperator_comp_sourceFormOfValues hΛ hlΛ T hr C J 𝓔 h_origin h_edge |
| 921 | have h_dim : (Module.finrank ℂ D.SourceForm : ℝ) = |
| 922 | Nat.card (StdClasses (D.levelX 0)) * Nat.card (WeylIndex (D.X 0) D.columnCount) := by |
| 923 | simp [finrank_levelSpace_smoothFormRep D.classAut_levelX_zero_eq_bot] |
| 924 | rw [h_dim, ← range_sourceFormOfValues C.mk_rep C.rep_mem_integralAbove] |
| 925 | exact T.elementary_divisors hp_nonunit h_size J 𝓔 (sourceFormOfValues C.mk_rep) h_lift j₀ |
| 926 | |
| 927 | end New.Columns |
| 928 | |
| 929 | end TwistedHeckeType |