The areas / V09. Commutative algebra I: ideals, polynomials, factorization
Mathlib.RingTheory.Polynomial.Cyclotomic.Factorization
5 declarations. Mathlib docs · Source
theorem Polynomial.natDegree_of_dvd_cyclotomic_of_irreducible E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Fintype K] {p f n : ℕ} {P : Polynomial K},
Fintype.card K = p ^ f →
∀ (hn : p.Coprime n) [hp : Fact (Nat.Prime p)],
P ∣ Polynomial.cyclotomic n K → Irreducible P → P.natDegree = orderOf (ZMod.unitOfCoprime (p ^ f) ⋯)
Let K be a finite field of cardinality p ^ f and let P be an irreducible factor of the
n-th cyclotomic polynomial over K, where p and n are coprime. Then the degree of P is
the multiplicative order of p ^ f modulo n.
theorem Polynomial.irreducible_of_dvd_cyclotomic_of_natDegree E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Fintype K] {p f n : ℕ} {P : Polynomial K},
Fintype.card K = p ^ f →
∀ (hn : p.Coprime n) [hp : Fact (Nat.Prime p)],
P ∣ Polynomial.cyclotomic n K → P.natDegree = orderOf (ZMod.unitOfCoprime (p ^ f) ⋯) → Irreducible P
Let K be a finite field of cardinality p ^ f and let P be a factor of the n-th
cyclotomic polynomial over K, where p and n are coprime. If the degree of P is
the multiplicative order of p ^ f modulo n then P is irreducible.
theorem ZMod.irreducible_of_dvd_cyclotomic_of_natDegree E1 #
∀ {p n : ℕ} [hp : Fact (Nat.Prime p)] {P : Polynomial (ZMod p)} (hpn : ¬p ∣ n),
P ∣ Polynomial.cyclotomic n (ZMod p) → P.natDegree = orderOf (ZMod.unitOfCoprime p ⋯) → Irreducible P
Let P be a factor of the n-th cyclotomic polynomial over ZMod p, where p does not divide
n. If the degree of P is the multiplicative order of p modulo n then P is
irreducible.
theorem Polynomial.natDegree_of_mem_normalizedFactors_cyclotomic E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Fintype K] {p f n : ℕ} {P : Polynomial K},
Fintype.card K = p ^ f →
∀ (hn : p.Coprime n) [hp : Fact (Nat.Prime p)] [inst_2 : DecidableEq K],
P ∈ UniqueFactorizationMonoid.normalizedFactors (Polynomial.cyclotomic n K) →
P.natDegree = orderOf (ZMod.unitOfCoprime (p ^ f) ⋯)
theorem Polynomial.normalizedFactors_cyclotomic_card E1 #
∀ {K : Type u_1} [inst : Field K] [inst_1 : Fintype K] {p f n : ℕ},
Fintype.card K = p ^ f →
∀ (hn : p.Coprime n) [hp : Fact (Nat.Prime p)] [inst_2 : DecidableEq K],
(UniqueFactorizationMonoid.normalizedFactors (Polynomial.cyclotomic n K)).toFinset.card =
n.totient / orderOf (ZMod.unitOfCoprime (p ^ f) ⋯)
Let K be a finite field of cardinality p ^ f and let P be an irreducible factor of the
n-th cyclotomic polynomial over K, where p and n are coprime. This result computes the
number of distinct irreducible factors of cyclotomic n K.