Documentation

TauCeti.NumberTheory.NumberField.Minpoly

Minimal polynomials of algebraic integers #

An algebraic integer x of a number field K has a minimal polynomial over ℤ, as an element of 𝓞 K, and a minimal polynomial over ℚ, as an element of K. Since ℤ is integrally closed, the second is the first with its coefficients cast to ℚ.

Main results #

The minimal polynomial over ℚ of an algebraic integer x, viewed in K, is its minimal polynomial over ℤ with the coefficients cast to ℚ.

A root in M of minpoly ℚ θ is a root of minpoly ℤ θ.

theorem TauCeti.NumberField.isIntegral_of_mem_rootSet {K : Type u_1} [Field K] [NumberField K] {θ : NumberField.RingOfIntegers K} {M : Type u_2} [CommRing M] [IsDomain M] [Algebra ℚ M] {β : M} (hβ : β ∈ (minpoly ℚ ↑θ).rootSet M) :

A root in M of minpoly ℚ θ is an algebraic integer.

theorem TauCeti.NumberField.minpoly_rat_eq_of_mem_rootSet {K : Type u_1} [Field K] [NumberField K] {θ : NumberField.RingOfIntegers K} {M : Type u_2} [CommRing M] [IsDomain M] [Algebra ℚ M] {β : M} (hβ : β ∈ (minpoly ℚ ↑θ).rootSet M) :

A root in M of minpoly ℚ θ has that polynomial as its minimal polynomial over ℚ.

An algebraic integer of a number field M that is a root of minpoly ℚ θ has the same minimal polynomial over ℤ as θ.

For an algebraic integer ω with minimal polynomial X² - X + c over ℤ, the element 2ω - 1 is a square root of 1 - 4c: its minimal polynomial over ℤ is X² - (1 - 4c). This converts the half-integer presentation of a quadratic field back into the radicand presentation.