Roots of unity of order dividing p - 1 in a prime field #
The unit group of ZMod p is cyclic of order p - 1, which Mathlib.RingTheory.ZMod.Torsion
records as the instance HasEnoughRootsOfUnity (ZMod p) (p - 1). Transporting it along a divisor
d ∣ p - 1 puts a primitive d-th root of unity into ZMod p, and with it the splitting of
X ^ d - 1.
Main results #
TauCeti.ZMod.hasEnoughRootsOfUnity_of_dvd_sub_one:ZMod phas enough roots of unity of every order dividingp - 1.TauCeti.ZMod.exists_isPrimitiveRoot_of_dvd_sub_one: hence a primitived-th root of unity for every suchd.
theorem
TauCeti.ZMod.hasEnoughRootsOfUnity_of_dvd_sub_one
{p d : ℕ}
(hp : Nat.Prime p)
(hd : d ∣ p - 1)
:
HasEnoughRootsOfUnity (ZMod p) d
ZMod p has enough roots of unity of every order dividing p - 1. This is the divisor
transport of Mathlib's instance HasEnoughRootsOfUnity (ZMod p) (p - 1), which says that the unit
group of a prime field is cyclic.
theorem
TauCeti.ZMod.exists_isPrimitiveRoot_of_dvd_sub_one
{p d : ℕ}
(hp : Nat.Prime p)
(hd : d ∣ p - 1)
:
∃ (ζ : ZMod p), IsPrimitiveRoot ζ d
ZMod p contains a primitive d-th root of unity for every d dividing p - 1.