The areas / V11. Fields and Galois theory
Mathlib.RingTheory.RootsOfUnity.Minpoly
12 declarations. Mathlib docs · Source
theorem IsPrimitiveRoot.isIntegral E1 #
∀ {n : ℕ} {K : Type u_1} [inst : CommRing K] {μ : K}, IsPrimitiveRoot μ n → 0 < n → IsIntegral ℤ μ
μ is integral over ℤ.
theorem IsPrimitiveRoot.minpoly_dvd_x_pow_sub_one E1 #
∀ {n : ℕ} {K : Type u_1} [inst : CommRing K] {μ : K},
IsPrimitiveRoot μ n → ∀ [IsDomain K] [CharZero K], minpoly ℤ μ ∣ Polynomial.X ^ n - 1
The minimal polynomial of a root of unity μ divides X ^ n - 1.
theorem IsPrimitiveRoot.separable_minpoly_mod E1 #
∀ {n : ℕ} {K : Type u_1} [inst : CommRing K] {μ : K},
IsPrimitiveRoot μ n →
∀ [IsDomain K] [CharZero K] {p : ℕ} [inst_3 : Fact (Nat.Prime p)],
¬p ∣ n → (Polynomial.map (Int.castRingHom (ZMod p)) (minpoly ℤ μ)).Separable
The reduction modulo p of the minimal polynomial of a root of unity μ is separable.
theorem IsPrimitiveRoot.squarefree_minpoly_mod E1 #
∀ {n : ℕ} {K : Type u_1} [inst : CommRing K] {μ : K},
IsPrimitiveRoot μ n →
∀ [IsDomain K] [CharZero K] {p : ℕ} [inst_3 : Fact (Nat.Prime p)],
¬p ∣ n → Squarefree (Polynomial.map (Int.castRingHom (ZMod p)) (minpoly ℤ μ))
The reduction modulo p of the minimal polynomial of a root of unity μ is squarefree.
theorem IsPrimitiveRoot.minpoly_dvd_expand E1 #
∀ {n : ℕ} {K : Type u_1} [inst : CommRing K] {μ : K},
IsPrimitiveRoot μ n →
∀ [IsDomain K] [CharZero K] {p : ℕ}, ¬p ∣ n → minpoly ℤ μ ∣ (Polynomial.expand ℤ p) (minpoly ℤ (μ ^ p))
Let P be the minimal polynomial of a root of unity μ and Q be the minimal polynomial of
μ ^ p, where p is a natural number that does not divide n. Then P divides expand ℤ p Q.
theorem IsPrimitiveRoot.minpoly_dvd_pow_mod E1 #
∀ {n : ℕ} {K : Type u_1} [inst : CommRing K] {μ : K},
IsPrimitiveRoot μ n →
∀ [IsDomain K] [CharZero K] {p : ℕ} [hprime : Fact (Nat.Prime p)],
¬p ∣ n →
Polynomial.map (Int.castRingHom (ZMod p)) (minpoly ℤ μ) ∣
Polynomial.map (Int.castRingHom (ZMod p)) (minpoly ℤ (μ ^ p)) ^ p
Let P be the minimal polynomial of a root of unity μ and Q be the minimal polynomial of
μ ^ p, where p is a prime that does not divide n. Then P divides Q ^ p modulo p.
theorem IsPrimitiveRoot.minpoly_dvd_mod_p E1 #
∀ {n : ℕ} {K : Type u_1} [inst : CommRing K] {μ : K},
IsPrimitiveRoot μ n →
∀ [IsDomain K] [CharZero K] {p : ℕ} [inst_3 : Fact (Nat.Prime p)],
¬p ∣ n →
Polynomial.map (Int.castRingHom (ZMod p)) (minpoly ℤ μ) ∣
Polynomial.map (Int.castRingHom (ZMod p)) (minpoly ℤ (μ ^ p))
Let P be the minimal polynomial of a root of unity μ and Q be the minimal polynomial of
μ ^ p, where p is a prime that does not divide n. Then P divides Q modulo p.
theorem IsPrimitiveRoot.minpoly_eq_pow E1 #
∀ {n : ℕ} {K : Type u_1} [inst : CommRing K] {μ : K},
IsPrimitiveRoot μ n →
∀ [IsDomain K] [CharZero K] {p : ℕ} [hprime : Fact (Nat.Prime p)], ¬p ∣ n → minpoly ℤ μ = minpoly ℤ (μ ^ p)
If p is a prime that does not divide n,
then the minimal polynomials of a primitive n-th root of unity μ
and of μ ^ p are the same.
theorem IsPrimitiveRoot.minpoly_eq_pow_coprime E1 #
∀ {n : ℕ} {K : Type u_1} [inst : CommRing K] {μ : K},
IsPrimitiveRoot μ n → ∀ [IsDomain K] [CharZero K] {m : ℕ}, m.Coprime n → minpoly ℤ μ = minpoly ℤ (μ ^ m)
If m : ℕ is coprime with n,
then the minimal polynomials of a primitive n-th root of unity μ
and of μ ^ m are the same.
theorem IsPrimitiveRoot.pow_isRoot_minpoly E1 #
∀ {n : ℕ} {K : Type u_1} [inst : CommRing K] {μ : K},
IsPrimitiveRoot μ n →
∀ [IsDomain K] [CharZero K] {m : ℕ}, m.Coprime n → (Polynomial.map (Int.castRingHom K) (minpoly ℤ μ)).IsRoot (μ ^ m)
If m : ℕ is coprime with n,
then the minimal polynomial of a primitive n-th root of unity μ
has μ ^ m as root.
theorem IsPrimitiveRoot.is_roots_of_minpoly E1 #
∀ {n : ℕ} {K : Type u_1} [inst : CommRing K] {μ : K},
IsPrimitiveRoot μ n →
∀ [inst_1 : IsDomain K] [CharZero K] [inst_3 : DecidableEq K],
primitiveRoots n K ⊆ (Polynomial.map (Int.castRingHom K) (minpoly ℤ μ)).roots.toFinset
primitiveRoots n K is a subset of the roots of the minimal polynomial of a primitive
n-th root of unity μ.
theorem IsPrimitiveRoot.totient_le_degree_minpoly E1 #
∀ {n : ℕ} {K : Type u_1} [inst : CommRing K] {μ : K},
IsPrimitiveRoot μ n → ∀ [IsDomain K] [CharZero K], n.totient ≤ (minpoly ℤ μ).natDegree
The degree of the minimal polynomial of μ is at least totient n.