The areas / V12. Number theory
Mathlib.NumberTheory.MulChar.Lemmas
20 declarations and 1 deprecated aliases. Mathlib docs · Source
Further Results on multiplicative characters
Multiplicative characters on finite monoids with cyclic unit group
Multiplicative characters on finite fields
theorem MulChar.ofRootOfUnity.congr_simp E1 #
∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : Fintype M] [inst_2 : DecidableEq M] {R : Type u_2}
[inst_3 : CommMonoidWithZero R] {ζ ζ_1 : Rˣ} (e_ζ : ζ = ζ_1) (hζ : ζ ∈ rootsOfUnity (Fintype.card Mˣ) R) {g g_1 : Mˣ}
(e_g : g = g_1) (hg : ∀ (x : Mˣ), x ∈ Subgroup.zpowers g), MulChar.ofRootOfUnity hζ hg = MulChar.ofRootOfUnity ⋯ ⋯
theorem MulChar.domRestrict_ofUnitHom E1 #
∀ {R : Type u_1} [inst : CommMonoid R] {R' : Type u_3} [inst_1 : CommMonoidWithZero R'] (f : Rˣ →* R'ˣ)
(S : Submonoid R),
MulChar.domRestrict S (MulChar.ofUnitHom f) =
MulChar.ofUnitHom ((f.domRestrict S.units).comp ↑S.unitsEquivUnitsType.symm)
def MulChar.starComp E1 #
{R : Type u_1} →
{R' : Type u_2} → [inst : CommRing R] → [inst_1 : CommRing R'] → [StarRing R'] → MulChar R R' → MulChar R R'
Define the conjugation (star) of a multiplicative character by conjugating pointwise.
theorem MulChar.starComp_apply E0 #
∀ {R : Type u_1} {R' : Type u_2} [inst : CommRing R] [inst_1 : CommRing R'] [inst_2 : StarRing R'] (χ : MulChar R R')
(a : R), χ.starComp a = (starRingEnd R') (χ a)
instance MulChar.instStarMul E0 #
{R : Type u_1} → {R' : Type u_2} → [inst : CommRing R] → [inst_1 : CommRing R'] → [StarRing R'] → StarMul (MulChar R R')
theorem MulChar.star_apply E0 #
∀ {R : Type u_1} {R' : Type u_2} [inst : CommRing R] [inst_1 : CommRing R'] [inst_2 : StarRing R'] (χ : MulChar R R')
(a : R), (star χ) a = star (χ a)
theorem MulChar.apply_mem_rootsOfUnity E1 #
∀ {R : Type u_1} {R' : Type u_2} [inst : CommRing R] [inst_1 : CommRing R'] [inst_2 : Fintype Rˣ] (a : Rˣ)
{χ : MulChar R R'}, (MulChar.equivToUnitHom χ) a ∈ rootsOfUnity (Fintype.card Rˣ) R'
The values of a multiplicative character on R are nth roots of unity, where n = #Rˣ.
theorem MulChar.star_eq_inv E1 #
∀ {R : Type u_1} [inst : CommRing R] [Finite Rˣ] (χ : MulChar R ℂ), star χ = χ⁻¹
The conjugate of a multiplicative character with values in ℂ is its inverse.
theorem MulChar.star_apply' E1 #
∀ {R : Type u_1} [inst : CommRing R] [Finite Rˣ] (χ : MulChar R ℂ) (a : R), star (χ a) = χ⁻¹ a
def MulChar.ofRootOfUnity E1 #
{M : Type u_1} →
[inst : CommMonoid M] →
[inst_1 : Fintype M] →
[inst_2 : DecidableEq M] →
{R : Type u_2} →
[inst_3 : CommMonoidWithZero R] →
{ζ : Rˣ} →
ζ ∈ rootsOfUnity (Fintype.card Mˣ) R → {g : Mˣ} → (∀ (x : Mˣ), x ∈ Subgroup.zpowers g) → MulChar M R
Given a finite monoid M with unit group Mˣ cyclic of order n and an nth root of
unity ζ in R, there is a multiplicative character M → R that sends a given generator
of Mˣ to ζ.
theorem MulChar.ofRootOfUnity_spec E1 #
∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : Fintype M] [inst_2 : DecidableEq M] {R : Type u_2}
[inst_3 : CommMonoidWithZero R] {ζ : Rˣ} (hζ : ζ ∈ rootsOfUnity (Fintype.card Mˣ) R) {g : Mˣ}
(hg : ∀ (x : Mˣ), x ∈ Subgroup.zpowers g), (MulChar.ofRootOfUnity hζ hg) ↑g = ↑ζ
def MulChar.equiv_rootsOfUnity E1 #
(M : Type u_1) →
[inst : CommMonoid M] →
[inst_1 : Fintype M] →
[inst_2 : DecidableEq M] →
(R : Type u_2) →
[inst_3 : CommMonoidWithZero R] →
[inst_cyc : IsCyclic Mˣ] → MulChar M R ≃* ↥(rootsOfUnity (Fintype.card Mˣ) R)
The group of multiplicative characters on a finite monoid M with cyclic unit group Mˣ
of order n is isomorphic to the group of nth roots of unity in the target R.
theorem MulChar.exists_mulChar_orderOf E1 #
∀ (F : Type u_1) [inst : Field F] [inst_1 : Fintype F] {R : Type u_2} [inst_2 : CommRing R] {n : ℕ},
n ∣ Fintype.card F - 1 → ∀ {ζ : R}, IsPrimitiveRoot ζ n → ∃ χ, orderOf χ = n
There is a character of order n on F if #F ≡ 1 mod n and the target contains
a primitive nth root of unity.
theorem MulChar.orderOf_dvd_card_sub_one E1 #
∀ (F : Type u_1) [inst : Field F] [inst_1 : Fintype F] {R : Type u_2} [inst_2 : CommRing R] (χ : MulChar F R),
orderOf χ ∣ Fintype.card F - 1
If there is a multiplicative character of order n on F, then #F ≡ 1 mod n.
theorem MulChar.exists_mulChar_orderOf_eq_card_units E1 #
∀ (F : Type u_1) [inst : Field F] [inst_1 : Fintype F] {R : Type u_2} [inst_2 : CommRing R] [inst_3 : DecidableEq F]
{ζ : R}, IsPrimitiveRoot ζ (Fintype.card Fˣ) → ∃ χ, orderOf χ = Fintype.card Fˣ
There is always a character on F of order #F-1 with values in a ring that has
a primitive (#F-1)th root of unity.
theorem MulChar.apply_mem_rootsOfUnity_orderOf E1 #
∀ {F : Type u_1} [inst : Field F] [Finite F] {R : Type u_2} [inst_2 : CommRing R] (χ : MulChar F R) {a : F},
a ≠ 0 → ∃ ζ ∈ rootsOfUnity (orderOf χ) R, ↑ζ = χ a
theorem MulChar.apply_mem_rootsOfUnity_of_pow_eq_one E1 #
∀ {F : Type u_1} [inst : Field F] [Finite F] {R : Type u_2} [inst_2 : CommRing R] {χ : MulChar F R} {n : ℕ},
χ ^ n = 1 → ∀ {a : F}, a ≠ 0 → ∃ ζ ∈ rootsOfUnity n R, ↑ζ = χ a
The non-zero values of a multiplicative character χ such that χ^n = 1
are nth roots of unity.
theorem MulChar.exists_apply_eq_pow E1 #
∀ {F : Type u_1} [inst : Field F] [Finite F] {R : Type u_2} [inst_2 : CommRing R] [IsDomain R] {χ : MulChar F R} {n : ℕ}
[NeZero n], χ ^ n = 1 → ∀ {μ : R}, IsPrimitiveRoot μ n → ∀ {a : F}, a ≠ 0 → ∃ k < n, χ a = μ ^ k
If χ is a multiplicative character with χ^n = 1 and μ is a primitive nth root
of unity, then, for a ≠ 0, there is some k such that χ a = μ^k.
theorem MulChar.apply_mem_algebraAdjoin_of_pow_eq_one E1 #
∀ {F : Type u_1} [inst : Field F] [Finite F] {R : Type u_2} [inst_2 : CommRing R] [IsDomain R] {χ : MulChar F R} {n : ℕ}
[NeZero n], χ ^ n = 1 → ∀ {μ : R}, IsPrimitiveRoot μ n → ∀ (a : F), χ a ∈ ℤ[μ]
The values of a multiplicative character χ such that χ^n = 1 are contained in ℤ[μ] when
μ is a primitive nth root of unity.
theorem MulChar.apply_mem_algebraAdjoin E1 #
∀ {F : Type u_1} [inst : Field F] [Finite F] {R : Type u_2} [inst_2 : CommRing R] [IsDomain R] {χ : MulChar F R}
{μ : R}, IsPrimitiveRoot μ (orderOf χ) → ∀ (a : F), χ a ∈ ℤ[μ]
The values of a multiplicative character of order n are contained in ℤ[μ] when
μ is a primitive nth root of unity.
Deprecated aliases
| Name | New name | Since |
|---|---|---|
MulChar.restrict_ofUnitHom | MulChar.domRestrict_ofUnitHom | 2026-07-19 |