The areas / V11. Fields and Galois theory
Mathlib.FieldTheory.Minpoly.Basic
25 declarations. Mathlib docs · Source
Minimal polynomials
This file defines the minimal polynomial of an element x of an A-algebra B,
under the assumption that x is integral over A, and derives some basic properties
such as irreducibility under the assumption B is a domain.
def minpoly E3 #
(A : Type u_1) → {B : Type u_2} → [inst : CommRing A] → [inst_1 : Ring B] → [Algebra A B] → B → Polynomial A
Suppose x : B, where B is an A-algebra.
The minimal polynomial minpoly A x of x
is a monic polynomial with coefficients in A of smallest degree that has x as its root,
if such exists (IsIntegral A x) or zero otherwise.
For example, if V is a 𝕜-vector space for some field 𝕜 and f : V →ₗ[𝕜] V then
the minimal polynomial of f is minpoly 𝕜 f.
theorem minpoly.monic E1 #
∀ {A : Type u_1} {B : Type u_2} [inst : CommRing A] [inst_1 : Ring B] [inst_2 : Algebra A B] {x : B},
IsIntegral A x → (minpoly A x).Monic
A minimal polynomial is monic.
theorem minpoly.ne_zero E1 #
∀ {A : Type u_1} {B : Type u_2} [inst : CommRing A] [inst_1 : Ring B] [inst_2 : Algebra A B] {x : B} [Nontrivial A],
IsIntegral A x → minpoly A x ≠ 0
A minimal polynomial is nonzero.
theorem minpoly.ne_zero_iff E0 #
∀ {A : Type u_1} {B : Type u_2} [inst : CommRing A] [inst_1 : Ring B] [inst_2 : Algebra A B] {x : B} [Nontrivial A],
minpoly A x ≠ 0 ↔ IsIntegral A x
theorem minpoly.algHom_eq E0 #
∀ {A : Type u_1} {B : Type u_2} {B' : Type u_3} [inst : CommRing A] [inst_1 : Ring B] [inst_2 : Ring B']
[inst_3 : Algebra A B] [inst_4 : Algebra A B'] (f : B →ₐ[A] B'),
Function.Injective ⇑f → ∀ (x : B), minpoly A (f x) = minpoly A x
theorem minpoly.algebraMap_eq E0 #
∀ {A : Type u_1} {B' : Type u_3} [inst : CommRing A] [inst_1 : Ring B'] [inst_2 : Algebra A B'] {B : Type u_4}
[inst_3 : CommRing B] [inst_4 : Algebra A B] [inst_5 : Algebra B B'] [IsScalarTower A B B'],
Function.Injective ⇑(algebraMap B B') → ∀ (x : B), minpoly A ((algebraMap B B') x) = minpoly A x
theorem minpoly.algEquiv_eq E0 #
∀ {A : Type u_1} {B : Type u_2} {B' : Type u_3} [inst : CommRing A] [inst_1 : Ring B] [inst_2 : Ring B']
[inst_3 : Algebra A B] [inst_4 : Algebra A B'] (f : B ≃ₐ[A] B') (x : B), minpoly A (f x) = minpoly A x
theorem minpoly.aeval E0 #
∀ (A : Type u_1) {B : Type u_2} [inst : CommRing A] [inst_1 : Ring B] [inst_2 : Algebra A B] (x : B),
(Polynomial.aeval x) (minpoly A x) = 0
An element is a root of its minimal polynomial.
theorem minpoly.aeval_algHom E0 #
∀ (A : Type u_1) {B : Type u_2} {B' : Type u_3} [inst : CommRing A] [inst_1 : Ring B] [inst_2 : Ring B']
[inst_3 : Algebra A B] [inst_4 : Algebra A B'] (f : B →ₐ[A] B') (x : B), (Polynomial.aeval (f x)) (minpoly A x) = 0
Given any f : B →ₐ[A] B' and any x : L, the minimal polynomial of x vanishes at f x.
theorem minpoly.ne_one E1 #
∀ (A : Type u_1) {B : Type u_2} [inst : CommRing A] [inst_1 : Ring B] [inst_2 : Algebra A B] (x : B) [Nontrivial B],
minpoly A x ≠ 1
A minimal polynomial is not 1.
theorem minpoly.map_ne_one E0 #
∀ (A : Type u_1) {B : Type u_2} [inst : CommRing A] [inst_1 : Ring B] [inst_2 : Algebra A B] (x : B) [Nontrivial B]
{R : Type u_4} [inst_4 : Semiring R] [Nontrivial R] (f : A →+* R), Polynomial.map f (minpoly A x) ≠ 1
theorem minpoly.not_isUnit E1 #
∀ (A : Type u_1) {B : Type u_2} [inst : CommRing A] [inst_1 : Ring B] [inst_2 : Algebra A B] (x : B) [Nontrivial B],
¬IsUnit (minpoly A x)
A minimal polynomial is not a unit.
theorem minpoly.mem_range_of_degree_eq_one E0 #
∀ (A : Type u_1) {B : Type u_2} [inst : CommRing A] [inst_1 : Ring B] [inst_2 : Algebra A B] (x : B),
(minpoly A x).degree = 1 → x ∈ (algebraMap A B).range
theorem minpoly.min E1 #
∀ (A : Type u_1) {B : Type u_2} [inst : CommRing A] [inst_1 : Ring B] [inst_2 : Algebra A B] (x : B) {p : Polynomial A},
p.Monic → (Polynomial.aeval x) p = 0 → (minpoly A x).degree ≤ p.degree
The defining property of the minimal polynomial of an element x:
it is the monic polynomial with smallest degree that has x as its root.
theorem minpoly.unique' E1 #
∀ (A : Type u_1) {B : Type u_2} [inst : CommRing A] [inst_1 : Ring B] [inst_2 : Algebra A B] (x : B) {p : Polynomial A},
p.Monic →
(Polynomial.aeval x) p = 0 →
(∀ (q : Polynomial A), q.degree < p.degree → q = 0 ∨ (Polynomial.aeval x) q ≠ 0) → p = minpoly A x
theorem minpoly.subsingleton E1 #
∀ (A : Type u_1) {B : Type u_2} [inst : CommRing A] [inst_1 : Ring B] [inst_2 : Algebra A B] (x : B) [Subsingleton B],
minpoly A x = 1
theorem minpoly.natDegree_pos E1 #
∀ {A : Type u_1} {B : Type u_2} [inst : CommRing A] [inst_1 : Ring B] [inst_2 : Algebra A B] {x : B} [Nontrivial B],
IsIntegral A x → 0 < (minpoly A x).natDegree
The degree of a minimal polynomial, as a natural number, is positive.
theorem minpoly.degree_pos E1 #
∀ {A : Type u_1} {B : Type u_2} [inst : CommRing A] [inst_1 : Ring B] [inst_2 : Algebra A B] {x : B} [Nontrivial B],
IsIntegral A x → 0 < (minpoly A x).degree
The degree of a minimal polynomial is positive.
theorem minpoly.aeval_modByMonic_minpoly E0 #
∀ {A : Type u_1} {B : Type u_2} [inst : CommRing A] [inst_1 : Ring B] [inst_2 : Algebra A B] (p : Polynomial A) (x : B),
(Polynomial.aeval x) (p %ₘ minpoly A x) = (Polynomial.aeval x) p
theorem minpoly.degree_eq_one_iff E0 #
∀ {A : Type u_1} {B : Type u_2} [inst : CommRing A] [inst_1 : Ring B] [inst_2 : Algebra A B] {x : B} [Nontrivial B],
(minpoly A x).degree = 1 ↔ x ∈ (algebraMap A B).range
theorem minpoly.natDegree_eq_one_iff E0 #
∀ {A : Type u_1} {B : Type u_2} [inst : CommRing A] [inst_1 : Ring B] [inst_2 : Algebra A B] {x : B} [Nontrivial B],
(minpoly A x).natDegree = 1 ↔ x ∈ (algebraMap A B).range
theorem minpoly.two_le_natDegree_iff E0 #
∀ {A : Type u_1} {B : Type u_2} [inst : CommRing A] [inst_1 : Ring B] [inst_2 : Algebra A B] {x : B} [Nontrivial B],
IsIntegral A x → (2 ≤ (minpoly A x).natDegree ↔ x ∉ (algebraMap A B).range)
theorem minpoly.two_le_natDegree_subalgebra E1 #
∀ {A : Type u_1} [inst : CommRing A] {B : Type u_4} [inst_1 : CommRing B] [inst_2 : Algebra A B] [Nontrivial B]
{S : Subalgebra A B} {x : B}, IsIntegral (↥S) x → (2 ≤ (minpoly (↥S) x).natDegree ↔ x ∉ S)
theorem minpoly.aeval_ne_zero_of_dvdNotUnit_minpoly E1 #
∀ {A : Type u_1} {B : Type u_2} [inst : CommRing A] [inst_1 : Ring B] [inst_2 : Algebra A B] {x : B} {a : Polynomial A},
IsIntegral A x → a.Monic → DvdNotUnit a (minpoly A x) → (Polynomial.aeval x) a ≠ 0
If a strictly divides the minimal polynomial of x, then x cannot be a root for a.
theorem minpoly.irreducible E1 #
∀ {A : Type u_1} {B : Type u_2} [inst : CommRing A] [inst_1 : Ring B] [inst_2 : Algebra A B] {x : B} [IsDomain A]
[IsDomain B], IsIntegral A x → Irreducible (minpoly A x)
A minimal polynomial is irreducible.