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.Data.Rat.Cast.OfScientific |
| 4 | public import Lib.GaloisRep.TaylorWiles |
| 5 | public import New.Congruences.GaloisRepresentations.RowsAndColumnsFromLabels |
| 6 | import New.Congruences.GaloisRepresentations.AttachedRepresentations |
| 7 | import New.OneLift.FalseLifts.BottomOfTower |
| 8 | |
| 9 | /-! |
| 10 | # Base data whose forms contain those with given labels in a lift setting |
| 11 | |
| 12 | Let `O` be a descent pair (`New.DescentPair`): hermitian spaces `W` and `V` with bases `r` and `n`, |
| 13 | with chosen places, twist places, weights and a character. Let `c` be a tuple of labels |
| 14 | (polynomials over the residue fields) at the chosen places, forming a lift setting with a twist `ϑ` |
| 15 | (`New.Selmer.IsLiftSetting`); `typeProjection O c` is the idempotent on forms that cuts out the |
| 16 | labels `c`. |
| 17 | |
| 18 | * `New.Selmer.IsFormOfType`, `New.Selmer.IsFormOfType.isRepOfType_normalizedRep`: the eigenforms |
| 19 | of type `c` with the level and character of `O` off a set of places, and their normalised |
| 20 | representations as representations of a type. |
| 21 | * `New.Selmer.exists_baseLevel`: base data (`New.Patching.BaseLevel`) whose forms contain the image |
| 22 | of the idempotent and whose eigensystems have normalised representations that are representations |
| 23 | of a type with a quadratic relation on inertia, when the modulus of `ϑ` is auxiliary; also, |
| 24 | `New.Data.chosenGroupOrder` times the idempotent keeps integral forms. |
| 25 | |
| 26 | Notions from other files: |
| 27 | * `New.levelSpace`: the vectors `v` of a representation `π` with `π k v = χ k • v` for all `k` in |
| 28 | the subgroup `K`. |
| 29 | * `New.Gf.componentOn`: keeps the components of an element at the places of `S` and their |
| 30 | conjugates, and replaces the others by 1. |
| 31 | * `New.DescentPair.columnCount`: the weight datum `(τ, i) ↦ k⁺(τ, i) + k⁻(τ, n − i)` of forms on the |
| 32 | definite space of rank `n`, with `k⁺`, `k⁻` the two weights of the pair. |
| 33 | * `New.DescentPair.FormV`: the algebraic forms on the definite space of rank `n` with the weight |
| 34 | `(O.columnCount, O.detExp)`, the level group and the level character `O.levelChar` of the pair |
| 35 | `O`. |
| 36 | * `New.DescentPair.chosenGLRep`: the action of `∏ GL_r(k_w)`, over the chosen places `w`, on the |
| 37 | vectors of `π` with the level and character of `O`, twisted by `∏ ψ_w (det g_w)`, where `ψ_w` is |
| 38 | the character `O.tamePart w` of the residue field `k_w`. |
| 39 | * `New.levelOf`, `New.descentResidueLevel`, `New.DescentPair.levelChar`: the level of `O` is the |
| 40 | group of integral elements whose reductions at its places lie in `descentResidueLevel`; |
| 41 | `levelChar` is its character. |
| 42 | * `New.Data.chosenGroupOrder`: the order of a product of groups `GL` over the residue fields of the |
| 43 | chosen places of `D`; `New.Patching.BaseLevel.ellIntegralForms`: the forms whose values at the |
| 44 | points integral above `ℓ` are sent to `ℓ`-adic integers by `ιℓ : ℂ ≃ ℚ̄_ℓ`. |
| 45 | * `New.HasProductLabel`: a label of a form at a place, made from a polynomial and characters of |
| 46 | blocks of given sizes; `New.faithfulChar`: the faithful character by which it is formed. |
| 47 | * `New.Selmer.IsRepOfType`: a conjugate self-dual representation of given jumps and level on which |
| 48 | inertia at the chosen places acts through the roots of the labels; `New.Selmer.normalizedRep`: the |
| 49 | twist of a representation by `normalizingAvatar O`; `ϑ.invAvatar`: the `ℓ`-adic avatar of `ϑ⁻¹` |
| 50 | over `D.E`. |
| 51 | -/ |
| 52 | |
| 53 | @[expose] public section |
| 54 | |
| 55 | namespace New.Selmer |
| 56 | |
| 57 | open Patching Subgroup Representation MonoidAlgebra Gf stdLevel Set Matrix Polynomial Space |
| 58 | |
| 59 | variable {ℓ : ℕ} [ThePrime ℓ] [PadicIso ℓ] {P : Parameters} {D : Data P} |
| 60 | {r n : Type} [Fintype r] [DecidableEq r] [Fintype n] |
| 61 | |
| 62 | section |
| 63 | |
| 64 | variable {O : DescentPair D.E r n} [DecidableEq n] |
| 65 | |
| 66 | open scoped Classical in |
| 67 | /-- Placing an integral local matrix `k` at a split chosen place `O.chosenPlace i` whose reduction |
| 68 | preserves the span of `O.incl` and acts on it by `g` yields an element `c` of `stdLevel D.E n` |
| 69 | whose reduction at every chosen place `j` acts on the columns `O.incl` by `Pi.mulSingle i g j`. -/ |
| 70 | private lemma reduceAt_mul_inclMatrix_ofSplitPlace {i : O.ChosenIndex} |
| 71 | {hw : (O.chosenPlace i).IsSplit} |
| 72 | {k : intGL n (Valued.v.integer : Subring (LocField (O.chosenPlace i)))} |
| 73 | {g : GL r (ResField (O.chosenPlace i))} |
| 74 | (h_parab : reduceGL k ∈ parabolic (fun a : n ↦ if a ∈ Set.range O.incl then (0 : Fin 2) else 1)) |
| 75 | (h_block : (reduceGL k).val.submatrix O.incl O.incl = g.val) (j : O.ChosenIndex) : |
| 76 | let c : stdLevel D.E n := ⟨ofSplitPlace hw k.val, (ofSplitPlace_mem_stdLevel hw k.val).2 k.prop⟩ |
| 77 | (stdLevel.reduceAt (O.chosenPlace j) c).val * inclMatrix (ResField (O.chosenPlace j)) O.incl = |
| 78 | inclMatrix (ResField (O.chosenPlace j)) O.incl * |
| 79 | (Pi.mulSingle (M := fun l ↦ GL r (ResField (O.chosenPlace l))) i g j).val := by |
| 80 | intro c |
| 81 | obtain ⟨h_red_same, h_red_ne⟩ : stdLevel.reduceAt (O.chosenPlace i) c = reduceGL k ∧ |
| 82 | ∀ l : O.ChosenIndex ⊕ O.TwistIndex, l ≠ .inl i → stdLevel.reduceAt (O.placeAt l) c = 1 := |
| 83 | Function.eq_update_iff.mp (reduceFamily_ofSplitPlace (w := O.placeAt) (.inl i) k) |
| 84 | obtain rfl | hj := eq_or_ne j i |
| 85 | · rw [h_red_same, Pi.mulSingle_eq_same, ← h_block, mul_inclMatrix] |
| 86 | -- The columns of `reduceGL k` in `O.incl` vanish outside the block `g`, by `h_parab`. |
| 87 | exact (eq_inclMatrix_mul_iff _).2 fun a ha b ↦ h_parab (by |
| 88 | simp only [mem_range, EmbeddingLike.apply_eq_iff_eq, exists_eq, ↓reduceIte, |
| 89 | Fin.isValue, id_eq, ha, zero_lt_one]) |
| 90 | · have hne : (Sum.inl j : O.ChosenIndex ⊕ O.TwistIndex) ≠ .inl i := by |
| 91 | simp only [ne_eq, Sum.inl.injEq, hj, not_false_eq_true] |
| 92 | have h_red : stdLevel.reduceAt (O.chosenPlace j) c = 1 := h_red_ne (.inl j) hne |
| 93 | rw [h_red, Pi.mulSingle_eq_of_ne hj] |
| 94 | simp only [Units.val_one, Matrix.one_mul, Matrix.mul_one] |
| 95 | |
| 96 | omit [DecidableEq n] in |
| 97 | open scoped Classical in |
| 98 | /-- Taking `Pi.mulSingle i g` on the chosen places and `1` on the twist places, the product of |
| 99 | `(O.tamePart _)⁻¹ (det _)` over all places of `O` reduces to the single factor at `i`. -/ |
| 100 | private lemma prod_tamePart_inv_det_sum_mulSingle (i : O.ChosenIndex) |
| 101 | (g : GL r (ResField (O.chosenPlace i))) : |
| 102 | let s : ∀ j : O.ChosenIndex ⊕ O.TwistIndex, GL r (ResField (O.placeAt j)) |
| 103 | | .inl j => Pi.mulSingle (M := fun l ↦ GL r (ResField (O.chosenPlace l))) i g j |
| 104 | | .inr _ => 1 |
| 105 | (∏ j : O.ChosenIndex ⊕ O.TwistIndex, (O.tamePart (O.placeAt j))⁻¹ (s j).val.det) = |
| 106 | (O.tamePart (O.chosenPlace i))⁻¹ g.val.det := by |
| 107 | intro s |
| 108 | rw [Fintype.prod_sum_type] |
| 109 | have h_l : (∏ j : O.ChosenIndex, (O.tamePart (O.chosenPlace j))⁻¹ |
| 110 | (Pi.mulSingle (M := fun l ↦ GL r (ResField (O.chosenPlace l))) i g j).val.det) = |
| 111 | (O.tamePart (O.chosenPlace i))⁻¹ g.val.det := by |
| 112 | rw [Fintype.prod_eq_single i] |
| 113 | · rw [Pi.mulSingle_eq_same] |
| 114 | · intro j hj |
| 115 | rw [Pi.mulSingle_eq_of_ne hj, Units.val_one, Matrix.det_one, map_one] |
| 116 | have h_r : (∏ j : O.TwistIndex, |
| 117 | (O.tamePart (O.twistPlace j))⁻¹ (1 : GL r (ResField (O.twistPlace j))).val.det) = 1 := |
| 118 | Finset.prod_eq_one fun j _ ↦ by rw [Units.val_one, Matrix.det_one, map_one] |
| 119 | exact (congrArg₂ (· * ·) h_l h_r).trans (mul_one _) |
| 120 | |
| 121 | open scoped Classical in |
| 122 | /-- For any representation `π` of `Gf D.E n` and a vector `u` of the level and character of `O`, an |
| 123 | integral local matrix `k` at a split chosen place `O.chosenPlace i` whose reduction preserves the |
| 124 | span of `O.incl` and acts on it by `g` acts on `u` as `(O.tamePart (O.chosenPlace i))⁻¹ (det g)` |
| 125 | times `O.chosenGLRep π (Pi.mulSingle i g) u`. -/ |
| 126 | private lemma smul_chosenGLRep_mulSingle_eq_apply_ofSplitPlace |
| 127 | {W : Type*} [AddCommGroup W] [Module ℂ W] {π : Representation ℂ (Gf D.E n) W} |
| 128 | (u : levelSpace π (levelOf O.placeAt (descentResidueLevel O.toLevelPlaces O.incl)) O.levelChar) |
| 129 | {i : O.ChosenIndex} {hw : (O.chosenPlace i).IsSplit} |
| 130 | {k : intGL n (Valued.v.integer : Subring (LocField (O.chosenPlace i)))} |
| 131 | {g : GL r (ResField (O.chosenPlace i))} |
| 132 | (h_parab : reduceGL k ∈ parabolic (fun a : n ↦ if a ∈ Set.range O.incl then (0 : Fin 2) else 1)) |
| 133 | (h_block : (reduceGL k).val.submatrix O.incl O.incl = g.val) : |
| 134 | (O.tamePart (O.chosenPlace i))⁻¹ g.val.det • (O.chosenGLRep π (Pi.mulSingle i g) u).val = |
| 135 | π (ofSplitPlace hw k.val) u.val := by |
| 136 | let c : stdLevel D.E n := ⟨ofSplitPlace hw k.val, (ofSplitPlace_mem_stdLevel hw k.val).2 k.prop⟩ |
| 137 | have h_red_ne : |
| 138 | ∀ j : O.ChosenIndex ⊕ O.TwistIndex, j ≠ .inl i → stdLevel.reduceAt (O.placeAt j) c = 1 := |
| 139 | (Function.eq_update_iff.mp (reduceFamily_ofSplitPlace (w := O.placeAt) (.inl i) k)).2 |
| 140 | let s : ∀ j : O.ChosenIndex ⊕ O.TwistIndex, GL r (ResField (O.placeAt j)) |
| 141 | | .inl j => Pi.mulSingle (M := fun l ↦ GL r (ResField (O.chosenPlace l))) i g j |
| 142 | | .inr _ => 1 |
| 143 | have h_lower (j : O.TwistIndex) : |
| 144 | (stdLevel.reduceAt (O.placeAt (.inr j)) c).valᵀ * |
| 145 | inclMatrix (ResField (O.placeAt (.inr j))) O.incl = |
| 146 | inclMatrix (ResField (O.placeAt (.inr j))) O.incl * (s (.inr j)).valᵀ := by |
| 147 | have hne : (Sum.inr j : O.ChosenIndex ⊕ O.TwistIndex) ≠ .inl i := by |
| 148 | simp only [ne_eq, reduceCtorEq, not_false_eq_true] |
| 149 | have hs : s (.inr j) = 1 := rfl |
| 150 | rw [h_red_ne (.inr j) hne, hs] |
| 151 | simp only [Units.val_one, Matrix.transpose_one, Matrix.one_mul, Matrix.mul_one] |
| 152 | have h_tri := O.smul_chosenGLRep_eq_apply_of_triangular u c s |
| 153 | (reduceAt_mul_inclMatrix_ofSplitPlace h_parab h_block) h_lower |
| 154 | rwa [prod_tamePart_inv_det_sum_mulSingle i g] at h_tri |
| 155 | |
| 156 | open scoped Classical in |
| 157 | /-- Let `w = O.chosenPlace i` be a chosen place of the pair `O`, assumed split (`hw`), and write |
| 158 | `ψ_w` for the character `O.tamePart w` of its residue field `k_w`. The map `ofSplitPlace hw` places |
| 159 | `GL_n(E_w)` in the finite adelic group. Let `π` be a representation of that group on a space `S` of |
| 160 | functions, and `u` a vector of the level and character of `O`. Suppose that `π k u` is the right |
| 161 | translate of `f` by `k` for all `k` in `GL_n(E_w)`. Then `f` has a parahoric type at `w`: an |
| 162 | integral `k` whose reduction keeps the span of the indices `O.incl` and acts on it by `g` sends `f` |
| 163 | to `ψ_w⁻¹(det g)` times the image of `u` under `g`, placed at `i`, in the representation |
| 164 | `O.chosenGLRep π`; the one other block (`s := 1`) carries the trivial character. -/ |
| 165 | theorem hasParahoricType_chosenGLRep {S : Submodule ℂ (Gf D.E n → WeylIndex n O.columnCount → ℂ)} |
| 166 | {π : Representation ℂ (Gf D.E n) S} |
| 167 | {u : levelSpace π (levelOf O.placeAt (descentResidueLevel O.toLevelPlaces O.incl)) O.levelChar} |
| 168 | {i : O.ChosenIndex} {hw : (O.chosenPlace i).IsSplit} |
| 169 | {f : Gf D.E n → WeylIndex n O.columnCount → ℂ} |
| 170 | (h_loc : ∀ k : GL n (LocField (O.chosenPlace i)), |
| 171 | (π (ofSplitPlace hw k) u.val).val = fun x : Gf D.E n ↦ f (x * ofSplitPlace hw k)) : |
| 172 | HasParahoricType f hw O.incl (fun a : n ↦ if a ∈ Set.range O.incl then 0 else 1) |
| 173 | (O.tamePart (O.chosenPlace i))⁻¹ (s := 1) 1 fun g : GL r (ResField (O.chosenPlace i)) ↦ |
| 174 | (O.chosenGLRep π (Pi.mulSingle i g) u).val.val := by |
| 175 | refine ⟨by simp, fun k g h_parab h_block ↦ ?_⟩ |
| 176 | have h_act := smul_chosenGLRep_mulSingle_eq_apply_ofSplitPlace (hw := hw) u h_parab h_block |
| 177 | refine (h_loc k).symm.trans ((congrArg Subtype.val h_act).symm.trans ?_) |
| 178 | simp only [SetLike.val_smul, Finset.univ_unique, Fin.default_eq_zero, Fin.isValue, Pi.one_apply, |
| 179 | Nat.reduceAdd, GeneralLinearGroup.val_det_apply, isUnit_iff_ne_zero, ne_eq, |
| 180 | GeneralLinearGroup.det_ne_zero, not_false_eq_true, MulChar.one_apply, Finset.prod_const_one, |
| 181 | one_smul] |
| 182 | |
| 183 | /-- Let `v` have the level and character of the pair `O` under `π`, and let |
| 184 | `ψ_i = O.tamePart (O.chosenPlace i)`, a character of the residue field of the `i`-th chosen place. |
| 185 | The element `a` of the group algebra of `O.ChosenGL r = ∏ i, GL_r` of these residue fields acts on |
| 186 | `v` through `O.chosenGLRep π` as the sum over `g` of `a g` times `∏ i, ψ_i (det (g i))` times `π` |
| 187 | of the chosen lift of `diag (g, 1)`. -/ |
| 188 | lemma coe_asAlgebraHom_chosenGLRep_apply {W : Type*} [AddCommGroup W] [Module ℂ W] |
| 189 | (π : Representation ℂ (Gf D.E n) W) (a : MonoidAlgebra ℂ (O.ChosenGL r)) |
| 190 | (v : levelSpace π (levelOf O.placeAt (descentResidueLevel O.toLevelPlaces O.incl)) |
| 191 | O.levelChar) : |
| 192 | ((O.chosenGLRep π).asAlgebraHom a v).val = ∑ g ∈ a.coeff.support, a.coeff g • |
| 193 | (∏ i : O.ChosenIndex, O.tamePart (O.chosenPlace i) (g i).val.det) • |
| 194 | π (liftResidue (firstBlockHom O.toLevelPlaces O.incl g)) v := by |
| 195 | simp only [DescentPair.chosenGLRep, levelRep, MonoidHom.coe_mk, OneHom.coe_mk, asAlgebraHom_def, |
| 196 | lift_apply, Finsupp.sum, LinearMap.coe_sum, LinearMap.coe_smul, Finset.sum_apply, Pi.smul_apply, |
| 197 | AddSubmonoidClass.coe_finsetSum, SetLike.val_smul, LinearMap.coe_restrict_apply] |
| 198 | |
| 199 | open scoped Classical in |
| 200 | /-- Let `π` be right translation (`formTranslation`) of forms of weight `(O.columnCount, O.detExp)` |
| 201 | by the components at the places of `O` and their conjugates (`componentOn`, which puts `1` at all |
| 202 | other places). A form `y` of `O` (`O.FormV`: a form of this weight with the level group and |
| 203 | character of `O`), regarded as a form of that weight (`y.toSmoothForm`), has this level and |
| 204 | character also under `π`. The reason is that taking components does not change the reductions at |
| 205 | the places of `O`, on which alone the level group and its character depend. -/ |
| 206 | lemma toSmoothForm_mem_levelSpace_componentOn (y : O.FormV) : |
| 207 | y.toSmoothForm ∈ levelSpace (((stdSpace D.E n).formTranslation (O.columnCount, O.detExp)).comp |
| 208 | (componentOn n O.places.toFinset)) |
| 209 | (levelOf O.placeAt (descentResidueLevel O.toLevelPlaces O.incl)) O.levelChar := by |
| 210 | intro k |
| 211 | let k₀ : stdLevel D.E n := |
| 212 | ⟨componentOn n O.places.toFinset k, componentOn_mem_stdLevel (levelOf_le_stdLevel k.property)⟩ |
| 213 | -- It suffices that `k₀` and `k` have the same reduction at each place `O.placeAt j`. |
| 214 | refine levelSpace_levelOf_apply y.property k₀ _ (funext fun j ↦ ?_) |
| 215 | have h_eq : atPlace (O.placeAt j) (k₀ : Gf D.E n) = atPlace (O.placeAt j) (k : Gf D.E n) := by |
| 216 | -- Splitting the range of `O.placeAt` would hide that `O.placeAt j` lies in it. |
| 217 | simp only [toFinset_range, Finset.coe_image, Finset.coe_univ, image_univ, atPlace_componentOn, |
| 218 | mem_union, mem_range, exists_apply_eq_apply, star_preimage, mem_star, Sum.exists, |
| 219 | Sum.elim_inl, Sum.elim_inr, true_or, ↓reduceIte, k₀] |
| 220 | exact (stdLevel.reduceAt _).div_mem_ker_iff.1 (reduceAt_eq_one_of_atPlace (by |
| 221 | simp only [SubgroupClass.coe_div, Subgroup.coe_inclusion, _root_.map_div, h_eq, div_self'])) |
| 222 | |
| 223 | open scoped Classical in |
| 224 | /-- Let `ψ_i = O.tamePart (O.chosenPlace i)`, a character of the residue field of the `i`-th chosen |
| 225 | place. For a form `y` of `O`, the projection `typeProjection O c y` is the sum over `g` of the |
| 226 | coefficient at `g` of the idempotent `tupleIdem r c` of the labels `c`, times |
| 227 | `∏ i, ψ_i (det (g i))`, times the right translate of `y` by the components at the places of `O` of |
| 228 | the chosen lift of `diag (g, 1)`. -/ |
| 229 | lemma toSmoothForm_typeProjection (c : (i : O.ChosenIndex) → (ResField (O.chosenPlace i))[X]) |
| 230 | (y : O.FormV) : (typeProjection O c y).toSmoothForm = |
| 231 | ∑ g ∈ (tupleIdem r c).coeff.support, (tupleIdem r c).coeff g • |
| 232 | (∏ i : O.ChosenIndex, O.tamePart (O.chosenPlace i) (g i).val.det) • |
| 233 | (stdSpace D.E n).formTranslation (O.columnCount, O.detExp) |
| 234 | (componentOn n O.places.toFinset |
| 235 | (liftResidue (firstBlockHom O.toLevelPlaces O.incl g))) y.toSmoothForm := by |
| 236 | -- The action of a single `g` on forms, by the definition of `O.formAction`. |
| 237 | have h_action (g : O.ChosenGL r) : (O.formAction g y).toSmoothForm = |
| 238 | (∏ i : O.ChosenIndex, O.tamePart (O.chosenPlace i) (g i).val.det) • |
| 239 | (stdSpace D.E n).formTranslation (O.columnCount, O.detExp) |
| 240 | (liftResidue (firstBlockHom O.toLevelPlaces O.incl g)) y.toSmoothForm := rfl |
| 241 | -- The chosen lift is supported at the places of `O`, so it equals its components there. |
| 242 | simp only [Set.coe_toFinset, Gf.componentOn_eq_self, liftResidue_mem_supportedOn, ← h_action] |
| 243 | simp only [typeProjection, DescentPair.groupAlgAction, asAlgebraHom_def, lift_apply, Finsupp.sum, |
| 244 | LinearMap.coe_sum, LinearMap.coe_smul, Finset.sum_apply, Pi.smul_apply, map_sum, map_smul] |
| 245 | |
| 246 | /-- Let the labels `c` at the chosen places of `O` form a lift setting with the twist `ϑ`. Let the |
| 247 | form `y` of `O` be integral above `ℓ`: `ιℓ` sends its values at the points integral above `ℓ` to |
| 248 | `ℓ`-adic integers. Then so is `D.chosenGroupOrder` times the projection `typeProjection O c y` of |
| 249 | `y` by the idempotent of `c`. -/ |
| 250 | lemma chosenGroupOrder_nsmul_typeProjection_mem_ellIntegralForms {ϑ : D.Twist} |
| 251 | {c : (i : O.ChosenIndex) → (ResField (O.chosenPlace i))[X]} (h_lift : IsLiftSetting O c ϑ) |
| 252 | (y : O.FormV) (hy : y.toSmoothForm ∈ BaseLevel.ellIntegralForms) : |
| 253 | D.chosenGroupOrder • (typeProjection O c y).toSmoothForm ∈ BaseLevel.ellIntegralForms := by |
| 254 | classical |
| 255 | -- `D.chosenGroupOrder` clears the denominator `Nat.card (O.ChosenGL r)` of the idempotent. Each |
| 256 | -- remaining term is a natural number times an algebraic integer, a root of unity and a value of |
| 257 | -- `y` at a point that is integral above `ℓ`. |
| 258 | intro x hx i |
| 259 | obtain ⟨t, ht⟩ : Nat.card (O.ChosenGL r) ∣ D.chosenGroupOrder := by |
| 260 | rw [h_lift.toLevelPlaces_eq] |
| 261 | exact D.card_GL_dvd_chosenGroupOrder (h_lift.rank_le.left.trans D.nat_le_of_hasLogBound) |
| 262 | have h_coef (g : O.ChosenGL r) : ‖ιℓ (Nat.card (O.ChosenGL r) * (tupleIdem r c).coeff g)‖ ≤ 1 := |
| 263 | norm_le_one_of_isIntegral ιℓ.toRingHom |
| 264 | ((isCentralProj_tupleIdem c).isChar_card_mul_coeff.isIntegral g) |
| 265 | have h_root (g : O.ChosenGL r) : ‖ιℓ (∏ j, O.tamePart (O.chosenPlace j) (g j).val.det)‖ ≤ 1 := |
| 266 | (ιℓ.toRingHom.isOfFinOrder (O.isOfFinOrder_prod_tamePart_det g)).norm_eq_one.le |
| 267 | -- `val g` is the value at `x`, `i` of the translate of `y` by the components of `g`. |
| 268 | let val (g : stdLevel D.E n) : ℂ := ((stdSpace D.E n).formTranslation (O.columnCount, O.detExp) |
| 269 | (componentOn n O.places.toFinset g) y.toSmoothForm).val x i |
| 270 | have h_val (g : stdLevel D.E n) : ‖ιℓ (val g)‖ ≤ 1 := |
| 271 | hy _ (mul_mem hx (stdLevel_le_localLevel (componentOn_mem_stdLevel g.property))) i |
| 272 | have h_sum : ιℓ ((D.chosenGroupOrder • (typeProjection O c y).toSmoothForm).val x i) = |
| 273 | ∑ g ∈ (tupleIdem r c).coeff.support, |
| 274 | t * (ιℓ (Nat.card (O.ChosenGL r) * (tupleIdem r c).coeff g) * |
| 275 | (ιℓ (∏ j : O.ChosenIndex, O.tamePart (O.chosenPlace j) (g j).val.det) * |
| 276 | ιℓ (val (liftResidue (firstBlockHom O.toLevelPlaces O.incl g))))) := by |
| 277 | simp only [ht, toSmoothForm_typeProjection, Sum.elim_range, toFinset_union, toFinset_range, |
| 278 | Finset.coe_union, Finset.coe_image, Finset.coe_univ, image_univ, SetLike.val_smul_of_tower, |
| 279 | AddSubmonoidClass.coe_finsetSum, formTranslation_apply_apply_coe, |
| 280 | Pi.smul_apply, Finset.sum_apply, rightRegular_apply_apply, smul_eq_mul, nsmul_eq_mul, |
| 281 | Nat.cast_mul, Finset.mul_sum, mul_assoc, mul_left_comm _ (t : ℂ), map_sum, map_mul, |
| 282 | map_natCast, map_prod, val] |
| 283 | rw [h_sum] |
| 284 | exact NormedField.valuation.integer.sum_mem fun g _ ↦ |
| 285 | mul_mem (natCast_mem _ t) (mul_mem (h_coef g) (mul_mem (h_root g) (h_val _))) |
| 286 | |
| 287 | omit [DecidableEq n] [PadicIso ℓ] in |
| 288 | /-- Let the labels `c` form a lift setting for `O` and `ϑ`. Let `ϑ.Q` be auxiliary: its places have |
| 289 | prime norm, neither they nor their conjugates are bad, and the conjugates are not in `ϑ.Q`. Let `U` |
| 290 | be a family of places that are not bad. Suppose that neither `v` nor its conjugate is a chosen |
| 291 | place. Suppose also that `v` lies above `ℓ` or in `placesAboveM D`, or that neither `v` nor its |
| 292 | conjugate is in `ϑ.Q` or `range U`. Then `v` and its conjugate avoid `range U` and the places of |
| 293 | `O`. -/ |
| 294 | lemma notMem_and_star_notMem_range_union_places {ϑ : D.Twist} |
| 295 | {c : (i : O.ChosenIndex) → (ResField (O.chosenPlace i))[X]} (h_lift : IsLiftSetting O c ϑ) |
| 296 | (hQ : IsAuxiliary (badPlaces D ℓ) ϑ.Q) {K : Type} {U : K → FinPlace D.E} |
| 297 | (hU : ∀ k : K, U k ∉ badPlaces D ℓ) {v : FinPlace D.E} |
| 298 | (h_exc : v ∉ ((ϑ.Q : Set (FinPlace D.E)).conjClosure ∪ (range U).conjClosure) \ |
| 299 | (placesDividing D.E ℓ ∪ placesAboveM D)) |
| 300 | (h_chosen : v ∉ (range O.chosenPlace).conjClosure) : |
| 301 | v ∉ range U ∪ O.places ∧ star v ∉ range U ∪ O.places := by |
| 302 | have h_range : range O.twistPlace = ϑ.Q := by |
| 303 | rw [h_lift.toLevelPlaces_eq] |
| 304 | exact Subtype.range_coe |
| 305 | have h_places : O.places = range O.chosenPlace ∪ range O.twistPlace := Sum.elim_range .. |
| 306 | -- `ϑ.Q` and `range U` avoid the bad places, so `v` and its conjugate avoid both. |
| 307 | have h_off : v ∉ (ϑ.Q : Set (FinPlace D.E)).conjClosure ∪ (range U).conjClosure := by |
| 308 | intro h_mem |
| 309 | -- The places above `ℓ` or a level prime are bad, and they are stable under conjugation. |
| 310 | have h_above : v ∈ placesDividing D.E ℓ ∪ placesAboveM D := by |
| 311 | by_contra h_not |
| 312 | exact h_exc ⟨h_mem, h_not⟩ |
| 313 | have hv_bad : v ∈ badPlaces D ℓ := placesDividing_union_subset_badPlaces D ℓ h_above |
| 314 | have h_star_bad : star v ∈ badPlaces D ℓ := placesDividing_union_subset_badPlaces D ℓ |
| 315 | (h_above.imp star_mem_placesDividing.2 star_mem_placesAboveM.2) |
| 316 | obtain (hv_mem | h_star_mem) | ⟨k, rfl⟩ | ⟨k, hk⟩ := h_mem |
| 317 | · exact (hQ v hv_mem).left hv_bad |
| 318 | · exact (hQ (star v) h_star_mem).left h_star_bad |
| 319 | · exact hU k hv_bad |
| 320 | · exact hU k (by rwa [hk]) |
| 321 | simp only [h_places, h_range, mem_union, mem_preimage, not_or] at h_off h_chosen ⊢ |
| 322 | exact ⟨⟨h_off.2.1, h_chosen.1, h_off.1.1⟩, h_off.2.2, h_chosen.2, h_off.1.2⟩ |
| 323 | |
| 324 | /-- The jumps of a normalised representation (`normalizedRep`) attached to a form of weight |
| 325 | `(O.columnCount, O.detExp)`: the jumps of the weight minus the infinity type of the algebraic Hecke |
| 326 | character whose `ℓ`-adic avatar is `normalizingAvatar O`. -/ |
| 327 | noncomputable def normalizedJumps (O : DescentPair D.E r n) (σ : D.E →+* ℂ) : Multiset ℤ := |
| 328 | (jumps (O.columnCount, O.detExp) (Fintype.card n) σ).map fun u : ℤ ↦ |
| 329 | u + -((AutChar.HasWeight.inv (μ := O.charW)).toAlgebraic (-Fintype.card r) 0).val.2.toAdd σ |
| 330 | |
| 331 | /-- Let the labels `c` form a lift setting for `O` and `ϑ`, and let `R` be attached to an eigenform |
| 332 | `f` of weight `(O.columnCount, O.detExp)`. Suppose that at the chosen places `f` has the labels |
| 333 | `scaledTypePoly O c i`, completed by the trivial character on further blocks of sizes `t` |
| 334 | (`HasProductLabel`). Suppose also that `f` is spherical at the places that are off `S`, above `ℓ` or |
| 335 | in `placesAboveM D` (above `p₀` or `p₁`), except the chosen places and their conjugates. |
| 336 | |
| 337 | Then `normalizedRep O R`, the twist of `R` by `normalizingAvatar O`, satisfies `IsRepOfType`: it has |
| 338 | the jumps `normalizedJumps O` and the properties of a conjugate self-dual representation of level |
| 339 | `S`, and inertia at the chosen places acts through the roots of |
| 340 | `scaledTypePoly O c i * (X - 1) ^ t'`, with `t' = O.rankDiff = card n - card r`. -/ |
| 341 | lemma isRepOfType_normalizedRep {ϑ : D.Twist} |
| 342 | {c : (i : O.ChosenIndex) → (ResField (O.chosenPlace i))[X]} (h_lift : IsLiftSetting O c ϑ) |
| 343 | {f : (stdSpace D.E n).forms (O.columnCount, O.detExp)} {H : FinPlace D.E → ℂ[X]} |
| 344 | {R : GalRep ℓ D.E n} |
| 345 | (h_eig : IsEigenform f.val H) (h_att : GaloisRep.Attached H R) {S : Set (FinPlace D.E)} |
| 346 | (h_sph : ∀ v ∉ S \ (placesDividing D.E ℓ ∪ placesAboveM D), |
| 347 | v ∉ (range O.chosenPlace).conjClosure → |
| 348 | f.val ∈ sphericalAt (rightRegular ℂ (Gf D.E n) (WeylIndex n O.columnCount → ℂ)) v) |
| 349 | {s : ℕ} {t : Fin s → ℕ} (h_lab : ∀ i : O.ChosenIndex, |
| 350 | HasProductLabel f.val (O.isConjApart_chosenPlace.star_ne i i) |
| 351 | (faithfulChar (ResField (O.chosenPlace i))) (Fintype.card r) (scaledTypePoly O c i) 1 t) : |
| 352 | IsRepOfType O O.rankDiff (normalizedJumps O) |
| 353 | (fun i : O.ChosenIndex ↦ scaledTypePoly O c i * (X - 1) ^ O.rankDiff) S |
| 354 | (normalizedRep O R) := by |
| 355 | have : Nonempty n := Fintype.card_pos_iff.mp (Nat.zero_lt_of_lt O.rank_lt) |
| 356 | have h_type_R : IsRepOfType O (Fintype.card n) (jumps (O.columnCount, O.detExp) (Fintype.card n)) |
| 357 | (fun i : O.ChosenIndex ↦ scaledTypePoly O c i * (X - 1) ^ O.rankDiff) S R := |
| 358 | isRepOfType_of_hasProductLabel h_lift f.property h_eig h_att h_sph h_lab |
| 359 | -- `O.rankDiff` is `card n - card r`, and `card r < card n`. |
| 360 | have h_rank : ((O.rankDiff - 1 : ℕ) : ℤ) + (2 * 0 - -Fintype.card r) = |
| 361 | (Fintype.card n - 1 : ℕ) := by |
| 362 | have := O.rank_lt |
| 363 | dsimp only [DescentPair.rankDiff] |
| 364 | omega |
| 365 | -- The tame part of the twist is trivial, so the roots of the labels are not scaled. |
| 366 | unfold normalizedJumps normalizedRep normalizingAvatar |
| 367 | simpa only [inv_one, Pi.one_apply, map_one, Units.val_one, scaleRoots_one] using |
| 368 | h_type_R.twist_avatar (.inv (μ := O.charW)) (-Fintype.card r) 0 h_rank h_lift (by simp) |
| 369 | |
| 370 | end |
| 371 | |
| 372 | variable {O : DescentPair D.E r n} [DecidableEq n] |
| 373 | |
| 374 | /-- If `π` agrees with the translation of forms on the elements supported at the places of `O`, then |
| 375 | it does so on the local group at each such place. -/ |
| 376 | lemma apply_ofSplitPlace_eq_formTranslation |
| 377 | {π : Representation ℂ (Gf D.E n) ((stdSpace D.E n).forms (O.columnCount, O.detExp))} |
| 378 | (hπ : ∀ k ∈ supportedOn n O.places, π k = (stdSpace D.E n).formTranslation |
| 379 | (O.columnCount, O.detExp) k) |
| 380 | (j : O.ChosenIndex ⊕ O.TwistIndex) (k : GL n (LocField (O.placeAt j))) : |
| 381 | π (ofSplitPlace (O.apart.star_ne j j) k) = |
| 382 | (stdSpace D.E n).formTranslation (O.columnCount, O.detExp) |
| 383 | (ofSplitPlace (O.apart.star_ne j j) k) := |
| 384 | hπ _ (supportedOn_mono (by |
| 385 | simp only [singleton_subset_iff, mem_range, |
| 386 | exists_apply_eq_apply]) (ofSplitPlace_mem_supportedOn _ k)) |
| 387 | |
| 388 | open scoped Classical in |
| 389 | /-- Let the labels `c` form a lift setting for `O` and `ϑ`. Let `π` be a representation on forms of |
| 390 | weight `(O.columnCount, O.detExp)` that agrees with right translation (`formTranslation`) on the |
| 391 | elements supported at the places of `O`, and let `u` have the level and character of `O` under `π`. |
| 392 | Suppose that the idempotent `tupleIdem r c` of the labels does not kill `u`. Then at each chosen |
| 393 | place `w = O.chosenPlace i`, which is not its own conjugate, the form `u` has a label with two |
| 394 | blocks. The first block has size `card r` and carries the class function of `scaledTypePoly O c i`, |
| 395 | formed with the injective character `faithfulChar k_w` of the algebraic closure of the residue field |
| 396 | `k_w`. The second block carries the trivial character `1`; its size, the last argument, is the |
| 397 | number of indices outside `range O.incl`. -/ |
| 398 | lemma hasProductLabel_of_tupleIdem_apply_ne_zero |
| 399 | {π : Representation ℂ (Gf D.E n) ((stdSpace D.E n).forms (O.columnCount, O.detExp))} |
| 400 | {ϑ : D.Twist} |
| 401 | {c : (i : O.ChosenIndex) → (ResField (O.chosenPlace i))[X]} (h_lift : IsLiftSetting O c ϑ) |
| 402 | (hπ : ∀ k ∈ supportedOn n O.places, π k = (stdSpace D.E n).formTranslation |
| 403 | (O.columnCount, O.detExp) k) |
| 404 | {u : levelSpace π (levelOf O.placeAt (descentResidueLevel O.toLevelPlaces O.incl)) O.levelChar} |
| 405 | (hu : (O.chosenGLRep π).asAlgebraHom (tupleIdem r c) u ≠ 0) (i : O.ChosenIndex) : |
| 406 | HasProductLabel u.val.val (O.isConjApart_chosenPlace.star_ne i i) |
| 407 | (faithfulChar (ResField (O.chosenPlace i))) (Fintype.card r) (scaledTypePoly O c i) 1 |
| 408 | fun l : Fin 1 ↦ |
| 409 | Fintype.card {a : n // (if a ∈ range O.incl then 0 else 1 : Fin 2) = l.succ} := by |
| 410 | have hw : (O.placeAt (.inl i)).IsSplit := O.apart.star_ne (.inl i) (.inl i) |
| 411 | have h_loc (k : GL n (LocField (O.chosenPlace i))) : (π (ofSplitPlace hw k) u.val).val = |
| 412 | rightRegular ℂ (Gf D.E n) (WeylIndex n O.columnCount → ℂ) (ofSplitPlace hw k) u.val.val := |
| 413 | congrArg Subtype.val |
| 414 | (LinearMap.congr_fun (apply_ofSplitPlace_eq_formTranslation hπ (.inl i) k) u.val) |
| 415 | -- If the factor at `i` of the idempotent killed `u`, so would the whole idempotent. |
| 416 | refine HasParahoricType.hasProductLabel ((forms _ _).subtype.domRestrict _) (by simp) |
| 417 | (fun h_zero ↦ hu (piTensorElem_apply_eq_zero i h_zero)) (hasParahoricType_chosenGLRep h_loc) |
| 418 | (Function.injective_of_subsingleton _) fun _ ↦ ?_ |
| 419 | -- `charName` sends the trivial character to `1`, which is not a root of the scaled type |
| 420 | -- polynomial. |
| 421 | simpa only [map_inv, Units.val_inv_eq_inv_val, Pi.one_apply, map_one, Units.val_one, IsRoot.def, |
| 422 | scaledTypePoly] using h_lift.not_isRoot_scaledTypePoly i |
| 423 | |
| 424 | /-- Let `π` be a representation on forms of weight `(O.columnCount, O.detExp)` that agrees with |
| 425 | right translation on the elements supported at the places of `O`, and let `u` have the level and |
| 426 | character of `O` under `π`. Let `w = O.twistPlace i` be one of the twist places of the pair, and |
| 427 | `ψ_w = O.tamePart w`, a character of its residue field. Then `u` satisfies |
| 428 | `New.Selmer.HasTwistParahoricType` at `i`: an integral matrix at `w` whose reduction keeps the span |
| 429 | of the indices outside `range O.incl` multiplies `u` by `ψ_w⁻¹` of the determinant of the block of |
| 430 | that reduction on `range O.incl`. -/ |
| 431 | lemma hasTwistParahoricType_levelSpace |
| 432 | {π : Representation ℂ (Gf D.E n) ((stdSpace D.E n).forms (O.columnCount, O.detExp))} |
| 433 | (hπ : ∀ k ∈ supportedOn n O.places, π k = (stdSpace D.E n).formTranslation |
| 434 | (O.columnCount, O.detExp) k) |
| 435 | (u : levelSpace π (levelOf O.placeAt (descentResidueLevel O.toLevelPlaces O.incl)) O.levelChar) |
| 436 | (i : O.TwistIndex) : HasTwistParahoricType O u.val.val i := by |
| 437 | classical |
| 438 | have hw : (O.placeAt (.inr i)).IsSplit := O.apart.star_ne (.inr i) (.inr i) |
| 439 | let β : n → Fin 3 := fun a ↦ if a ∈ range O.incl then 2 else 1 |
| 440 | -- The twist place is `O.placeAt (.inr i)`. |
| 441 | change HasParahoricType u.val.val hw (ρ := Empty) .ofIsEmpty β 1 |
| 442 | ![1, (O.tamePart (O.placeAt (.inr i)))⁻¹] fun _ : GL Empty (ResField (O.placeAt (.inr i))) ↦ |
| 443 | u.val.val |
| 444 | refine ⟨by |
| 445 | simp only [Nat.reduceAdd, mem_range, Fin.isValue, ite_eq_iff, Fin.reduceEq, and_false, |
| 446 | not_exists, one_ne_zero, or_self, false_iff, IsEmpty.forall_iff, implies_true, β], |
| 447 | fun k _ hk _ ↦ ?_⟩ |
| 448 | -- The reduction of `k` lies in `descentResidueLevel`, so `k` acts by the value of |
| 449 | -- `O.residueLevelChar`. |
| 450 | have hk_mem : Pi.mulSingle (.inr i) (reduceGL k) ∈ descentResidueLevel O.toLevelPlaces O.incl := |
| 451 | (mulSingle_mem_pi ..).2 fun _ ↦ |
| 452 | (mem_rangeParabolic_iff _).2 fun a b hb ↦ hk (by |
| 453 | simp only [β, hb, Set.mem_range_self, ↓reduceIte, Fin.reduceLT]) |
| 454 | -- Only the place `i` contributes to the product that defines `O.residueLevelChar`. |
| 455 | have h_char : O.residueLevelChar ⟨Pi.mulSingle (.inr i) (reduceGL k), hk_mem⟩ = |
| 456 | (O.tamePart (O.placeAt (.inr i)))⁻¹ ((reduceGL k).val.submatrix O.incl O.incl).det := by |
| 457 | refine (Fintype.prod_eq_single i fun j hj ↦ ?_).trans (by |
| 458 | simp only [Pi.inv_apply, Pi.mulSingle_eq_same]) |
| 459 | simp only [Pi.inv_apply, Pi.mulSingle_eq_of_ne (Sum.inr_injective.ne hj), Units.val_one, |
| 460 | submatrix_one_embedding, det_one, map_one] |
| 461 | have h_act : π (ofSplitPlace hw k.val) u.val = |
| 462 | O.residueLevelChar ⟨Pi.mulSingle (.inr i) (reduceGL k), hk_mem⟩ • u.val := |
| 463 | levelSpace_levelOf_apply u.property _ ⟨_, hk_mem⟩ |
| 464 | (reduceFamily_ofSplitPlace (w := O.placeAt) (.inr i) k) |
| 465 | rw [apply_ofSplitPlace_eq_formTranslation hπ, h_char] at h_act |
| 466 | refine (congrArg Subtype.val h_act).trans ?_ |
| 467 | -- Block `2` of `reduceGL k` is the block on the range of `O.incl`, up to a renumbering. |
| 468 | have h_det : ((reduceGL k).val.submatrix O.incl O.incl).det = |
| 469 | (blockHom β 2 ⟨reduceGL k, hk⟩).val.det := |
| 470 | det_submatrix_equiv_self (O.incl.toEquivRange.trans (.subtypeEquivProp (by |
| 471 | simp only [mem_range, Fin.isValue, ite_eq_left_iff, not_exists, Fin.reduceEq, imp_false, |
| 472 | not_forall, Decidable.not_not, β]))) |
| 473 | (blockHom β 2 ⟨reduceGL k, hk⟩).val |
| 474 | simp only [h_det, Fin.isValue, SetLike.val_smul, Nat.reduceAdd, GeneralLinearGroup.val_det_apply, |
| 475 | Fin.prod_univ_two, cons_val_zero, Fin.succ_zero_eq_one, isUnit_iff_ne_zero, ne_eq, |
| 476 | GeneralLinearGroup.det_ne_zero, not_false_eq_true, MulChar.one_apply, cons_val_one, |
| 477 | cons_val_fin_one, Fin.succ_one_eq_two, one_mul, coe_det_isEmpty, Function.const_apply, |
| 478 | one_ne_zero, one_smul] |
| 479 | |
| 480 | open scoped Classical in |
| 481 | /-- Let `B` be base data at the places of `O`. The maximal level (`levelOf` of the empty family), |
| 482 | acting through its components off these places and their conjugates (`B.repOff`), fixes every form |
| 483 | of `O`. -/ |
| 484 | lemma toSmoothForm_mem_levelSpace_repOff {m : ℕ} |
| 485 | (B : BaseLevel (stdSpace D.E n) (O.columnCount, O.detExp) m) |
| 486 | (hB : B.places = O.places.toFinset) (y : O.FormV) : |
| 487 | y.toSmoothForm ∈ levelSpace B.repOff (levelOf (![] : Fin 0 → FinPlace D.E) ⊥) 1 := by |
| 488 | intro k |
| 489 | -- These components lie in the maximal level and are trivial at the places of `O`. |
| 490 | have h_triv : componentOn n (Set.conjClosure B.places)ᶜ k ∈ trivialOn n (range O.placeAt) := by |
| 491 | refine mem_trivialOn.2 fun w hw ↦ ?_ |
| 492 | rw [atPlace_componentOn] |
| 493 | split_ifs with hw' |
| 494 | · exfalso |
| 495 | have hw_places : w ∈ O.places := hw |
| 496 | simp only [hB, Set.conjClosure, Set.mem_union, Set.mem_compl_iff, Set.mem_preimage, |
| 497 | Finset.mem_coe, Set.mem_toFinset, not_or, star_star] at hw' |
| 498 | rcases hw' with h | h |
| 499 | · exact h.1 hw_places |
| 500 | · exact h.2 hw_places |
| 501 | · rfl |
| 502 | rw [MonoidHom.one_apply, one_smul] |
| 503 | exact y.algFormRep_eq_self_of_mem |
| 504 | (inf_trivialOn_le_levelOf ⟨componentOn_mem_stdLevel (levelOf_le_stdLevel k.property), h_triv⟩) |
| 505 | |
| 506 | /-- Let `T` commute with `π k` for all `k` in the maximal level. Then `T` keeps the vectors with the |
| 507 | level and character of `O` under `π`, and commutes there with the action of each element `a` of the |
| 508 | group algebra of `O.ChosenGL r`. -/ |
| 509 | lemma exists_mem_levelSpace_chosenGLRep_map_eq {W : Type*} [AddCommGroup W] [Module ℂ W] |
| 510 | {π : Representation ℂ (Gf D.E n) W} {T : Module.End ℂ W} |
| 511 | (hT : ∀ k : stdLevel D.E n, Commute (π k) T) (a : MonoidAlgebra ℂ (O.ChosenGL r)) |
| 512 | (v : levelSpace π (levelOf O.placeAt (descentResidueLevel O.toLevelPlaces O.incl)) |
| 513 | O.levelChar) : |
| 514 | ∃ hTv : T v ∈ levelSpace π (levelOf O.placeAt (descentResidueLevel O.toLevelPlaces O.incl)) |
| 515 | O.levelChar, |
| 516 | ((O.chosenGLRep π).asAlgebraHom a ⟨T v, hTv⟩).val = |
| 517 | T ((O.chosenGLRep π).asAlgebraHom a v) := by |
| 518 | refine ⟨map_mem_levelSpace_of_commute v.property fun k ↦ hT ⟨k, levelOf_le_stdLevel k.property⟩, |
| 519 | ?_⟩ |
| 520 | have h_comm (k : stdLevel D.E n) : π k (T v) = T (π k v) := LinearMap.congr_fun (hT k).eq v |
| 521 | simp only [coe_asAlgebraHom_chosenGLRep_apply, h_comm, map_sum, map_smul] |
| 522 | |
| 523 | open scoped Classical in |
| 524 | variable (O) in |
| 525 | /-- Right translation of forms of weight `(O.columnCount, O.detExp)` by the components of an element |
| 526 | at the places of `O` and their conjugates (`componentOn`, which puts `1` at all other places). -/ |
| 527 | noncomputable abbrev translationAtPlaces : |
| 528 | Representation ℂ (Gf D.E n) ((stdSpace D.E n).forms (O.columnCount, O.detExp)) := |
| 529 | ((stdSpace D.E n).formTranslation (O.columnCount, O.detExp)).comp |
| 530 | (componentOn n O.places.toFinset) |
| 531 | |
| 532 | open scoped Classical in |
| 533 | /-- Translation at the chosen places agrees with full translation on elements supported there. -/ |
| 534 | lemma translationAtPlaces_apply_of_mem_supportedOn (k : Gf D.E n) |
| 535 | (hk : k ∈ supportedOn n O.places) : |
| 536 | translationAtPlaces O k = (stdSpace D.E n).formTranslation (O.columnCount, O.detExp) k := by |
| 537 | simp only [translationAtPlaces, MonoidHom.comp_apply, Set.coe_toFinset, Gf.componentOn_eq_self hk] |
| 538 | |
| 539 | open scoped Classical in |
| 540 | variable (O) in |
| 541 | /-- A `(c, S)`-form, for labels `c` at the chosen places of the descent pair `O` and a set `S` of |
| 542 | places: an eigenform `f` on the larger space of `O`, of the weight `(O.columnCount, O.detExp)` of |
| 543 | the pair and of type `c`, with the level and character of the forms of `O` off `S` and its |
| 544 | conjugate, and with any level there. The level of `O` is maximal off the places of `O` and their |
| 545 | conjugates; `S` is meant to avoid these. `H` gives the Hecke polynomials of `f`. -/ |
| 546 | structure IsFormOfType (c : (i : O.ChosenIndex) → (ResField (O.chosenPlace i))[X]) |
| 547 | (S : Set (FinPlace D.E)) (f : (stdSpace D.E n).forms (O.columnCount, O.detExp)) |
| 548 | (H : FinPlace D.E → ℂ[X]) : Prop where |
| 549 | /-- The form `f` is a nonzero eigenform with Hecke polynomials `H` (`IsEigenform`). -/ |
| 550 | isEigenform : IsEigenform f.val H |
| 551 | /-- At the places of `O`, the form `f` has the level and character of `O`. -/ |
| 552 | mem_levelSpace : f ∈ levelSpace (translationAtPlaces O) |
| 553 | (levelOf O.placeAt (descentResidueLevel O.toLevelPlaces O.incl)) O.levelChar |
| 554 | /-- The form `f` is of type `c`: the idempotent `tupleIdem r c` of the labels fixes it, for the |
| 555 | action `O.chosenGLRep` of `∏ GL_r(k_w)` over the chosen places `w`. -/ |
| 556 | tupleIdem_apply : |
| 557 | (O.chosenGLRep (translationAtPlaces O)).asAlgebraHom (tupleIdem r c) ⟨f, mem_levelSpace⟩ = |
| 558 | ⟨f, mem_levelSpace⟩ |
| 559 | /-- The form `f` has maximal level at each place `v` such that `v` and its conjugate avoid `S` |
| 560 | and the places of `O`. -/ |
| 561 | mem_sphericalAt (v : FinPlace D.E) (hv : v ∉ S ∪ O.places) (hv_star : star v ∉ S ∪ O.places) : |
| 562 | f.val ∈ sphericalAt (rightRegular ℂ (Gf D.E n) (WeylIndex n O.columnCount → ℂ)) v |
| 563 | |
| 564 | /-- Let the labels `c` form a lift setting for `O` and the twist `ϑ` (`IsLiftSetting`), let the |
| 565 | modulus `ϑ.Q` be auxiliary (`IsAuxiliary`), and let `S` be a set of places outside `badPlaces D ℓ`, |
| 566 | the places dividing `ℓ p₀ p₁ N`. Let `f` be a `(c, S)`-form (`IsFormOfType`) and `R` attached to |
| 567 | its Hecke polynomials. Then the normalised representation `normalizedRep O R` is a representation |
| 568 | of a type (`IsRepOfType`): it is conjugate self-dual with jumps `normalizedJumps O` and level `ϑ.Q`, |
| 569 | `S` and their conjugates, and inertia at the chosen places acts through the roots of |
| 570 | `scaledTypePoly O c i * (X - 1) ^ O.rankDiff`. -/ |
| 571 | theorem IsFormOfType.isRepOfType_normalizedRep {ϑ : D.Twist} |
| 572 | {c : (i : O.ChosenIndex) → (ResField (O.chosenPlace i))[X]} {S : Set (FinPlace D.E)} |
| 573 | {f : (stdSpace D.E n).forms (O.columnCount, O.detExp)} {H : FinPlace D.E → ℂ[X]} |
| 574 | (hf : IsFormOfType O c S f H) (h_lift : IsLiftSetting O c ϑ) |
| 575 | (hQ : IsAuxiliary (badPlaces D ℓ) ϑ.Q) (hS : ∀ v ∈ S, v ∉ badPlaces D ℓ) |
| 576 | {R : GalRep ℓ D.E n} (h_att : GaloisRep.Attached H R) : |
| 577 | IsRepOfType O O.rankDiff (normalizedJumps O) |
| 578 | (fun i : O.ChosenIndex ↦ scaledTypePoly O c i * (X - 1) ^ O.rankDiff) |
| 579 | (Set.conjClosure ϑ.Q ∪ S.conjClosure) (normalizedRep O R) := by |
| 580 | classical |
| 581 | -- The idempotent fixes `f ≠ 0`, so it does not kill `f`, and `f` has the labels made from `c`. |
| 582 | have h_ne : (O.chosenGLRep (translationAtPlaces O)).asAlgebraHom (tupleIdem r c) |
| 583 | ⟨f, hf.mem_levelSpace⟩ ≠ 0 := by |
| 584 | simpa only [hf.tupleIdem_apply, ne_eq, Submodule.mk_eq_zero, |
| 585 | ZeroMemClass.coe_eq_zero] using hf.isEigenform.left |
| 586 | refine Selmer.isRepOfType_normalizedRep h_lift hf.isEigenform h_att |
| 587 | (fun v h_exc h_chosen ↦ ?_) |
| 588 | (hasProductLabel_of_tupleIdem_apply_ne_zero h_lift |
| 589 | translationAtPlaces_apply_of_mem_supportedOn h_ne) |
| 590 | -- A place neither chosen nor exceptional avoids `S` and `O.places`, as does its conjugate. |
| 591 | obtain ⟨hv, hv_star⟩ : v ∉ S ∪ O.places ∧ star v ∉ S ∪ O.places := by |
| 592 | simpa only [Subtype.range_coe] using notMem_and_star_notMem_range_union_places h_lift hQ |
| 593 | (U := (Subtype.val : S → FinPlace D.E)) (fun k ↦ hS k k.property) |
| 594 | (by rwa [Subtype.range_coe]) h_chosen |
| 595 | exact hf.mem_sphericalAt v hv hv_star |
| 596 | |
| 597 | /-- Fix a prime `ℓ` with an isomorphism `ιℓ : ℂ ≃ ℚ̄_ℓ`, data `D` (among them a CM field `D.E`, two |
| 598 | primes `p₀`, `p₁` given by `D.levelPrime`, and a level `N = D.N`), and a descent pair `O`: hermitian |
| 599 | spaces with bases `r` and `n`, `card r < card n`, with chosen and twist places, weights and a |
| 600 | character. The weight `(O.columnCount, O.detExp)` of its forms on the larger space is given by |
| 601 | column numbers and a power of the determinant. Let `c` be labels at the chosen places that form a |
| 602 | lift setting with the twist `ϑ`. Let `ϑ.Q` be auxiliary: its places have prime norm, neither they |
| 603 | nor their conjugates divide `ℓ p₀ p₁ N` (`badPlaces D ℓ`), and the conjugates are not in `ϑ.Q`. |
| 604 | |
| 605 | Then there are jumps `J` and base data `B` of that weight with three properties. |
| 606 | * (a) The projections `typeProjection O c y` of forms `y` of `O` by the idempotent of the labels `c` |
| 607 | are forms of `B` with no extra level. |
| 608 | * (b) If `y` is integral above `ℓ`, so is `D.chosenGroupOrder • typeProjection O c y`. |
| 609 | * (c) Let `u` be a finite family of places outside `badPlaces D ℓ`, let `x` be an eigensystem of `B` |
| 610 | of level `u`, and `R = normalizedRep O x.galRep` its representation twisted by |
| 611 | `normalizingAvatar O`, the avatar of the inverse of the character of `O` with weight `-card r`. |
| 612 | Then `R` satisfies `IsRepOfType` with jumps `J`, the level being `ϑ.Q`, `range u` and their |
| 613 | conjugates: it is conjugate self-dual up to twist, has the local properties of |
| 614 | `IsConjSelfDualOfLevel` off the level, and inertia at the chosen places acts through the roots of |
| 615 | `scaledTypePoly O c i` (`c i` with roots scaled according to `(O.tamePart _)⁻¹`) times |
| 616 | `(X - 1) ^ O.rankDiff`. Each `g` in the inertia above `ϑ.Q` and its conjugate satisfies |
| 617 | `(R g - ϑ.invAvatar g) (R g - 1) = 0`. -/ |
| 618 | lemma exists_baseLevel {ϑ : D.Twist} |
| 619 | {c : (i : O.ChosenIndex) → (ResField (O.chosenPlace i))[X]} (h_lift : IsLiftSetting O c ϑ) |
| 620 | (hQ : IsAuxiliary (badPlaces D ℓ) ϑ.Q) : |
| 621 | ∃ J : (D.E →+* ℂ) → Multiset ℤ, |
| 622 | ∃ B : BaseLevel (stdSpace D.E n) (O.columnCount, O.detExp) D.chosenGroupOrder, |
| 623 | -- (a) |
| 624 | (∀ y ∈ (typeProjection O c).range, |
| 625 | y.toSmoothForm ∈ B.formsOfLevel (![] : Fin 0 → FinPlace D.E)) ∧ |
| 626 | -- (b) |
| 627 | (∀ y : O.FormV, y.toSmoothForm ∈ BaseLevel.ellIntegralForms → |
| 628 | D.chosenGroupOrder • (typeProjection O c y).toSmoothForm ∈ BaseLevel.ellIntegralForms) ∧ |
| 629 | -- (c) |
| 630 | ∀ (K : Type) [Finite K] (u : K → FinPlace D.E), (∀ k : K, u k ∉ badPlaces D ℓ) → |
| 631 | ∀ x ∈ B.Eigensystem u, |
| 632 | let R : GalRep ℓ D.E n := normalizedRep O x.galRep |
| 633 | -- `R` is a representation of a type for the scaled type polynomials of `c`, |
| 634 | IsRepOfType O O.rankDiff J |
| 635 | (fun i : O.ChosenIndex ↦ scaledTypePoly O c i * (X - 1) ^ O.rankDiff) |
| 636 | (Set.conjClosure ϑ.Q ∪ (range u).conjClosure) R ∧ |
| 637 | -- and inertia at the auxiliary places satisfies a quadratic relation |
| 638 | ∀ g ∈ inertiaAbove (Set.conjClosure ϑ.Q), |
| 639 | ((R g).val - ϑ.invAvatar g • 1) * ((R g).val - 1) = 0 := by |
| 640 | classical |
| 641 | have : Nonempty n := Fintype.card_pos_iff.mp (Nat.zero_lt_of_lt O.rank_lt) |
| 642 | -- Let `π` act on forms through the components at the places `O.places` only. The space `Y` |
| 643 | -- consists of the forms with the level and character of `O` under `π` that the idempotent `ρ` of |
| 644 | -- the labels `c` fixes. |
| 645 | let F : Submodule ℂ (Gf D.E n → WeylIndex n O.columnCount → ℂ) := |
| 646 | (stdSpace D.E n).forms (O.columnCount, O.detExp) |
| 647 | let π := translationAtPlaces O |
| 648 | let V : Submodule ℂ F := |
| 649 | levelSpace π (levelOf O.placeAt (descentResidueLevel O.toLevelPlaces O.incl)) O.levelChar |
| 650 | let ρ : Module.End ℂ V := (O.chosenGLRep π).asAlgebraHom (tupleIdem r c) |
| 651 | let Y : Submodule ℂ F := (ρ.eqLocus 1).map V.subtype |
| 652 | -- An operator that commutes with `π` on the maximal level commutes with `ρ`, so it keeps `Y`. |
| 653 | have hY (T : Module.End ℂ F) (hT : ∀ k : stdLevel D.E n, Commute (π k) T) : Y ≤ Y.comap T := by |
| 654 | rintro _ ⟨u, h_fixed : ρ u = u, rfl⟩ |
| 655 | obtain ⟨hTu, h_comm⟩ : ∃ hTu : T u.val ∈ V, (ρ ⟨T u.val, hTu⟩).val = T (ρ u).val := |
| 656 | exists_mem_levelSpace_chosenGLRep_map_eq hT (tupleIdem r c) u |
| 657 | rw [h_fixed] at h_comm |
| 658 | exact ⟨⟨T u.val, hTu⟩, Subtype.ext h_comm, rfl⟩ |
| 659 | let B : BaseLevel (stdSpace D.E n) (O.columnCount, O.detExp) D.chosenGroupOrder := |
| 660 | { places := O.places.toFinset, forms := Y, map_mem_forms := hY |
| 661 | exists_level := ⟨levelOf O.placeAt (descentResidueLevel O.toLevelPlaces O.incl), O.levelChar, |
| 662 | isOpen_levelOf, V.map_subtype_le (ρ.eqLocus 1)⟩ |
| 663 | card_aut_dvd := D.card_classAut_dvd_chosenGroupOrder h_lift.card_le le_rfl } |
| 664 | refine ⟨normalizedJumps O, B, fun y hy ↦ ?_, |
| 665 | chosenGroupOrder_nsmul_typeProjection_mem_ellIntegralForms h_lift, ?_⟩ |
| 666 | · -- On the form of `y`, the idempotent `ρ` acts as `typeProjection O c`, which fixes `y`. |
| 667 | let u : V := ⟨y.toSmoothForm, toSmoothForm_mem_levelSpace_componentOn y⟩ |
| 668 | have h_proj : (ρ u).val = (typeProjection O c y).toSmoothForm := by |
| 669 | rw [coe_asAlgebraHom_chosenGLRep_apply, toSmoothForm_typeProjection] |
| 670 | simp only [π, translationAtPlaces, u, MonoidHom.comp_apply] |
| 671 | rw [IsLiftSetting.typeProjection_eq_self_of_mem_range hy] at h_proj |
| 672 | exact ⟨⟨u, Subtype.ext h_proj, rfl⟩, toSmoothForm_mem_levelSpace_repOff B rfl y⟩ |
| 673 | · -- The system `x` contains a nonzero form `u` in `Y`, an eigenform to which `x.galRep` is |
| 674 | -- attached. |
| 675 | rintro K _ U hU x ⟨f, ⟨hx, hf⟩, hf_ne⟩ |
| 676 | obtain ⟨u, hu, rfl⟩ : ∃ u : V, ρ u = u ∧ u.val = f := hf.left |
| 677 | have h_eig : IsEigenform u.val.val x.heckePolyAt := x.isEigenform hx hf_ne |
| 678 | have h_att : GaloisRep.Attached x.heckePolyAt x.galRep := x.attached_galRep hx hf_ne |
| 679 | -- Off `range U`, the places of `O` and their conjugates, `u` has maximal level. |
| 680 | have h_form : IsFormOfType O c (range U) u.val x.heckePolyAt := by |
| 681 | refine ⟨h_eig, u.property, hu, fun v hv hv_star g ↦ ?_⟩ |
| 682 | have h_off (w : FinPlace D.E) (hw : w ∉ range U ∪ O.places) : |
| 683 | w ∉ (Set.finite_range U).toFinset ∪ B.places := by |
| 684 | simpa [B] using hw |
| 685 | exact congrArg Subtype.val (levelSpace_le_sphericalAt (h_off v hv) (h_off (star v) hv_star) |
| 686 | (BaseLevel.formsOfLevel_le_levelSpace hf) g) |
| 687 | exact ⟨h_form.isRepOfType_normalizedRep h_lift hQ (forall_mem_range.2 hU) h_att, |
| 688 | normalizedRep_quadratic_on_inertia h_lift hQ h_eig h_att |
| 689 | (hasTwistParahoricType_levelSpace translationAtPlaces_apply_of_mem_supportedOn u)⟩ |
| 690 | |
| 691 | end New.Selmer |