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

| 1 | module |
| 2 | |
| 3 | import Mathlib.RingTheory.Frobenius |
| 4 | import Mathlib.Topology.Algebra.Group.Units |
| 5 | import TauCeti.RepresentationTheory.Subrepresentation |
| 6 | public import Lib.GaloisRep.BaseChange.PrimeDegreeTransfer |
| 7 | public import Lib.LocalGL.Shintani.CosetDescent |
| 8 | import Lib.LocalGL.Shintani.LiftingGreenCharacters |
| 9 | import Lib.PadicComparison.Descent.TestCategory |
| 10 | |
| 11 | /-! |
| 12 | # Base change at an inert place carries a label to its Shintani lift |
| 13 | |
| 14 | Base change along a step `E'/E` (`New.IsStep E' μ`, which among other things makes `[E' : E]` prime) |
| 15 | at a place `w` of `E` that is split over `E⁺` and inert in `E'`: the local matching comes from |
| 16 | Shintani lifting for `GL n` over the residue fields. |
| 17 | |
| 18 | * `New.inflateConj`: the conjugate of a function on `GL n` of the residue field, pulled back along |
| 19 | reduction to `GL n 𝒪_w` and extended by zero to `GL n` of the completion. |
| 20 | * `New.exists_representation_heckeFun_inflateConj`: on forms of principal level at `w`, its Hecke |
| 21 | operator is the action of a group algebra element of the finite group. |
| 22 | * `New.isLocalMatching_shintani`: inflated `Ξ` and, for some `φ`, inflated `g ↦ S ⟨g, φ⟩` are |
| 23 | matching local data, where `S` is a class function on the semidirect product that descends to `Ξ`. |
| 24 | * `New.exists_baseChange_hasLabel`: a form with label `Ξ` at `w` has a weak base change with the |
| 25 | lift `Ξ'` as label at the place `u` above `w`. |
| 26 | |
| 27 | `New.localCongruence n w 0` is the kernel of reduction of `GL n 𝒪_w`; `New.HasLabel f hw χ` says |
| 28 | that this kernel fixes `f` and that `∑ conj (χ x) x` does not kill `f`. |
| 29 | |
| 30 | Notions from other files: |
| 31 | * `New.Lift`: F lifts to F' over Z if, for every m, one Z-combination of characters of GL_m(k') ⋊ |
| 32 | Gal(k'/k) descends to both F (over k) and F' (over k'). |
| 33 | * `New.IsLocalMatching`: Retracts G, G' of the adelic groups above a finite set of places, |
| 34 | compatible levels, and bi-invariant functions that form matching pairs at a level where σ-cocycles |
| 35 | split. |
| 36 | |
| 37 | ## Relation to the literature |
| 38 | |
| 39 | Known; see `Lib.GaloisRep.BaseChange.PrimeDegreeTransfer` for sources. |
| 40 | -/ |
| 41 | |
| 42 | @[expose] public section |
| 43 | |
| 44 | namespace New |
| 45 | |
| 46 | open NumberField Representation Function ComplexConjugate FiniteField Module |
| 47 | SemidirectProduct algebraMap |
| 48 | |
| 49 | attribute [local instance low] Fintype.ofFinite |
| 50 | |
| 51 | variable {E E' n : Type} [Field E] [CMType E] [Field E'] [Fintype n] [DecidableEq n] |
| 52 | {w : FinPlace E} |
| 53 | |
| 54 | open scoped Classical in |
| 55 | /-- The inflation of `χ`, conjugated: the function on `GL n (LocField w)` that sends `g` in |
| 56 | `GL n 𝒪_w` (`intGL n Valued.v.integer`) to `conj (χ (reduceGL g))`, the complex conjugate of `χ` |
| 57 | at the reduction of `g` modulo `w`, and is `0` outside `GL n 𝒪_w`. -/ |
| 58 | noncomputable def inflateConj (χ : GL n (ResField w) → ℂ) (g : GL n (LocField w)) : ℂ := |
| 59 | if h : g ∈ intGL n Valued.v.integer then conj (χ (reduceGL ⟨g, h⟩)) else 0 |
| 60 | |
| 61 | /-- Let `K` be the forms of weight `κ` in `stdSpace E n` that are fixed by the kernel of reduction |
| 62 | at the split place `w`. On `K ⊓ W`, for each subrepresentation `W`, the finite group |
| 63 | `GL n (ResField w)` acts by some `ρ` such that the following holds for every `χ` and `v`, with `x` |
| 64 | the action of `∑ conj (χ g) g` on `v`. (a) The Hecke operator of `inflateConj χ` (which is |
| 65 | `conj (χ (g mod w))` on `GL n 𝒪_w` and `0` elsewhere) sends `v` to `x`. (b) `v` has label `χ` |
| 66 | (`New.HasLabel`: `v` is fixed by the reduction kernel and `∑ conj (χ g)` times the translates of `v` |
| 67 | by lifts of `g` is nonzero) exactly when `x ≠ 0`. -/ |
| 68 | lemma exists_representation_heckeFun_inflateConj (hw : w.IsSplit) {κ : Weight E} : |
| 69 | let π := ((stdSpace E n).formTranslation κ).comp (ofSplitPlace hw) |
| 70 | let K := levelSpace π (localCongruence n w 0) |
| 71 | ∀ W : Subrepresentation π, ∃ ρ : Representation ℂ (GL n (ResField w)) ↥(K ⊓ W.toSubmodule), |
| 72 | ∀ (χ : GL n (ResField w) → ℂ) (v : ↥(K ⊓ W.toSubmodule)), |
| 73 | let x := ρ.asAlgebraHom (groupAlgElem fun g : GL n (ResField w) ↦ conj (χ g)) v |
| 74 | -- (a) |
| 75 | heckeFun π (localCongruence n w 0) (inflateConj χ) v = x ∧ |
| 76 | -- (b) |
| 77 | (HasLabel v.val.val hw χ ↔ x ≠ 0) := by |
| 78 | classical |
| 79 | -- `GL n 𝒪_w` acts on `K ⊓ W` and the kernel of reduction acts trivially, so the action descends |
| 80 | -- to `ρ`. Both claims unfold to sums over lifts of the elements of `GL n (ResField w)`. |
| 81 | intro π K W |
| 82 | let π₀ : Representation ℂ (intGL n Valued.v.integer) _ := |
| 83 | π.comp (intGL n Valued.v.integer).subtype |
| 84 | have hK : K = invariants (π₀.comp reduceGL.ker.subtype) := by |
| 85 | aesop (add simp mem_localCongruence_zero) |
| 86 | have h_stable (k : intGL n Valued.v.integer) : K ⊓ W.1 ≤ (K ⊓ W.1).comap (π₀ k) := |
| 87 | fun v ⟨hv_K, hv_W⟩ ↦ ⟨hK.ge (le_comap_invariants _ _ k (hK.le hv_K)), W.2 _ hv_W⟩ |
| 88 | let π₁ : intGL n Valued.v.integer →* (↥(K ⊓ W.toSubmodule) →ₗ[ℂ] ↥(K ⊓ W.toSubmodule))ˣ := |
| 89 | (subrepresentation π₀ _ h_stable).asGroupHom |
| 90 | -- the kernel of reduction acts trivially on `K` |
| 91 | have h_ker : reduceGL.ker ≤ π₁.ker := fun k hk ↦ by |
| 92 | ext v : 3 |
| 93 | exact hK.le v.property.1 ⟨k, hk⟩ |
| 94 | let ρ : Representation ℂ (GL n (ResField w)) ↥(K ⊓ W.toSubmodule) := |
| 95 | (Units.coeHom _).comp (reduceGL.liftOfSurjective reduceGL_surjective ⟨π₁, h_ker⟩) |
| 96 | let lift : GL n (ResField w) → GL n (LocField w) := Subtype.val ∘ surjInv reduceGL_surjective |
| 97 | refine ⟨ρ, fun χ v ↦ ?_⟩ |
| 98 | obtain ⟨hv_K, -⟩ := Submodule.mem_inf.mp v.prop |
| 99 | have h_sum : (ρ.asAlgebraHom (groupAlgElem fun g ↦ conj (χ g)) v).val = |
| 100 | ∑ x, conj (χ x) • π (lift x) v := by |
| 101 | simp [asAlgebraHom_eq_sum] |
| 102 | -- `ρ x v` is `π (lift x) v` by the definition of `ρ` |
| 103 | rfl |
| 104 | -- the kernel of reduction fixes `v`, so the first half of `HasLabel` holds |
| 105 | have h_fixed : ∀ k : intGL n Valued.v.integer, reduceGL k = 1 → |
| 106 | rightRegular ℂ (Gf E n) (WeylIndex n κ.1 → ℂ) (ofSplitPlace hw k.val) v.val.val = v.val.val := |
| 107 | fun k hk ↦ congrArg Subtype.val (hK.le hv_K ⟨k, hk⟩) |
| 108 | refine ⟨?_, (and_iff_right h_fixed).trans ?_⟩ |
| 109 | · -- The cosets of the lifts modulo `localCongruence n w 0` are distinct and cover `GL n 𝒪_w`, |
| 110 | -- off which `inflateConj χ` is zero. |
| 111 | have h_right : ∀ (g : GL n (LocField w)) (k : localCongruence n w 0), |
| 112 | inflateConj χ (g * k) = inflateConj χ g := by |
| 113 | simp +contextual [inflateConj, mem_localCongruence_zero, mul_mem_cancel_right, |
| 114 | ← MulMemClass.mk_mul_mk] |
| 115 | have h_inj : Set.InjOn (fun x ↦ (lift x : GL n (LocField w) ⧸ localCongruence n w 0)) |
| 116 | (SetLike.coe (⊤ : Finset (GL n (ResField w)))) := by |
| 117 | simp +contextual [lift, surjInv_eq, Set.InjOn, inv_mul_eq_one, QuotientGroup.eq, |
| 118 | ← InvMemClass.coe_inv, -Subgroup.coe_inv, mem_localCongruence_zero, ← MulMemClass.mk_mul_mk, |
| 119 | mul_mem_cancel_left] |
| 120 | have h_cover : ∀ g : GL n (LocField w), inflateConj χ g ≠ 0 → |
| 121 | ∃ x ∈ (⊤ : Finset (GL n (ResField w))), |
| 122 | (lift x : GL n (LocField w) ⧸ localCongruence n w 0) = g := by |
| 123 | simp +contextual [lift, surjInv_eq, inv_mul_eq_one, QuotientGroup.eq, |
| 124 | ← InvMemClass.coe_inv, -Subgroup.coe_inv, mem_localCongruence_zero, ← MulMemClass.mk_mul_mk, |
| 125 | mul_mem_cancel_left, inflateConj] |
| 126 | obtain ⟨-, h_eq⟩ := heckeFun_eq_sum (r := lift) (s := ⊤) h_right hv_K h_inj h_cover |
| 127 | simp [h_eq, lift, surjInv_eq, h_sum, inflateConj] |
| 128 | · simp [Subtype.ext_iff, h_sum, finsum_eq_sum_of_fintype] |
| 129 | -- `π (lift x)` is right translation by `ofSplitPlace hw (lift x)` (definition of |
| 130 | -- `formTranslation`) |
| 131 | rfl |
| 132 | |
| 133 | /-- Reduction commutes with the map of completions induced by `ι`, if `ψ` is the map of residue |
| 134 | fields that `ι` induces on global integers. -/ |
| 135 | lemma reduceGL_map_locMap [CMType E'] {u : FinPlace E'} {ι : E →+* E'} (he : u.comap ι = w) |
| 136 | (ψ : ResField w →+* ResField u) |
| 137 | (hψ : ∀ x : 𝓞 E, ψ (algebraMap (𝓞 E) (ResField w) x) = ↑(RingOfIntegers.mapRingHom ι x : 𝓞 E')) |
| 138 | (g : GL n (IsDedekindDomain.HeightOneSpectrum.adicCompletion E w)) |
| 139 | (hg : (Matrix.GeneralLinearGroup.map (locMap ι he)) g ∈ intGL n Valued.v.integer) : |
| 140 | reduceGL ⟨Matrix.GeneralLinearGroup.map (n := n) (locMap ι he) g, hg⟩ = |
| 141 | (reduceGL ⟨g, (map_locMap_mem_intGL_iff he).mp hg⟩).map ψ := by |
| 142 | -- Take a global integer `x` congruent to the entry `g i j` at `w`. Both sides are the class of |
| 143 | -- the image of `x` at `u`, since `locMap` pulls the valuation at `u` back to one equivalent to |
| 144 | -- the valuation at `w`. |
| 145 | ext i j |
| 146 | obtain ⟨x, hx⟩ := algebraMap_ResField_surjective w |
| 147 | (reduceGL ⟨g, (map_locMap_mem_intGL_iff he).1 hg⟩ i j) |
| 148 | have h_ψx : ψ (reduceGL ⟨g, (map_locMap_mem_intGL_iff he).1 hg⟩ i j) = |
| 149 | ↑(RingOfIntegers.mapRingHom ι x : 𝓞 E') := (congrArg ψ hx).symm.trans (hψ x) |
| 150 | refine (h_ψx.trans ?_).symm |
| 151 | have h_val := residue_eq_iff_valuation_sub_lt_one.mp hx |
| 152 | apply residue_eq_iff_valuation_sub_lt_one.mpr |
| 153 | simpa using! ((isEquiv_comap_locMap ι he).lt_one_iff_lt_one (x := (x : E) - _)).2 h_val |
| 154 | |
| 155 | variable [Algebra E E'] [CMTypeOver E E'] {u : FinPlace E'} |
| 156 | {μ : (𝔸f E)ˣ →* ℂˣ} [hμ : IsStep E' μ] |
| 157 | (hw : star w ≠ w) (hu : star u ≠ u) |
| 158 | (h_unique : ∀ u' : FinPlace E', FinPlace.below E u' = w ↔ u' = u) |
| 159 | (hμ_trivial : ∀ x : (LocField w)ˣ, μ (locIdele w x) = 1) [Algebra (ResField w) (ResField u)] |
| 160 | (h_residue : ∀ x : 𝓞 E, ((x : ResField w) : ResField u) = (x : 𝓞 E')) |
| 161 | (h_degree : finrank (ResField w) (ResField u) = finrank E E') {Ξ : Hall (ResField w)} |
| 162 | |
| 163 | include h_unique hμ_trivial h_residue h_degree |
| 164 | |
| 165 | omit h_unique hμ_trivial h_residue h_degree in |
| 166 | /-- Let `σ` in `Gal(E'/E)` fix the finite place `u` of `E'` and induce `φ` on the residue field of |
| 167 | `u`, where `φ` is an automorphism over the residue field of the place `w` of `E`. Let `a` be an |
| 168 | element of the finite adelic unitary group over `E'` whose component at `u` lies in `GL n 𝒪_u`. |
| 169 | Then the twisted norm `N = a · σ(a) ⋯ σ^{m-1}(a)` also has its component at `u` in `GL n 𝒪_u`, and |
| 170 | in `GL n (ResField u) ⋊ Gal(ResField u/ResField w)` the `m`-th power of (reduction of `a`, `φ`) is |
| 171 | (reduction of `N`, `φ ^ m`). -/ |
| 172 | lemma exists_mk_reduceGL_pow_eq_mk_reduceGL_twistedNorm {σ : Gal(E'/E)} (hσ_u : u.comap σ = u) |
| 173 | {φ : Gal(ResField u/ResField w)} |
| 174 | (hσ : ∀ x : 𝓞 E', φ (algebraMap (𝓞 E') (ResField u) x) = algebraMap (𝓞 E') (ResField u) (σ • x)) |
| 175 | (a : Gf E' n) (ha : a.atPlace u ∈ intGL n Valued.v.integer) (m : ℕ) : |
| 176 | ∃ h_norm : (twistedNorm (galoisGf σ) m a).atPlace u ∈ intGL n Valued.v.integer, |
| 177 | (⟨reduceGL ⟨a.atPlace u, ha⟩, φ⟩ : GalSemidirect (ResField w) (ResField u) n) ^ m = |
| 178 | ⟨reduceGL ⟨(twistedNorm (galoisGf σ) m a).atPlace u, h_norm⟩, φ ^ m⟩ := by |
| 179 | -- The norm of length `m + 1` is `a · σ(N)`, with `N` the norm of length `m`. Reduction at `u` |
| 180 | -- turns `σ` into `φ`, and `⟨x, φ⟩ * ⟨y, φ ^ m⟩ = ⟨x * φ y, φ ^ (m + 1)⟩`. |
| 181 | induction m with |
| 182 | | zero => |
| 183 | have h_one : (twistedNorm (galoisGf σ) 0 a).atPlace u = 1 := by simp [twistedNorm] |
| 184 | have h_int : (twistedNorm (galoisGf σ) 0 a).atPlace u ∈ intGL n Valued.v.integer := by |
| 185 | rw [h_one] |
| 186 | exact one_mem _ |
| 187 | have h_reduce : reduceGL ⟨(twistedNorm (galoisGf σ) 0 a).atPlace u, h_int⟩ = 1 := |
| 188 | (congrArg reduceGL (Subtype.ext h_one)).trans (map_one reduceGL) |
| 189 | refine ⟨h_int, ?_⟩ |
| 190 | rw [pow_zero, pow_zero, h_reduce] |
| 191 | rfl |
| 192 | | succ m ih => |
| 193 | obtain ⟨hN_int, h_pow⟩ := ih |
| 194 | set N : GL n (LocField u) := (twistedNorm (galoisGf σ) m a).atPlace u |
| 195 | let σN : GL n (LocField u) := Matrix.GeneralLinearGroup.map (locMap (σ : E' →+* E') hσ_u) N |
| 196 | have hσN_int : σN ∈ intGL n Valued.v.integer := (map_locMap_mem_intGL_iff hσ_u).2 hN_int |
| 197 | have hσN_reduce : reduceGL ⟨σN, hσN_int⟩ = (reduceGL ⟨N, hN_int⟩).map φ := |
| 198 | reduceGL_map_locMap hσ_u φ hσ N hσN_int |
| 199 | have h_succ : (twistedNorm (galoisGf σ) (m + 1) a).atPlace u = a.atPlace u * σN := by |
| 200 | rw [twistedNorm_succ', map_mul, atPlace_galoisGf (h := hσ_u)] |
| 201 | have h_int : (twistedNorm (galoisGf σ) (m + 1) a).atPlace u ∈ intGL n Valued.v.integer := by |
| 202 | rw [h_succ] |
| 203 | exact mul_mem ha hσN_int |
| 204 | have h_reduce : reduceGL ⟨(twistedNorm (galoisGf σ) (m + 1) a).atPlace u, h_int⟩ = |
| 205 | reduceGL ⟨a.atPlace u, ha⟩ * (reduceGL ⟨N, hN_int⟩).map φ := by |
| 206 | rw [← hσN_reduce, ← map_mul] |
| 207 | exact congrArg reduceGL (Subtype.ext h_succ) |
| 208 | refine ⟨h_int, ?_⟩ |
| 209 | rw [pow_succ', h_pow, h_reduce, pow_succ', SemidirectProduct.mul_def] |
| 210 | rfl |
| 211 | |
| 212 | omit hμ_trivial h_residue h_degree in |
| 213 | include hμ in |
| 214 | /-- Let `u` be the only place of `E'` above `w`, and let `φ`, the Frobenius of the residue |
| 215 | extension at `u`, be nontrivial. Then some `σ ≠ 1` in `Gal(E'/E)` fixes `u`, lies outside the |
| 216 | inertia group of `u`, and induces `φ` on the residue field of `u`. -/ |
| 217 | private lemma exists_ne_one_and_frobeniusAlgEquivOfAlgebraic_apply_eq |
| 218 | {φ : Gal(ResField u/ResField w)} |
| 219 | (hφ : φ = frobeniusAlgEquivOfAlgebraic (ResField w) (ResField u)) (hφ_ne : φ ≠ 1) : |
| 220 | ∃ σ : Gal(E'/E), σ ≠ 1 ∧ u.comap σ = u ∧ σ ∉ Ideal.inertia Gal(E'/E) u.asIdeal ∧ |
| 221 | ∀ x : 𝓞 E', φ (algebraMap (𝓞 E') (ResField u) x) = |
| 222 | algebraMap (𝓞 E') (ResField u) (σ • x) := by |
| 223 | obtain rfl : FinPlace.below E u = w := (h_unique u).2 rfl |
| 224 | obtain ⟨σ, h_frob⟩ := IsArithFrobAt.exists_of_isInvariant (𝓞 E) Gal(E'/E) u.asIdeal |
| 225 | have hσ (x : 𝓞 E') : φ (algebraMap _ _ x) = algebraMap _ _ (σ • x) := by |
| 226 | rw [hφ, eq_comm] |
| 227 | simpa [card_ResField, ← Nat.card_eq_fintype_card, ← algebraMap_ResField_eq_zero, |
| 228 | ← Ideal.absNorm_eq_natCard, sub_eq_zero] using! h_frob x |
| 229 | -- `φ ≠ 1`, so `σ` moves some residue class |
| 230 | have h_moves : ∃ x : 𝓞 E', algebraMap _ (ResField u) (σ • x) ≠ algebraMap _ _ x := by |
| 231 | simpa [hσ, AlgEquiv.ext_iff, (algebraMap_ResField_surjective u).forall] using hφ_ne |
| 232 | have hσ_ne : σ ≠ 1 := by |
| 233 | rintro rfl |
| 234 | simp at h_moves |
| 235 | have h_inertia : σ ∉ Ideal.inertia Gal(E'/E) u.asIdeal := by |
| 236 | simpa [sub_eq_zero, ← algebraMap_ResField_eq_zero] |
| 237 | exact ⟨σ, hσ_ne, (h_unique _).1 (below_comap σ u), h_inertia, hσ⟩ |
| 238 | |
| 239 | omit hμ_trivial in |
| 240 | include hμ in |
| 241 | /-- Let `E'/E` be a step (`New.IsStep`) with a character `μ : (𝔸f E)ˣ →* ℂˣ`, let `w` be a finite |
| 242 | place of `E`, and let `u` be the unique place of `E'` above `w`, with residue field extension of |
| 243 | degree `[E' : E]` compatible with `𝓞 E → 𝓞 E'`. For an index type `n`, let `K` be the subgroup of |
| 244 | `Gf E' n` whose component at `u` is integral at `u` (`intGL n Valued.v.integer`). Let |
| 245 | `σ : Gal(E'/E)` fix `u` and induce a nontrivial automorphism `φ : Gal(ResField u / ResField w)` |
| 246 | (`φ ≠ 1`) of order `[E' : E]` on the residue field. Let `S` be a class function on |
| 247 | `GalSemidirect (ResField w) (ResField u) n` that descends (`New.DescendsTo`) to |
| 248 | `Ξ : Hall (ResField w)`. Suppose the indicator functions of `K` (pulled back along `baseChangeGf` on |
| 249 | `Gf E n`) and `K` form a matching pair above `{w}` at level `K` (`New.IsMatchingPairAbove`). Then |
| 250 | the inflated complex conjugates `inflateConj Ξ.evalGL ∘ Gf.atPlace w` and |
| 251 | `inflateConj (fun g ↦ S ⟨g, φ⟩) ∘ Gf.atPlace u` (for `g : GL n (ResField u)`) also form a matching |
| 252 | pair above `{w}` at level `K`. -/ |
| 253 | private lemma isMatchingPairAbove_inflateConj {σ : Gal(E'/E)} {φ : Gal(ResField u/ResField w)} |
| 254 | {S : GalSemidirect (ResField w) (ResField u) n → ℂ} (hσ_u : u.comap σ = u) |
| 255 | (hσ : ∀ x : 𝓞 E', |
| 256 | φ (algebraMap (𝓞 E') (ResField u) x) = algebraMap (𝓞 E') (ResField u) (σ • x)) |
| 257 | (h_order : orderOf φ = finrank E E') (hφ_ne : φ ≠ 1) (hS : IsClassFunction S) |
| 258 | (h_lf : DescendsTo S Ξ) : |
| 259 | let K : Subgroup (Gf E' n) := (intGL n Valued.v.integer).comap (Gf.atPlace u) |
| 260 | IsMatchingPairAbove σ μ {w} K (Set.indicator (K : Set (Gf E' n)) 1 ∘ baseChangeGf) |
| 261 | (Set.indicator (K : Set (Gf E' n)) 1) → |
| 262 | IsMatchingPairAbove σ μ {w} K (inflateConj Ξ.evalGL ∘ Gf.atPlace w) |
| 263 | (inflateConj (fun g : GL n (ResField u) ↦ S ⟨g, φ⟩) ∘ Gf.atPlace u) := by |
| 264 | classical |
| 265 | -- Reduction carries twisted conjugation and twisted norms to conjugation and powers in the coset |
| 266 | -- of `φ`, where `S` is a class function that lifts `Ξ`. |
| 267 | intro K h_pair |
| 268 | obtain rfl : FinPlace.below E u = w := (h_unique u).2 rfl |
| 269 | refine ⟨fun (k : Gf E' n) hk (δ : Gf E' n) ↦ ?_, fun P hP hPσ ↦ ?_⟩ |
| 270 | · -- Twisted conjugation by `x` is conjugation by `inl x⁻¹` on the coset of `φ`. |
| 271 | have h_conj (δ x : GL n (ResField u)) : S ⟨x⁻¹ * δ * x.map φ, φ⟩ = S ⟨δ, φ⟩ := hS ⟨δ, φ⟩ (inl _) |
| 272 | have h_inv (a : GL n (LocField u)) ha : reduceGL ⟨a⁻¹, inv_mem ha⟩ = (reduceGL ⟨a, ha⟩)⁻¹ := |
| 273 | reduceGL.map_inv ⟨a, ha⟩ |
| 274 | have hk_int : k.atPlace u ∈ intGL n Valued.v.integer := hk |
| 275 | change (inflateConj (fun g ↦ S ⟨g, φ⟩) ∘ Gf.atPlace u) (k⁻¹ * δ * galoisGf σ k) = _ |
| 276 | simp +contextual [hk_int, hσ_u, reduceGL_map_locMap hσ_u φ hσ, h_conj, h_inv, |
| 277 | -SemidirectProduct.mk_eq_inl_mul_inr, inflateConj, atPlace_galoisGf, mul_mem_cancel_left, |
| 278 | map_locMap_mem_intGL_iff, mul_mem_cancel_right, ← MulMemClass.mk_mul_mk] |
| 279 | · -- Both functions vanish off `K`, so the root `z` for the indicator functions of `K` serves. |
| 280 | refine (h_pair.2 P ?_ hPσ).elim fun z ⟨hz, h_root⟩ ↦ |
| 281 | ⟨z, hz, fun γ (a : Gf E' n) hγ h_rt ↦ ⟨fun g hg h_eq ↦ ?_, fun δ hδ h_ne ↦ ?_⟩⟩ |
| 282 | · -- `P` comes from the supports of the indicators of `K`, which contain those of the inflations |
| 283 | revert hP |
| 284 | gcongr <;> simp +contextual [K, inflateConj, atPlace_baseChangeGf, map_locMap_mem_intGL_iff] |
| 285 | · -- The indicator functions of `K` agree at `g` and `a`. |
| 286 | obtain ⟨h_value_eq, -⟩ := h_root γ a hγ h_rt |
| 287 | have h_int : g.atPlace (u.below E) ∈ intGL n Valued.v.integer ↔ |
| 288 | a.atPlace u ∈ intGL n Valued.v.integer := by |
| 289 | simpa [K, atPlace_baseChangeGf, map_locMap_mem_intGL_iff] using congrArg (· ≠ 0) |
| 290 | (h_value_eq g hg h_eq) |
| 291 | by_cases ha : a.atPlace u ∈ intGL n Valued.v.integer |
| 292 | · -- The norm of `a` is `g`, so `⟨a, φ⟩ ^ orderOf φ` is `g` after reduction; `S` lifts `Ξ`. |
| 293 | have h_pow : (⟨reduceGL ⟨_, ha⟩, φ⟩ : GalSemidirect _ _ n) ^ orderOf φ = |
| 294 | inl ((reduceGL ⟨_, h_int.mpr ha⟩).map (algebraMap _ _)) := by |
| 295 | obtain ⟨hm, h_reduce⟩ := exists_mk_reduceGL_pow_eq_mk_reduceGL_twistedNorm hσ_u hσ a ha |
| 296 | (orderOf φ) |
| 297 | refine h_reduce.trans ?_ |
| 298 | rw [← h_order, ← hg] at h_eq |
| 299 | simp [h_eq, reduceGL_map_locMap _ _ h_residue, |
| 300 | atPlace_baseChangeGf] |
| 301 | have h_prime : (finrank (ResField (u.below E)) (ResField u)).Prime := by |
| 302 | simpa [h_degree] using hμ.out |
| 303 | have h_value : S ⟨reduceGL ⟨_, ha⟩, φ⟩ = Ξ.evalGL (reduceGL ⟨_, h_int.mpr ha⟩) := |
| 304 | h_lf φ ((hasFixedField_iff_ne_one h_prime).mpr hφ_ne) _ _ rfl h_pow |
| 305 | simp [h_int, ha, h_value, -SemidirectProduct.mk_eq_inl_mul_inr, inflateConj] |
| 306 | · simp [h_int, ha, inflateConj] |
| 307 | · obtain ⟨-, h_coset⟩ := h_root γ a hγ h_rt |
| 308 | have hδ_int : Gf.atPlace u δ ∈ intGL n Valued.v.integer := by |
| 309 | by_contra h_not |
| 310 | simp [h_not, inflateConj] at h_ne |
| 311 | exact h_coset δ hδ (by simpa [K] using hδ_int) |
| 312 | |
| 313 | /-- Let `E'/E` be a step with `μ` (`New.IsStep`) and let `w` be split with `μ` trivial on its |
| 314 | ideles. Let `u` be the only place above `w`, split, with residue field of degree `[E' : E]` over |
| 315 | that of `w`, and let `Ξ` be a function on similarity classes of matrices over `ResField w` |
| 316 | (`New.Hall`). If `S` on `GalSemidirect (ResField w) (ResField u) n` is a class function that |
| 317 | descends to `Ξ` (so `S ⟨a, φ⟩ = Ξ.evalGL b` when `φ ≠ 1` and `⟨a, φ⟩ ^ orderOf φ` is `inl` of `b` |
| 318 | mapped to `ResField u`), then for some `φ` in the residue Galois group the inflations of the complex |
| 319 | conjugates of `Ξ` and of `S ⟨·, φ⟩` are matching local data (`New.IsLocalMatching`) above `{w}`. |
| 320 | Here `GL n` at `w` and at `u` is embedded by `New.ofSplitPlace`, at level `≡ 1` mod the maximal |
| 321 | ideal. -/ |
| 322 | lemma isLocalMatching_shintani {S : GalSemidirect (ResField w) (ResField u) n → ℂ} |
| 323 | (hS : IsClassFunction S) (h_lf : DescendsTo S Ξ) : |
| 324 | ∃ φ : Gal(ResField u/ResField w), |
| 325 | IsLocalMatching μ {w} (ofSplitPlace hw) (ofSplitPlace hu) (localCongruence n w 0) |
| 326 | (localCongruence n u 0) {()} (fun _ ↦ inflateConj Ξ.evalGL) |
| 327 | fun _ ↦ inflateConj fun g : GL n (ResField u) ↦ S ⟨g, φ⟩ := by |
| 328 | classical |
| 329 | -- Take for `φ` the Frobenius of the residue extension and for `σ` a Frobenius at `u` lifting |
| 330 | -- it; `isMatchingPairAbove_inflateConj` then transfers matching from the indicator of `K` to the |
| 331 | -- inflated functions. |
| 332 | obtain rfl : FinPlace.below E u = w := (h_unique u).2 rfl |
| 333 | let φ := frobeniusAlgEquivOfAlgebraic (ResField (u.below E)) (ResField u) |
| 334 | have h_order : orderOf φ = finrank E E' := |
| 335 | (orderOf_frobeniusAlgEquivOfAlgebraic _ _).trans h_degree |
| 336 | have hφ_ne : φ ≠ 1 := by simpa [← h_order] using hμ.out.ne_one |
| 337 | obtain ⟨σ, hσ_ne, hσ_u, h_inertia, hσ⟩ := |
| 338 | exists_ne_one_and_frobeniusAlgEquivOfAlgebraic_apply_eq h_unique (φ := φ) rfl hφ_ne |
| 339 | obtain ⟨h_retr, h_retr', h_level⟩ := isLocalRetraction_ofSplitPlace n h_unique hu hw |
| 340 | -- The place is unramified, so the level `m` of `exists_isBaseChangeLevel` is the maximal level |
| 341 | -- `K` at `u`. Hence cocycles split at `K` (`h_coh`), and the indicator functions of `K` form a |
| 342 | -- matching pair (`h_pair`). |
| 343 | let K : Subgroup (Gf E' n) := (intGL n Valued.v.integer).comap (Gf.atPlace u) |
| 344 | have h_unram : IsStepUnramifiedAt E' μ (u.below E) := fun u' hu' ↦ by |
| 345 | obtain rfl : u' = u := (h_unique u').1 hu' |
| 346 | exact ⟨⟨σ, h_inertia⟩, fun x hx ↦ by simp [hμ_trivial]⟩ |
| 347 | obtain ⟨m, hm⟩ := exists_isBaseChangeLevel (n := n) hσ_ne isOpen_stdLevel |
| 348 | have hK : K = localLevel n (placesAbove E' {u.below E}) m := by |
| 349 | refine h_level.symm.trans (Subgroup.ext fun g ↦ forall₂_congr fun u' hu' ↦ ?_) |
| 350 | rw [hm.eq_localIntGL _ h_unram (by simp) u' hu'] |
| 351 | obtain ⟨-, -, h_coh, h_pair⟩ := hm.isMatchingLevel {u.below E} |
| 352 | rw [← hK] at h_coh h_pair |
| 353 | refine ⟨φ, σ, hσ_ne, Gf.atPlace _, Gf.atPlace u, |
| 354 | ⟨fun _ ↦ ?_, h_retr, h_retr', Set.finite_singleton _, ?_⟩, ?_, |
| 355 | isOpen_localCongruence.preimage_of_continuous, K, ⟨fun _ hk ↦ hk.1, h_level.ge⟩, h_coh, |
| 356 | fun _ _ ↦ isMatchingPairAbove_inflateConj h_unique h_residue h_degree hσ_u hσ h_order hφ_ne hS |
| 357 | h_lf h_pair⟩ |
| 358 | · -- Inflated functions are bi-invariant under the principal level, with compact support: |
| 359 | -- `inflateConj` vanishes off the integral matrices. |
| 360 | constructor <;> |
| 361 | exact ⟨(finite_quotient_image_of_isCompact isOpen_localCongruence |
| 362 | (isCompact_localIntGL _)).subset |
| 363 | fun q hq ↦ ⟨_, by by_contra h; exact hq (dite_eq_right h), q.out_eq⟩, |
| 364 | by simp +contextual [mem_localCongruence_zero, inflateConj, |
| 365 | mul_mem_cancel_right, ← MulMemClass.mk_mul_mk, mul_mem_cancel_left]⟩ |
| 366 | · -- The principal level at `u` is stable under `σ`, |
| 367 | simp +contextual [hσ_u, reduceGL_map_locMap hσ_u φ hσ, EmbeddingLike.map_eq_one_iff, eq_ite_iff, |
| 368 | Matrix.GeneralLinearGroup.ext_iff, Matrix.one_apply, atPlace_galoisGf, |
| 369 | mem_localCongruence_zero, map_locMap_mem_intGL_iff] |
| 370 | · -- and its preimage over `E` is the principal level below. |
| 371 | simp +contextual [SetLike.ext_iff, reduceGL_map_locMap _ _ h_residue, eq_ite_iff, |
| 372 | Matrix.GeneralLinearGroup.ext_iff, Matrix.one_apply, atPlace_baseChangeGf, |
| 373 | mem_localCongruence_zero, map_locMap_mem_intGL_iff] |
| 374 | |
| 375 | /-- Let `E'` contain a primitive 5040th root of unity, `w` be split with `μ` trivial on its ideles, |
| 376 | and `u` the only place above `w`, split, of residue degree `[E' : E]`. If the form `f` has the |
| 377 | character `Ξ` as label at `w` and `Ξ'` is a lift of `Ξ` (`New.Lift ℕ`), then some eigenform `f'` |
| 378 | (nonzero, with polynomials `P` at the places of `E'`) over `E'` of weight `κ.baseChange` is a weak |
| 379 | base change of `f` off `w` and `w̄`, with label `Ξ'` at `u`. -/ |
| 380 | lemma exists_baseChange_hasLabel [HasPrimitiveRoot5040 E'] {κ : Weight E} |
| 381 | {f : Gf E n → WeylIndex n κ.1 → ℂ} (hf : f ∈ (stdSpace E n).forms κ) |
| 382 | (hΞ : IsChar (Ξ.evalGL (n := n))) {Ξ' : Hall (ResField u)} (h_shintani : Lift ℕ Ξ Ξ') |
| 383 | (h_label : HasLabel f hw Ξ.evalGL) : |
| 384 | ∃ f' ∈ (stdSpace E' n).forms κ.baseChange, ∃ P : FinPlace E' → Polynomial ℂ, |
| 385 | IsEigenform f' P ∧ IsWeakBaseChange μ {w} f f' ∧ HasLabel f' hu Ξ'.evalGL := by |
| 386 | -- Transfer `f` along the matching functions of `isLocalMatching_shintani`. The label of `f` gives |
| 387 | -- the non-zero trace that `exists_isWeakBaseChange_of_matching` asks for; the transfer lies in |
| 388 | -- the image of the operator of `S ⟨·, φ⟩`, which gives its label. |
| 389 | obtain ⟨S, hS, h_lift, h_lift'⟩ := h_shintani.hasCommonLift n |
| 390 | have hS_char : IsChar S := isChar_of_mem_virtualChars hS |
| 391 | obtain ⟨φ, h_match⟩ := isLocalMatching_shintani hw hu h_unique hμ_trivial h_residue h_degree |
| 392 | hS_char.isClassFunction h_lift |
| 393 | let π := ((stdSpace E n).formTranslation κ).comp (ofSplitPlace hw) |
| 394 | let K := levelSpace π (localCongruence n w 0) |
| 395 | let T := heckeFun π (localCongruence n w 0) (inflateConj Ξ.evalGL) |
| 396 | -- The trace is `classInner Ξ.evalGL ρ.character` up to a factor; if it vanished, the group |
| 397 | -- algebra element of `conj Ξ` would kill `f`. |
| 398 | have h_trace (V : Subrepresentation π) (hV : ⟨f, hf⟩ ∈ V) (_ : Module.Finite ℂ ↥(K ⊓ V.1)) |
| 399 | (h_maps : ∀ x ∈ K ⊓ V.1, T x ∈ K ⊓ V.1) : (T.restrict h_maps).trace ℂ ↥(K ⊓ V.1) ≠ 0 := by |
| 400 | intro h_zero |
| 401 | obtain ⟨ρ, hρ⟩ := exists_representation_heckeFun_inflateConj hw V |
| 402 | have hf_fixed : ⟨f, hf⟩ ∈ K := mem_levelSpace.2 fun k ↦ by |
| 403 | obtain ⟨hk_int, hk_red⟩ := mem_localCongruence_zero.mp k.prop |
| 404 | obtain ⟨h_fix, -⟩ := h_label |
| 405 | simpa [π, Subtype.ext_iff] using h_fix ⟨k, hk_int⟩ hk_red |
| 406 | have h_op : T.restrict h_maps = ρ.asAlgebraHom (groupAlgElem (conj ∘ Ξ.evalGL)) := |
| 407 | LinearMap.ext fun x ↦ Subtype.ext (hρ _ x).1 |
| 408 | have h_orth : classInner Ξ.evalGL ρ.character = 0 := by |
| 409 | rw [← trace_asAlgebraHom_groupAlgElem_conj Ξ.evalGL, ← h_op, h_zero, zero_div] |
| 410 | have h_kill : ρ.asAlgebraHom (groupAlgElem (starRingEnd ℂ ∘ Ξ.evalGL)) = 0 := |
| 411 | hΞ.asAlgebraHom_groupAlgElem_eq_zero_iff.2 h_orth |
| 412 | obtain ⟨-, h_label_iff⟩ := hρ _ ⟨_, hf_fixed, hV⟩ |
| 413 | exact h_label_iff.mp h_label (LinearMap.congr_fun h_kill _) |
| 414 | obtain ⟨f', P, h_eig, h_same, -, y, hy, h_image⟩ := |
| 415 | exists_isWeakBaseChange_of_matching ⟨f, hf⟩ h_match ![] 0 () rfl (by simp) nofun (by |
| 416 | rw [heckeGenEigenspace, iInf_of_empty, inf_top_eq] |
| 417 | exact h_trace) |
| 418 | obtain ⟨ρ, hρ⟩ := exists_representation_heckeFun_inflateConj (n := n) hu (κ := κ.baseChange) ⊤ |
| 419 | let x := ρ.asAlgebraHom (groupAlgElem fun g ↦ conj (S ⟨g, φ⟩)) ⟨y, hy, trivial⟩ |
| 420 | obtain rfl : f' = x := h_image.symm.trans (hρ _ ⟨y, hy, trivial⟩).1 |
| 421 | obtain ⟨-, h_label_iff⟩ := hρ Ξ'.evalGL x |
| 422 | refine ⟨_, x.val.prop, P, h_eig, h_same, h_label_iff.mpr fun h_zero ↦ h_eig.1 ?_⟩ |
| 423 | -- The group algebra element `a` of `conj (S ⟨·, φ⟩)` acts as zero in every representation whose |
| 424 | -- character is orthogonal to `S ∘ inl`. So `a = c * b * a`, with `b` the element of |
| 425 | -- `conj (S ∘ inl) = conj Ξ'.evalGL` (`IsClassFunction.exists_eq_mul_groupAlgElem_mul`). If `b` |
| 426 | -- killed `x = a y`, then `x = 0`. |
| 427 | obtain ⟨c, hc⟩ := (hS_char.comp inl).star.isClassFunction.exists_eq_mul_groupAlgElem_mul _ |
| 428 | fun _ hV ↦ hS_char.star.asAlgebraHom_groupAlgElem_eq_zero inl (inr φ) |
| 429 | ((hS_char.comp inl).asAlgebraHom_groupAlgElem_eq_zero_iff.1 hV) |
| 430 | rw [← DescendsTo.iff_comp_inl_eq_evalGL.1 h_lift'] at h_zero |
| 431 | simpa [x, ← mk_eq_inl_mul_inr, h_zero] using |
| 432 | congrArg (fun a ↦ ρ.asAlgebraHom a ⟨y, hy, trivial⟩) hc |
| 433 | |
| 434 | end New |