Roots of cyclotomic polynomials. #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
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 #
is_primitive_root.is_root_cyclotomic
: Anyn
-th primitive root of unity is a root ofcyclotomic n R
.is_root_cyclotomic_iff
: ifne_zero (n : R)
, thenμ
is a root ofcyclotomic n R
if 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
.
If R
is of characteristic zero, then ζ
is a root of cyclotomic n R
if and only if it is a
primitive n
-th root of unity.
Over a ring R
of characteristic zero, λ 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.