The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V11. Fields and Galois theory

Mathlib.FieldTheory.Minpoly.Field

30 declarations. Mathlib docs · Source

theorem IsOfFinOrder.unit.congr_simp E1 #

∀ {M : Type u_6} [inst : Monoid M] {x x_1 : M} (e_x : x = x_1) (hx : IsOfFinOrder x), hx.unit = ⋯.unit

theorem minpoly.degree_le_of_ne_zero E1 #

∀ (A : Type u_1) {B : Type u_2} [inst : Field A] [inst_1 : Ring B] [inst_2 : Algebra A B] (x : B) {p : Polynomial A},
  p ≠ 0 → (Polynomial.aeval x) p = 0 → (minpoly A x).degree ≤ p.degree

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. See also minpoly.IsIntegrallyClosed.degree_le_of_ne_zero which relaxes the assumptions on A in exchange for stronger assumptions on B.

theorem minpoly.ne_zero_of_finite E1 #

∀ (A : Type u_1) {B : Type u_2} [inst : Field A] [inst_1 : Ring B] [inst_2 : Algebra A B] (e : B)
  [FiniteDimensional A B], minpoly A e ≠ 0

theorem minpoly.unique E1 #

∀ (A : Type u_1) {B : Type u_2} [inst : Field 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.Monic → (Polynomial.aeval x) q = 0 → p.degree ≤ q.degree) → p = minpoly A 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. See also minpoly.IsIntegrallyClosed.Minpoly.unique which relaxes the assumptions on A in exchange for stronger assumptions on B.

theorem minpoly.unique_of_degree_le_degree_minpoly E1 #

∀ (A : Type u_1) {B : Type u_2} [inst : Field A] [inst_1 : Ring B] [inst_2 : Algebra A B] (x : B) {p : Polynomial A},
  p.Monic → (Polynomial.aeval x) p = 0 → p.degree ≤ (minpoly A x).degree → p = minpoly A x

theorem minpoly.dvd E1 #

∀ (A : Type u_1) {B : Type u_2} [inst : Field A] [inst_1 : Ring B] [inst_2 : Algebra A B] (x : B) {p : Polynomial A},
  (Polynomial.aeval x) p = 0 → minpoly A x ∣ p

If an element x is a root of a polynomial p, then the minimal polynomial of x divides p. See also minpoly.isIntegrallyClosed_dvd which relaxes the assumptions on A in exchange for stronger assumptions on B.

theorem minpoly.dvd_iff E0 #

∀ {A : Type u_1} {B : Type u_2} [inst : Field A] [inst_1 : Ring B] [inst_2 : Algebra A B] {x : B} {p : Polynomial A},
  minpoly A x ∣ p ↔ (Polynomial.aeval x) p = 0

theorem minpoly.isRadical E1 #

∀ (A : Type u_1) {B : Type u_2} [inst : Field A] [inst_1 : Ring B] [inst_2 : Algebra A B] (x : B) [IsReduced B],
  IsRadical (minpoly A x)

theorem minpoly.dvd_map_of_isScalarTower E1 #

∀ (A : Type u_3) (K : Type u_4) {R : Type u_5} [inst : CommRing A] [inst_1 : Field K] [inst_2 : Ring R]
  [inst_3 : Algebra A K] [inst_4 : Algebra A R] [inst_5 : Algebra K R] [IsScalarTower A K R] (x : R),
  minpoly K x ∣ Polynomial.map (algebraMap A K) (minpoly A x)

theorem minpoly.dvd_map_of_isScalarTower' E1 #

∀ (R : Type u_3) {S : Type u_4} (K : Type u_5) (L : Type u_6) [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : Field K] [inst_3 : Ring L] [inst_4 : Algebra R S] [inst_5 : Algebra R K] [inst_6 : Algebra S L]
  [inst_7 : Algebra K L] [inst_8 : Algebra R L] [IsScalarTower R K L] [IsScalarTower R S L] (s : S),
  minpoly K ((algebraMap S L) s) ∣ Polynomial.map (algebraMap R K) (minpoly R s)

theorem minpoly.aeval_of_isScalarTower E1 #

∀ (R : Type u_3) {K : Type u_4} {T : Type u_5} {U : Type u_6} [inst : CommRing R] [inst_1 : Field K]
  [inst_2 : CommRing T] [inst_3 : Algebra R K] [inst_4 : Algebra K T] [inst_5 : Algebra R T] [IsScalarTower R K T]
  [inst_7 : CommSemiring U] [inst_8 : Algebra K U] [inst_9 : Algebra R U] [IsScalarTower R K U] (x : T) (y : U),
  (Polynomial.aeval y) (minpoly K x) = 0 → (Polynomial.aeval y) (minpoly R x) = 0

If y is a conjugate of x over a field K, then it is a conjugate over a subring R.

theorem minpoly.map_algebraMap E0 #

∀ {F : Type u_3} {E : Type u_4} {A : Type u_5} [inst : Field F] [inst_1 : Field E] [inst_2 : CommRing A]
  [inst_3 : Algebra F E] [inst_4 : Algebra E A] [inst_5 : Algebra F A] [IsScalarTower F E A] {a : A},
  IsIntegral F a →
    minpoly E a ∈ Polynomial.lifts (algebraMap F E) → Polynomial.map (algebraMap F E) (minpoly F a) = minpoly E a

If a subfield F of E contains all the coefficients of minpoly E a, then minpoly F a maps to minpoly E a via algebraMap F E.

theorem minpoly.ker_aeval_eq_span_minpoly E0 #

∀ (A : Type u_1) {B : Type u_2} [inst : Field A] [inst_1 : Ring B] [inst_2 : Algebra A B] (x : B),
  RingHom.ker (Polynomial.aeval x) = Polynomial A ∙ minpoly A x

See also minpoly.ker_eval which relaxes the assumptions on A in exchange for stronger assumptions on B.

theorem Irreducible.dvd_iff_aeval_eq_zero E1 #

∀ {A : Type u_1} {B : Type u_2} [inst : Field A] [inst_1 : Ring B] [inst_2 : Algebra A B] [Nontrivial B]
  {p q : Polynomial A}, Irreducible p → ∀ {b : B}, (Polynomial.aeval b) p = 0 → ((Polynomial.aeval b) q = 0 ↔ p ∣ q)

theorem minpoly.add_algebraMap E1 #

∀ {A : Type u_1} [inst : Field A] {B : Type u_3} [inst_1 : CommRing B] [inst_2 : Algebra A B] (x : B) (a : A),
  minpoly A (x + (algebraMap A B) a) = (minpoly A x).comp (Polynomial.X - Polynomial.C a)

theorem minpoly.sub_algebraMap E1 #

∀ {A : Type u_1} [inst : Field A] {B : Type u_3} [inst_1 : CommRing B] [inst_2 : Algebra A B] (x : B) (a : A),
  minpoly A (x - (algebraMap A B) a) = (minpoly A x).comp (Polynomial.X + Polynomial.C a)

theorem minpoly.neg E1 #

∀ {A : Type u_1} [inst : Field A] {B : Type u_3} [inst_1 : Ring B] [inst_2 : Algebra A B] (x : B),
  minpoly A (-x) = (-1) ^ (minpoly A x).natDegree * (minpoly A x).comp (-Polynomial.X)

theorem minpoly.map_eq_of_equiv_equiv E0 #

∀ {A : Type u_1} [inst : Field A] {R : Type u_3} {S : Type u_4} {T : Type u_5} [inst_1 : CommRing R] [IsDomain R]
  [inst_3 : Ring S] [inst_4 : Ring T] [IsDomain S] [IsDomain T] [inst_7 : Algebra R S] [inst_8 : Algebra A T]
  [Algebra.IsIntegral R S] {f : R ≃+* A} {g : S ≃+* T},
  (algebraMap A T).comp ↑f = (↑g).comp (algebraMap R S) → ∀ (x : S), Polynomial.map (↑f) (minpoly R x) = minpoly A (g x)

def minpoly.Fintype.subtypeProd E1 #

{E : Type u_3} → {X : Set E} → X.Finite → {L : Type u_4} → (F : E → Multiset L) → Fintype ((x : ↑X) → { l // l ∈ F ↑x })

A technical finiteness result.

def minpoly.rootsOfMinPolyPiType E1 #

(F : Type u_3) →
  (E : Type u_4) →
    (K : Type u_5) →
      [inst : Field F] →
        [inst_1 : Ring E] →
          [inst_2 : CommRing K] →
            [inst_3 : IsDomain K] →
              [inst_4 : Algebra F E] →
                [inst_5 : Algebra F K] →
                  [inst_6 : FiniteDimensional F E] →
                    (E →ₐ[F] K) → (x : ↑(Set.range ⇑(Module.finBasis F E))) → { l // l ∈ (minpoly F ↑x).aroots K }

Function from Hom_K(E,L) to pi type Π (x : basis), roots of min poly of x

theorem minpoly.aux_inj_roots_of_min_poly E1 #

∀ (F : Type u_3) (E : Type u_4) (K : Type u_5) [inst : Field F] [inst_1 : Ring E] [inst_2 : CommRing K]
  [inst_3 : IsDomain K] [inst_4 : Algebra F E] [inst_5 : Algebra F K] [inst_6 : FiniteDimensional F E],
  Function.Injective (minpoly.rootsOfMinPolyPiType F E K)

instance minpoly.AlgHom.fintype E0 #

(F : Type u_3) →
  (E : Type u_4) →
    (K : Type u_5) →
      [inst : Field F] →
        [inst_1 : Ring E] →
          [inst_2 : CommRing K] →
            [IsDomain K] →
              [inst_4 : Algebra F E] → [inst_5 : Algebra F K] → [FiniteDimensional F E] → Fintype (E →ₐ[F] K)

Given field extensions E/F and K/F, with E/F finite, there are finitely many F-algebra homomorphisms E →ₐ[K] K.

theorem minpoly.zero E0 #

∀ (A : Type u_1) (B : Type u_2) [inst : Field A] [inst_1 : Ring B] [inst_2 : Algebra A B] [Nontrivial B],
  minpoly A 0 = Polynomial.X

The minimal polynomial of 0 is X.

theorem minpoly.one E0 #

∀ (A : Type u_1) (B : Type u_2) [inst : Field A] [inst_1 : Ring B] [inst_2 : Algebra A B] [Nontrivial B],
  minpoly A 1 = Polynomial.X - 1

The minimal polynomial of 1 is X - 1.

theorem minpoly.prime E1 #

∀ {A : Type u_1} {B : Type u_2} [inst : Field A] [inst_1 : Ring B] [IsDomain B] [inst_3 : Algebra A B] {x : B},
  IsIntegral A x → Prime (minpoly A x)

A minimal polynomial is prime.

theorem minpoly.root E1 #

∀ {A : Type u_1} {B : Type u_2} [inst : Field A] [inst_1 : Ring B] [IsDomain B] [inst_3 : Algebra A B] {x : B},
  IsIntegral A x → ∀ {y : A}, (minpoly A x).IsRoot y → (algebraMap A B) y = x

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.

theorem minpoly.coeff_zero_eq_zero E0 #

∀ {A : Type u_1} {B : Type u_2} [inst : Field A] [inst_1 : Ring B] [IsDomain B] [inst_3 : Algebra A B] {x : B},
  IsIntegral A x → ((minpoly A x).coeff 0 = 0 ↔ x = 0)

The constant coefficient of the minimal polynomial of x is 0 if and only if x = 0.

theorem minpoly.coeff_zero_ne_zero E1 #

∀ {A : Type u_1} {B : Type u_2} [inst : Field A] [inst_1 : Ring B] [IsDomain B] [inst_3 : Algebra A B] {x : B},
  IsIntegral A x → x ≠ 0 → (minpoly A x).coeff 0 ≠ 0

The minimal polynomial of a nonzero element has nonzero constant coefficient.

theorem minpoly_algEquiv_toLinearMap E1 #

∀ {K : Type u_1} {L : Type u_2} [inst : Field K] [inst_1 : CommRing L] [IsDomain L] [inst_3 : Algebra K L]
  (σ : L ≃ₐ[K] L), IsOfFinOrder σ → minpoly K σ.toLinearMap = Polynomial.X ^ orderOf σ - Polynomial.C 1

The minimal polynomial (over K) of σ : L ≃ₐ[K] L is X ^ (orderOf σ) - 1.

theorem minpoly_algHom_toLinearMap E1 #

∀ {K : Type u_1} {L : Type u_2} [inst : Field K] [inst_1 : CommRing L] [IsDomain L] [inst_3 : Algebra K L]
  (σ : L →ₐ[K] L), IsOfFinOrder σ → minpoly K σ.toLinearMap = Polynomial.X ^ orderOf σ - Polynomial.C 1

The minimal polynomial (over K) of σ : Gal(L/K) is X ^ (orderOf σ) - 1.