Roots of cyclotomic polynomials. #
We gather results about roots of cyclotomic polynomials. In particular we show in
Polynomial.cyclotomic_eq_minpoly that cyclotomic n R is the minimal polynomial of a primitive
root of unity.
Main results #
IsPrimitiveRoot.isRoot_cyclotomic: Anyn-th primitive root of unity is a root ofcyclotomic n R.isRoot_cyclotomic_iff: ifNeZero (n : R), thenμis a root ofcyclotomic n Rif and only ifμis a primitive root of unity.Polynomial.cyclotomic_eq_minpoly:cyclotomic n ℤis the minimal polynomial of a primitiven-th root of unityμ.Polynomial.cyclotomic.irreducible:cyclotomic n ℤis irreducible.
Implementation details #
To prove Polynomial.cyclotomic.irreducible, the irreducibility of cyclotomic n ℤ, we show in
Polynomial.cyclotomic_eq_minpoly that cyclotomic n ℤ is the minimal polynomial of any n-th
primitive root of unity μ : K, where K is a field of characteristic 0.
Any n-th primitive root of unity is a root of cyclotomic n R.
Over a ring R of characteristic zero, fun n => cyclotomic n R is injective.
The minimal polynomial of a primitive n-th root of unity μ divides cyclotomic n ℤ.
cyclotomic n ℤ is the minimal polynomial of a primitive n-th root of unity μ.
cyclotomic n ℚ is the minimal polynomial of a primitive n-th root of unity μ.
cyclotomic n ℤ is irreducible.
cyclotomic n ℚ is irreducible.
If n ≠ m, then (cyclotomic n ℚ) and (cyclotomic m ℚ) are coprime.