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.FieldTheory.Finite.Extension |
| 4 | import TauCeti.LinearAlgebra.TensorProduct.Basis |
| 5 | public import Lib.Adelic.Unitary.ComponentsAndBlockSums |
| 6 | public import Lib.LocalGL.Shintani.CosetRootChoice |
| 7 | public import Lib.LocalGL.Green.HallAlgebra |
| 8 | import Lib.General.LinearAlgebra.MatrixPolynomials |
| 9 | import Lib.LocalGL.Green.CuspidalFunctions |
| 10 | import TauCeti.LinearAlgebra.Matrix.ToLin |
| 11 | |
| 12 | /-! |
| 13 | # Descent of class functions along a coset and lifts from GL_n(k') ⋊ Gal(k'/k) |
| 14 | |
| 15 | This file applies descent along a coset to `GL_n(k') ⋊ Gal(k'/k)` for an extension `k'/k` of finite |
| 16 | fields. Here functions on similarity classes of matrices (`New.Hall k`) are multiplied by parabolic |
| 17 | induction. It defines lifts of such functions from `k` to `k'` and proves that they are stable under |
| 18 | differences and products. It then shows that the eigenvalue sums `New.Hall.brauerLift k θ` have |
| 19 | virtual lifts. |
| 20 | |
| 21 | ## Main definitions and results |
| 22 | |
| 23 | * `New.DescendsTo Φ X`: a function Φ on GL_n(k') ⋊ Gal(k'/k) (`New.GalSemidirect`) descends to X, |
| 24 | that is, Φ(s) = X(s^{ord σ}) on the coset of each σ whose fixed field is the field of X. |
| 25 | * `New.Lift Z F F'`: in each rank, some `Z`-combination of characters of `GL_n(k') ⋊ Gal(k'/k)` |
| 26 | descends to `F` over `k` and to `F'` over `k'`. |
| 27 | * `New.Lift.sub`, `New.Lift.mul`, `New.Lift.mulMoebius`, |
| 28 | `New.Lift.rankPart_mulMoebius_mul_constOne`: lifts are stable under differences, under the |
| 29 | product, and under pointwise multiplication by the inverse μ (`moebius`; `F.mulMoebius` is F·μ) of |
| 30 | the constant function 1. |
| 31 | * `New.exists_torus_induced_descendsTo`: the character induced from (k' ⊗ L)ˣ ⋊ Gal(k'/k), for |
| 32 | [L:k] = m, descends to C_θ·μ over k, where C_θ = `New.Hall.greenCuspidal` k θ. |
| 33 | * `New.exists_lift_brauerLift`: the eigenvalue sum `β_θ = New.Hall.brauerLift k θ` has a virtual |
| 34 | lift. It is obtained from `New.exists_torus_induced_descendsTo` by recursion on the rank and |
| 35 | `β_θ = −C_θ ∗ 𝟙`. |
| 36 | |
| 37 | Notions from other files: |
| 38 | * `New.Hall.constOne`: The complex-valued function on classes of endomorphisms that takes the value |
| 39 | 1 on every class, in every dimension. |
| 40 | * `New.Hall.rankPart`: The function on similarity classes equal to F on classes of dimension n and |
| 41 | zero on the others. |
| 42 | * `New.Hall.rankInner`: For complex functions F, H on similarity classes, the average over GL_n(k) |
| 43 | of the conjugate of F times H. |
| 44 | * `New.IsRootChoice` (`Lib.LocalGL.Shintani.CosetRootChoice`): a conjugation-equivariant choice of |
| 45 | `(ord σ)`-th roots over `σ`. |
| 46 | * `New.induceClassFn` (`Lib.LocalGL.Shintani.CosetRootChoice`): induction of class functions |
| 47 | along `ρ` over `Γ`. |
| 48 | |
| 49 | ## Relation to the literature |
| 50 | |
| 51 | Known; see `Lib.LocalGL.Shintani.LiftingGreenCharacters` and `Lib.LocalGL.Green.CuspidalFunctions` |
| 52 | for sources. |
| 53 | -/ |
| 54 | |
| 55 | @[expose] public section |
| 56 | |
| 57 | namespace New |
| 58 | |
| 59 | /-! |
| 60 | ## Descent from GL_n(k') ⋊ Gal(k'/k) and lifts under products |
| 61 | |
| 62 | `F.evalGL` is the restriction of a function `F` in `New.Hall k` to one `GL_n(k)`, and |
| 63 | `New.virtualChars Z G` is the `Z`-span of the characters of `G`. For levels `b : n → ι`, |
| 64 | `parabolic b` is the subgroup of block upper triangular matrices and `blockHom b i` takes the |
| 65 | diagonal block of level `i`. |
| 66 | -/ |
| 67 | |
| 68 | section CharacterLifts |
| 69 | |
| 70 | open Finset Matrix GeneralLinearGroup Hall SemidirectProduct Function Fintype Submodule |
| 71 | |
| 72 | variable (k k' Z : Type*) |
| 73 | {k₀ R : Type*} [Field k] [Field k'] [Field k₀] [Algebra k k'] [Finite k] [Algebra k₀ k'] |
| 74 | [Finite k'] [Finite k₀] [CommSemiring Z] [Algebra Z ℂ] [CommRing R] [Algebra R ℂ] |
| 75 | {F G : Hall k} {F' G' : Hall k'} {σ : Gal(k'/k)} |
| 76 | (n : Type*) [Fintype n] [DecidableEq n] |
| 77 | |
| 78 | /-- The action of Gal(k'/k) on GL_n(k') by group automorphisms, applying the field automorphism |
| 79 | to each matrix entry. -/ |
| 80 | noncomputable def galActionGL : Gal(k'/k) →* MulAut (GL n k') := |
| 81 | MonoidHom.mk' (fun σ ↦ Units.mapEquiv σ.mapMatrix.toMulEquiv) (by tauto) |
| 82 | |
| 83 | /-- The semidirect product GL_n(k') ⋊ Gal(k'/k), the Galois group acting on matrix entries. -/ |
| 84 | abbrev GalSemidirect : Type _ := GL n k' ⋊[galActionGL k k' n] Gal(k'/k) |
| 85 | |
| 86 | variable {k k' n} (Φ : GalSemidirect k k' n → ℂ) (X : Hall k₀) |
| 87 | |
| 88 | variable (k₀) in |
| 89 | /-- The fixed field of σ ∈ Gal(k'/k) is k₀: the image of k₀ in k' is exactly the set of elements |
| 90 | fixed by σ. -/ |
| 91 | abbrev HasFixedField (σ : Gal(k'/k)) : Prop := Set.range (algebraMap k₀ k') = fixedPoints σ |
| 92 | |
| 93 | /-- An automorphism fixes all of `L` exactly when it is the identity. -/ |
| 94 | private lemma hasFixedField_self_iff {K L : Type*} [Field K] [Field L] [Algebra K L] |
| 95 | (σ : Gal(L/K)) : HasFixedField L σ ↔ σ = 1 := by |
| 96 | constructor |
| 97 | · intro hσ |
| 98 | exact σ.ext fun x ↦ hσ.le ⟨x, rfl⟩ |
| 99 | · rintro rfl |
| 100 | ext x |
| 101 | simp [Function.IsFixedPt] |
| 102 | |
| 103 | /-- For each σ ∈ Gal(k'/k) with fixed field k₀ and each s over σ in GL_n(k')⋊Gal(k'/k) whose |
| 104 | power s^{ord σ} is γ ∈ GL_n(k₀), Φ(s) = X(γ). -/ |
| 105 | def DescendsTo : Prop := |
| 106 | ∀ σ : Gal(k'/k), HasFixedField k₀ σ → |
| 107 | DescendsOnCoset rightHom σ (fun γ : GL n k₀ ↦ inl (γ.map (algebraMap k₀ k'))) Φ X.evalGL |
| 108 | |
| 109 | variable (F F' n) |
| 110 | |
| 111 | /-- Some Z-combination Φ of characters of GL_n(k') ⋊ Gal(k'/k) descends, in the sense of |
| 112 | `New.DescendsTo`, both to F over k and to F' over k'. -/ |
| 113 | def HasCommonLift : Prop := |
| 114 | ∃ Φ ∈ virtualChars Z (GalSemidirect k k' n), DescendsTo Φ F ∧ DescendsTo Φ F' |
| 115 | |
| 116 | /-- F lifts to F' over Z: for every m, one Z-combination Φ of characters of GL_m(k')⋊Gal(k'/k) |
| 117 | satisfies `New.DescendsTo` for both F (over k) and F' (over k'). -/ |
| 118 | def Lift : Prop := ∀ m : ℕ, HasCommonLift Z F F' (Fin m) |
| 119 | |
| 120 | end CharacterLifts |
| 121 | |
| 122 | section CharacterLifts |
| 123 | |
| 124 | open Finset Matrix GeneralLinearGroup Hall SemidirectProduct Function Fintype Submodule |
| 125 | |
| 126 | variable {k k' Z : Type*} {k₀ R : Type*} [Field k] [Field k'] [Field k₀] [Algebra k k'] |
| 127 | [Algebra k₀ k'] [Finite k₀] [CommSemiring Z] [Algebra Z ℂ] [CommRing R] [Algebra R ℂ] |
| 128 | {F G : Hall k} {F' G' : Hall k'} {σ : Gal(k'/k)} {n : Type*} [Fintype n] [DecidableEq n] |
| 129 | {Φ : GalSemidirect k k' n → ℂ} (X : Hall k₀) |
| 130 | |
| 131 | /-- Renumbering the rows and columns along `e` commutes with the action of `τ` on the entries. -/ |
| 132 | private lemma reindexGL_comp_galActionGL {n' : Type*} [Fintype n'] [DecidableEq n'] (e : n ≃ n') |
| 133 | (τ : Gal(k'/k)) : |
| 134 | (reindexGL e).toMonoidHom.comp (galActionGL k k' n τ).toMonoidHom = |
| 135 | (galActionGL k k' n' (MonoidHom.id Gal(k'/k) τ)).toMonoidHom.comp (reindexGL e).toMonoidHom := |
| 136 | rfl |
| 137 | |
| 138 | omit [Finite k₀] in |
| 139 | /-- Renumbering the rows and columns along `e` keeps the relation `DescendsTo` with `X`. -/ |
| 140 | lemma descendsTo_comp_reindexGL {n' : Type*} [Fintype n'] [DecidableEq n'] (e : n ≃ n') |
| 141 | {Ψ : GalSemidirect k k' n' → ℂ} {X : Hall k₀} (hΨ : DescendsTo Ψ X) : |
| 142 | DescendsTo |
| 143 | (Ψ ∘ SemidirectProduct.map (φ₁ := galActionGL k k' n) (φ₂ := galActionGL k k' n') |
| 144 | (reindexGL e).toMonoidHom (MonoidHom.id Gal(k'/k)) (by exact reindexGL_comp_galActionGL e)) |
| 145 | X := by |
| 146 | intro σ hσ s γ hs hγ |
| 147 | set ρ : GalSemidirect k k' n →* GalSemidirect k k' n' := |
| 148 | map (reindexGL e).toMonoidHom (.id _) (reindexGL_comp_galActionGL e) |
| 149 | -- `ρ s` is a root of the renumbered `γ`, which is similar to `γ`. |
| 150 | have h_pow : ρ s ^ orderOf σ = inl ((reindexGL e γ).map (algebraMap k₀ k')) := by |
| 151 | rw [← map_pow, hγ] |
| 152 | -- `ρ` renumbers the matrix part, which commutes with applying `algebraMap k₀ k'` to the entries |
| 153 | rfl |
| 154 | calc Ψ (ρ s) = X.evalGL (reindexGL e γ) := hΨ σ hσ (ρ s) (reindexGL e γ) hs h_pow |
| 155 | _ = X.evalGL γ := by |
| 156 | change X (simClassOf (γ.val.submatrix e.symm e.symm).toLin') = X (simClassOf γ.val.toLin') |
| 157 | rw [simClassOf_submatrix] |
| 158 | |
| 159 | /-- If (F, F') is a lift with coefficients in Z, then for every finite index set n some |
| 160 | Z-combination of characters of GL_n(k')⋊Gal(k'/k) descends (`New.DescendsTo`) to F over k and to F' |
| 161 | over k'. -/ |
| 162 | lemma Lift.hasCommonLift (h : Lift Z F F') (n : Type*) [Fintype n] [DecidableEq n] : |
| 163 | HasCommonLift Z F F' n := by |
| 164 | -- Take the lift in rank `card n` and renumber `n` as `Fin (card n)`. |
| 165 | obtain ⟨Φ, hΦ, hF, hF'⟩ := h (card n) |
| 166 | exact ⟨_, comp_mem_virtualChars hΦ _, descendsTo_comp_reindexGL (equivFin n) hF, |
| 167 | descendsTo_comp_reindexGL (equivFin n) hF'⟩ |
| 168 | |
| 169 | /-- The restriction `F.evalGL` of a function on similarity classes to `GL n k` is a class |
| 170 | function. -/ |
| 171 | lemma isClassFunction_evalGL : IsClassFunction (F.evalGL (n := n)) := by |
| 172 | intro g x |
| 173 | -- Multiplication by `x` intertwines `g` with `x * g * x⁻¹`. |
| 174 | have h_sim : simClassOf g.val.toLin' = simClassOf (x * g * x⁻¹).val.toLin' := |
| 175 | simClassOf_eq_of_equiv x.toLin.toLinearEquiv fun v ↦ by simp |
| 176 | exact congrArg F h_sim.symm |
| 177 | |
| 178 | /-- On `GL_m(k₀)`, the function `moebius + (1 - constOne) ^ (m + 1) * -moebius` agrees with |
| 179 | `moebius`: its second term vanishes on classes of dimension at most `m`. -/ |
| 180 | private lemma evalGL_moebius_add_one_sub_constOne_pow_mul {m : ℕ} (γ : GL (Fin m) k₀) : |
| 181 | (moebius + (1 - constOne) ^ (m + 1) * -moebius : Hall k₀).evalGL γ = |
| 182 | (moebius : Hall k₀).evalGL γ := by |
| 183 | have h_zero : ((1 - constOne) ^ (m + 1) * -moebius : Hall k₀) (simClassOf γ.val.toLin') = 0 := |
| 184 | mul_apply_eq_zero_of_dim_lt (n := 0) (one_sub_constOne_pow_apply_eq_zero (m + 1)) (by simp) _ |
| 185 | (by simp [dim_simClassOf]) |
| 186 | rw [evalGL, evalGL, Hall.add_apply, h_zero, add_zero] |
| 187 | |
| 188 | /-- One step `J ↦ J - (constOne * J - 1)` of the iteration that approaches `moebius` takes |
| 189 | `moebius + (1 - constOne) ^ N * -moebius` to the same expression with exponent `N + 1`. -/ |
| 190 | private lemma moebius_add_one_sub_constOne_pow_succ_mul (N : ℕ) : |
| 191 | (moebius + (1 - constOne) ^ (N + 1) * -moebius : Hall k₀) = |
| 192 | (moebius + (1 - constOne) ^ N * -moebius) - |
| 193 | (constOne * (moebius + (1 - constOne) ^ N * -moebius) - 1) := by |
| 194 | grind [isUnit_constOne] |
| 195 | |
| 196 | /-! ### First properties and examples of lifts -/ |
| 197 | |
| 198 | /-- Let σ have fixed field k₀. Then the matrices γ in GL_n(k₀) have (a) a natural choice of |
| 199 | (ord σ)-th roots r(γ) over σ in GL_n(k') ⋊ Gal(k'/k) (`New.IsRootChoice`) such that (b) the matrix |
| 200 | part of r(γ) lies in every k'-subalgebra of matrices that contains the image of γ. -/ |
| 201 | lemma exists_isRootChoice_GL [Finite k'] (hσ : HasFixedField k₀ σ) : |
| 202 | ∃ r : GL n k₀ → GalSemidirect k k' n, |
| 203 | -- (a) `r` is a natural choice of roots in the coset of `σ` |
| 204 | IsRootChoice rightHom σ (inl.comp (GeneralLinearGroup.map (algebraMap k₀ k'))) r ∧ |
| 205 | -- (b) the matrix part of `r γ` lies in every subalgebra that contains `γ` |
| 206 | ∀ (B : Subalgebra k' (Matrix n n k')) (γ : GL n k₀), |
| 207 | (γ.map (algebraMap k₀ k')).val ∈ B → (r γ).left.val ∈ B := by |
| 208 | let j : GL n k₀ →* GL n k' := map (algebraMap k₀ k') |
| 209 | -- A matrix over `k'` is fixed by `σ` exactly when its entries lie in `k₀`. |
| 210 | have h_fixed (u : GL n k') : u ∈ j.range ↔ galActionGL k k' n σ u = u := by |
| 211 | refine ⟨?_, exists_gl_map_eq_of_fixed (σ := σ.toRingHom) (RingHom.injective _) hσ.ge⟩ |
| 212 | rintro ⟨g, rfl⟩ |
| 213 | ext |
| 214 | exact hσ.le ⟨_, rfl⟩ |
| 215 | -- `σ` acts on `GL n k'` through the ring map that applies `σ` to each entry. |
| 216 | have h_act (u : GL n k') : |
| 217 | (galActionGL k k' n σ u : Matrix n n k') = RingHom.mapMatrix (σ : k' →+* k') u := rfl |
| 218 | have h_semiconj : |
| 219 | Semiconj (algebraMap k' (Matrix n n k')) σ (RingHom.mapMatrix (σ : k' →+* k')) := by |
| 220 | simp [algebraMap, Semiconj] |
| 221 | exact exists_isRootChoice _ h_act h_semiconj |
| 222 | (by simp [Injective, GeneralLinearGroup.ext_iff]) h_fixed |
| 223 | |
| 224 | /-- Φ descends to a class function F' over k' itself exactly when F' is the restriction of Φ to |
| 225 | GL_n(k'). -/ |
| 226 | @[simp] |
| 227 | lemma DescendsTo.iff_comp_inl_eq_evalGL : |
| 228 | DescendsTo Φ F' ↔ (fun g : GL n k' ↦ Φ (inl g)) = F'.evalGL := by |
| 229 | simp only [DescendsTo, hasFixedField_self_iff, forall_eq] |
| 230 | constructor |
| 231 | · intro h_desc |
| 232 | funext g |
| 233 | exact h_desc (inl g) g (by simp) (by simp) |
| 234 | · intro h_eq s γ _ hγ |
| 235 | -- Since `σ = 1` has order one, `hγ` identifies `s` with `inl` of the image of `γ`. |
| 236 | have hs_eq : s = inl (γ.map (algebraMap k' k')) := by simpa using hγ |
| 237 | simp [hs_eq, ← h_eq] |
| 238 | |
| 239 | /-- If in every rank some Z-combination of characters descends to F, then F lifts to some class |
| 240 | function G over k'. -/ |
| 241 | lemma Lift.exists_lift_of_descendsTo |
| 242 | (h : ∀ m : ℕ, ∃ Φ ∈ virtualChars Z (GalSemidirect k k' (Fin m)), DescendsTo Φ F) : |
| 243 | ∃ G : Hall k', Lift Z F G := by |
| 244 | choose Φ h_virt h_desc using h |
| 245 | -- The restriction of `Φ m` to `GL m k'` is a class function, so it comes from some `X m`. |
| 246 | have h_exists (m : ℕ) : ∃ X : Hall k', (fun g : GL (Fin m) k' ↦ Φ m (inl g)) = X.evalGL := |
| 247 | exists_eq_evalGL (isClassFunction_of_mem_virtualChars (comp_mem_virtualChars (h_virt m) inl)) |
| 248 | choose X hX using h_exists |
| 249 | -- Use `X m` on the classes of dimension `m`. |
| 250 | refine ⟨fun c ↦ X c.dim c, fun m ↦ ⟨Φ m, h_virt m, h_desc m, ?_⟩⟩ |
| 251 | rw [DescendsTo.iff_comp_inl_eq_evalGL, hX m] |
| 252 | funext g |
| 253 | simp [evalGL, dim_simClassOf] |
| 254 | |
| 255 | /-- Suppose Gal(k'/k) is trivial, F' on GL_n(k') is a Z-combination of characters, and F' agrees |
| 256 | with F on GL_n(k). Then some Z-combination of characters of GL_n(k') ⋊ Gal(k'/k) descends |
| 257 | (`New.DescendsTo`) to both F and F'. -/ |
| 258 | lemma hasCommonLift_of_gal_trivial (h_triv : ∀ σ : Gal(k'/k), σ = 1) |
| 259 | (h : F'.evalGL ∈ virtualChars Z (GL n k')) |
| 260 | (h_ev : ∀ g : GL n k, F'.evalGL (g.map (algebraMap k k')) = F.evalGL g) : |
| 261 | HasCommonLift Z F F' n := by |
| 262 | -- With trivial Galois group, `left` is a homomorphism; pull `F'.evalGL` back along it. |
| 263 | have h_left_mul (a b : GalSemidirect k k' n) : (a * b).left = a.left * b.left := by |
| 264 | rw [mul_left, h_triv a.right, map_one, MulAut.one_apply] |
| 265 | let π : GalSemidirect k k' n →* GL n k' := .mk' left h_left_mul |
| 266 | -- The only `σ` is `1`, of order one, so `s ^ orderOf σ = inl γ` says that `s` is `inl` of the |
| 267 | -- image of `γ`, and `π s` is that image; `h_ev` gives the value over `k`. |
| 268 | have h_desc_k : DescendsTo (F'.evalGL ∘ π) F := by simp_all [π, DescendsTo, DescendsOnCoset] |
| 269 | have h_desc_k' : DescendsTo (F'.evalGL ∘ π) F' := by simp_all [π, DescendsTo, DescendsOnCoset] |
| 270 | exact ⟨F'.evalGL ∘ π, comp_mem_virtualChars h π, h_desc_k, h_desc_k'⟩ |
| 271 | |
| 272 | /-- The zero class function lifts to itself through the zero virtual character. -/ |
| 273 | lemma Lift.zero : Lift (k := k) (k' := k') Z 0 0 := by |
| 274 | intro m |
| 275 | refine ⟨0, zero_mem _, ?_, ?_⟩ <;> simp [DescendsTo, DescendsOnCoset, evalGL] |
| 276 | |
| 277 | /-- If one Z-combination Φ of characters of GL_m(k')⋊Gal(k'/k) descends (`New.DescendsTo`) to F over |
| 278 | k and to F' over k', then the dimension m parts of F and F' form a lift over Z in all ranks. -/ |
| 279 | lemma Lift.rankPart_of_hasCommonLift {m : ℕ} (h : HasCommonLift Z F F' (Fin m)) : |
| 280 | Lift Z (rankPart m F) (rankPart m F') := by |
| 281 | intro n |
| 282 | obtain rfl | hn := eq_or_ne n m |
| 283 | · -- In dimension `n` the two parts are `F` and `F'` themselves. |
| 284 | simpa [HasCommonLift, DescendsTo, DescendsOnCoset, evalGL] |
| 285 | · -- Both parts vanish in dimension `n`, and so does the zero function. |
| 286 | simpa [HasCommonLift, DescendsTo, DescendsOnCoset, evalGL, hn] using |
| 287 | Lift.zero (k := k) (k' := k') (Z := Z) n |
| 288 | |
| 289 | /-- The constant function 1 lifts to itself, through the trivial character. -/ |
| 290 | lemma Lift.lift_constOne : Lift Z (constOne : Hall k) (constOne : Hall k') := by |
| 291 | intro m |
| 292 | -- The trivial character takes the value `1` everywhere. |
| 293 | refine ⟨1, one_mem _, ?_, ?_⟩ <;> simp [DescendsTo, DescendsOnCoset, evalGL] |
| 294 | |
| 295 | /-- The unit of the product, the dimension 0 part of the constant function, lifts to itself. -/ |
| 296 | @[simp] |
| 297 | lemma Lift.one : Lift (k := k) (k' := k') Z 1 1 := rankPart_of_hasCommonLift (lift_constOne 0) |
| 298 | |
| 299 | variable [Finite k] [Finite k'] |
| 300 | |
| 301 | omit [Finite k] in |
| 302 | /-- If `F` lifts to `G` with coefficients in `Z` (`New.Lift`, here with both functions over |
| 303 | `k`, so along the trivial extension `k/k`), then the restriction of `F` to `GL_n(k)` is a |
| 304 | `Z`-combination of characters of `GL_n(k)`. -/ |
| 305 | lemma Lift.evalGL_mem_virtualChars (h : Lift Z F G) : F.evalGL ∈ virtualChars Z (GL n k) := by |
| 306 | obtain ⟨Φ, hΦ, hF, -⟩ := h.hasCommonLift n |
| 307 | -- The restriction of `Φ` to `GL n k` is `F.evalGL`. |
| 308 | rw [← DescendsTo.iff_comp_inl_eq_evalGL.mp hF] |
| 309 | exact comp_mem_virtualChars hΦ inl |
| 310 | |
| 311 | /-- If F lifts to F' and G lifts to G' with coefficients in a commutative ring R (`New.Lift`), then |
| 312 | F - G lifts to F' - G'. -/ |
| 313 | lemma Lift.sub (h : Lift R F F') (h' : Lift R G G') : Lift R (F - G) (F' - G') := by |
| 314 | intro m |
| 315 | obtain ⟨Φ, hΦ, hΦ_F, hΦ_F'⟩ := h m |
| 316 | obtain ⟨Ψ, hΨ, hΨ_G, hΨ_G'⟩ := h' m |
| 317 | -- On the coset of each `σ` with fixed field `k`, `Φ - Ψ` takes the value `F γ - G γ`; where the |
| 318 | -- fixed field is `k'`, it takes the value of `F' - G'`. |
| 319 | refine ⟨Φ - Ψ, sub_mem hΦ hΨ, fun σ hσ s γ hs hγ ↦ ?_, fun σ hσ s γ hs hγ ↦ ?_⟩ |
| 320 | · rw [Pi.sub_apply, hΦ_F σ hσ s γ hs hγ, hΨ_G σ hσ s γ hs hγ] |
| 321 | rfl |
| 322 | · rw [Pi.sub_apply, hΦ_F' σ hσ s γ hs hγ, hΨ_G' σ hσ s γ hs hγ] |
| 323 | rfl |
| 324 | |
| 325 | omit [Finite k] in |
| 326 | /-- Let `b` split the indices `n` into ordered blocks. Let `P` be the subgroup of |
| 327 | `GL_n(k') ⋊ Gal(k'/k)` whose matrix part is block upper triangular for `b`, and let `β i` send an |
| 328 | element of `P` to its `i`-th diagonal block together with its Galois part. If each `Ψ i` is a |
| 329 | `Z`-combination of characters of its block's group that descends to `Y i` (its value at `s` over `σ` |
| 330 | with fixed field `k₀` is `Y i` at `s ^ orderOf σ`), then the function induced along `P` |
| 331 | (`induceClassFn`; it conjugates only by matrices, since `rightHom` is the Galois part) from the |
| 332 | product of the `Ψ i ∘ β i` descends to the induction product of the `Y i`, each `Y i` taken in the |
| 333 | dimension of its block. -/ |
| 334 | lemma DescendsTo.induceClassFn_parabolic {ι : Type*} [Fintype ι] [LinearOrder ι] {b : n → ι} |
| 335 | {P : Subgroup (GalSemidirect k k' n)} |
| 336 | (hP : ∀ s : GalSemidirect k k' n, s ∈ P ↔ s.left ∈ parabolic b) |
| 337 | (β : ∀ i : ι, P →* GalSemidirect k k' {j // b j = i}) |
| 338 | (hβ : ∀ (i : ι) (s : P), |
| 339 | β i s = ⟨blockHom b i ⟨(s : GalSemidirect k k' n).left, (hP s).mp s.property⟩, |
| 340 | (s : GalSemidirect k k' n).right⟩) |
| 341 | {Ψ : ∀ i : ι, GalSemidirect k k' {j // b j = i} → ℂ} |
| 342 | (hΨ : ∀ i : ι, Ψ i ∈ virtualChars Z (GalSemidirect k k' {j // b j = i})) {Y : ι → Hall k₀} |
| 343 | (hY : ∀ i : ι, DescendsTo (Ψ i) (Y i)) : |
| 344 | DescendsTo (induceClassFn rightHom P.subtype (∏ i : ι, Ψ i ∘ β i)) |
| 345 | (∏ i : ι, (Y i).rankPart (Nat.card {j // b j = i})) := by |
| 346 | intro σ hσ |
| 347 | simp only [Nat.card_eq_fintype_card] |
| 348 | obtain ⟨r, hr, hr_sub⟩ := exists_isRootChoice_GL (n := n) hσ |
| 349 | -- Block triangular matrices form a subalgebra, so the roots of elements of the parabolic |
| 350 | -- subgroup lie in `P`, and `r` restricts to a choice of roots for the two subgroups. |
| 351 | have hr_mem : ∀ γ ∈ parabolic b, r γ ∈ P := fun γ hγ ↦ (hP _).mpr |
| 352 | (hr_sub (blockTriangularSubalgebra k' k' b) γ (mem_blockTriangularSubalgebra.mpr (.map _ hγ))) |
| 353 | -- The preimage of `P` in `GL n k₀` is the parabolic subgroup. |
| 354 | have h_comap : |
| 355 | Subgroup.comap (MonoidHom.comp inl (GeneralLinearGroup.map (algebraMap k₀ k'))) P = |
| 356 | parabolic b := by |
| 357 | simp [Subgroup.ext_iff, hP, parabolic, BlockTriangular] |
| 358 | have h_class : IsClassFunction (∏ i : ι, Ψ i ∘ β i) := |
| 359 | isClassFunction_of_mem_virtualChars (prod_mem fun i _ ↦ comp_mem_virtualChars (hΨ i) _) |
| 360 | -- Descent commutes with induction (`DescendsOnCoset.induce`), and the product of the `Y i` is |
| 361 | -- induced from the parabolic subgroup (`classInner_evalGL_prod`). This reduces the claim to `P`, |
| 362 | -- where it holds block by block. |
| 363 | refine DescendsOnCoset.induce hr h_class (fun γ : parabolic (R := k₀) b ↦ (γ : GL n k₀)) |
| 364 | (fun _ ↦ rfl) (hr.restrict_subgroup P h_comap hr_mem) (fun s γ hs hpow ↦ ?_) |
| 365 | isClassFunction_evalGL |
| 366 | (classInner_evalGL_prod b Y fun j ↦ mem_univ (b j)) |
| 367 | simp only [Finset.prod_apply] |
| 368 | refine prod_congr rfl fun i _ ↦ ?_ |
| 369 | have h_pow : β i s ^ orderOf σ = inl ((blockHom b i γ).map (algebraMap k₀ k')) := by |
| 370 | rw [← map_pow, hpow, hβ] |
| 371 | -- the diagonal block of the image of `γ` is the image of the diagonal block of `γ` |
| 372 | rfl |
| 373 | exact hY i σ hσ (β i s) (blockHom b i γ) (by simpa [hβ] using hs) h_pow |
| 374 | |
| 375 | /-- The value of the product `F * G` at `γ` in `GL_m(k)`, sorted by the dimension `a` of the stable |
| 376 | subspace: it is the sum over `a ≤ m` of the value at `γ` of the product of the part of `F` of |
| 377 | dimension `#{j < a} = a` and the part of `G` of dimension `#{j ≥ a} = m - a`. -/ |
| 378 | lemma sum_evalGL_prod_rankPart {m : ℕ} (γ : GL (Fin m) k) : |
| 379 | ∑ a ∈ Iic m, |
| 380 | (∏ i : Bool, rankPart (Nat.card {j : Fin m // decide (j.val < a) = i}) (cond i F G)).evalGL |
| 381 | γ = |
| 382 | (F * G).evalGL γ := by |
| 383 | -- Expand both products over the stable subspaces `W` and exchange the sums: only `a = dim W` |
| 384 | -- contributes, and then the quotient has dimension `m - a`. |
| 385 | -- (`mul_ite` and `not_lt` are erased: without that this simp runs out of steps) |
| 386 | simp +contextual [mul_simClassOf, -not_lt, -mul_ite, -Nat.not_lt, sum_comm, |
| 387 | card_fin_lt_of_le ∘ mem_Iic.mp, finrank_quotient, (finrank_le _).trans, evalGL, |
| 388 | finsum_eq_sum_of_fintype] |
| 389 | |
| 390 | /-- `F` lifts to `F'` over `Z` (`New.Lift`) when, for every `m`, one `Z`-combination of characters |
| 391 | of `GL_m(k') ⋊ Gal(k'/k)` descends (`New.DescendsTo`) both to `F` over `k` and to `F'` over `k'`. |
| 392 | Lifting is multiplicative: if `F` lifts to `F'` and `G` lifts to `G'` over `Z`, then the |
| 393 | parabolic-induction product `F * G` lifts to `F' * G'`. -/ |
| 394 | lemma Lift.mul (h : Lift Z F F') (h' : Lift Z G G') : Lift Z (F * G) (F' * G') := by |
| 395 | -- For each `a ≤ m` split `Fin m` into blocks of sizes `a` and `m - a`, pull the characters of the |
| 396 | -- two lifts back along the blocks, induce from the parabolic subgroup, and sum over `a`. |
| 397 | intro m |
| 398 | let b (a : ℕ) (j : Fin m) : Bool := decide (j.val < a) |
| 399 | choose Φ hΦ hΦ_k hΦ_k' using fun (a : ℕ) (i : Bool) ↦ |
| 400 | (show Lift Z (cond i F G) (cond i F' G') by cases i <;> assumption).hasCommonLift |
| 401 | {j // b a j = i} |
| 402 | -- `P a`: the elements whose matrix part is block upper triangular for the levels `b a`. |
| 403 | let P (a : ℕ) : Subgroup (GalSemidirect k k' (Fin m)) := |
| 404 | { carrier := {s | s.left ∈ parabolic (b a)} |
| 405 | mul_mem' := fun {x _} hx hy ↦ hx.mul (hy.map x.right) |
| 406 | one_mem' := by simp |
| 407 | inv_mem' := fun {x} hx ↦ .map x.right⁻¹ ((parabolic _).inv_mem hx) } |
| 408 | -- `β a i`: the diagonal block of level `i`, with the same Galois part. |
| 409 | let β (a : ℕ) (i : Bool) : P a →* GalSemidirect k k' {j // b a j = i} := |
| 410 | .mk' (fun s ↦ ⟨blockHom (b a) i ⟨s.val.left, s.property⟩, s.val.right⟩) fun x y ↦ |
| 411 | SemidirectProduct.ext ((blockHom (b a) i).map_mul ⟨x.val.left, x.property⟩ |
| 412 | ⟨galActionGL k k' _ x.val.right y.val.left, y.property.map x.val.right⟩) rfl |
| 413 | refine ⟨∑ a ∈ Iic m, induceClassFn rightHom (P a).subtype (∏ i, Φ a i ∘ β a i), |
| 414 | sum_mem fun a _ ↦ induceClassFn_mem_virtualChars (fun σ ↦ ⟨⟨inr σ, blockTriangular_one⟩, rfl⟩) |
| 415 | (prod_mem fun i _ ↦ comp_mem_virtualChars (hΦ a i) _), |
| 416 | fun σ hσ s γ hs hpow ↦ ?_, fun σ hσ s γ hs hpow ↦ ?_⟩ |
| 417 | -- Over `k` and over `k'` alike, `sum_evalGL_prod_rankPart` splits the product by `a`, and each |
| 418 | -- term is `DescendsTo.induceClassFn_parabolic` for the blocks of `b a`. |
| 419 | all_goals |
| 420 | rw [Finset.sum_apply, ← sum_evalGL_prod_rankPart] |
| 421 | refine sum_congr rfl fun a _ ↦ |
| 422 | DescendsTo.induceClassFn_parabolic (fun _ ↦ .rfl) (β a) (fun _ _ ↦ rfl) (hΦ a) ?_ σ hσ s γ hs |
| 423 | hpow |
| 424 | exacts [hΦ_k a, hΦ_k' a] |
| 425 | |
| 426 | /-! ### The inverse of the constant function, and characters of degree one -/ |
| 427 | |
| 428 | /-- If F lifts to F' with coefficients in a commutative ring R, then F·μ lifts to F'·μ. Here μ is |
| 429 | the inverse of the constant function 1 for the parabolic-induction product. -/ |
| 430 | lemma Lift.mulMoebius (h : Lift R F F') : Lift R F.mulMoebius F'.mulMoebius := by |
| 431 | -- Iterating `J ↦ J - (constOne * J - 1)` from `J = 0` gives lifts agreeing with `moebius` |
| 432 | -- in dimension `< N`, where `(1 - constOne) ^ N` vanishes. |
| 433 | have hJ (N : ℕ) : Lift (k := k) (k' := k') R (moebius + (1 - constOne) ^ N * -moebius) |
| 434 | (moebius + (1 - constOne) ^ N * -moebius) := |
| 435 | Nat.rec (by simpa using Lift.zero (k := k) (k' := k') (Z := R)) (fun _ ih ↦ by |
| 436 | simp only [moebius_add_one_sub_constOne_pow_succ_mul] |
| 437 | exact ih.sub ((lift_constOne.mul ih).sub one)) N |
| 438 | -- `F.mulMoebius` is the pointwise product of `F` and `moebius`, so `Φ * Ψ` descends to it. |
| 439 | intro m |
| 440 | obtain ⟨Φ, hΦ, hΦ_F, hΦ_F'⟩ := h m |
| 441 | obtain ⟨Ψ, hΨ, hΨ_k, hΨ_k'⟩ := hJ (m + 1) m |
| 442 | refine ⟨Φ * Ψ, mul_mem hΦ hΨ, fun σ hσ s γ hs hγ ↦ ?_, fun σ hσ s γ hs hγ ↦ ?_⟩ |
| 443 | · rw [Pi.mul_apply, hΦ_F σ hσ s γ hs hγ, hΨ_k σ hσ s γ hs hγ, |
| 444 | evalGL_moebius_add_one_sub_constOne_pow_mul] |
| 445 | rfl |
| 446 | · rw [Pi.mul_apply, hΦ_F' σ hσ s γ hs hγ, hΨ_k' σ hσ s γ hs hγ, |
| 447 | evalGL_moebius_add_one_sub_constOne_pow_mul] |
| 448 | rfl |
| 449 | |
| 450 | /-- If F lifts to F', then (−1)^m times the dimension m part of `F.mulMoebius * constOne` lifts to |
| 451 | the same expression for F'. Here `F.mulMoebius` is the pointwise product F·μ, with μ the inverse of |
| 452 | `constOne`. -/ |
| 453 | lemma Lift.rankPart_mulMoebius_mul_constOne {m : ℕ} (h : Lift R F F') : |
| 454 | Lift R ((-1 : ℂ) ^ m • rankPart m (F.mulMoebius * constOne)) |
| 455 | ((-1 : ℂ) ^ m • rankPart m (F'.mulMoebius * constOne)) := by |
| 456 | have h_part : Lift R (rankPart m (F.mulMoebius * constOne)) |
| 457 | (rankPart m (F'.mulMoebius * constOne)) := |
| 458 | rankPart_of_hasCommonLift (h.mulMoebius.mul lift_constOne m) |
| 459 | obtain h_even | h_odd := m.even_or_odd |
| 460 | · simpa [h_even] using h_part |
| 461 | · simpa [h_odd] using Lift.zero.sub h_part |
| 462 | |
| 463 | omit [Finite k] in |
| 464 | /-- Let S be a finite monoid, α an action of Gal(k'/k) on its unit group Sˣ, and ν : S → ℂ a monoid |
| 465 | homomorphism. Then there is a function ϑ on Sˣ ⋊ Gal(k'/k) such that (a) ϑ is a character, (b) |
| 466 | ϑ(s) = ∏_τ ν(α(τ) s₁), with s₁ the component of s in Sˣ, and (c) for σ with fixed field k, |
| 467 | ϑ(s) = ν(γ) whenever s lies over σ and s^{ord σ} = γ. -/ |
| 468 | lemma exists_norm_char_semidirect {S : Type*} [Monoid S] (α : Gal(k'/k) →* MulAut Sˣ) |
| 469 | (ν : S →* ℂ) : |
| 470 | ∃ ϑ : Sˣ ⋊[α] Gal(k'/k) → ℂ, |
| 471 | -- (a) `ϑ` is a character |
| 472 | IsChar ϑ ∧ |
| 473 | -- (b) its value is the product of `ν` over the Galois conjugates |
| 474 | (∀ s : Sˣ ⋊[α] Gal(k'/k), ϑ s = ∏ τ : Gal(k'/k), ν (α τ s.left)) ∧ |
| 475 | -- (c) on the cosets of the `σ` with fixed field `k` it is `ν` of the norm |
| 476 | ∀ σ : Gal(k'/k), HasFixedField k σ → |
| 477 | DescendsOnCoset rightHom σ inl ϑ fun u : Sˣ ↦ ν u.val := by |
| 478 | classical |
| 479 | -- `ϑ s = ∏ τ, ν (α τ s.left)` is multiplicative: in `(a * b).left = a.left * α a.right b.left` |
| 480 | -- the twist by `a.right` only permutes the factors. |
| 481 | let ϑ : Sˣ ⋊[α] Gal(k'/k) →* ℂ := |
| 482 | { toFun s := ∏ τ, ν (α τ s.left) |
| 483 | map_one' := by simp |
| 484 | map_mul' a b := by |
| 485 | simp [← Equiv.prod_comp (.mulRight a.right) fun τ ↦ ν (α τ b.left), prod_mul_distrib] } |
| 486 | refine ⟨ϑ, isChar_monoidHom ϑ, fun _ ↦ rfl, fun σ hσ s γ hs hγ ↦ ?_⟩ |
| 487 | -- The fixed field of `σ` is `k`, so `σ` generates the Galois group. |
| 488 | have h_gen (τ : Gal(k'/k)) : τ ∈ Subgroup.zpowers σ := by |
| 489 | refine (IntermediateField.fixingSubgroup_fixedField (.zpowers σ)).le fun x ↦ ?_ |
| 490 | obtain ⟨y, hy⟩ : (x : k') ∈ Set.range (algebraMap k k') := |
| 491 | hσ.ge (x.property ⟨σ, Subgroup.mem_zpowers σ⟩) |
| 492 | simp [← hy] |
| 493 | -- The first component of `s ^ i` is the product of the `α (σ ^ l) s.left`, `l < i`, in order. |
| 494 | have h_pow (i : ℕ) : ∏ l ∈ range i, ν ((α σ ^ l) s.left) = ν (s ^ i).left := by |
| 495 | subst hs |
| 496 | induction i with |
| 497 | | zero => simp |
| 498 | | succ i ih => |
| 499 | -- the Galois part of `s ^ i` is the `i`-th power of that of `s` |
| 500 | have h_right : (s ^ i).right = s.right ^ i := map_pow rightHom s i |
| 501 | simp_all [pow_succ, prod_range_succ, ← map_pow] |
| 502 | -- As `σ` generates the Galois group, `l ↦ σ ^ l` maps `range (orderOf σ)` bijectively onto it. |
| 503 | calc ϑ s = ∏ τ : Gal(k'/k), ν (α τ s.left) := rfl |
| 504 | _ = ∏ l ∈ range (orderOf σ), ν ((α σ ^ l) s.left) := by |
| 505 | simp [← IsCyclic.image_range_orderOf h_gen, prod_image, pow_injOn_Iio_orderOf] |
| 506 | _ = ν (s ^ orderOf σ).left := h_pow _ |
| 507 | _ = ν γ := by rw [hγ, left_inl] |
| 508 | |
| 509 | end CharacterLifts |
| 510 | |
| 511 | /-! |
| 512 | ## Green's theorem with Galois action for Brauer functions |
| 513 | |
| 514 | Let `k'/k` be an extension of finite fields and `θ` a multiplicative character of an algebraically |
| 515 | closed field `K` over `k'`. |
| 516 | -/ |
| 517 | |
| 518 | section GreenLift |
| 519 | |
| 520 | open Module Hall ComplexConjugate SemidirectProduct Algebra TensorProduct LinearMap FiniteField |
| 521 | |
| 522 | attribute [local instance low] Fintype.ofFinite |
| 523 | |
| 524 | variable (k k' : Type*) {K L : Type*} |
| 525 | {m : ℕ} [Field k] [Field k'] [Algebra k k'] [Finite k'] [Field K] [IsAlgClosed K] |
| 526 | [Algebra k K] [Algebra k' K] [IsScalarTower k k' K] |
| 527 | (θ : MulChar K ℂ) [Field L] [Finite L] [Algebra k L] |
| 528 | |
| 529 | /-- For a basis `b` of a finite `k`-algebra `A` and an element `t` of `A`, the matrix of left |
| 530 | multiplication by `t` in the basis `b` and left multiplication by `t` on `A` have the same |
| 531 | similarity class. -/ |
| 532 | lemma simClassOf_leftMulMatrix {A : Type*} [Ring A] [Algebra k A] [Finite A] (b : Basis (Fin m) k A) |
| 533 | (t : A) : |
| 534 | simClassOf (leftMulMatrix b t).toLin' = simClassOf (mulLeft k t) := by |
| 535 | -- The coordinates in `b` turn multiplication by `t` into its matrix. |
| 536 | have h_coords (x : A) : |
| 537 | b.equivFun (mulLeft k t x) = Matrix.toLin' (leftMulMatrix b t) (b.equivFun x) := by |
| 538 | simp [leftMulMatrix_mulVec_repr] |
| 539 | exact (simClassOf_eq_of_equiv b.equivFun h_coords).symm |
| 540 | |
| 541 | omit [Finite k'] [Finite L] in |
| 542 | /-- Let `b` be a basis of `L` over `k`, and `σ ∈ Gal(k'/k)`. Applying `σ` to the factor `k'` of |
| 543 | `k' ⊗[k] L` applies `σ` to the coordinates in the basis of `k' ⊗[k] L` over `k'` induced by `b`. -/ |
| 544 | private lemma basis_repr_congr_one_apply (b : Basis (Fin m) k L) (σ : Gal(k'/k)) |
| 545 | (x : k' ⊗[k] L) (j : Fin m) : |
| 546 | (basis k' b).repr (Algebra.TensorProduct.congr σ (1 : Gal(L/k)) x) j = |
| 547 | σ ((basis k' b).repr x j) := by |
| 548 | rw [show basis k' b = b.baseChange k' by ext i; simp] |
| 549 | exact (b.map_baseChange_repr σ.toLinearEquiv.toLinearMap x j).symm |
| 550 | |
| 551 | /-- Let `σ ∈ Gal(k'/k)` have fixed field `k` and act on `k' ⊗[k] L` through the factor `k'`. A unit |
| 552 | of `k' ⊗[k] L` is `1 ⊗ y` for a unit `y` of `L` exactly when `σ` fixes it. -/ |
| 553 | private lemma mem_range_unitsMap_includeRight_iff {σ : Gal(k'/k)} (hσ : HasFixedField k σ) |
| 554 | (x : (k' ⊗[k] L)ˣ) : |
| 555 | x ∈ (Units.map (includeRight : L →ₐ[k] k' ⊗[k] L).toRingHom.toMonoidHom).range ↔ |
| 556 | Algebra.TensorProduct.congr σ (1 : Gal(L/k)) x.val = x.val := by |
| 557 | let b := Module.finBasis k L |
| 558 | refine ⟨fun ⟨y, hy⟩ ↦ by simp [← hy], fun hx ↦ ?_⟩ |
| 559 | -- the coordinates of `x` in `basis k' b` are fixed by `σ`, so they lie in `k` |
| 560 | obtain ⟨c, hc⟩ := Classical.axiomOfChoice fun j ↦ |
| 561 | hσ.ge (hx ▸ (basis_repr_congr_one_apply k k' b σ x j).symm) |
| 562 | have h_eq : (1 : k') ⊗ₜ[k] b.equivFun.symm c = x.val := |
| 563 | (basis k' b).ext_elem fun j ↦ by simp [hc, Finsupp.single_apply] |
| 564 | exact ⟨Units.mk0 _ fun h0 ↦ x.ne_zero (by simp [← h_eq, h0]), Units.ext h_eq⟩ |
| 565 | |
| 566 | omit [IsAlgClosed K] in |
| 567 | /-- Let `L` be an extension of `k` of degree `m` with basis `b`. Let `β` be the action of |
| 568 | `Gal(k'/k)` on `(k' ⊗[k] L)ˣ` through the factor `k'`, and let `ρ` map `(k' ⊗[k] L)ˣ ⋊ Gal(k'/k)` to |
| 569 | `GL_m(k') ⋊ Gal(k'/k)` by sending a unit to its multiplication matrix in the basis induced by `b`; |
| 570 | by `h_comp` this map turns `β` into the entrywise action `galActionGL`. Suppose `ϑ` is a character |
| 571 | of `(k' ⊗[k] L)ˣ ⋊ Gal(k'/k)` with `ϑ s = θ (φ u)` whenever `s` lies over some `σ` with fixed field |
| 572 | `k` and `s ^ orderOf σ = u`. Then the induction of `ϑ` along `ρ` descends over `k` to |
| 573 | `(New.Hall.greenCuspidal k θ).mulMoebius`, that is, to `((β_θ·μ) ∗ 𝟙)·μ`, where `μ` is the inverse |
| 574 | of `𝟙` for the induction product: its value at each such `s` equals that class function at |
| 575 | `s ^ orderOf σ ∈ GL_m(k)`. -/ |
| 576 | private lemma descendsTo_induceClassFn_greenCuspidal_mulMoebius [Finite k] (hrank : finrank k L = m) |
| 577 | (φ : k' ⊗[k] L →ₐ[k'] K) (b : Basis (Fin m) k L) {β : Gal(k'/k) →* MulAut (k' ⊗[k] L)ˣ} |
| 578 | (hβ_val : ∀ (τ : Gal(k'/k)) (u : (k' ⊗[k] L)ˣ), |
| 579 | (β τ u : k' ⊗[k] L) = Algebra.TensorProduct.congr τ (1 : Gal(L/k)) u) |
| 580 | (h_comp : ∀ τ : Gal(k'/k), |
| 581 | (Units.map (leftMulMatrix (basis k' b)).toMonoidHom).comp (β τ).toMonoidHom = |
| 582 | (galActionGL k k' (Fin m) τ).toMonoidHom.comp |
| 583 | (Units.map (leftMulMatrix (basis k' b)).toMonoidHom)) |
| 584 | {ρ : (k' ⊗[k] L)ˣ ⋊[β] Gal(k'/k) →* GalSemidirect k k' (Fin m)} |
| 585 | (hρ : ρ = SemidirectProduct.map (Units.map (leftMulMatrix (basis k' b)).toMonoidHom) |
| 586 | (MonoidHom.id Gal(k'/k)) h_comp) |
| 587 | {ϑ : (k' ⊗[k] L)ˣ ⋊[β] Gal(k'/k) → ℂ} (hϑ_char : IsChar ϑ) |
| 588 | (hϑ_descends : ∀ σ : Gal(k'/k), HasFixedField k σ → |
| 589 | DescendsOnCoset rightHom σ inl ϑ fun u : (k' ⊗[k] L)ˣ ↦ θ (φ u.val)) : |
| 590 | DescendsTo (induceClassFn rightHom ρ ϑ) (greenCuspidal k θ).mulMoebius := by |
| 591 | subst hρ |
| 592 | intro σ hσ |
| 593 | let B : Basis (Fin m) k' (k' ⊗[k] L) := basis k' b |
| 594 | let : Fintype (k' ⊗[k] L) := fintypeOfFintype B |
| 595 | -- The units of `k' ⊗[k] L` fixed by `σ` are those of `L`. |
| 596 | let ι : Lˣ →* (k' ⊗[k] L)ˣ := |
| 597 | Units.map (includeRight : L →ₐ[k] k' ⊗[k] L).toRingHom.toMonoidHom |
| 598 | have hfix (x : (k' ⊗[k] L)ˣ) : x ∈ ι.range ↔ β σ x = x := by |
| 599 | simpa [ι, Units.ext_iff, hβ_val] using mem_range_unitsMap_includeRight_iff k k' hσ x |
| 600 | -- Descent commutes with induction (`DescendsOnCoset.induce`), so it remains to see by inner |
| 601 | -- products that `(greenCuspidal k θ).mulMoebius` is induced from `Lˣ`: this is |
| 602 | -- `rankInner_greenCuspidal_mulMoebius`. |
| 603 | obtain ⟨r_GL, hr_GL, -⟩ := exists_isRootChoice_GL (n := Fin m) hσ |
| 604 | -- `σ` acts on the units through a `σ`-semilinear ring map: both sides send `x` to `σ x ⊗ 1` |
| 605 | have hg_semiconj : Function.Semiconj (algebraMap k' (k' ⊗[k] L)) σ |
| 606 | (Algebra.TensorProduct.congr σ (1 : Gal(L/k)) : k' ⊗[k] L →+* k' ⊗[k] L) := fun _ ↦ rfl |
| 607 | obtain ⟨r_units, hr_units, -⟩ := exists_isRootChoice (β := β) |
| 608 | (Algebra.TensorProduct.congr σ (1 : Gal(L/k))) (hβ_val σ) hg_semiconj |
| 609 | (Units.map_injective (RingHom.injective _)) hfix |
| 610 | -- `ρ` sends a unit of `L` to its matrix in the basis `b`, seen over `k'` |
| 611 | have h_comm (y : Lˣ) : |
| 612 | SemidirectProduct.map (Units.map (leftMulMatrix B).toMonoidHom) (MonoidHom.id Gal(k'/k)) |
| 613 | h_comp ((SemidirectProduct.inl.comp ι) y) = |
| 614 | (SemidirectProduct.inl.comp (Matrix.GeneralLinearGroup.map (algebraMap k k'))) |
| 615 | (Units.map (leftMulMatrix b).toMonoidHom y) := by |
| 616 | ext : 1 |
| 617 | · exact Units.ext (Algebra.leftMulMatrix_map b B (algebraMap k k') |
| 618 | (includeRight : L →ₐ[k] k' ⊗[k] L).toRingHom |
| 619 | (fun a ↦ by simp [IsScalarTower.algebraMap_apply k k' (k' ⊗[k] L)]) |
| 620 | (fun i ↦ by simp [B]) y.val) |
| 621 | · rfl |
| 622 | refine .induce hr_GL hϑ_char.isClassFunction (Units.map (leftMulMatrix b).toMonoidHom) h_comm |
| 623 | hr_units (fun s γ ↦ hϑ_descends σ hσ s (ι γ)) isClassFunction_evalGL fun χ hχ ↦ ?_ |
| 624 | obtain ⟨Y, rfl⟩ := exists_eq_evalGL hχ |
| 625 | -- `μ` is real, so it moves to the other side of the inner product |
| 626 | have h_rank_eq : rankInner m (greenCuspidal k θ).mulMoebius Y = |
| 627 | rankInner (finrank k L) (greenCuspidal k θ) Y.mulMoebius := by |
| 628 | rw [← hrank, rankInner_mulMoebius_left] |
| 629 | -- the latter is a mean over `Lˣ` (`rankInner_greenCuspidal_mulMoebius`) |
| 630 | rw [classInner_evalGL, Fintype.card_fin, h_rank_eq, |
| 631 | rankInner_greenCuspidal_mulMoebius θ ((AlgHom.liftEquiv k k' L K).symm φ) Y] |
| 632 | -- the matrix of `z` in `b` has the class of multiplication by `z` |
| 633 | simp [ι, classInner, evalGL, simClassOf_leftMulMatrix] |
| 634 | |
| 635 | omit [IsAlgClosed K] [Algebra k K] [IsScalarTower k k' K] in |
| 636 | /-- Descent over `k'` in `exists_torus_induced_descendsTo`. Let `B` be a `k'`-basis of `k' ⊗[k] L`, |
| 637 | let `β` be the action of `Gal(k'/k)` on `(k' ⊗[k] L)ˣ` through the factor `k'`, and let |
| 638 | `ρ : (k' ⊗[k] L)ˣ ⋊ Gal(k'/k) → GL_m(k') ⋊ Gal(k'/k)` send a unit to its matrix in `B`. If `ϑ` is a |
| 639 | character with `ϑ(s) = ∏_τ θ(φ(τ s₁))`, where `s₁` is the unit part of `s`, then the class function |
| 640 | induced from `ϑ` along `ρ` over `Gal(k'/k)` satisfies `DescendsTo` (equals `X` on `GL_m(k')`) for |
| 641 | every `X : Hall k'` whose rank-`m` inner product with every `Y` is the mean over units `t` of |
| 642 | `conj θ(φ(∏_τ τ t))` times `Y` at the class of multiplication by `t`. -/ |
| 643 | private lemma descendsTo_induceClassFn_of_rankInner_eq (φ : k' ⊗[k] L →ₐ[k'] K) |
| 644 | (B : Basis (Fin m) k' (k' ⊗[k] L)) {β : Gal(k'/k) →* MulAut (k' ⊗[k] L)ˣ} |
| 645 | (hβ_val : ∀ (τ : Gal(k'/k)) (u : (k' ⊗[k] L)ˣ), |
| 646 | (β τ u : k' ⊗[k] L) = Algebra.TensorProduct.congr τ (1 : Gal(L/k)) u) |
| 647 | (h_comp : ∀ τ : Gal(k'/k), |
| 648 | (Units.map (leftMulMatrix B).toMonoidHom).comp (β τ).toMonoidHom = |
| 649 | (galActionGL k k' (Fin m) τ).toMonoidHom.comp (Units.map (leftMulMatrix B).toMonoidHom)) |
| 650 | {ρ : (k' ⊗[k] L)ˣ ⋊[β] Gal(k'/k) →* GalSemidirect k k' (Fin m)} |
| 651 | (hρ : ρ = SemidirectProduct.map (Units.map (leftMulMatrix B).toMonoidHom) |
| 652 | (MonoidHom.id Gal(k'/k)) h_comp) |
| 653 | {ϑ : (k' ⊗[k] L)ˣ ⋊[β] Gal(k'/k) → ℂ} (hϑ_char : IsChar ϑ) |
| 654 | (hϑ_eq_prod : ∀ s : (k' ⊗[k] L)ˣ ⋊[β] Gal(k'/k), ϑ s = ∏ τ : Gal(k'/k), θ (φ (β τ s.left))) |
| 655 | (X : Hall k') |
| 656 | (hX : ∀ Y : Hall k', |
| 657 | rankInner m X Y = |
| 658 | finMean fun t : (k' ⊗[k] L)ˣ ↦ |
| 659 | conj (θ (φ (∏ τ : Gal(k'/k), |
| 660 | Algebra.TensorProduct.map τ.toAlgHom (AlgHom.id k L) t.val))) * |
| 661 | Y (simClassOf (mulLeft k' t.val))) : |
| 662 | DescendsTo (induceClassFn rightHom ρ ϑ) X := by |
| 663 | let : Fintype (k' ⊗[k] L) := fintypeOfFintype B |
| 664 | -- Here `σ = 1`, and every unit of `k' ⊗[k] L` is its own root. |
| 665 | intro σ hσ |
| 666 | obtain rfl := (hasFixedField_self_iff σ).mp hσ |
| 667 | obtain ⟨r_GL, hr_GL, -⟩ := exists_isRootChoice_GL (n := Fin m) hσ |
| 668 | have hr_units : IsRootChoice (rightHom.comp ρ) 1 inl inl := |
| 669 | { injective := inl_injective |
| 670 | -- `inl γ` lies over `1`, whose order is one |
| 671 | map_apply := by simp [hρ] |
| 672 | pow_orderOf := by simp |
| 673 | map_conj := by simp [← map_inv, ← map_mul] |
| 674 | -- the kernel of `rightHom` is the image of `inl` |
| 675 | mem_range_of_conj := by simp +contextual [hρ, range_inl_eq_ker_rightHom] } |
| 676 | have h_comm (t : (k' ⊗[k] L)ˣ) : |
| 677 | ρ (inl t) = (SemidirectProduct.inl.comp (Matrix.GeneralLinearGroup.map (algebraMap k' k'))) |
| 678 | (t.map (leftMulMatrix B)) := by simp [hρ] |
| 679 | have h_lift : DescendsOnCoset (rightHom.comp ρ) 1 inl ϑ (ϑ ∘ inl) := by simp_all [DescendsOnCoset] |
| 680 | -- Descent commutes with induction; the inner products with class functions are those of `hX`. |
| 681 | refine .induce hr_GL hϑ_char.isClassFunction (fun t ↦ t.map (leftMulMatrix B)) h_comm hr_units |
| 682 | h_lift isClassFunction_evalGL fun χ hχ ↦ ?_ |
| 683 | obtain ⟨Y, rfl⟩ := exists_eq_evalGL hχ |
| 684 | have h_summand (t : (k' ⊗[k] L)ˣ) : |
| 685 | ϑ (inl t) = |
| 686 | θ (φ (∏ τ : Gal(k'/k), Algebra.TensorProduct.map τ.toAlgHom (AlgHom.id k L) t.val)) := by |
| 687 | aesop (add simp [hϑ_eq_prod, hβ_val, map_prod]) |
| 688 | rw [classInner_evalGL, Fintype.card_fin, hX Y] |
| 689 | -- the matrix of `t` in `B` has the class of multiplication by `t` |
| 690 | simp [classInner, evalGL, simClassOf_leftMulMatrix, h_summand] |
| 691 | |
| 692 | variable [Finite k] |
| 693 | |
| 694 | omit [IsAlgClosed K] in |
| 695 | /-- Let `k ⊆ k'` be finite fields, `K` a field over `k'` with a multiplicative character `θ`, `L` an |
| 696 | extension of `k` of degree `m`, and `φ : k' ⊗[k] L → K` a `k'`-algebra map. (a) There is a character |
| 697 | `Φ` of `GL_m(k') ⋊ Gal(k'/k)` that (b) descends over `k` to `C_θ·μ`, and (c) descends over `k'` to |
| 698 | every `X : Hall k'` whose rank-`m` inner product with every `Y` is the mean over `t ∈ (k' ⊗[k] L)ˣ` |
| 699 | of `conj θ(φ(∏_τ τ t))` times `Y` at the class of multiplication by `t`. Here |
| 700 | `C_θ = greenCuspidal k θ = (β_θ·μ) ∗ 1`, `μ` is the inverse of the constant function 1 for parabolic |
| 701 | induction, `τ ∈ Gal(k'/k)` acts on the factor `k'`, and `DescendsTo Φ X` means `Φ(s) = X(s^{ord σ})` |
| 702 | whenever `s` lies over a `σ` whose fixed field is the field of `X`. -/ |
| 703 | lemma exists_torus_induced_descendsTo (hrank : finrank k L = m) (φ : k' ⊗[k] L →ₐ[k'] K) : |
| 704 | ∃ Φ : GalSemidirect k k' (Fin m) → ℂ, |
| 705 | -- (a) |
| 706 | IsChar Φ ∧ |
| 707 | -- (b) |
| 708 | DescendsTo Φ (greenCuspidal k θ).mulMoebius ∧ |
| 709 | -- (c) |
| 710 | ∀ X : Hall k', |
| 711 | (∀ Y : Hall k', |
| 712 | rankInner m X Y = |
| 713 | finMean fun t : (k' ⊗[k] L)ˣ ↦ |
| 714 | conj (θ (φ (∏ τ : Gal(k'/k), |
| 715 | Algebra.TensorProduct.map τ.toAlgHom (AlgHom.id k L) t.val))) * |
| 716 | Y (simClassOf (mulLeft k' t.val))) → |
| 717 | DescendsTo Φ X := by |
| 718 | -- A basis of `L` embeds `Aˣ ⋊ Gal(k'/k)`, `A = k' ⊗ L`, in `GalSemidirect` (the map `ρ`); |
| 719 | -- induce from there the character `ϑ (a, σ) = ∏ τ, θ (φ (τ a))`. |
| 720 | let b : Basis (Fin m) k L := finBasisOfFinrankEq k L hrank |
| 721 | let B : Basis (Fin m) k' (k' ⊗[k] L) := basis k' b |
| 722 | let : Fintype (k' ⊗[k] L) := fintypeOfFintype B |
| 723 | -- `σ` acts on `A` through the first factor, hence on coordinates in the basis `B` |
| 724 | let g (σ : Gal(k'/k)) : k' ⊗[k] L ≃ₐ[k] k' ⊗[k] L := Algebra.TensorProduct.congr σ (1 : Gal(L/k)) |
| 725 | have hrepr (σ : Gal(k'/k)) (x : k' ⊗[k] L) (j : Fin m) : B.repr (g σ x) j = σ (B.repr x j) := |
| 726 | basis_repr_congr_one_apply k k' b σ x j |
| 727 | let β : Gal(k'/k) →* MulAut (k' ⊗[k] L)ˣ := |
| 728 | .mk' (fun σ ↦ Units.mapEquiv (g σ).toMulEquiv) (by aesop (add simp B.ext_elem_iff)) |
| 729 | -- the matrix of `g σ x` in `B` is the matrix of `x` with `σ` applied to its entries |
| 730 | have hβ_matrix (σ : Gal(k'/k)) : |
| 731 | (Units.map (leftMulMatrix B).toMonoidHom).comp (β σ).toMonoidHom = |
| 732 | (galActionGL k k' (Fin m) σ).toMonoidHom.comp |
| 733 | (Units.map (leftMulMatrix B).toMonoidHom) := by |
| 734 | ext u : 1 |
| 735 | exact Units.ext (Algebra.leftMulMatrix_map B B σ.toRingHom (g σ).toRingHom |
| 736 | (fun _ ↦ rfl) (fun j ↦ by simp [B, g]) u.val) |
| 737 | let ρ : (k' ⊗[k] L)ˣ ⋊[β] Gal(k'/k) →* GalSemidirect k k' (Fin m) := |
| 738 | map (Units.map (leftMulMatrix B).toMonoidHom) (MonoidHom.id Gal(k'/k)) hβ_matrix |
| 739 | obtain ⟨ϑ, hϑ_char, hϑ_eq_prod, hϑ_descends⟩ := exists_norm_char_semidirect β (θ.comp φ) |
| 740 | have hΦ_char : IsChar (induceClassFn rightHom ρ ϑ) := |
| 741 | isChar_of_mem_virtualChars |
| 742 | (induceClassFn_mem_virtualChars rightHom_surjective hϑ_char.mem_virtualChars) |
| 743 | have hβ_val (τ : Gal(k'/k)) (u : (k' ⊗[k] L)ˣ) : (β τ u : k' ⊗[k] L) = g τ u := rfl |
| 744 | refine ⟨induceClassFn rightHom ρ ϑ, hΦ_char, ?_, fun X hX ↦ ?_⟩ |
| 745 | · exact descendsTo_induceClassFn_greenCuspidal_mulMoebius k k' θ hrank φ b hβ_val hβ_matrix rfl |
| 746 | hϑ_char hϑ_descends |
| 747 | · exact descendsTo_induceClassFn_of_rankInner_eq k k' θ φ B hβ_val hβ_matrix rfl |
| 748 | hϑ_char hϑ_eq_prod X hX |
| 749 | |
| 750 | omit [IsAlgClosed K] [Algebra k' K] [IsScalarTower k k' K] in |
| 751 | /-- Let `I` lift `(greenCuspidal k θ).mulMoebius` over `ℤ`. Then for every `N` there are class |
| 752 | functions `J : Hall k` and `J' : Hall k'` such that `J'` lifts `J` over `ℤ` and |
| 753 | `greenCuspidal k θ + J` vanishes on the similarity classes of dimension less than `N`. -/ |
| 754 | private lemma exists_lift_greenCuspidal_add_eq_zero {I : Hall k'} |
| 755 | (hI : Lift ℤ (greenCuspidal k θ).mulMoebius I) (N : ℕ) : |
| 756 | ∃ (J : Hall k) (J' : Hall k'), |
| 757 | Lift ℤ J J' ∧ ∀ c : SimClass k, c.dim < N → (greenCuspidal k θ + J : Hall k) c = 0 := by |
| 758 | induction N with |
| 759 | | zero => exact ⟨constOne, constOne, .lift_constOne, nofun⟩ |
| 760 | | succ N ih => |
| 761 | obtain ⟨J, J', hJ, hJ_vanish⟩ := ih |
| 762 | refine ⟨((greenCuspidal k θ).mulMoebius - (J * constOne - J).mulMoebius) * constOne, |
| 763 | (I - (J' * constOne - J').mulMoebius) * constOne, |
| 764 | (hI.sub ((hJ.mul .lift_constOne).sub hJ).mulMoebius).mul .lift_constOne, ?_⟩ |
| 765 | -- `(greenCuspidal k θ + J) * (1 - constOne)` vanishes one dimension further, and |
| 766 | -- `greenCuspidal k θ * constOne = -brauerLift k θ`. |
| 767 | nth_rw 1 [greenCuspidal, ← add_mul] |
| 768 | refine Hall.mul_apply_eq_zero_of_dim_lt (n := 0) (fun c hc ↦ ?_) nofun |
| 769 | have h0 : ((greenCuspidal k θ + J) * (1 - constOne) ^ 1 : Hall k) c = 0 := |
| 770 | Hall.mul_apply_eq_zero_of_dim_lt hJ_vanish (one_sub_constOne_pow_apply_eq_zero 1) c hc |
| 771 | rw [pow_one, mul_sub, mul_one, add_mul, greenCuspidal_mul_constOne] at h0 |
| 772 | simp only [sub_eq_add_neg, Hall.add_apply, Hall.neg_apply, mulMoebius] at h0 ⊢ |
| 773 | linear_combination moebius c * h0 |
| 774 | |
| 775 | /-- For a multiplicative character `θ` of `K`, let `β_θ = New.Hall.brauerLift k θ` send a matrix |
| 776 | over `k` to the sum of `θ` over the roots of its characteristic polynomial, with multiplicity. Then |
| 777 | some class function `B : Hall k'` lifts `β_θ` over `ℤ` (`New.Lift`). That is, for each `m` one |
| 778 | ℤ-combination of characters of `GL_m(k') ⋊ Gal(k'/k)` descends to both. -/ |
| 779 | lemma exists_lift_brauerLift : ∃ B : Hall k', Lift ℤ (brauerLift k θ) B := by |
| 780 | -- `(greenCuspidal k θ).mulMoebius` has a lift `I` by `exists_torus_induced_descendsTo`. |
| 781 | obtain ⟨I, hI⟩ : ∃ I : Hall k', Lift ℤ (greenCuspidal k θ).mulMoebius I := |
| 782 | Lift.exists_lift_of_descendsTo fun |
| 783 | | 0 => ⟨0, zero_mem _, |
| 784 | by simp [greenCuspidal_eq_zero_of_dim_lt_one, DescendsTo, DescendsOnCoset, evalGL]⟩ |
| 785 | | m + 1 => |
| 786 | let ⟨Φ, hΦ, hΦ_desc, _⟩ := exists_torus_induced_descendsTo k k' θ |
| 787 | (finrank_extension k (ringChar k) (m + 1)) (AlgHom.liftEquiv k k' _ K IsAlgClosed.lift) |
| 788 | ⟨Φ, hΦ.mem_virtualChars, hΦ_desc⟩ |
| 789 | -- Recursion on the dimension: liftable `J` that agree with `-greenCuspidal k θ` below `N`. |
| 790 | have h_approx (N : ℕ) : ∃ (J : Hall k) (J' : Hall k'), |
| 791 | Lift ℤ J J' ∧ ∀ c : SimClass k, c.dim < N → (greenCuspidal k θ + J : Hall k) c = 0 := |
| 792 | exists_lift_greenCuspidal_add_eq_zero k k' θ hI N |
| 793 | obtain ⟨C, hC⟩ : ∃ C : Hall k', Lift ℤ (-greenCuspidal k θ) C := |
| 794 | Lift.exists_lift_of_descendsTo fun m ↦ by |
| 795 | obtain ⟨J, _, hJ, hJ0⟩ := h_approx (m + 1) |
| 796 | obtain ⟨Φ, hΦ, hΦ_J, -⟩ := hJ m |
| 797 | refine ⟨Φ, hΦ, fun σ hσ s γ hs hγ ↦ (hΦ_J σ hσ s γ hs hγ).trans ?_⟩ |
| 798 | have h0 := hJ0 (simClassOf (Matrix.toLin' γ.val)) (by simp) |
| 799 | simp only [Hall.evalGL, Hall.add_apply, Hall.neg_apply] at h0 ⊢ |
| 800 | linear_combination h0 |
| 801 | exact ⟨C * constOne, by |
| 802 | simpa only [neg_mul, greenCuspidal_mul_constOne, neg_neg] using hC.mul .lift_constOne⟩ |
| 803 | |
| 804 | end GreenLift |
| 805 | |
| 806 | end New |