Contents
Theorem216Local.lean
Statement index · Original Lean file
1
/-2Copyright (c) 2026 The thesis-formalization contributors.3Released under Apache 2.0 license as described in the file LICENSE.4-/5import Thesis.LocalEulerFactor6import Thesis.Lemma21578/-!9# The local Euler factor for the characters of a subfield of `ℚ(μ_n)`1011This file combines the two preceding files:1213* `Lemma215` identifies the characters of a subfield `F ⊆ ℚ(μ_n)` with a subgroup14 `fixingCharacters n K F` of the level-`n` Dirichlet characters, and proves15 `#H_F = [F : ℚ]`;16* `LocalEulerFactor` computes, for any subgroup `H` of a character group and any17 unit `σ`, the product `∏_{χ ∈ H} (1 - χ(σ) X)` as18 `(1 - X ^ #im) ^ #ker`.1920Here they are put together: for every unit `u` of `ℤ/nℤ` the product of the local21factors `1 - χ(u) X` over the characters of `F` collapses to a power of22`1 - X ^ #im`, where `#im` is the number of distinct values taken by `χ ↦ χ(u)` on23the characters of `F` and `#ker` is the multiplicity of each value. In the notation24of the thesis's proof of Theorem 2.16, `#im = f_p` and `#ker = g_p` once `u` is the25Frobenius element at `p` and `H = H_F`; the identification of `#im` with the order of26the Frobenius class in `Gal(F/ℚ)` is the remaining transport recorded in `NOTES.md`.2728On integration into the project, the two import lines become29`import Thesis.LocalEulerFactor` and `import Thesis.Lemma215`.30-/3132noncomputable section3334open Polynomial3536namespace Thesis3738variable (n : ℕ) [NeZero n]39variable (K : Type*) [Field K] [NumberField K] [IsCyclotomicExtension {n} ℚ K]40variable [IsAbelianGalois ℚ K]41variable [HasEnoughRootsOfUnity ℂ (Monoid.exponent (ZMod n)ˣ)]4243/-- The local Euler factor of the characters of a subfield `F ⊆ ℚ(μ_n)`. -/44theorem prod_one_sub_mul_X_fixingCharacters (F : IntermediateField ℚ K)45 [Fintype ↥(fixingCharacters n K F)] (u : (ZMod n)ˣ) :46 ∏ χ : fixingCharacters n K F,47 (1 - Polynomial.C ((χ : DirichletCharacter ℂ n) u) * Polynomial.X) =48 (1 - Polynomial.X ^ Nat.card (evalOnSubgroup (fixingCharacters n K F) u).range) ^49 Nat.card (evalOnSubgroup (fixingCharacters n K F) u).ker :=50 prod_one_sub_mul_X_subgroup_characters (fixingCharacters n K F) u5152/-- The evaluated form: `∏_χ (1 - χ(u) t) = (1 - t ^ #im) ^ #ker`. -/53theorem prod_one_sub_fixingCharacters (F : IntermediateField ℚ K)54 [Fintype ↥(fixingCharacters n K F)] (u : (ZMod n)ˣ) (t : ℂ) :55 ∏ χ : fixingCharacters n K F, (1 - (χ : DirichletCharacter ℂ n) u * t) =56 (1 - t ^ Nat.card (evalOnSubgroup (fixingCharacters n K F) u).range) ^57 Nat.card (evalOnSubgroup (fixingCharacters n K F) u).ker := by58 have h := congrArg (Polynomial.eval t)59 (prod_one_sub_mul_X_fixingCharacters n K F u)60 simp only [Polynomial.eval_prod, Polynomial.eval_sub, Polynomial.eval_one,61 Polynomial.eval_mul, Polynomial.eval_C, Polynomial.eval_X, Polynomial.eval_pow] at h62 simpa [Nat.card_eq_fintype_card] using h6364/-- The multiplicity of each value `χ(u)`, `χ` a character of `F`, is `#H_F / #im`. -/65theorem card_ker_fixingCharacters (F : IntermediateField ℚ K)66 [Fintype ↥(fixingCharacters n K F)] (u : (ZMod n)ˣ) :67 Nat.card (evalOnSubgroup (fixingCharacters n K F) u).ker =68 Nat.card (fixingCharacters n K F) /69 Nat.card (evalOnSubgroup (fixingCharacters n K F) u).range :=70 card_ker_evalOnSubgroup_eq_div (fixingCharacters n K F) u7172/-- The degree `[F : ℚ]`, which is the exponent's numerator. -/73theorem card_fixingCharacters_eq_finrank (F : IntermediateField ℚ K) :74 Nat.card (fixingCharacters n K F) = Module.finrank ℚ F :=75 card_fixingCharacters n K F7677end Thesis