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

| 1 | module |
| 2 | |
| 3 | import Mathlib.Algebra.GroupWithZero.Submonoid.CancelMulZero |
| 4 | import Mathlib.Algebra.Order.Star.Int |
| 5 | import Mathlib.FieldTheory.Finite.Extension |
| 6 | import Mathlib.RingTheory.PicardGroup |
| 7 | public import Lib.LocalGL.Green.TauFunctions |
| 8 | public import Lib.LocalGL.Shintani.CosetDescent |
| 9 | import Lib.General.NumberTheory.FrobeniusOrbits |
| 10 | import Lib.LocalGL.Green.CuspidalFunctions |
| 11 | import Lib.LocalGL.Green.LabelCharacters |
| 12 | |
| 13 | /-! |
| 14 | # Shintani lifting of Green's characters along extensions of prime degree |
| 15 | |
| 16 | For an extension `k'/k` of finite fields of prime degree, the file shows that Green's characters of |
| 17 | `GL_m` lift from `k` to `k'` by true characters. `New.Hall k` is the ring of complex functions on |
| 18 | similarity classes of square matrices over `k` of all sizes, with parabolic induction as product, |
| 19 | and μ is the inverse of the constant function 1 in it. For a label `c` (monic, squarefree, |
| 20 | `c(0) ≠ 0`), `New.labelChar T c` is the product Ξ_c of Green's functions `New.greenTau T P` over the |
| 21 | irreducible factors `P` of `c`. `thetaChar T q x` is a character of `K` attached to `x` and a field |
| 22 | size `q`; for `x` in `k`, `thetaChar T |k| x` at the norm from `k'` is `thetaChar T |k'| x`. |
| 23 | `New.Lift Z F F'` says that in each rank `m` one `Z`-combination of characters of |
| 24 | `GL_m(k') ⋊ Gal(k'/k)` restricts to `F'` on `GL_m(k')` and is `F` of the norm on the cosets of the |
| 25 | `σ` with fixed field `k` (`New.DescendsTo Φ F` for `F` over `k`; for `F'` over `k'`, |
| 26 | `DescendsTo Φ F'` means `Φ ∘ inl = F'.evalGL`). |
| 27 | |
| 28 | ## Main definitions and results |
| 29 | |
| 30 | * `New.sum_evalGL_prod_eq_zero_iff`: the element `∑ conj (χ g) g` of a parabolically induced |
| 31 | character `χ` kills a vector `v` if and only if the corresponding sum over the block upper |
| 32 | triangular matrices kills all translates of `v`. |
| 33 | * `New.exists_isChar_descendsTo_labelChar`: let `P` be irreducible of degree `r = [L : k]`, a label |
| 34 | (`IsLabel r P`), with a root `x`. Then one character of `GL_r(k') ⋊ Gal(k'/k)` descends both to |
| 35 | the cuspidal function of `θ_x` times `μ` and to `(-1) ^ r Ξ_P μ` over `k'`. This is used to lift |
| 36 | `Ξ_P` from `k` to `k'`. |
| 37 | * `New.lift_detChar`: the lift of `χ ∘ det`. |
| 38 | * `New.DescendsTo.card_mul_classInner`: the inner product of two lifts in terms of the inner |
| 39 | products over `k'` and over `k`. |
| 40 | * `New.shintani_lift_labelChar`: the lift by true characters for any label (`New.IsLabel`: monic, |
| 41 | squarefree, non-zero constant term). |
| 42 | |
| 43 | Notions from other files: |
| 44 | * `New.Hall.evalGL`: for `F : Hall k` and `g : GL n k`, the value of `F` at the similarity class of |
| 45 | the endomorphism of `n → k` given by `g`. |
| 46 | * `New.blockHom b a`: the homomorphism sending a block upper triangular invertible matrix (for the |
| 47 | level function `b`) to its diagonal block of level `a`. |
| 48 | * `New.classInner f h`: the inner product of complex functions on a finite set, the average of |
| 49 | `conj (f g) * h g`; `New.Hall.rankInner n F H` is the same over `GL_n(k)` for functions on |
| 50 | classes, `F.mulMoebius` is `F` times `μ`, and `New.finMean f` is the average of `f` over a finite |
| 51 | type. |
| 52 | |
| 53 | ## Relation to the literature |
| 54 | |
| 55 | Known result: Shintani lifting of characters of GL_n(F_q) to an extension field, with the lift |
| 56 | identified for Green's characters. Here the degree is prime, and only Green's characters with |
| 57 | squarefree labels and characters of the determinant are treated. For these, one character of the |
| 58 | semidirect product with the Galois group is the lifted character on GL_n(k'), and on the cosets of |
| 59 | the σ with fixed field k it is the original character at the norm; no bijection of characters is |
| 60 | given. Source: T. Shintani, J. Math. Soc. Japan 28 (1976) 396-414; A. Silberger and E.-W. Zink, J. |
| 61 | Algebra 319 (2008) 4147-4176, Thm 5.1; for tensor induction, Gluck-Isaacs, Illinois J. Math. 27 |
| 62 | (1983). |
| 63 | |
| 64 | See also `Lib.LocalGL.Green.TauFunctions`. |
| 65 | -/ |
| 66 | |
| 67 | @[expose] public section |
| 68 | |
| 69 | /-! |
| 70 | ## Frobenius reciprocity for parabolically induced characters |
| 71 | |
| 72 | A criterion for the element `∑ conj (χ g) g` of a parabolically induced character `χ` to kill a |
| 73 | vector, in terms of the sum over the block upper triangular matrices. |
| 74 | -/ |
| 75 | |
| 76 | namespace New |
| 77 | |
| 78 | open MonoidAlgebra Representation Finset Fintype Matrix |
| 79 | |
| 80 | attribute [local instance low] Fintype.ofFinite |
| 81 | |
| 82 | variable {k n V ι : Type*} [Field k] [Fintype n] [DecidableEq n] [AddCommGroup V] [Module ℂ V] |
| 83 | |
| 84 | /-- Let each `F a` be a character in every size (`hF`: the lift from `k` to itself makes each |
| 85 | `(F a).evalGL` an `ℕ`-combination of characters), and let the operators `A g` act on `v` like a |
| 86 | representation of `GL n k` (`hA_mul`). Let `χ` be the induction product of the `F a`, each cut down |
| 87 | to the size of the block of level `a`. Then `∑ g, conj (χ g) • A g v = 0` if and only if, for all |
| 88 | `y`, the sum of `conj (∏ a, F a (p_a)) • A (p * y) v` over the block upper triangular `p` with |
| 89 | diagonal blocks `p_a` vanishes. -/ |
| 90 | lemma sum_evalGL_prod_eq_zero_iff [Finite k] |
| 91 | [LinearOrder ι] (b : n → ι) [Fintype ι] {F : ι → Hall k} |
| 92 | (hF : ∀ a : ι, Lift ℕ (F a) (F a)) (A : GL n k → Module.End ℂ V) {v : V} |
| 93 | (hA_mul : ∀ g x : GL n k, A g (A x v) = A (g * x) v) : |
| 94 | ∑ᶠ g : GL n k, |
| 95 | star ((∏ a : ι, (F a).rankPart (Fintype.card {i // b i = a})).evalGL g) • A g v = 0 ↔ |
| 96 | ∀ y : GL n k, |
| 97 | ∑ᶠ p : parabolic b, star (∏ a : ι, (F a).evalGL (blockHom b a p)) • A (p * y) v = 0 := by |
| 98 | -- Let `ρ` be the representation of `GL n k` on `ℂ[GL n k] / ker L`, `L g = A g v`. Each side says |
| 99 | -- that a character is orthogonal to that of `ρ`, and Frobenius reciprocity matches the two. |
| 100 | let L : MonoidAlgebra ℂ (GL n k) →ₗ[ℂ] V := |
| 101 | Finsupp.linearCombination ℂ (fun g ↦ A g v) ∘ₗ (coeffLinearEquiv ℂ).toLinearMap |
| 102 | have h_ker (g : GL n k) : L.ker ≤ L.ker.comap (leftRegular ℂ (GL n k) g) := by |
| 103 | have h_comm : A g ∘ₗ L = L ∘ₗ leftRegular ℂ (GL n k) g := by aesop |
| 104 | grw [← LinearMap.ker_comp, ← h_comm, ← L.ker_le_ker_comp (A g)] |
| 105 | let ρ : Representation ℂ (GL n k) (MonoidAlgebra ℂ (GL n k) ⧸ L.ker) := |
| 106 | (leftRegular ℂ (GL n k)).quotient L.ker h_ker |
| 107 | set χ : GL n k → ℂ := (∏ a, (F a).rankPart (card {i // b i = a})).evalGL |
| 108 | let κ : parabolic b → ℂ := ∏ a, (F a).evalGL ∘ blockHom b a |
| 109 | -- `Lift ℕ` is closed under `rankPart` and products, and `Lift ℕ F F` makes `F.evalGL` an |
| 110 | -- `ℕ`-combination of characters. |
| 111 | have hχ : IsChar χ := isChar_of_mem_virtualChars (Lift.evalGL_mem_virtualChars |
| 112 | (univ.prod_hom_rel .one fun a _ _ ↦ .mul (.rankPart_of_hasCommonLift (hF a _)))) |
| 113 | have hκ : IsChar κ := isChar_of_mem_virtualChars |
| 114 | (prod_mem fun a _ ↦ comp_mem_virtualChars (hF a).evalGL_mem_virtualChars (blockHom b a)) |
| 115 | have h_frob : classInner χ ρ.character = classInner κ (character (ρ.domRestrict (parabolic b))) := |
| 116 | classInner_evalGL_prod b F (fun i ↦ mem_univ (b i)) _ ρ.char_conj |
| 117 | -- `∑ conj (χ g) g` acts as zero in a representation iff `χ` is orthogonal to its character. |
| 118 | have h_kill : ρ.asAlgebraHom (groupAlgElem (starRingEnd ℂ ∘ χ)) = 0 ↔ |
| 119 | asAlgebraHom (ρ.domRestrict (parabolic b)) (groupAlgElem (starRingEnd ℂ ∘ κ)) = 0 := by |
| 120 | rw [hχ.asAlgebraHom_groupAlgElem_eq_zero_iff, hκ.asAlgebraHom_groupAlgElem_eq_zero_iff, h_frob] |
| 121 | -- An element of the group algebra acts as zero in `ρ` iff it kills the class of every `y`. |
| 122 | have h_iff : (∀ y, ∑ᶠ g, star (χ g) • A (g * y) v = 0) ↔ |
| 123 | ∀ y, ∑ᶠ p : parabolic b, star (∏ a, (F a).evalGL (blockHom b a p)) • A (p * y) v = 0 := by |
| 124 | simpa [L, ρ, κ, Submodule.linearMap_qext_iff, MonoidAlgebra.lhom_ext'_iff, Subtype.ext_iff, |
| 125 | LinearMap.ext_ring_iff, ← L.quotKerEquivRange.map_eq_zero_iff, asAlgebraHom_eq_sum, |
| 126 | finsum_eq_sum_of_fintype] |
| 127 | using h_kill |
| 128 | refine Iff.trans ⟨fun h_one y ↦ ?_, fun h_all ↦ ?_⟩ h_iff |
| 129 | · -- As `χ` is a class function, the case `y = 1` gives all `y`: apply `A y` and conjugate by |
| 130 | -- `y`. |
| 131 | have h_apply : A y (∑ᶠ g : GL n k, star (χ g) • A g v) = A y 0 := congrArg (A y) h_one |
| 132 | rw [finsum_eq_sum_of_fintype, ← (MulAut.conj y).sum_comp] |
| 133 | simpa [hA_mul, hχ.isClassFunction, finsum_eq_sum_of_fintype] using h_apply |
| 134 | · -- the case `y = 1` of the right side is the left side |
| 135 | simpa using h_all 1 |
| 136 | |
| 137 | @[simp] |
| 138 | lemma evalGL_detChar (χ : MulChar k ℂ) (g : GL n k) : (detChar χ).evalGL g = χ g.val.det := by |
| 139 | simp [Hall.evalGL, detChar, det_eq_sign_charpoly_coeff] |
| 140 | |
| 141 | end New |
| 142 | |
| 143 | /-! ## A Galois-twisted character descending to Green's functions -/ |
| 144 | |
| 145 | section TorusLift |
| 146 | |
| 147 | namespace New |
| 148 | |
| 149 | open Polynomial Module Finset Hall ComplexConjugate LinearMap Algebra TensorProduct |
| 150 | FiniteField Function Fin IntermediateField IsGalois Units minpoly Nat |
| 151 | |
| 152 | attribute [local instance low] Fintype.ofFinite |
| 153 | |
| 154 | variable {k L K : Type*} {r : ℕ} |
| 155 | (k' : Type*) [Field k] [Field k'] [Algebra k k'] [Finite k] [Finite k'] [Field L] |
| 156 | [Algebra k L] [Field K] [Algebra k K] [Algebra k' K] [IsScalarTower k k' K] |
| 157 | (T : MulChar K ℂ) {P : k[X]} {x : K} |
| 158 | |
| 159 | omit [IsScalarTower k k' K] in |
| 160 | /-- Let irreducible polynomials `S` over `k'` and `P` over `k` have a common root `z`. Then |
| 161 | `deg S ∣ n ↔ deg P ∣ [k' : k] * n`, as both sides say that `z ^ |k'| ^ n = z`. -/ |
| 162 | lemma natDegree_dvd_iff_of_common_root (hP : Irreducible P) {S : k'[X]} (hS : Irreducible S) |
| 163 | {z : K} (hzS : Polynomial.aeval z S = 0) (hzP : Polynomial.aeval z P = 0) (n : ℕ) : |
| 164 | S.natDegree ∣ n ↔ P.natDegree ∣ finrank k k' * n := by |
| 165 | rw [← root_pow_card_pow_eq_self_iff hS hzS, ← root_pow_card_pow_eq_self_iff hP hzP, Nat.pow_mul, |
| 166 | ← natCard_eq_pow_finrank (K := k) (V := k')] |
| 167 | |
| 168 | /-- Let `P` be irreducible over `k` with root `x`, and let the label `c` (monic, squarefree, nonzero |
| 169 | constant term) of degree `n` over `k'` divide `P`. For some `a j` (`j < b`): (a) each root of `c` is |
| 170 | `k'`-conjugate to some `x ^ |k| ^ a j` with `a j < deg P`; (b) `b * [k'(x) : k'] = n`; (c) for each |
| 171 | class function `B` over `k'`, `(-1) ^ n` times the `GL_n(k')`-mean of |
| 172 | `conj (labelChar T c) * mulMoebius B` equals the mean over units `u` of `k'(x) ^ b` of `B` at |
| 173 | multiplication by `u` times `∏ j, conj` of the `thetaChar` of `x ^ |k| ^ a j` at `u j`. Here |
| 174 | `labelChar` is the product of Green's `τ_Q` over the factors `Q` of `c`, and |
| 175 | `mulMoebius B = B · μ`. -/ |
| 176 | lemma exists_rankInner_labelChar_eq_finMean (hP : Irreducible P) (hx : Polynomial.aeval x P = 0) |
| 177 | (hx_int : IsIntegral k' x) [FiniteDimensional k' k'⟮x⟯] [Finite k'⟮x⟯] {n : ℕ} {c : k'[X]} |
| 178 | [IsFaithfulMulChar K T] (hc : IsLabel n c) (h_dvd : c ∣ P.map (algebraMap k k')) : |
| 179 | ∃ b : ℕ, ∃ a : Fin b → ℕ, |
| 180 | -- (a) the roots |
| 181 | (∀ z : K, Polynomial.aeval z c = 0 → ∃ j : Fin b, ∃ v < finrank k' k'⟮x⟯, |
| 182 | a j < P.natDegree ∧ z ^ Nat.card k' ^ v = x ^ Nat.card k ^ a j) ∧ |
| 183 | -- (b) the degree |
| 184 | b * finrank k' k'⟮x⟯ = n ∧ |
| 185 | -- (c) the pairing |
| 186 | ∀ B : Hall k', |
| 187 | (-1) ^ n * rankInner n (labelChar T c) (mulMoebius B) = |
| 188 | finMean fun u : Fin b → k'⟮x⟯ˣ ↦ |
| 189 | (∏ j : Fin b, conj (thetaChar T (Nat.card k'⟮x⟯) (x ^ Nat.card k ^ a j) (u j))) * |
| 190 | B (simClassOf (LinearMap.mulLeft k' fun j : Fin b ↦ (u j).val)) := by |
| 191 | -- Induction on the number of irreducible factors of `c`. |
| 192 | revert h_dvd |
| 193 | refine hc.induction_irreducible_mul K (fun _ ↦ ?_) |
| 194 | fun S m c z hS_monic hS hS_zero hzS ih h_dvd ↦ ?_ |
| 195 | · -- `b = 0`: both sides are `B` at the class of dimension `0` (naming `b` first keeps `simp` |
| 196 | -- from trying `eq_simClassOf_zero_of_dim_eq_zero` on classes of unknown dimension). |
| 197 | refine ⟨0, Fin.elim0, by simp, zero_mul _, fun B ↦ ?_⟩ |
| 198 | simp [eq_simClassOf_zero_of_dim_eq_zero, finMean, univ_eq_empty, rankInner, |
| 199 | finsum_eq_sum_of_fintype, mulMoebius, finrank_pi_fintype] |
| 200 | -- The new factor `S` has a root `x ^ |k| ^ e`, and its degree is `[k'(x) : k']`. |
| 201 | have hzP : Polynomial.aeval z P = 0 := by simpa [hzS] using map_dvd (aeval z) h_dvd |
| 202 | have degree_eq : S.natDegree = finrank k' k'⟮x⟯ := by |
| 203 | rw [adjoin.finrank hx_int, natDegree_eq_div_gcd_of_common_root k' hP hS hzP hzS, |
| 204 | natDegree_eq_div_gcd_of_common_root k' hP (irreducible hx_int) hx (minpoly.aeval k' x)] |
| 205 | obtain ⟨e, he, rfl⟩ : ∃ e < P.natDegree, x ^ Nat.card k ^ e = z := |
| 206 | exists_pow_card_pow_eq_of_root hP hx hzP |
| 207 | -- the statement for `c`, by induction |
| 208 | obtain ⟨b, a, roots, rfl, h_avg⟩ := ih (dvd_of_mul_left_dvd h_dvd) |
| 209 | refine ⟨b + 1, cons e a, ?_, by rw [degree_eq, Nat.add_one_mul, add_comm], fun B ↦ ?_⟩ |
| 210 | · -- A root of `S * c` is a root of `S`, and then conjugate to `x ^ |k| ^ e`, or a root of `c`. |
| 211 | suffices h_roots : ∀ z : K, Polynomial.aeval z S = 0 ∨ Polynomial.aeval z c = 0 → |
| 212 | (∃ v < finrank k' k'⟮x⟯, e < P.natDegree ∧ z ^ Nat.card k' ^ v = x ^ Nat.card k ^ e) ∨ |
| 213 | ∃ i : Fin b, ∃ v < finrank k' k'⟮x⟯, |
| 214 | a i < P.natDegree ∧ z ^ Nat.card k' ^ v = x ^ Nat.card k ^ a i by |
| 215 | simpa [exists_fin_succ] using h_roots |
| 216 | rintro z (hz | hz) |
| 217 | · obtain ⟨v, hv, h_conj⟩ := exists_pow_card_pow_eq_of_root hS hz hzS |
| 218 | exact .inl ⟨v, degree_eq ▸ hv, he, h_conj⟩ |
| 219 | · exact .inr (roots z hz) |
| 220 | -- Removing the factor `greenTau T S` replaces `B` by `B'`: up to sign, `B' o` is the mean over |
| 221 | -- `z` in `k'(x)ˣ` of `conj (θ z)` times `B` at the direct sum of `o` and multiplication by `z`. |
| 222 | -- (`Nat.card` in the exponent and `LinearMap.mulLeft` are written in full here and below: `.card` |
| 223 | -- there and the overloaded `mulLeft` (also `Units.mulLeft`) are slow to elaborate.) |
| 224 | let θ : MulChar K ℂ := thetaChar T (.card k'⟮x⟯) (x ^ Nat.card k ^ e) |
| 225 | let B' : Hall k' := fun o ↦ (-1) ^ finrank k' k'⟮x⟯ * finMean fun z : k'⟮x⟯ˣ ↦ |
| 226 | conj (θ (k'⟮x⟯.val z.val)) * |
| 227 | B (simClassOf ((simClassOf (LinearMap.mulLeft k' z.val)).out.2.prodMap o.out.2)) |
| 228 | have h_skew : skew (finrank k' k'⟮x⟯) (greenTau T S) (mulMoebius B) = mulMoebius B' := by |
| 229 | -- `greenTau T S` is Green's function of `θ` up to sign, and |
| 230 | -- `rankInner_greenCuspidal_mulMoebius` computes its pairing. |
| 231 | funext o |
| 232 | simp only [mulMoebius, B'] |
| 233 | rw [← rankInner_greenCuspidal_mulMoebius θ k'⟮x⟯.val fun o' ↦ |
| 234 | B (simClassOf (o'.out.2.prodMap o.out.2))] |
| 235 | simp [θ, mul_comm (finMean _), greenTau_eq hS hS_zero hzS, degree_eq, skew, rankInner, |
| 236 | ← card_eq_pow_finrank, mulMoebius, ← finMean_const_mul] |
| 237 | ac_rfl |
| 238 | -- Multiplication by `cons z u` is the direct sum of the multiplications by `z` and by `u`. |
| 239 | have block (z : k'⟮x⟯ˣ) (u : Fin b → k'⟮x⟯ˣ) : |
| 240 | simClassOf ((simClassOf (LinearMap.mulLeft k' z.val)).out.2.prodMap |
| 241 | (simClassOf (LinearMap.mulLeft k' fun j : Fin b ↦ (u j).val)).out.2) = |
| 242 | simClassOf (LinearMap.mulLeft k' fun j : Fin (b + 1) ↦ |
| 243 | ((Fin.cons z u : Fin (b + 1) → k'⟮x⟯ˣ) j).val) := by |
| 244 | obtain ⟨f, hf⟩ := exists_equiv_simClassOf_out (LinearMap.mulLeft k' z.val) |
| 245 | obtain ⟨g, hg⟩ := exists_equiv_simClassOf_out (LinearMap.mulLeft k' fun j ↦ (u j).val) |
| 246 | refine simClassOf_eq_of_equiv (f.prodCongr g ≪≫ₗ consLinearEquiv k' fun _ ↦ k'⟮x⟯) fun v ↦ ?_ |
| 247 | simp [hf, hg, funext_iff, forall_fin_succ] |
| 248 | -- Split off the factor `greenTau T S` with its sign, and apply the case of `c` to `B'`. |
| 249 | trans (-1 : ℂ) ^ finrank k' k'⟮x⟯ * finMean fun u : Fin b → k'⟮x⟯ˣ ↦ |
| 250 | (∏ j : Fin b, conj (thetaChar T (Nat.card k'⟮x⟯) (x ^ Nat.card k ^ a j) (u j))) * |
| 251 | B' (simClassOf (LinearMap.mulLeft k' fun j : Fin b ↦ (u j).val)) |
| 252 | · rw [pow_add, map_mul, labelChar_eq_greenTau T hS hS_monic, |
| 253 | rankInner_mul_eq_rankInner_skew greenTau_eq_zero_of_dim_ne, degree_eq, h_skew, mul_assoc, |
| 254 | h_avg] |
| 255 | -- Compare the two double means over `z` and `u` term by term. |
| 256 | have mean_comm (F : (Fin b → k'⟮x⟯ˣ) → k'⟮x⟯ˣ → ℂ) : |
| 257 | (finMean fun u ↦ finMean (F u)) = finMean fun z ↦ finMean fun u ↦ F u z := by |
| 258 | rw [← finMean_prod (fun p : (Fin b → k'⟮x⟯ˣ) × k'⟮x⟯ˣ ↦ F p.1 p.2), |
| 259 | ← finMean_prod (fun p : k'⟮x⟯ˣ × (Fin b → k'⟮x⟯ˣ) ↦ F p.2 p.1)] |
| 260 | exact finMean_equiv (Equiv.prodComm _ _) fun _ ↦ rfl |
| 261 | rw [finMean_equiv (consEquiv _) (fun _ ↦ rfl), finMean_prod] |
| 262 | simp only [B', ← finMean_const_mul] |
| 263 | refine (mean_comm _).trans ?_ |
| 264 | congr! 4 with z u |
| 265 | simp only [consEquiv_apply, prod_univ_succ, cons_zero, cons_succ] |
| 266 | rw [block z u] |
| 267 | -- The sign in `B'` cancels the one split off by `pow_add`. |
| 268 | simp [θ, field, ← pow_mul] |
| 269 | |
| 270 | /-- Let `x` be a root of the irreducible `P` over `k`, and let `a j < deg P` (`j < g`) be exponents |
| 271 | such that every root of `P` over `k'` is conjugate over `k'` to some `x ^ |k| ^ a j`. If |
| 272 | `g * [k'(x) : k'] = deg P` and `[k' : k] * [k'(x) : k'] = deg P * s`, then the map |
| 273 | `(j, i) ↦ F ^ (a j + deg P * i)`, for `F` the Frobenius of `k'` over `k`, is a bijection from |
| 274 | `Fin g × Fin s` onto `Gal(k'/k)`. -/ |
| 275 | private lemma bijective_frobeniusAlgEquivOfAlgebraic_pow_of_roots (hP : Irreducible P) |
| 276 | (hx : Polynomial.aeval x P = 0) {g s : ℕ} {a : Fin g → ℕ} |
| 277 | (roots : ∀ z : K, Polynomial.aeval z (P.map (algebraMap k k')) = 0 → |
| 278 | ∃ j : Fin g, ∃ v < finrank k' k'⟮x⟯, |
| 279 | a j < P.natDegree ∧ z ^ Nat.card k' ^ v = x ^ Nat.card k ^ a j) |
| 280 | (hg : g * finrank k' k'⟮x⟯ = P.natDegree) |
| 281 | (hs : finrank k k' * finrank k' k'⟮x⟯ = P.natDegree * s) : |
| 282 | Bijective fun i : Fin g × Fin s ↦ |
| 283 | frobeniusAlgEquivOfAlgebraic k k' ^ (a i.1 + P.natDegree * i.2) := by |
| 284 | -- Every element `F ^ u` of `Gal(k'/k)` is hit; both sides have `g * s = [k' : k]` elements. |
| 285 | set F : k' ≃ₐ[k] k' := frobeniusAlgEquivOfAlgebraic k k' |
| 286 | have h_surj : Surjective fun i : Fin g × Fin s ↦ F ^ (a i.1 + P.natDegree * i.2) := by |
| 287 | refine (bijective_frobeniusAlgEquivOfAlgebraic_pow k k').2.forall.mpr fun u ↦ ?_ |
| 288 | -- The root `x ^ |k| ^ u` of `P` is conjugate over `k'` to some `x ^ |k| ^ a j`. |
| 289 | have h_root : Polynomial.aeval (x ^ Nat.card k ^ (u : ℕ)) (P.map (algebraMap k k')) = 0 := by |
| 290 | simpa [hx, coe_frobeniusAlgHom] using P.aeval_algHom_apply (frobeniusAlgHom k K ^ (u : ℕ)) x |
| 291 | obtain ⟨j, v, hv, a_lt, h_conj⟩ : ∃ j : Fin g, ∃ v < finrank k' k'⟮x⟯, a j < P.natDegree ∧ |
| 292 | (x ^ Nat.card k ^ (u : ℕ)) ^ Nat.card k' ^ v = x ^ Nat.card k ^ a j := |
| 293 | roots _ h_root |
| 294 | have h_mod : (u + finrank k k' * v) % P.natDegree = a j := by |
| 295 | rw [natCard_eq_pow_finrank (K := k) (V := k'), ← pow_mul, ← pow_mul, ← pow_add, |
| 296 | root_pow_card_pow_eq_iff_modEq hP hx] at h_conj |
| 297 | exact mod_eq_of_modEq h_conj a_lt |
| 298 | have h_bound : u + finrank k k' * v < P.natDegree * s := by nlinarith [u.isLt] |
| 299 | have h_exp : a j + P.natDegree * ((u + finrank k k' * v) / P.natDegree) = |
| 300 | u + finrank k k' * v := by rw [← h_mod, mod_add_div] |
| 301 | refine ⟨(j, ⟨_, Nat.div_lt_of_lt_mul h_bound⟩), ?_⟩ |
| 302 | ext |
| 303 | simp [h_exp, F, pow_add, pow_mul, coe_frobeniusAlgEquivOfAlgebraic, |
| 304 | ← card_eq_pow_finrank, pow_card_pow] |
| 305 | refine h_surj.bijective_of_nat_card_le ?_ |
| 306 | rw [IsGalois.card_aut_eq_finrank, Nat.card_prod, Nat.card_fin, Nat.card_fin] |
| 307 | nlinarith [hP.natDegree_pos] |
| 308 | |
| 309 | /-- Let `χ m : k' ⊗ L → k'(x)` be `k'`-algebra maps such that `χ 0` after the power |
| 310 | `F ^ (a j + deg P * i)` of the Frobenius `F` of `k'` over `k` is `χ (a j)` followed by the same |
| 311 | power of the Frobenius of `k'(x)` (`χ_frob`), and let these powers run once through `Gal(k'/k)` |
| 312 | (`frob_bij`). Then for a unit `t` of `k' ⊗ L`, `conj θ_x` at `χ 0` of the norm `∏ τ, τ t` is the |
| 313 | product over `j` of `conj θ_(x ^ |k| ^ a j)` at `χ (a j) t`. -/ |
| 314 | private lemma conj_thetaChar_prod_eq_prod_conj_thetaChar (hP : Irreducible P) |
| 315 | (hP_coeff : P.coeff 0 ≠ 0) (hx : Polynomial.aeval x P = 0) |
| 316 | [Finite k'⟮x⟯] {g s : ℕ} {a : Fin g → ℕ} |
| 317 | (hs : finrank k k' * finrank k' k'⟮x⟯ = P.natDegree * s) |
| 318 | (χ : ℕ → k' ⊗[k] L →ₐ[k'] k'⟮x⟯) |
| 319 | (frob_bij : Bijective fun i : Fin g × Fin s ↦ |
| 320 | frobeniusAlgEquivOfAlgebraic k k' ^ (a i.1 + P.natDegree * i.2)) |
| 321 | (χ_frob : ∀ (i : Fin g × Fin s) (t : k' ⊗[k] L), |
| 322 | χ 0 (map (frobeniusAlgEquivOfAlgebraic k k' ^ (a i.1 + P.natDegree * i.2)).toAlgHom |
| 323 | (.id k L) t) = |
| 324 | (frobeniusAlgEquivOfAlgebraic k k'⟮x⟯ ^ (a i.1 + P.natDegree * i.2)) (χ (a i.1) t)) |
| 325 | (t : (k' ⊗[k] L)ˣ) : |
| 326 | conj (thetaChar T (.card k ^ P.natDegree) x |
| 327 | (k'⟮x⟯.val.comp (χ 0) (∏ τ : Gal(k'/k), map τ.toAlgHom (.id k L) (t : k' ⊗[k] L)))) = |
| 328 | ∏ j : Fin g, conj (thetaChar T (.card k'⟮x⟯) (x ^ Nat.card k ^ a j) (χ (a j) t)) := by |
| 329 | -- Group the norm by `j`. Each group is the `|k| ^ a j`-th power of the norm of `χ (a j) t` from |
| 330 | -- `k'(x)` to its subfield with `|k| ^ deg P` elements, to which `thetaChar_eq_apply_norm_pow` |
| 331 | -- applies. |
| 332 | obtain ⟨x_pow, two_le⟩ := root_pow_card_pow_pred_eq_one hP hP_coeff hx |
| 333 | have card_eq : Nat.card k'⟮x⟯ = (Nat.card k ^ P.natDegree) ^ s := by |
| 334 | rw [← pow_mul, ← hs, finrank_mul_finrank, ← natCard_eq_pow_finrank] |
| 335 | simp_rw [← frob_bij.prod_comp, map_prod, AlgHom.comp_apply, χ_frob, Fintype.prod_prod_type] |
| 336 | congr! 1 with j |
| 337 | -- the value `χ (a j) t`, seen in `K`, in the form of `thetaChar_eq_apply_norm_pow` |
| 338 | have h_coe : ((χ (a j) (t : k' ⊗[k] L) : k'⟮x⟯) : K) = |
| 339 | algebraMap k'⟮x⟯ K (t.map (χ (a j) : k' ⊗[k] L →* k'⟮x⟯)).val := rfl |
| 340 | rw [h_coe, thetaChar_eq_apply_norm_pow T two_le x_pow Finite.one_lt_card card_eq rfl |
| 341 | (algebraMap_pow_card_pred_eq_one _)] |
| 342 | simp [prod_range, prod_pow, pow_add, pow_mul, coe_frobeniusAlgEquivOfAlgebraic, |
| 343 | ← prod_pow_eq_pow_sum] |
| 344 | |
| 345 | /-- Let `P` over `k` be irreducible and a label of degree `r` (`IsLabel r P`: monic, squarefree, |
| 346 | nonzero constant term), with a root `x` in `K`, and let `[L : k] = r`. There is a character `Φ` of |
| 347 | the semidirect product `GL_r(k') ⋊ Gal(k'/k)` that descends (`DescendsTo`) to `μ` times the |
| 348 | cuspidal function `greenCuspidal k θ_x`, where `θ_x = thetaChar T (|k| ^ r) x`. The same `Φ` |
| 349 | descends to `(-1) ^ r Ξ_P μ`, with `Ξ_P = labelChar T P` formed over `k'`. -/ |
| 350 | lemma exists_isChar_descendsTo_labelChar [Finite L] (hP : Irreducible P) (hP_label : IsLabel r P) |
| 351 | [IsFaithfulMulChar K T] (hx : Polynomial.aeval x P = 0) (hL_rank : finrank k L = r) : |
| 352 | ∃ Φ : GalSemidirect k k' (Fin r) → ℂ, |
| 353 | -- (a) a character |
| 354 | IsChar Φ ∧ |
| 355 | -- (b) that lifts the function over `k` induced from the torus `Lˣ` |
| 356 | DescendsTo Φ (greenCuspidal k (thetaChar T (Nat.card k ^ r) x)).mulMoebius ∧ |
| 357 | -- (c) and on `GL r k'` is, up to sign, the function with label `P` times `μ` |
| 358 | DescendsTo Φ ((-1 : ℂ) ^ r • (labelChar T (P.map (algebraMap k k'))).mulMoebius) := by |
| 359 | -- `exists_rankInner_labelChar_eq_finMean` gives a mean over the units of `k'(x) ^ g`. We identify |
| 360 | -- `k' ⊗ L` with `k'(x) ^ g`, check that `thetaChar` of the norm `∏ τ, τ t` is the product of the |
| 361 | -- characters, and conclude by `exists_torus_induced_descendsTo`. |
| 362 | obtain ⟨hP_monic, -, rfl, hP_coeff⟩ : |
| 363 | P.Monic ∧ Squarefree P ∧ P.natDegree = r ∧ P.coeff 0 ≠ 0 := id hP_label |
| 364 | have hx_int : IsIntegral k' x := .tower_top ⟨P, hP_monic, hx⟩ |
| 365 | have := adjoin.finiteDimensional hx_int |
| 366 | have : Finite k'⟮x⟯ := finite_of_finite k' |
| 367 | have : Finite (k' ⊗[k] L) := finite_of_finite k' |
| 368 | obtain ⟨g, a, roots, hg, h_avg⟩ := exists_rankInner_labelChar_eq_finMean k' T hP hx hx_int |
| 369 | (hP_label.map k') dvd_rfl |
| 370 | -- `s = [k'(x) : L]`, for an embedding `ψ` of `L` in `k'(x)`. |
| 371 | obtain ⟨s, hs⟩ : P.natDegree ∣ finrank k k' * finrank k' k'⟮x⟯ := by |
| 372 | rw [adjoin.finrank hx_int, |
| 373 | ← natDegree_dvd_iff_of_common_root k' hP (irreducible hx_int) (minpoly.aeval k' x) hx] |
| 374 | obtain ⟨ψ⟩ : Nonempty (L →ₐ[k] k'⟮x⟯) := |
| 375 | nonempty_algHom_of_finrank_dvd ⟨s, by rw [hL_rank, ← hs, finrank_mul_finrank]⟩ |
| 376 | let F : k' ≃ₐ[k] k' := frobeniusAlgEquivOfAlgebraic k k' |
| 377 | let F_x : k'⟮x⟯ ≃ₐ[k] k'⟮x⟯ := frobeniusAlgEquivOfAlgebraic k k'⟮x⟯ |
| 378 | let n (i : Fin g × Fin s) : ℕ := a i.1 + P.natDegree * i.2 |
| 379 | -- On `L`, `χ m` is `ψ` followed by the inverse of `z ↦ z ^ |k| ^ m`. |
| 380 | let χ (m : ℕ) : k' ⊗[k] L →ₐ[k'] k'⟮x⟯ := AlgHom.liftEquiv k k' L _ (.comp ↑(F_x ^ m)⁻¹ ψ) |
| 381 | -- On `L` the map `z ↦ z ^ |k| ^ deg P` is the identity, so `n i` and `a i.1` act alike there. |
| 382 | have χ_frob (i : Fin g × Fin s) (t : k' ⊗[k] L) : |
| 383 | χ 0 (Algebra.TensorProduct.map (F ^ n i).toAlgHom (.id k L) t) = |
| 384 | (F_x ^ n i) (χ (a i.1) t) := by |
| 385 | induction t with |
| 386 | | add t u ht hu => simp [ht, hu] |
| 387 | | tmul c l => |
| 388 | simp [χ, n, F, F_x, Algebra.smul_def, mul_pow, ← map_pow, ← hL_rank, |
| 389 | coe_frobeniusAlgEquivOfAlgebraic, pow_add, pow_mul, ← card_eq_pow_finrank, pow_card_pow, |
| 390 | AlgEquiv.eq_symm_apply] |
| 391 | -- Every element of `Gal(k'/k)` is `F ^ n i` for exactly one `i`. |
| 392 | have frob_bij : Bijective (F ^ n ·) := |
| 393 | bijective_frobeniusAlgEquivOfAlgebraic_pow_of_roots k' hP hx roots hg hs |
| 394 | -- The coordinates of `t` in the trace-dual basis are traces, which the `χ (a j) t` determine. |
| 395 | let e := equivFinsuppOfBasisLeft (N := L) (finBasis k k').traceDual |
| 396 | have coord (t : k' ⊗[k] L) (i : Fin (finrank k k')) : |
| 397 | ψ (e t i) = ∑ τ : Gal(k'/k), χ 0 (map τ.toAlgHom (.id k L) (t * finBasis k k' i ⊗ₜ 1)) := by |
| 398 | induction t with |
| 399 | | add t u ht hu => simp [ht, hu, e, add_mul, sum_add_distrib] |
| 400 | | tmul c l => simp [e, χ, ← sum_smul, -map_mul, ← trace_eq_sum_automorphisms] |
| 401 | let π : k' ⊗[k] L →ₐ[k'] (Fin g → k'⟮x⟯) := AlgHom.pi fun j ↦ χ (a j) |
| 402 | have π_inj : Injective π.toLinearMap := by |
| 403 | refine fun t u htu ↦ e.injective (Finsupp.ext fun i ↦ ψ.injective ?_) |
| 404 | simp_all [π, ← frob_bij.sum_comp, funext_iff] |
| 405 | let E : k' ⊗[k] L ≃ₗ[k'] (Fin g → k'⟮x⟯) := |
| 406 | linearEquivOfInjective _ π_inj (by simp [*, finrank_pi_fintype]) |
| 407 | obtain ⟨Ψ, hΨ_char, hΨ_down, hΨ_up⟩ := |
| 408 | exists_torus_induced_descendsTo k k' (thetaChar T (.card k ^ P.natDegree) x) hL_rank |
| 409 | (k'⟮x⟯.val.comp (χ 0)) |
| 410 | -- `E` respects multiplication, so it keeps the similarity classes of the multiplications. |
| 411 | have h_cls (t : (k' ⊗[k] L)ˣ) : |
| 412 | simClassOf (LinearMap.mulLeft k' (t : k' ⊗[k] L)) = simClassOf (LinearMap.mulLeft k' (π t)) := |
| 413 | simClassOf_eq_of_equiv E (map_mul π _) |
| 414 | refine ⟨Ψ, hΨ_char, hΨ_down, hΨ_up _ fun B ↦ ?_⟩ |
| 415 | calc |
| 416 | _ = (-1) ^ P.natDegree * |
| 417 | rankInner P.natDegree (labelChar T (P.map (algebraMap k k'))) (mulMoebius B) := by |
| 418 | simp [rankInner, mulMoebius, ← finMean_const_mul] |
| 419 | ac_rfl |
| 420 | _ = finMean fun u : Fin g → k'⟮x⟯ˣ ↦ |
| 421 | (∏ j : Fin g, conj (thetaChar T (Nat.card k'⟮x⟯) (x ^ Nat.card k ^ a j) (u j))) * |
| 422 | B (simClassOf (LinearMap.mulLeft k' fun j : Fin g ↦ (u j).val)) := h_avg B |
| 423 | _ = finMean fun t : (k' ⊗[k] L)ˣ ↦ |
| 424 | conj (thetaChar T (.card k ^ P.natDegree) x |
| 425 | (k'⟮x⟯.val.comp (χ 0) (∏ τ : Gal(k'/k), map τ.toAlgHom (.id k L) (t : k' ⊗[k] L)))) * |
| 426 | B (simClassOf (LinearMap.mulLeft k' (t : k' ⊗[k] L))) := by |
| 427 | -- Change variables by `E`: the weights agree by `conj_thetaChar_prod_eq_prod_conj_thetaChar`. |
| 428 | refine finMean_equiv ((mapEquiv ⟨E.toEquiv, map_mul π⟩).trans .piUnits) fun t ↦ ?_ |
| 429 | simp only [h_cls t, |
| 430 | conj_thetaChar_prod_eq_prod_conj_thetaChar k' T hP hP_coeff hx hs χ frob_bij χ_frob t] |
| 431 | rfl |
| 432 | |
| 433 | end New |
| 434 | |
| 435 | end TorusLift |
| 436 | |
| 437 | namespace New |
| 438 | |
| 439 | open Module Polynomial Finset Matrix Hall FiniteField Finite SemidirectProduct Subgroup Function |
| 440 | Subalgebra IsScalarTower |
| 441 | |
| 442 | variable {k k' n K : Type*} {r : ℕ} [Field k] [Field k'] [Algebra k k'] [Finite k] [Finite k'] |
| 443 | [Fintype n] [DecidableEq n] [Field K] [Algebra k K] [Algebra k' K] (hp : (finrank k k').Prime) |
| 444 | (T : MulChar K ℂ) [IsFaithfulMulChar K T] {c : k[X]} |
| 445 | |
| 446 | /-- Let `k'` be an algebra over itself (through some automorphism) whose Galois group is trivial |
| 447 | (`h_gal`), and let the structure map raise the roots of every polynomial to the power `a` |
| 448 | (`h_roots`). Then for every `η : K → ℂ` the Brauer lift of `y ↦ η (y ^ a)` lifts to the Brauer |
| 449 | lift of `η`: over `ℂ` every class function is a combination of characters. -/ |
| 450 | private lemma lift_brauerLift_pow_of_forall_eq_one [Algebra k' k'] |
| 451 | (h_gal : ∀ τ : Gal(k'/k'), τ = 1) {a : ℕ} |
| 452 | (h_roots : ∀ P : k'[X], (P.map (algebraMap k' k')).aroots K = |
| 453 | (P.aroots K).map fun y : K ↦ y ^ a) |
| 454 | (η : K → ℂ) : Lift ℂ (brauerLift k' fun y : K ↦ η (y ^ a)) (brauerLift k' η) := by |
| 455 | intro m |
| 456 | have h_span : (brauerLift k' η).evalGL ∈ virtualChars ℂ (GL (Fin m) k') := by |
| 457 | -- `IsClassFunction.mem_virtualChars`: every inner product with a character is a complex number |
| 458 | exact (isClassFunction_evalGL (F := brauerLift k' η) (n := Fin m)).mem_virtualChars |
| 459 | fun χ _ ↦ ⟨_, rfl⟩ |
| 460 | refine hasCommonLift_of_gal_trivial h_gal h_span fun g ↦ ?_ |
| 461 | simp [Hall.evalGL, charpoly_map, h_roots] |
| 462 | |
| 463 | /-- In the situation of `lift_brauerLift_pow_of_forall_eq_one`, let the structure map of `k'` over |
| 464 | itself also keep irreducible polynomials irreducible (`h_irr`). Then for every label `c` over `k'` |
| 465 | the function `labelChar T` of the image of `c` lifts to `labelChar T c`, by induction on the |
| 466 | irreducible factors of `c`. -/ |
| 467 | private lemma lift_labelChar_map_of_forall_eq_one [Algebra k' k'] |
| 468 | (h_gal : ∀ τ : Gal(k'/k'), τ = 1) {a : ℕ} [NeZero a] |
| 469 | (h_roots : ∀ P : k'[X], (P.map (algebraMap k' k')).aroots K = |
| 470 | (P.aroots K).map fun y : K ↦ y ^ a) |
| 471 | (h_irr : ∀ P : k'[X], Irreducible P → Irreducible (P.map (algebraMap k' k'))) |
| 472 | {c : k'[X]} (hc : IsLabel r c) : |
| 473 | Lift ℂ (labelChar T (c.map (algebraMap k' k'))) (labelChar T c) := by |
| 474 | refine hc.induction_irreducible_mul (p := fun _ c ↦ |
| 475 | Lift ℂ (labelChar T (c.map (algebraMap k' k'))) (labelChar T c)) K (by simp) |
| 476 | fun P _ c x hP_monic hP hP_coeff hx h_lift_c ↦ ?_ |
| 477 | -- An irreducible factor: as `x` is a root of `P`, `x ^ a` is a root of the image of `P`. |
| 478 | have hPσ : Irreducible (P.map (algebraMap k' k')) := h_irr P hP |
| 479 | have hx_pow : aeval (x ^ a) (P.map (algebraMap k' k')) = 0 := by |
| 480 | refine (mem_aroots.mp (?_ : x ^ a ∈ (P.map (algebraMap k' k')).aroots K)).right |
| 481 | rw [h_roots] |
| 482 | exact Multiset.mem_map_of_mem _ (mem_aroots.mpr ⟨hP.ne_zero, hx⟩) |
| 483 | -- Write both sides through `greenCuspidal`: passing from `θ_x` to `θ_(x ^ a)` composes with |
| 484 | -- the `a`-th power map (`rankPart_greenCuspidal_pow`), so the lift of Brauer lifts applies. |
| 485 | have h_lift_P : Lift ℂ (labelChar T (P.map (algebraMap k' k'))) (labelChar T P) := by |
| 486 | rw [labelChar_eq_greenTau T hP hP_monic, labelChar_eq_greenTau T hPσ (hP_monic.map _), |
| 487 | greenTau_eq hP hP_coeff hx, greenTau_eq hPσ (by simpa using hP_coeff) hx_pow, natDegree_map, |
| 488 | rankPart_greenCuspidal_pow hP hP_coeff hx] |
| 489 | exact (lift_brauerLift_pow_of_forall_eq_one h_gal h_roots _).rankPart_mulMoebius_mul_constOne |
| 490 | simpa using h_lift_P.mul h_lift_c |
| 491 | |
| 492 | omit [Finite k'] in |
| 493 | /-- Let `k'` be an algebra over itself with surjective structure map `s` (`h_surj`), and let `F` |
| 494 | lift to `F'` over it. Then `F'` at `s(g)` is `F` at `g`: a common lift `Φ` is `F'` on `GL n k'` |
| 495 | and descends to `F` on the coset of `1`, whose fixed field is `k'`. -/ |
| 496 | private lemma evalGL_map_eq_of_lift [Algebra k' k'] {F F' : Hall k'} (h_lift : Lift ℂ F F') |
| 497 | (h_surj : Function.Surjective (algebraMap k' k')) (g : GL n k') : |
| 498 | F'.evalGL (g.map (algebraMap k' k')) = F.evalGL g := by |
| 499 | obtain ⟨Φ, -, hΦ_twist, hΦ⟩ := h_lift.hasCommonLift n |
| 500 | have h_fixed : HasFixedField k' (1 : Gal(k'/k')) := |
| 501 | Set.ext fun y ↦ iff_of_true (h_surj y) rfl |
| 502 | calc F'.evalGL (g.map (algebraMap k' k')) |
| 503 | _ = Φ (inl (g.map (algebraMap k' k'))) := by rw [← DescendsTo.iff_comp_inl_eq_evalGL.mp hΦ] |
| 504 | _ = F.evalGL g := hΦ_twist 1 h_fixed (inl (g.map (algebraMap k' k'))) g rfl (by simp) |
| 505 | |
| 506 | /-- Galois equivariance of Green's functions. Let `T` be a faithful character (`K` algebraically |
| 507 | closed, `T : K → ℂ` injective), and let `Ξ_c = labelChar T c`, the parabolic-induction product of |
| 508 | the `τ_P` over the irreducible factors `P` of `c`. Then for `σ ∈ Gal(k'/k)`, every label `c` of |
| 509 | degree `r` over `k'` (monic, squarefree, of degree `r`, with nonzero constant term) and every |
| 510 | `g ∈ GL_n(k')`, we have Ξ_c(σ(g)) = Ξ_{σ(c)}(g). -/ |
| 511 | lemma evalGL_labelChar_map (σ : Gal(k'/k)) {c : k'[X]} (hc : IsLabel r c) (g : GL n k') : |
| 512 | (labelChar T c).evalGL (g.map σ) = (labelChar T (c.map σ)).evalGL g := by |
| 513 | -- View `k'` as an extension of itself via `σ`; its Galois group is trivial, so |
| 514 | -- `labelChar T (c.map σ)` lifts to `labelChar T c`, and evaluating at `g.map σ` gives the claim. |
| 515 | let twist : Algebra k' k' := σ.toRingEquiv.toRingHom.toAlgebra |
| 516 | obtain ⟨i, hσ_pow⟩ := exists_forall_apply_eq_pow k _ k' σ |
| 517 | have h_lift := lift_labelChar_map_of_forall_eq_one T |
| 518 | (fun τ ↦ AlgEquiv.ext (σ.surjective.forall.2 τ.commutes)) |
| 519 | (aroots_map_frobenius_pow _ hσ_pow) |
| 520 | (fun _ hP ↦ hP.map (mapEquiv σ.toRingEquiv)) hc |
| 521 | have h_alg : algebraMap k' k' = (σ : k' →+* k') := RingHom.ext fun _ ↦ rfl |
| 522 | simpa [h_alg] using evalGL_map_eq_of_lift h_lift σ.surjective g |
| 523 | |
| 524 | /-- Let `T` be an injective character of the algebraically closed field `K`, and let `χ`, `χ'` be |
| 525 | multiplicative characters of `k` and `k'` whose names correspond, that is, the name of `χ'` is the |
| 526 | image of the name of `χ`. Here `charName T χ` is the unit `x_χ ∈ kˣ` with `χ = θ_{x_χ}` on `k`, and |
| 527 | `θ` is built from `T` with `Q = |k|`. Then `χ ∘ det` lifts to `χ' ∘ det` by characters: for every |
| 528 | `m`, some character `Φ` of `GL_m(k') ⋊ Gal(k'/k)` descends (`DescendsTo`) both to `χ ∘ det` over `k` |
| 529 | and to `χ' ∘ det` over `k'`. -/ |
| 530 | lemma lift_detChar [IsScalarTower k k' K] {χ : MulChar k ℂ} {χ' : MulChar k' ℂ} |
| 531 | (h_name : (charName T χ' : k') = algebraMap k k' (charName T χ)) : |
| 532 | Lift ℕ (detChar χ) (detChar χ') := by |
| 533 | -- With `x = x_χ`, the lift is `(g, σ) ↦ ∏ τ, θ_x (det (τ g))`: `θ_x` of the norm of `det g`. |
| 534 | intro m |
| 535 | let ν : Matrix (Fin m) (Fin m) k' →* ℂ := |
| 536 | (thetaChar T (Nat.card k) (algebraMap k K (charName T χ))).comp |
| 537 | (.comp (algebraMap k' K) detMonoidHom) |
| 538 | obtain ⟨ϑ, hϑ_char, hϑ, hϑ_lifts⟩ := exists_norm_char_semidirect (galActionGL k k' (Fin m)) ν |
| 539 | refine ⟨ϑ, hϑ_char.mem_virtualChars, fun σ hσ ↦ ?_, |
| 540 | DescendsTo.iff_comp_inl_eq_evalGL.mpr (funext fun g ↦ ?_)⟩ |
| 541 | · -- over `σ` with fixed field `k`, `ϑ` descends to `θ_x ∘ det`, which is `χ ∘ det` on `GL m k` |
| 542 | simp +contextual [DescendsOnCoset, hϑ_lifts σ hσ _, ν, RingHom.map_det, ← thetaChar_charName T, |
| 543 | algebraMap_apply k k' K] |
| 544 | · -- on `GL m k'`: `θ_x` for `#k` at the norm of `det g` is `θ_x` for `#k'` at `det g` |
| 545 | have h_det (τ : Gal(k'/k)) : (galActionGL k k' (Fin m) τ g).val.det = τ g.val.det := |
| 546 | (τ.map_det _).symm |
| 547 | simpa [hϑ, ν, h_det, ← map_pow, ← algebraMap_norm_eq_pow_sum, |
| 548 | Algebra.norm_eq_prod_automorphisms, ← thetaChar_charName T χ', h_name, |
| 549 | ← IsScalarTower.algebraMap_apply] using |
| 550 | (thetaChar_eq_apply_norm_pow T one_lt_card (algebraMap_pow_card_pred_eq_one (charName T χ)) |
| 551 | one_lt_card natCard_eq_pow_finrank (pow_one _) (algebraMap_pow_card_pred_eq_one g.det)).symm |
| 552 | |
| 553 | /-- Let `c` be a label of degree `m` over `k'` with `c(1) ≠ 0`, and `B` a class function. The inner |
| 554 | product in rank `m` of `(-1) ^ m` times `Ξ_c μ` with `B` is the inner product of `Ξ_c` with |
| 555 | `(-1) ^ m` times the rank-`m` part of `B μ` times the constant function `1`. -/ |
| 556 | private lemma rankInner_neg_one_pow_smul_mulMoebius_labelChar {c : k'[X]} {m : ℕ} (hc : IsLabel m c) |
| 557 | (hc_one : c.eval 1 ≠ 0) (B : Hall k') : |
| 558 | rankInner m ((-1 : ℂ) ^ m • (labelChar T c).mulMoebius) B = |
| 559 | rankInner m (labelChar T c) ((-1 : ℂ) ^ m • rankPart m (B.mulMoebius * constOne)) := |
| 560 | calc rankInner m ((-1 : ℂ) ^ m • (labelChar T c).mulMoebius) B |
| 561 | _ = (-1) ^ m * rankInner m (labelChar T c) B.mulMoebius := by |
| 562 | rw [← rankInner_mulMoebius_left] |
| 563 | simp [rankInner, ← finMean_const_mul, mul_comm, mul_left_comm] |
| 564 | _ = (-1) ^ m * rankInner m (labelChar T c) (B.mulMoebius * constOne) := by |
| 565 | rw [rankInner_labelChar_mul_constOne T hc hc_one] |
| 566 | _ = rankInner m (labelChar T c) ((-1 : ℂ) ^ m • rankPart m (B.mulMoebius * constOne)) := by |
| 567 | simp [rankInner, rankPart, ← finMean_const_mul, mul_left_comm] |
| 568 | |
| 569 | /-- Let `P` be a label of degree `m` over `k` with `P(1) ≠ 0`, and suppose that `Ξ_P` is `(-1) ^ m` |
| 570 | times the rank-`m` part of `greenCuspidal k θ`. Then the inner product in rank `m` of |
| 571 | `greenCuspidal k θ` times `μ` with the Brauer lift of `θ` is `1`. -/ |
| 572 | private lemma rankInner_greenCuspidal_mulMoebius_brauerLift {P : k[X]} {m : ℕ} (hL : IsLabel m P) |
| 573 | (h_not_root_one : ¬P.IsRoot 1) {θ : K → ℂ} |
| 574 | (h_labelChar_eq : labelChar T P = (-1 : ℂ) ^ m • rankPart m (greenCuspidal k θ)) : |
| 575 | rankInner m (greenCuspidal k θ).mulMoebius (brauerLift k θ) = 1 := by |
| 576 | -- Transfer the sign and the Möbius factor to the Brauer lift. What remains is the |
| 577 | -- inner product of the label character with itself. |
| 578 | have h_transfer : rankInner m ((-1 : ℂ) ^ m • (labelChar T P).mulMoebius) (brauerLift k θ) = |
| 579 | rankInner m (labelChar T P) (labelChar T P) := by |
| 580 | rw [rankInner_neg_one_pow_smul_mulMoebius_labelChar T hL h_not_root_one, |
| 581 | ← greenCuspidal, ← h_labelChar_eq] |
| 582 | have h_norm : rankInner m (labelChar T P) (labelChar T P) = 1 := by |
| 583 | simpa using rankInner_labelChar T hL _ hL |
| 584 | simpa [h_labelChar_eq, rankInner, rankPart, mulMoebius, ← mul_assoc, ← mul_pow] using |
| 585 | h_transfer.trans h_norm |
| 586 | |
| 587 | /-- For a label `P` over `k`, the function `Ξ` of `P` formed over `k'` is Galois stable: its value |
| 588 | at `σ(g)` is its value at `g`, as `σ` fixes the coefficients of `P`. -/ |
| 589 | private lemma labelChar_map_evalGL_galActionGL {P : k[X]} {m : ℕ} |
| 590 | (hL' : IsLabel m (P.map (algebraMap k k'))) (σ : Gal(k'/k)) (g : GL (Fin m) k') : |
| 591 | (labelChar T (P.map (algebraMap k k'))).evalGL (galActionGL k k' (Fin m) σ g) = |
| 592 | (labelChar T (P.map (algebraMap k k'))).evalGL g := by |
| 593 | have hσP : (P.map (algebraMap k k')).map σ = P.map (algebraMap k k') := |
| 594 | AddMonoidAlgebra.ext <| Finsupp.ext fun _ ↦ by simp |
| 595 | change (labelChar T (P.map (algebraMap k k'))).evalGL (g.map σ) = _ |
| 596 | rw [evalGL_labelChar_map T σ hL', hσP] |
| 597 | |
| 598 | variable [IsScalarTower k k' K] |
| 599 | |
| 600 | include hp |
| 601 | |
| 602 | omit [Finite k] [Finite k'] in |
| 603 | /-- In an extension `k'/k` of prime degree, the fixed field of `σ` is `k` exactly when `σ ≠ 1`. -/ |
| 604 | lemma hasFixedField_iff_ne_one {σ : Gal(k'/k)} : HasFixedField k σ ↔ σ ≠ 1 := by |
| 605 | -- As the degree is prime, the fixed subalgebra of `σ` is `⊥` unless it is `⊤`, that is `σ = 1`. |
| 606 | set fixed : Subalgebra k k' := σ.toAlgHom.equalizer 1 with h_fixed |
| 607 | calc HasFixedField k σ |
| 608 | _ ↔ fixed = ⊥ := by |
| 609 | simp [h_fixed, HasFixedField, SetLike.ext_iff, Set.ext_iff, Algebra.mem_bot, IsFixedPt, |
| 610 | iff_comm] |
| 611 | _ ↔ fixed < ⊤ := (isSimpleOrder_of_finrank_prime k k' hp).lt_top_iff_eq_bot.symm |
| 612 | _ ↔ σ ≠ 1 := by simp [h_fixed, lt_top_iff_ne_top, SetLike.ext_iff, DFunLike.ext_iff] |
| 613 | |
| 614 | /-- Let `k'/k` have prime degree, and let the class functions `Φ` and `Ψ` on |
| 615 | `GL n k' ⋊ Gal(k'/k)` descend to `F` and `G`. Then `#Gal(k'/k)` times the inner product of `Φ` and |
| 616 | `Ψ` is the inner product of their restrictions to `GL n k'`, plus `#Gal(k'/k) - 1` times the inner |
| 617 | product of `F` and `G` in rank `#n`. -/ |
| 618 | lemma DescendsTo.card_mul_classInner {F G : Hall k} {Φ Ψ : GalSemidirect k k' n → ℂ} |
| 619 | (hΦ : IsClassFunction Φ) (hΨ : IsClassFunction Ψ) |
| 620 | (hΦF : DescendsTo Φ F) (hΨG : DescendsTo Ψ G) : |
| 621 | Nat.card Gal(k'/k) * classInner Φ Ψ = |
| 622 | classInner (Φ ∘ inl) (Ψ ∘ inl) + (Nat.card Gal(k'/k) - 1) * rankInner (Nat.card n) F G := by |
| 623 | classical |
| 624 | -- Split the mean over the cosets of `GL n k'`. The coset of `1` gives the inner product of the |
| 625 | -- restrictions. Each `σ ≠ 1` has fixed field `k`, so by |
| 626 | -- `IsRootChoice.index_mul_finMean_eq_classInner` its coset gives the inner product over `k`. |
| 627 | set π : GalSemidirect k k' n →* Gal(k'/k) := rightHom with hπ |
| 628 | set coset : Gal(k'/k) → ℂ := fun σ ↦ |
| 629 | π.ker.index * finMean fun s ↦ if π s = σ then starRingEnd ℂ (Φ s) * Ψ s else 0 with h_coset |
| 630 | have h_one : coset 1 = New.classInner (Φ ∘ inl) (Ψ ∘ inl) := by |
| 631 | simp [h_coset, hπ, New.classInner, index_ker, ↓rightHom_surjective, |
| 632 | rightHom_eq_right, field] |
| 633 | have h_other (σ : Gal(k'/k)) (hσ : σ ∈ univ.erase 1) : |
| 634 | coset σ = rankInner (Fintype.card n) F G := by |
| 635 | have h_fixed : HasFixedField k σ := (hasFixedField_iff_ne_one hp).2 (ne_of_mem_erase hσ) |
| 636 | obtain ⟨root, h_root, -⟩ := exists_isRootChoice_GL (n := n) h_fixed |
| 637 | rw [← classInner_evalGL] |
| 638 | exact h_root.index_mul_finMean_eq_classInner (hΦF σ h_fixed) (hΨG σ h_fixed) |
| 639 | (fun s x _ ↦ hΦ s x) fun s x _ ↦ hΨ s x |
| 640 | calc Nat.card Gal(k'/k) * New.classInner Φ Ψ |
| 641 | _ = ∑ σ, coset σ := by |
| 642 | simp [h_coset, hπ, New.classInner, index_ker, rightHom_surjective, ← mul_sum, ← finMean_sum, |
| 643 | -rightHom_eq_right] |
| 644 | _ = New.classInner (Φ ∘ inl) (Ψ ∘ inl) + |
| 645 | (Nat.card Gal(k'/k) - 1) * rankInner (Nat.card n) F G := by |
| 646 | rw [← add_sum_erase _ _ (mem_univ 1), h_one, sum_congr rfl h_other] |
| 647 | simp [Fintype.card_pos] |
| 648 | |
| 649 | /-- The irreducible case of `shintani_lift_labelChar` when `1` is not a root. Let `P` be a label of |
| 650 | degree `m` over `k` with `P(1) ≠ 0` and `Ξ_P = (-1) ^ m` times the rank-`m` part of |
| 651 | `greenCuspidal k θ`, and let the character `J` descend to `greenCuspidal k θ` times `μ` over `k` and |
| 652 | to `(-1) ^ m` times `Ξ_P μ` formed over `k'`. Then `Ξ_P` lifts by characters to `Ξ_P` over `k'`. -/ |
| 653 | private lemma lift_labelChar_of_not_isRoot_one {P : k[X]} {m : ℕ} (hL : IsLabel m P) |
| 654 | (h_not_root_one : ¬P.IsRoot 1) {θ : MulChar K ℂ} |
| 655 | (h_labelChar_eq : labelChar T P = (-1 : ℂ) ^ m • rankPart m (greenCuspidal k θ)) |
| 656 | {J : GalSemidirect k k' (Fin m) → ℂ} (hJ : IsChar J) |
| 657 | (hJ_down : DescendsTo J (greenCuspidal k θ).mulMoebius) |
| 658 | (hJ_up : DescendsTo J ((-1 : ℂ) ^ m • (labelChar T (P.map (algebraMap k k'))).mulMoebius)) : |
| 659 | Lift ℕ (labelChar T P) (labelChar T (P.map (algebraMap k k'))) := by |
| 660 | classical |
| 661 | -- Take a virtual lift `Φ` of `Y = Ξ_P` and replace it on `GL m k'` by the irreducible character |
| 662 | -- `Y'` of label `P` over `k'`. By `IsIrreducibleChar.extend_semidirect` the result is a character |
| 663 | -- once `Y'` is Galois stable (`labelChar_map_evalGL_galActionGL`, as `σ` fixes `P`), |
| 664 | -- `⟨Y', Φ⟩ ≡ 1` modulo `#Gal` on `GL m k'` (`h_pair`), and the cosets of the `σ ≠ 1` add |
| 665 | -- `#Gal - 1` to the norm (`h_self`). |
| 666 | have hL' : IsLabel m (P.map (algebraMap k k')) := hL.map k' |
| 667 | suffices h_rank : Lift ℕ (rankPart m (labelChar T P)) |
| 668 | (rankPart m (labelChar T (P.map (algebraMap k k')))) by |
| 669 | rwa [rankPart_labelChar T hL, rankPart_labelChar T hL'] at h_rank |
| 670 | set Y : Hall k := labelChar T P |
| 671 | set Y' : Hall k' := labelChar T (P.map (algebraMap k k')) |
| 672 | -- `β` lifts `(brauerLift k θ, B)` and `Φ` lifts `(Y, C)`. |
| 673 | obtain ⟨B, hB⟩ := exists_lift_brauerLift k k' θ |
| 674 | obtain ⟨β, hβ, hβ_down, hβ_up⟩ := hB m |
| 675 | obtain ⟨Φ, hΦ, hΦ_down, hΦ_up⟩ := hB.rankPart_mulMoebius_mul_constOne (m := m) m |
| 676 | set C : Hall k' := (-1 : ℂ) ^ m • rankPart m (B.mulMoebius * constOne) |
| 677 | rw [← greenCuspidal, ← h_labelChar_eq] at hΦ_down |
| 678 | have hΦ_class : IsClassFunction Φ := isClassFunction_of_mem_virtualChars hΦ |
| 679 | have hΦ_res : Φ ∘ inl = C.evalGL := DescendsTo.iff_comp_inl_eq_evalGL.mp hΦ_up |
| 680 | obtain ⟨N, hN⟩ : ∃ N : ℤ, classInner J β = N := hJ.exists_classInner_eq hβ |
| 681 | -- The two inner products in `DescendsTo.card_mul_classInner` for `J` and `β`, over `k` and over |
| 682 | -- `k'`; both use `P(1) ≠ 0`. |
| 683 | have h_down : rankInner m (greenCuspidal k θ).mulMoebius (brauerLift k θ) = 1 := |
| 684 | rankInner_greenCuspidal_mulMoebius_brauerLift T hL h_not_root_one h_labelChar_eq |
| 685 | have h_up : rankInner m ((-1 : ℂ) ^ m • Y'.mulMoebius) B = rankInner m Y' C := |
| 686 | rankInner_neg_one_pow_smul_mulMoebius_labelChar T hL' |
| 687 | (by simpa [aeval_def] using h_not_root_one) B |
| 688 | -- `DescendsTo.card_mul_classInner` for `J` and `β` determines `rankInner m Y' C` modulo `#Gal`. |
| 689 | have h_pair : classInner Y'.evalGL (Φ ∘ inl) = 1 + Nat.card Gal(k'/k) * (N - 1 : ℤ) := by |
| 690 | have h_split : Nat.card Gal(k'/k) * N = rankInner m Y' C + (Nat.card Gal(k'/k) - 1) := by |
| 691 | have hJ_res : J ∘ inl = ((-1 : ℂ) ^ m • Y'.mulMoebius).evalGL := |
| 692 | DescendsTo.iff_comp_inl_eq_evalGL.mp hJ_up |
| 693 | have hβ_res : β ∘ inl = B.evalGL := DescendsTo.iff_comp_inl_eq_evalGL.mp hβ_up |
| 694 | simpa only [hJ_res, hβ_res, classInner_evalGL, Fintype.card_fin, Nat.card_fin, hN, h_down, |
| 695 | h_up, mul_one] using hJ_down.card_mul_classInner hp hJ.isClassFunction |
| 696 | (isClassFunction_of_mem_virtualChars hβ) hβ_down |
| 697 | rw [hΦ_res, classInner_evalGL, Fintype.card_fin] |
| 698 | push_cast |
| 699 | linear_combination -h_split |
| 700 | have h_self : Nat.card Gal(k'/k) * classInner Φ Φ = |
| 701 | classInner (Φ ∘ inl) (Φ ∘ inl) + (Nat.card Gal(k'/k) - 1) := by |
| 702 | have hY_norm : rankInner m Y Y = 1 := by simpa using rankInner_labelChar T hL _ hL |
| 703 | simpa [hY_norm] using hΦ_down.card_mul_classInner hp hΦ_class hΦ_class hΦ_down |
| 704 | let Ψ : GalSemidirect k k' (Fin m) → ℂ := fun s ↦ if s.right = 1 then Y'.evalGL s.left else Φ s |
| 705 | have h_irr : IsIrreducibleChar Ψ := |
| 706 | (IsLabel.isIrreducibleChar_labelChar T (by simpa using hL')).extend_semidirect |
| 707 | (labelChar_map_evalGL_galActionGL T hL') hΦ h_self _ h_pair |
| 708 | -- `Ψ` is `Y'` on `GL m k'`, and `Φ`, which descends to `Y` (`hΦ_down`), over the `σ ≠ 1`. |
| 709 | have h_on_cosets : DescendsTo Ψ Y := by |
| 710 | simpa +contextual [Ψ, DescendsTo, DescendsOnCoset, hasFixedField_iff_ne_one hp] using hΦ_down |
| 711 | exact .rankPart_of_hasCommonLift ⟨Ψ, h_irr.isChar.mem_virtualChars, h_on_cosets, by simp [Ψ, Y']⟩ |
| 712 | |
| 713 | /-- Shintani lifting: let `k'/k` be an extension of finite fields of prime degree (`hp`), `T` |
| 714 | injective (`IsFaithfulMulChar`) and `c` a label over `k` (`IsLabel`: monic, squarefree, |
| 715 | `c(0) ≠ 0`). Then `Ξ_c = labelChar T c` lifts by characters (`New.Lift ℕ`) to `Ξ_c` formed over |
| 716 | `k'`. -/ |
| 717 | lemma shintani_lift_labelChar (hc : IsLabel r c) : |
| 718 | Lift ℕ (labelChar T c) (labelChar T (c.map (algebraMap k k'))) := by |
| 719 | classical |
| 720 | -- Lifts multiply, so it is enough to treat an irreducible label `P`, with a root `x`. |
| 721 | refine hc.induction_irreducible_mul (p := fun _ c ↦ |
| 722 | Lift ℕ (labelChar T c) (labelChar T (c.map (algebraMap k k')))) K (by simp) |
| 723 | fun P _ c x hP_monic hP hP_coeff hx h_lift_c ↦ ?_ |
| 724 | suffices h_lift_P : Lift ℕ (labelChar T P) (labelChar T (P.map (algebraMap k k'))) by |
| 725 | simpa using h_lift_P.mul h_lift_c |
| 726 | by_cases h_root_one : P.IsRoot 1 |
| 727 | · -- For `P = X - 1` this is the lift of the trivial character in rank `1`. |
| 728 | have h_det : Lift ℕ (detChar (1 : MulChar k ℂ)) (detChar (1 : MulChar k' ℂ)) := |
| 729 | lift_detChar T (by simp) |
| 730 | simpa [← labelChar_X_sub_C T, minpoly.eq_of_irreducible_of_monic hP h_root_one hP_monic] using |
| 731 | Lift.rankPart_of_hasCommonLift (h_det 1) |
| 732 | -- Otherwise `Ξ_P` is `(-1) ^ deg P` times a rank part of `greenCuspidal k θ_x`, and |
| 733 | -- `exists_isChar_descendsTo_labelChar` gives the character `J` that |
| 734 | -- `lift_labelChar_of_not_isRoot_one` needs. |
| 735 | have hP_deg : NeZero P.natDegree := .of_pos hP.natDegree_pos |
| 736 | have hL : IsLabel P.natDegree P := ⟨hP_monic, hP.squarefree, rfl, hP_coeff⟩ |
| 737 | have h_labelChar_eq : labelChar T P = (-1 : ℂ) ^ P.natDegree • |
| 738 | rankPart P.natDegree (greenCuspidal k (thetaChar T (Nat.card k ^ P.natDegree) x)) := |
| 739 | (labelChar_eq_greenTau T hP hP_monic).trans (greenTau_eq hP hP_coeff hx) |
| 740 | obtain ⟨J, hJ, hJ_down, hJ_up⟩ := |
| 741 | exists_isChar_descendsTo_labelChar k' T hP hL hx (finrank_extension k _ P.natDegree) |
| 742 | exact lift_labelChar_of_not_isRoot_one hp T hL h_root_one h_labelChar_eq hJ hJ_down hJ_up |
| 743 | |
| 744 | end New |