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.Analysis.Polynomial.Norm |
| 4 | import Mathlib.LinearAlgebra.Matrix.Charpoly.Eigs |
| 5 | import Mathlib.Topology.Connected.Separation |
| 6 | import Mathlib.Topology.MetricSpace.Ultra.TotallySeparated |
| 7 | import TauCeti.Analysis.Matrix.IndefiniteUnitaryGroup |
| 8 | public import Lib.PadicHodge.Characters |
| 9 | public import Lib.Weil.DualPair.FiniteAction |
| 10 | public import Lib.Adelic.AutomorphicForms.SmoothAlgebraicForms |
| 11 | public import Lib.General.LinearAlgebra.MatrixPolynomials |
| 12 | import Lib.Adelic.Adeles.StrongApproximation |
| 13 | import Lib.GLn.SchurModule.SchurNorm |
| 14 | import Lib.Weil.Unramified.HeckeGL |
| 15 | |
| 16 | /-! |
| 17 | # Attached Galois representations: traces, characteristic polynomials and rank one |
| 18 | |
| 19 | This file sets up the statement that eigenforms on a definite unitary group have attached Galois |
| 20 | representations. Here `ιℓ` identifies `ℂ` with an algebraic closure of `ℚ_ℓ`, and `P` is a system of |
| 21 | complex polynomials, one for each finite place. A continuous representation `ρ` with non-degenerate |
| 22 | trace form, with an open map `j` to the Galois group, is attached to `P` when, along most Frobenius |
| 23 | elements (the filter `New.mostFrobenii`), its characteristic polynomials approach `ιℓ (P w)`. The |
| 24 | file shows that the characteristic polynomials are then determined by `P`, so two attached |
| 25 | representations have the same traces. The attachment condition itself asserts coefficientwise |
| 26 | approximation on the Frobenius filter, not pointwise equality at every unramified place. |
| 27 | It also shows that the representation attached to an |
| 28 | eigenform on the definite unitary group of rank one is the avatar of an algebraic Hecke character. |
| 29 | |
| 30 | ## Main definitions and results |
| 31 | |
| 32 | * `New.GaloisRep.Attached`: a representation `ρ` of a topological group `H`, together with a map `j` |
| 33 | from `H` to the Galois group (by default the identity), is attached to `P`. This means that `ρ` is |
| 34 | continuous, has a non-degenerate trace form (`New.IsTraceNondeg`), `j` is open, and along most |
| 35 | Frobenius elements the characteristic polynomials of `ρ` approach `ιℓ (P w)`. |
| 36 | * `New.GaloisRep.SphericalCompat`: the statement that an attached representation exists, and that |
| 37 | every attached representation satisfies `New.GaloisRep.IsCompatibleAt` (unramified or crystalline, |
| 38 | Hodge–Tate jumps, Hecke polynomial) at a place `w` where the form is spherical. |
| 39 | * `New.GaloisRep.Attached.tendsto_charpoly_coeff`: `ιℓ (P w)` tends to `det (X - ρ x)` as the |
| 40 | Frobenius element at `w` tends to `j x`. |
| 41 | * `New.GaloisRep.Attached.trace_eq`: two representations attached to `P` have the same traces. |
| 42 | * `New.IsRankOneCharacter`: the infinity type of an algebraic Hecke character `θ` and its values at |
| 43 | split places are read off from a form on `U(1)` and its weight. |
| 44 | * `New.GaloisRep.Attached.exists_det_eq_avatar`: in rank one, an attached representation is the |
| 45 | avatar of such a character `θ`. |
| 46 | |
| 47 | Notions from other files: |
| 48 | * `New.Ω`: an algebraic closure of `ℚ`. |
| 49 | * `New.Gf E n`: the finite adelic points of the definite unitary group of the CM field `E`. |
| 50 | * `New.IsEigenform f P`: `f ≠ 0`, and at almost all `w` of prime norm, `w` is split and `f` is |
| 51 | spherical with Hecke polynomial `P w` (`New.HasHeckePolyAt`). |
| 52 | * `New.mostFrobenii E`: a filter on triples `(w, A, s)` of a place `w` of prime norm, a place `A` of |
| 53 | `Ω` over `w` and a geometric Frobenius element `s` at `A` (`New.FrobeniusDatum`). "Most" means: |
| 54 | every non-empty open set of the Galois group has a non-empty open part `O` such that, for almost |
| 55 | all `w`, the property holds for every triple with `s` in `O`. |
| 56 | * `New.mostFrobeniiAt E g`: the same filter, refined by the condition that `s` lies near `g`. |
| 57 | |
| 58 | ## Relation to the literature |
| 59 | |
| 60 | Known; see `Lib.GaloisRep.Main.OddRank` for sources. |
| 61 | -/ |
| 62 | |
| 63 | @[expose] public section |
| 64 | |
| 65 | /-! ## Attached representations and the existence statement -/ |
| 66 | |
| 67 | namespace New.GaloisRep |
| 68 | |
| 69 | variable {ℓ : ℕ} [ThePrime ℓ] [PadicIso ℓ] {E n : Type} [Field E] [NumberField E] [Algebra E Ω] |
| 70 | [Fintype n] [DecidableEq n] |
| 71 | |
| 72 | /-- The representation `ρ` of `H`, read in the Galois group through a map `j`, is attached to the |
| 73 | system `P` of complex polynomials indexed by the finite places of `E`: `ρ` is continuous with |
| 74 | non-degenerate trace form, `j` is open, and for every `η > 0` the coefficients of |
| 75 | `det (X - ρ x) - ιℓ (P w)` have norm at most `η` for most Frobenius data `(w, A, s)` and all `x` |
| 76 | with `j x = s`. When `j` is omitted, `H` is the Galois group itself and `j` is the identity. -/ |
| 77 | structure Attached (P : FinPlace E → Polynomial ℂ) {H : Type} [Group H] [TopologicalSpace H] |
| 78 | (ρ : H →* GL n (PadicAlgCl ℓ)) (j : H → Gal(Ω/E) := by exact id) : Prop where |
| 79 | /-- The representation is continuous. -/ |
| 80 | continuous : Continuous ρ |
| 81 | /-- The trace form of the representation is non-degenerate. -/ |
| 82 | isTraceNondeg : IsTraceNondeg ρ |
| 83 | /-- The map to the Galois group is open. -/ |
| 84 | isOpenMap : IsOpenMap j |
| 85 | /-- Let `η > 0`. For most Frobenius data, with place `w` and Frobenius element `s`, and all `x` |
| 86 | with `j x = s`, all coefficients of `det (X - ρ x) - ιℓ (P w)` have norm at most `η`. -/ |
| 87 | eventually_norm_coeff_le ⦃η : ℝ⦄ (hη : 0 < η) : |
| 88 | ∀ᶠ y : FrobeniusDatum E in mostFrobenii E, ∀ x : H, j x = y.frob → |
| 89 | ∀ i : ℕ, ‖((ρ x).val.charpoly - (P y.place).map ιℓ.toRingHom).coeff i‖ ≤ η |
| 90 | |
| 91 | variable {E : Type} [Field E] [CMType E] [Algebra E Ω] in |
| 92 | /-- The local conditions on the Galois representation `r` at a place `A` of `Ω` over `w`, for a |
| 93 | function `f` of weight `κ` on the unitary group, with values in the space `WeylIndex n κ.1 → ℂ` of |
| 94 | the weight-`κ` representation, and the rank `N`: `r` is unramified or crystalline at `A`; it has the |
| 95 | Hodge–Tate jumps of `κ` in rank `N`; and if `w` is split and `f` has Hecke polynomial `Q` at `w`, |
| 96 | then `ιℓ Q` kills the action through `r` of every geometric Frobenius element `s` at `A` |
| 97 | (`PolyKillsAt`). -/ |
| 98 | def IsCompatibleAt {κ : Weight E} (f : Gf E n → WeylIndex n κ.1 → ℂ) (N : ℕ) |
| 99 | (w : FinPlace E) (r : GalRep ℓ E n) (A : ValuationSubring Ω) : Prop := |
| 100 | IsGoodAt r A ∧ HasJumpsAt r A (jumps κ N) ∧ |
| 101 | ∀ (hw : star w ≠ w) (Q : Polynomial ℂ), HasHeckePolyAt f w hw Q → |
| 102 | ∀ s : Gal(Ω/E), IsFrob A w.q s⁻¹ → PolyKillsAt r A s (Q.map ιℓ.toRingHom) |
| 103 | |
| 104 | variable (E n : Type) [Field E] [CMType E] [Algebra E Ω] [Fintype n] [DecidableEq n] in |
| 105 | /-- Every eigenform `f` of any weight `κ` on the standard definite unitary group |
| 106 | (`f ∈ (stdSpace E n).forms κ`: the right stabiliser of `f` is open, and `f (γ g)` is the weight-`κ` |
| 107 | action of a global `γ` on `f g`), with system of Hecke polynomials `P`, has an attached Galois |
| 108 | representation; and if `f` is spherical at `w`, every representation attached to `P` satisfies the |
| 109 | local conditions `IsCompatibleAt` in rank `N` at every place of `Ω` over `w`. -/ |
| 110 | def SphericalCompat (N : ℕ) (w : FinPlace E) : Prop := |
| 111 | ∀ ⦃P : FinPlace E → Polynomial ℂ⦄ ⦃κ : Weight E⦄ ⦃f : Gf E n → WeylIndex n κ.1 → ℂ⦄, |
| 112 | f ∈ (stdSpace E n).forms κ → IsEigenform f P → |
| 113 | (∃ r : GalRep ℓ E n, Attached P r) ∧ |
| 114 | ∀ ⦃r : GalRep ℓ E n⦄, Attached P r → |
| 115 | f ∈ sphericalAt (rightRegular ℂ (Gf E n) (WeylIndex n κ.1 → ℂ)) w → |
| 116 | ∀ A : ValuationSubring Ω, IsPlaceOver A w → IsCompatibleAt f N w r A |
| 117 | |
| 118 | section |
| 119 | variable {E : Type} [Field E] [CMType E] [Algebra E Ω] |
| 120 | |
| 121 | /-- Let `E` be a CM field, `f` a function of weight `κ` on the finite adelic unitary group, `r` an |
| 122 | `ℓ`-adic representation of `Gal(Ω/E)` and `A` a place of `Ω`. If `r` satisfies the local conditions |
| 123 | `IsCompatibleAt` for `f` at `A`, then `r` is good at `A` (`IsGoodAt`): it is trivial on the inertia |
| 124 | group of `A` if `ℓ` is a unit at `A`, and its restriction to the decomposition group of `A` is |
| 125 | crystalline along every embedding of `Ω` in the algebraic closure of `ℚ_ℓ` that induces `A` |
| 126 | (`PadicPlaceEmbedding`). The rank `N` and the finite place `w` of `E` play no role here. -/ |
| 127 | lemma IsCompatibleAt.isGoodAt {κ : Weight E} {f : Gf E n → WeylIndex n κ.1 → ℂ} {N : ℕ} |
| 128 | {w : FinPlace E} {r : GalRep ℓ E n} {A : ValuationSubring Ω} |
| 129 | (h_compat : IsCompatibleAt f N w r A) : IsGoodAt r A := |
| 130 | h_compat.1 |
| 131 | |
| 132 | /-- Let `E` be a CM field with a chosen CM type, and let `r` be an `ℓ`-adic representation of |
| 133 | `Gal(Ω/E)` satisfying `IsCompatibleAt f N w r A`, the local conditions at the place `A` of `Ω` for a |
| 134 | function `f` of weight `κ` on the unitary group `Gf E n`, in rank `N`. Then `r` has Hodge–Tate jumps |
| 135 | `jumps κ N` at `A`: for each local datum at `A` with embedding `e` and each `g ∈ Gal(ℚ̄_ℓ/ℚ_ℓ)`, the |
| 136 | jumps of `r` at `g`, with multiplicity, are given by the embedding `σ = ιℓ⁻¹ ∘ g⁻¹ ∘ e` of `E` in |
| 137 | `ℂ`. They are {j − 1 − λ_j} if `σ` is in the CM type and {λ_j + N − j} otherwise (1 ≤ j ≤ N), where |
| 138 | λ is the highest weight of `κ` at the place of `σ`. -/ |
| 139 | lemma IsCompatibleAt.hasJumpsAt {κ : Weight E} {f : Gf E n → WeylIndex n κ.1 → ℂ} {N : ℕ} |
| 140 | {w : FinPlace E} {r : GalRep ℓ E n} {A : ValuationSubring Ω} |
| 141 | (h_compat : IsCompatibleAt f N w r A) : HasJumpsAt r A (jumps κ N) := by |
| 142 | obtain ⟨-, h_jumps, -⟩ := h_compat |
| 143 | exact h_jumps |
| 144 | |
| 145 | /-- Suppose `r` satisfies `IsCompatibleAt f N w r A`, the local conditions at the place `A` of `Ω` |
| 146 | for the function `f` of weight `κ` on the unitary group in rank `N`. Suppose also that `w` is split |
| 147 | (`star w ≠ w`), that `f` has Hecke polynomial `Q` at `w`, and that `s⁻¹` is an arithmetic Frobenius |
| 148 | at `A` for the norm `w.q` of `w`, so that `s` is a geometric Frobenius. Then `ιℓ Q`, the image of |
| 149 | `Q` under the fixed isomorphism `ιℓ : ℂ ≃ ℚ̄_ℓ`, kills `s` at `A` for `r` (`PolyKillsAt`): |
| 150 | `(ιℓ Q)(r s) = 0` if `ℓ` is a unit at `A`, and otherwise the corresponding condition on Weil pairs |
| 151 | holds. -/ |
| 152 | lemma IsCompatibleAt.polyKillsAt {κ : Weight E} {f : Gf E n → WeylIndex n κ.1 → ℂ} {N : ℕ} |
| 153 | {w : FinPlace E} {r : GalRep ℓ E n} {A : ValuationSubring Ω} |
| 154 | (h_compat : IsCompatibleAt f N w r A) {hw : star w ≠ w} {Q : Polynomial ℂ} |
| 155 | (hQ : HasHeckePolyAt f w hw Q) {s : Gal(Ω/E)} (hs : IsFrob A w.q s⁻¹) : |
| 156 | PolyKillsAt r A s (Q.map ιℓ.toRingHom) := by |
| 157 | obtain ⟨-, -, h_kills⟩ := h_compat |
| 158 | exact h_kills hw Q hQ s hs |
| 159 | |
| 160 | /-- Assume `SphericalCompat E n N w`: every eigenform of any weight on the standard definite unitary |
| 161 | group has an attached Galois representation, and local conditions hold in rank `N` at places over |
| 162 | `w` where the form is spherical. Then an eigenform `f` of weight `κ` with Hecke polynomials `P` has |
| 163 | an attached `ℓ`-adic Galois representation. -/ |
| 164 | lemma SphericalCompat.exists_attached {P : FinPlace E → Polynomial ℂ} {κ : Weight E} |
| 165 | {f : Gf E n → WeylIndex n κ.1 → ℂ} {N : ℕ} {w : FinPlace E} |
| 166 | (h : SphericalCompat (ℓ := ℓ) E n N w) (hf : f ∈ (stdSpace E n).forms κ) |
| 167 | (h_eig : IsEigenform f P) : ∃ r : GalRep ℓ E n, Attached P r := |
| 168 | (h hf h_eig).1 |
| 169 | |
| 170 | /-- Assume `SphericalCompat E n N w`, and let `f` be an algebraic modular form of weight `κ` on |
| 171 | `stdSpace E n` that is an eigenform with Hecke polynomials `P` and is spherical at `w` for the right |
| 172 | regular action. Then every `r : GalRep ℓ E n` attached to `P` satisfies `IsCompatibleAt f N w r A` |
| 173 | at every place `A` of `Ω` over `w`. These local conditions say that `r` is unramified or crystalline |
| 174 | at `A`, has the Hodge–Tate jumps of `κ` in rank `N`, and, if `w` is split, `ιℓ Q` kills every |
| 175 | geometric Frobenius at `A` for the Hecke polynomial `Q` of `f` at `w`. -/ |
| 176 | lemma SphericalCompat.isCompatibleAt {P : FinPlace E → Polynomial ℂ} {κ : Weight E} |
| 177 | {f : Gf E n → WeylIndex n κ.1 → ℂ} {N : ℕ} {w : FinPlace E} {r : GalRep ℓ E n} |
| 178 | {A : ValuationSubring Ω} (h : SphericalCompat (ℓ := ℓ) E n N w) |
| 179 | (hf : f ∈ (stdSpace E n).forms κ) (h_eig : IsEigenform f P) (hr : Attached P r) |
| 180 | (h_sph : f ∈ sphericalAt (rightRegular ℂ (Gf E n) (WeylIndex n κ.1 → ℂ)) w) |
| 181 | (hA : IsPlaceOver A w) : IsCompatibleAt f N w r A := |
| 182 | (h hf h_eig).2 hr h_sph A hA |
| 183 | |
| 184 | end |
| 185 | |
| 186 | /-- If the polynomial `P` kills the square matrix `M`, then every root of the characteristic |
| 187 | polynomial of `M` is a root of `P`. -/ |
| 188 | lemma isRoot_of_isRoot_charpoly {m K : Type*} [Fintype m] [DecidableEq m] [Field K] |
| 189 | {M : Matrix m m K} {P : Polynomial K} {x : K} (hP : Polynomial.aeval M P = 0) |
| 190 | (hx : M.charpoly.IsRoot x) : P.IsRoot x := by |
| 191 | have h_mem : P.eval x ∈ spectrum K (0 : Matrix m m K) := hP ▸ |
| 192 | spectrum.subset_polynomial_aeval M P ⟨x, Matrix.mem_spectrum_iff_isRoot_charpoly.2 hx, rfl⟩ |
| 193 | exact (by simpa using Matrix.mem_spectrum_iff_isRoot_charpoly.1 h_mem : P.eval x = 0 ∧ _).1 |
| 194 | |
| 195 | end New.GaloisRep |
| 196 | |
| 197 | /-! ## Characteristic polynomials and traces of attached representations -/ |
| 198 | |
| 199 | namespace New |
| 200 | |
| 201 | open Matrix Polynomial Filter Topology Metric IsUltrametricDist Units |
| 202 | variable {ℓ : ℕ} [ThePrime ℓ] {E n H : Type} [Field E] [EmbeddedNumberField E] [Fintype n] |
| 203 | [DecidableEq n] [Group H] [TopologicalSpace H] {P : FinPlace E → ℂ[X]} {j : H → Gal(Ω/E)} |
| 204 | {ρ : H →* GL n (PadicAlgCl ℓ)} |
| 205 | |
| 206 | /-- For polynomials `D`, `R` over the algebraic closure of `ℚ_ℓ` with `R` monic, if all coefficients |
| 207 | of `D * R` have absolute value at most `η`, then so do all coefficients of `D`. -/ |
| 208 | lemma norm_coeff_le_of_mul_monic {D R : (PadicAlgCl ℓ)[X]} {η : ℝ} (hR : R.Monic) |
| 209 | (h_le : ∀ i : ℕ, ‖(D * R).coeff i‖ ≤ η) (i : ℕ) : ‖D.coeff i‖ ≤ η := |
| 210 | -- Gauss's lemma: the sup norm of the coefficients is multiplicative; `R` has a coefficient `1` |
| 211 | calc ‖D.coeff i‖ = ‖D.coeff i‖ * ‖R.coeff R.natDegree‖ := by simp [hR] |
| 212 | _ ≤ D.supNorm * R.supNorm := |
| 213 | mul_le_mul (D.le_supNorm i) (R.le_supNorm _) (norm_nonneg _) D.supNorm_nonneg |
| 214 | _ = (D * R).supNorm := (D.gaussNorm_mul (v := NormedField.toAbsoluteValue (PadicAlgCl ℓ)) |
| 215 | isNonarchimedean_norm one_pos R).symm |
| 216 | _ ≤ η := (supNorm_eq_iSup _).trans_le (ciSup_le h_le) |
| 217 | |
| 218 | /-- Here `E` is a number field embedded in `Ω` (`EmbeddedNumberField`). Let `ρ` be attached through |
| 219 | an open map `j` to the system of polynomials `P` (`GaloisRep.Attached`). As the Frobenius element at |
| 220 | `w` tends to `j x` (along most Frobenius data `(w, A, s)`, `New.mostFrobeniiAt`), the `i`-th |
| 221 | coefficient of `P w`, transported by `ιℓ`, tends to that of the characteristic polynomial of |
| 222 | `ρ x`. -/ |
| 223 | lemma GaloisRep.Attached.tendsto_charpoly_coeff [PadicIso ℓ] (hρ : Attached P ρ j) (x : H) (i : ℕ) : |
| 224 | Tendsto (fun y : FrobeniusDatum E ↦ ιℓ ((P y.place).coeff i)) (mostFrobeniiAt E (j x)) |
| 225 | (𝓝 ((ρ x).val.charpoly.coeff i)) := by |
| 226 | -- Near `j x` a Frobenius element is `j z` with the coefficient at `z` within `η` of that at `x`, |
| 227 | -- and `P` is within `η` of the polynomial at `z`; the distance is ultrametric. |
| 228 | let c (z : H) : PadicAlgCl ℓ := (ρ z).val.charpoly.coeff i |
| 229 | have hc : Continuous c := (continuous_charpoly_coeff i).comp (continuous_val.comp hρ.continuous) |
| 230 | refine nhds_basis_closedBall.tendsto_right_iff.2 fun η hη ↦ ?_ |
| 231 | have h_nhds : j '' {z : H | c z ∈ closedBall (c x) η} ∈ 𝓝 (j x) := |
| 232 | hρ.isOpenMap.image_mem_nhds (hc.continuousAt (closedBall_mem_nhds _ hη)) |
| 233 | filter_upwards [mem_inf_of_left (hρ.eventually_norm_coeff_le hη), |
| 234 | mem_inf_of_right (map_comap_le h_nhds)] with y h_close ⟨z, hz, hzy⟩ |
| 235 | have h_dist : ‖c z - ιℓ ((P y.place).coeff i)‖ ≤ η := by simpa [c] using h_close z hzy i |
| 236 | -- every point of an ultrametric ball is a centre of it |
| 237 | rwa [closedBall_eq_of_mem hz, mem_closedBall_iff_norm'] |
| 238 | |
| 239 | /-- As Frobenius elements tend to `j x`, minus the coefficient of degree `card n - 1` of the |
| 240 | attached Frobenius polynomials tends to the trace of `ρ x`. -/ |
| 241 | lemma GaloisRep.Attached.tendsto_trace [PadicIso ℓ] [Nonempty n] (hρ : Attached P ρ j) (x : H) : |
| 242 | Tendsto (fun y : FrobeniusDatum E ↦ -ιℓ ((P y.place).coeff (Fintype.card n - 1))) |
| 243 | (mostFrobeniiAt E (j x)) (𝓝 (ρ x).val.trace) := by |
| 244 | rw [Matrix.trace_eq_neg_charpoly_coeff] |
| 245 | exact (hρ.tendsto_charpoly_coeff x _).neg |
| 246 | |
| 247 | /-- If `ρ` on `H` and `σ` on `G`, of the same rank, are attached to the same system `P` through maps |
| 248 | `j`, `j'` to `Gal(Ω/E)`, then `ρ x` and `σ y` have the same trace whenever `j x = j' y`. -/ |
| 249 | lemma GaloisRep.Attached.trace_eq [PadicIso ℓ] {G : Type} [Group G] [TopologicalSpace G] |
| 250 | {j' : G → Gal(Ω/E)} {σ : G →* GL n (PadicAlgCl ℓ)} (hρ : Attached P ρ j) (hσ : Attached P σ j') |
| 251 | (x : H) {y : G} (hxy : j x = j' y) : (ρ x).val.trace = (σ y).val.trace := by |
| 252 | -- The localized Frobenius filter is nontrivial by Chebotarev, so its limits are unique. |
| 253 | rcases isEmpty_or_nonempty n with _ | _ |
| 254 | · simp |
| 255 | · exact tendsto_nhds_unique (hρ.tendsto_trace x) (by simpa only [hxy] using hσ.tendsto_trace y) |
| 256 | |
| 257 | end New |
| 258 | |
| 259 | /-! |
| 260 | ## Rank one: the avatar of an algebraic Hecke character |
| 261 | |
| 262 | The Galois representation attached to an eigenform on the definite unitary group of rank one is |
| 263 | computed from a character extending the scalars by which elements act on the form. This is used |
| 264 | to prove local-global compatibility for algebraic Hecke characters |
| 265 | (`New.GaloisRep.avatarCompatAt_of_hasPrimitiveRoot5040`). |
| 266 | |
| 267 | `New.AlgHeckeChar E` consists of pairs of a character of the finite ideles with open kernel and an |
| 268 | infinity type that gives its values on principal ideles; |
| 269 | `New.AlgHeckeChar.avatar` is its `ℓ`-adic avatar. `New.ofSplitPlace hw g` is the element of the |
| 270 | finite adelic unitary group with component `g` at the split place `w`, and `New.rightRegular` is |
| 271 | right translation. `New.scalarFin (Fin 1) (New.divStar x)` is the element `x / star x` of `U(1)`. |
| 272 | -/ |
| 273 | |
| 274 | open Finset Matrix Fintype Filter Representation New |
| 275 | open NumberField (InfinitePlace) |
| 276 | |
| 277 | /-- The scalars by which elements of a commutative group act on a non-zero vector `f` extend to a |
| 278 | character of the whole group. -/ |
| 279 | lemma New.exists_character_of_eigenvalues {A V : Type*} [CommGroup A] [AddCommGroup V] [Module ℂ V] |
| 280 | (ρ : Representation ℂ A V) {f : V} (hf : f ≠ 0) : |
| 281 | ∃ χ : A →* ℂˣ, ∀ (x : A) (c : ℂ), ρ x f = c • f → χ x = c := by |
| 282 | -- On the subgroup `H` of pairs `(x, c)` with `ρ x f = c • f`, `c` is determined by `x`; since |
| 283 | -- `ℂˣ` is divisible, the second projection extends to a character of `A`. |
| 284 | let H : Subgroup (A × ℂˣ) := |
| 285 | { carrier := {p | ρ p.1 f = p.2 • f} |
| 286 | mul_mem' := fun {p q} (hp : ρ p.1 f = p.2 • f) (hq : ρ q.1 f = q.2 • f) ↦ by |
| 287 | simp [hp, hq, smul_smul, mul_comm] |
| 288 | one_mem' := by simp |
| 289 | inv_mem' := fun {p} (hp : ρ p.1 f = p.2 • f) ↦ by |
| 290 | simp [inv_apply_eq_iff, hp, smul_smul] } |
| 291 | have h_ker (a : H) (ha : a.val.1 = 1) : a.val.2 = 1 := by |
| 292 | have h_act : ρ a.val.1 f = (a.val.2 : ℂ) • f := a.prop |
| 293 | exact Units.ext ((smul_left_inj hf).mp (by simp [← h_act, ha])) |
| 294 | obtain ⟨χ, -, hχ⟩ : ∃ χ : A →* ℂˣ, ⊥ ≤ χ.ker ∧ ∀ a : H, χ a.val.1 = a.val.2 := |
| 295 | exists_monoidHom_extend (.domRestrict (.fst A ℂˣ) H) (.domRestrict (.snd A ℂˣ) H) ⊥ h_ker |
| 296 | refine ⟨χ, fun x c hc ↦ ?_⟩ |
| 297 | have hc_ne : c ≠ 0 := fun h ↦ hf (by simpa [h, hc] using (ρ.inv_self_apply x f).symm) |
| 298 | exact congrArg Units.val (hχ ⟨(x, .mk0 c hc_ne), hc⟩) |
| 299 | |
| 300 | variable {E : Type} [Field E] [CMType E] |
| 301 | |
| 302 | /-- The map `x ↦ x / star x` (`divStar`) from the finite ideles of `E` to the norm-one adeles, read |
| 303 | as scalar matrices in `U(1)` (`scalarFin`), is continuous. -/ |
| 304 | lemma New.continuous_scalarFin_divStar : |
| 305 | Continuous fun x : (𝔸f E)ˣ ↦ scalarFin (Fin 1) (divStar x) := |
| 306 | (Matrix.unitaryGroupOf.isClosedEmbedding_val isUnit_one).continuous_iff.2 <| |
| 307 | .matrix_diagonal (continuous_pi fun _ ↦ continuous_subtypeVal.comp divStar.continuous) |
| 308 | |
| 309 | /-- At a split place `w`, the element `x / star x` of `U(1)` for the idele with component `x` at `w` |
| 310 | and `1` elsewhere is the scalar matrix `x` embedded at `w`. -/ |
| 311 | lemma New.scalarFin_divStar_locIdele {w : FinPlace E} (hw : w.IsSplit) (x : (LocField w)ˣ) : |
| 312 | scalarFin (Fin 1) (divStar (locIdele w x)) = ofSplitPlace hw (.scalar (Fin 1) x) := by |
| 313 | refine Subtype.ext (Units.ext ?_) |
| 314 | change Matrix.diagonal (fun _ ↦ (locIdele w x).val * star (locIdele w x)⁻¹.val) = _ |
| 315 | simp [ofSplitPlace, ← map_inv, singleGL, locIdele, ← diagonal_one, star_eq_conjTranspose] |
| 316 | |
| 317 | /-- Let `f` be a form on `U(1)` whose weight is the power `κ` of the determinant. For `x` in `Eˣ`, |
| 318 | right translation by `x / star x` multiplies `f` by `∏ v, (star (Φ v x) / Φ v x) ^ κ v`, where |
| 319 | `Φ v` is the embedding of the CM type at the infinite place `v`. -/ |
| 320 | lemma New.apply_mul_scalarFin_divStar_principalIdele {κ : InfinitePlace E → ℤ} |
| 321 | {f : Gf E (Fin 1) → WeylIndex (Fin 1) (0 : InfinitePlace E → ℕ → ℕ) → ℂ} |
| 322 | (hf : f ∈ (stdSpace E (Fin 1)).forms (0, κ)) (x : Eˣ) : |
| 323 | (fun g : Gf E (Fin 1) ↦ f (g * scalarFin (Fin 1) (divStar (principalIdele x)))) = |
| 324 | (∏ v : InfinitePlace E, (star (Φ v x.val) / Φ v x.val) ^ κ v) • f := by |
| 325 | let γ : U (stdSpace E (Fin 1)).J := |
| 326 | U.of (by simp) ((x.val / star x.val) • 1) (by simp [smul_smul, field]) |
| 327 | funext g |
| 328 | have h_comm : g * scalarFin (Fin 1) (divStar (principalIdele x)) = stdEmbFin γ * g := by |
| 329 | refine Subtype.ext (Units.ext ?_) |
| 330 | ext |
| 331 | simp [γ, scalarFin, coe_divStar, Matrix.map_smul', mul_comm, div_eq_mul_inv] |
| 332 | have h_law : f (stdEmbFin γ * g) = (stdSpace E (Fin 1)).weightRep 0 κ γ (f g) := hf.2 γ g |
| 333 | rw [h_comm, h_law] |
| 334 | -- compute the scalar by which `γ` acts on the representation of weight `κ` |
| 335 | simp [γ, stdSpace_weightRep_apply, weylRep, Units.smul_def, schur_smul, |
| 336 | starRingEnd_apply (R := E), Matrix.map_smul', smul_mulVec] |
| 337 | |
| 338 | /-- If a function `f` on `U(1)` is spherical with Hecke polynomial `Q` at the split place `w` |
| 339 | (`HasHeckePolyAt`), then right translation by a uniformiser `ϖ` of `E_w`, embedded at `w` |
| 340 | (`ofSplitPlace`), multiplies `f` by the scalar `-Q(0)`. -/ |
| 341 | lemma New.HasHeckePolyAt.rightRegular_ofSplitPlace_scalar {M : Type} {f : Gf E (Fin 1) → M → ℂ} |
| 342 | {w : FinPlace E} {hw : w.IsSplit} {Q : Polynomial ℂ} (hQ : HasHeckePolyAt f w hw Q) |
| 343 | {ϖ : (LocField w)ˣ} (hϖ : Valued.v ϖ.val = WithZero.exp (-1)) : |
| 344 | rightRegular ℂ (Gf E (Fin 1)) (M → ℂ) (ofSplitPlace hw (.scalar (Fin 1) ϖ)) f = -Q.coeff 0 • |
| 345 | f := by |
| 346 | obtain ⟨h_sph, t, rfl, ht⟩ := hQ -- `t j` is the scalar of the `j`-th Hecke operator on `f` |
| 347 | set π := rightRegular ℂ (Gf E (Fin 1)) (M → ℂ) |
| 348 | -- `T_{w̄,0}` fixes `f`, which is spherical at `w̄` too |
| 349 | have h_bar : f ∈ sphericalAt π (star w) := by rwa [sphericalAt, maxCompactAt, Gf.supportedOn_star] |
| 350 | -- in rank one the scalar matrix `ϖ` carries `T_{w̄,0}`, the identity on `f`, to `T_{w,1}` |
| 351 | calc π (ofSplitPlace hw (.scalar (Fin 1) ϖ)) f |
| 352 | = π (ofSplitPlace hw (.scalar (Fin 1) ϖ)) (heckeSplit π hw.star 0 f) := |
| 353 | congrArg _ (heckeGL_zero ((mem_sphericalAt_iff hw.star).1 h_bar)).symm |
| 354 | _ = heckeSplit π hw 1 f := heckeSplit_dual hw 0 1 h_sph hϖ (by simp) |
| 355 | _ = -(heckePoly w.q (card (Fin 1)) t).coeff 0 • f := by simp [ht, coeff_heckePoly] |
| 356 | |
| 357 | open scoped Classical in |
| 358 | /-- The algebraic Hecke character `θ` (character `θ.val.1` of the finite ideles, infinity type |
| 359 | `θ.val.2`) matches a function `f` on `U(1)` whose weight is the power `κ` of the determinant: its |
| 360 | infinity type is `± κ`, and at a split place `w` its value at `locIdele w x`, the idele with |
| 361 | component `x` at `w` and `1` elsewhere, is the scalar by which `x` acts on `f`, when there is |
| 362 | one. -/ |
| 363 | structure New.IsRankOneCharacter (κ : InfinitePlace E → ℤ) |
| 364 | (f : Gf E (Fin 1) → WeylIndex (Fin 1) (0 : InfinitePlace E → ℕ → ℕ) → ℂ) |
| 365 | (θ : AlgHeckeChar E) : Prop where |
| 366 | /-- The exponent at `σ` is `± κ v` for the place `v` of `σ`, with `+` when `σ` is the embedding |
| 367 | `Φ v` of the CM type. -/ |
| 368 | type_eq (σ : E →+* ℂ) : θ.val.2.toAdd σ = (if σ = Φ (.mk σ) then 1 else -1) * κ (.mk σ) |
| 369 | /-- If right translation by `x`, embedded at the split place `w`, multiplies `f` by `c`, then |
| 370 | `θ_w(x) = c`. -/ |
| 371 | apply_locIdele {w : FinPlace E} (hw : w.IsSplit) (x : (LocField w)ˣ) {c : ℂ} |
| 372 | (hc : (fun g : Gf E (Fin 1) ↦ f (g * ofSplitPlace hw (.scalar (Fin 1) x))) = c • f) : |
| 373 | θ.val.1 (locIdele w x) = c |
| 374 | /-- If `f` has the Hecke polynomial `Q` at the split place `w`, then `θ_w(x) = -Q(0)` for every |
| 375 | uniformiser `x`. -/ |
| 376 | apply_uniformizer {w : FinPlace E} (hw : w.IsSplit) (x : (LocField w)ˣ) |
| 377 | (hx : Valued.v x.val = WithZero.exp (-1)) {Q : Polynomial ℂ} (hQ : HasHeckePolyAt f w hw Q) : |
| 378 | θ.val.1 (locIdele w x) = -Q.coeff 0 |
| 379 | |
| 380 | /-- Let `r` be attached to the Hecke polynomials `P` of an eigenform `f` on `U(1)` whose weight is |
| 381 | the power `κ` of the determinant (`Attached`: their characteristic polynomials approximate `ιℓ P` |
| 382 | at most Frobenius elements). Then `det r` is the `ℓ`-adic avatar (the associated Galois character) |
| 383 | of an algebraic Hecke character `θ` whose infinity type and values at split places are read off from |
| 384 | `κ` and `f` (`New.IsRankOneCharacter`). -/ |
| 385 | lemma New.GaloisRep.Attached.exists_det_eq_avatar {E : Type} [Field E] [CMType E] |
| 386 | {κ : InfinitePlace E → ℤ} {ℓ : ℕ} [ThePrime ℓ] [PadicIso ℓ] [Algebra E Ω] |
| 387 | {f : Gf E (Fin 1) → WeylIndex (Fin 1) (0 : InfinitePlace E → ℕ → ℕ) → ℂ} |
| 388 | {P : FinPlace E → Polynomial ℂ} {r : GalRep ℓ E (Fin 1)} (hr : Attached P r) |
| 389 | (hf : f ∈ (stdSpace E (Fin 1)).forms (0, κ)) (hf_eig : IsEigenform f P) : |
| 390 | ∃ θ : AlgHeckeChar E, IsRankOneCharacter κ f θ ∧ |
| 391 | ∀ g : Gal(Ω/E), (r g).val.det = θ.avatar g := by |
| 392 | classical |
| 393 | -- Let `χ` extend the scalars by which the elements `z x = x / star x` of `U(1)` act on `f`; it is |
| 394 | -- the character of `θ`. On most Frobenius elements the avatar of `θ` is `-ιℓ ((P w)(0))`, which |
| 395 | -- approximates the determinant. |
| 396 | -- `h_hecke`: at almost all `w` of prime norm, `w` is split with Hecke polynomial `P w` |
| 397 | obtain ⟨hf_ne, h_hecke⟩ := hf_eig |
| 398 | let π := rightRegular ℂ (Gf E (Fin 1)) (WeylIndex (Fin 1) (0 : InfinitePlace E → ℕ → ℕ) → ℂ) |
| 399 | let z : (𝔸f E)ˣ →* Gf E (Fin 1) := (scalarFin (E := E) (Fin 1)).comp divStar.toMonoidHom |
| 400 | obtain ⟨χ, hχ⟩ : ∃ χ : (𝔸f E)ˣ →* ℂˣ, ∀ (x : (𝔸f E)ˣ) (c : ℂ), π (z x) f = c • f → χ x = c := |
| 401 | exists_character_of_eigenvalues (π.comp z) hf_ne |
| 402 | -- The kernel of `χ` contains the open group of `x` for which `z x` fixes `f`. |
| 403 | have h_ker : (rightStabilizer f).comap z ≤ χ.ker := fun x hx ↦ |
| 404 | Units.ext (hχ x 1 ((funext hx).trans (one_smul ℂ f).symm)) |
| 405 | have h_open : IsOpen (χ.ker : Set (𝔸f E)ˣ) := |
| 406 | Subgroup.isOpen_mono h_ker (hf.1.preimage continuous_scalarFin_divStar) |
| 407 | let m (σ : E →+* ℂ) : ℤ := (if σ = Φ (.mk σ) then 1 else -1) * κ (.mk σ) |
| 408 | have h_type (x : Eˣ) : χ (principalIdele x) = ∏ σ : E →+* ℂ, σ x.val ^ (-m σ) := by |
| 409 | rw [hχ _ _ (apply_mul_scalarFin_divStar_principalIdele hf x), |
| 410 | Variety.prod_embeddings_eq_prod_pairs] |
| 411 | exact prod_congr rfl fun v _ ↦ by simp [m, div_eq_inv_mul, mul_zpow] |
| 412 | let θ : AlgHeckeChar E := ⟨(χ, .ofAdd m), h_open, h_type⟩ |
| 413 | have h_loc {w : FinPlace E} (hw : w.IsSplit) (x : (LocField w)ˣ) {c : ℂ} |
| 414 | (hc : π (ofSplitPlace hw (.scalar (Fin 1) x)) f = c • f) : χ (locIdele w x) = c := |
| 415 | hχ _ c (by rwa [← scalarFin_divStar_locIdele hw] at hc) |
| 416 | have hθ : IsRankOneCharacter κ f θ := |
| 417 | ⟨fun _ ↦ rfl, h_loc, fun hw x hx _ hQ ↦ h_loc hw x (hQ.rightRegular_ofSplitPlace_scalar hx)⟩ |
| 418 | refine ⟨θ, hθ, fun g ↦ ?_⟩ |
| 419 | -- Along Frobenius elements tending to `g`, `-ιℓ ((P w)(0))` tends to both sides. |
| 420 | have h_frob : ∀ᶠ y : FrobeniusDatum E in mostFrobenii E, |
| 421 | (θ.avatar y.frob).val = -ιℓ ((P y.place).coeff 0) := by |
| 422 | filter_upwards [eventually_mostFrobenii h_hecke fun y h ↦ h y.prime_q, |
| 423 | θ.eventually_avatar_frob] with y ⟨hw, hQ⟩ h_av |
| 424 | have h_coeff : heckeCoeff χ ∅ y.place = -(P y.place).coeff 0 := by |
| 425 | simpa [heckeCoeff] using hθ.apply_uniformizer hw _ (v_uniformizer y.place) hQ |
| 426 | rw [h_av, h_coeff, map_neg] |
| 427 | simpa [Matrix.det_fin_one, Matrix.trace_fin_one] using |
| 428 | (tendsto_nhds_unique_of_eventuallyEq (tendsto_mostFrobeniiAt fun s ↦ (θ.avatar s).val) |
| 429 | (hr.tendsto_trace g) (h_frob.filter_mono inf_le_left)).symm |