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
.
After stating the defining property we specialize to the setting of field extensions and derive some well-known properties, amongst which the fact that minimal polynomials are irreducible, and uniquely determined by their defining property.
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 (is_integral 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
.
Equations
- minpoly A x = dite (is_integral A x) (Ξ» (hx : is_integral A x), _.min (Ξ» (p : A[X]), p.monic β§ polynomial.evalβ (algebra_map A B) x p = 0) hx) (Ξ» (hx : Β¬is_integral A x), 0)
A minimal polynomial is monic.
A minimal polynomial is nonzero.
An element is a root of its minimal polynomial.
A minimal polynomial is not 1
.
A minimal polynomial is not a unit.
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.
The degree of a minimal polynomial, as a natural number, is positive.
The degree of a minimal polynomial is positive.
If B/A
is an injective ring extension, and a
is an element of A
,
then the minimal polynomial of algebra_map A B a
is X - C a
.
If a
strictly divides the minimal polynomial of x
, then x
cannot be a root for a
.
A minimal polynomial is irreducible.
If an element x
is a root of a nonzero polynomial p
,
then the degree of p
is at least the degree of the minimal polynomial of x
.
The minimal polynomial of an element x
is uniquely characterized by its defining property:
if there is another monic polynomial of minimal degree that has x
as a root,
then this polynomial is equal to the minimal polynomial of x
.
If y
is a conjugate of x
over a field K
, then it is a conjugate over a subring R
.
If y
is the image of x
in an extension, their minimal polynomials coincide.
We take h : y = algebra_map L T x
as an argument because rw h
typically fails
since is_integral R y
depends on y.
For GCD domains, the minimal polynomial over the ring is the same as the minimal polynomial over the fraction field.
For GCD domains, the minimal polynomial divides any primitive polynomial that has the integral element as root.
If B/K
is a nontrivial algebra over a field, and x
is an element of K
,
then the minimal polynomial of algebra_map K B x
is X - C x
.
The minimal polynomial of 0
is X
.
The minimal polynomial of 1
is X - 1
.
A minimal polynomial is prime.
If L/K
is a field extension and an element y
of K
is a root of the minimal polynomial
of an element x β L
, then y
maps to x
under the field embedding.