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.IsIntegrallyClosed

27 declarations. Mathlib docs · Source

Minimal polynomials over a GCD monoid

This file specializes the theory of minpoly to the case of an algebra over a GCD monoid.

Main results

  • minpoly.isIntegrallyClosed_eq_field_fractions: For integrally closed domains, the minimal polynomial over the ring is the same as the minimal polynomial over the fraction field.

  • minpoly.isIntegrallyClosed_dvd: For integrally closed domains, the minimal polynomial divides any primitive polynomial that has the integral element as root.

  • IsIntegrallyClosed.Minpoly.unique: 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.

theorem Algebra.adjoin.powerBasis'.congr_simp E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : IsDomain R] [inst_3 : Algebra R S]
  [inst_4 : IsIntegrallyClosed R] [inst_5 : IsDomain S] [inst_6 : Module.IsTorsionFree R S] {x : S}
  (hx : IsIntegral R x), Algebra.adjoin.powerBasis' hx = Algebra.adjoin.powerBasis' hx

theorem minpoly.isIntegrallyClosed_eq_field_fractions E3 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [IsDomain R] [inst_3 : Algebra R S]
  (K : Type u_3) (L : Type u_4) [inst_4 : Field K] [inst_5 : Algebra R K] [IsFractionRing R K] [inst_7 : CommRing L]
  [Nontrivial L] [inst_9 : Algebra R L] [inst_10 : Algebra S L] [inst_11 : Algebra K L] [IsScalarTower R K L]
  [IsScalarTower R S L] [IsIntegrallyClosed R] [IsDomain S] {s : S},
  IsIntegral R s → minpoly K ((algebraMap S L) s) = Polynomial.map (algebraMap R K) (minpoly R s)

For integrally closed domains, the minimal polynomial over the ring is the same as the minimal polynomial over the fraction field. See minpoly.isIntegrallyClosed_eq_field_fractions' if S is already a K-algebra.

theorem minpoly.isIntegrallyClosed_eq_field_fractions' E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [IsDomain R] [inst_3 : Algebra R S]
  (K : Type u_3) [inst_4 : Field K] [inst_5 : Algebra R K] [IsFractionRing R K] [IsIntegrallyClosed R] [IsDomain S]
  [inst_9 : Algebra K S] [IsScalarTower R K S] {s : S},
  IsIntegral R s → minpoly K s = Polynomial.map (algebraMap R K) (minpoly R s)

For integrally closed domains, the minimal polynomial over the ring is the same as the minimal polynomial over the fraction field. Compared to minpoly.isIntegrallyClosed_eq_field_fractions, this version is useful if the element is in a ring that is already a K-algebra.

theorem minpoly.isIntegrallyClosed_dvd E3 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [IsDomain R] [inst_3 : Algebra R S]
  [IsIntegrallyClosed R] [IsDomain S] [Module.IsTorsionFree R S] {s : S},
  IsIntegral R s → ∀ {p : Polynomial R}, (Polynomial.aeval s) p = 0 → minpoly R s ∣ p

For integrally closed rings, the minimal polynomial divides any polynomial that has the integral element as root. See also minpoly.dvd which relaxes the assumptions on S in exchange for stronger assumptions on R.

theorem minpoly.isIntegrallyClosed_dvd_iff E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [IsDomain R] [inst_3 : Algebra R S]
  [IsIntegrallyClosed R] [IsDomain S] [Module.IsTorsionFree R S] {s : S},
  IsIntegral R s → ∀ (p : Polynomial R), (Polynomial.aeval s) p = 0 ↔ minpoly R s ∣ p

theorem minpoly.ker_eval E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [IsDomain R] [inst_3 : Algebra R S]
  [IsIntegrallyClosed R] [IsDomain S] [Module.IsTorsionFree R S] {s : S},
  IsIntegral R s → RingHom.ker (Polynomial.aeval s).toRingHom = Ideal.span {minpoly R s}

theorem minpoly.IsIntegrallyClosed.degree_le_of_ne_zero E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [IsDomain R] [inst_3 : Algebra R S]
  [IsIntegrallyClosed R] [IsDomain S] [Module.IsTorsionFree R S] {s : S} {p : Polynomial R},
  p ≠ 0 → (Polynomial.aeval s) p = 0 → (minpoly R s).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.degree_le_of_ne_zero which relaxes the assumptions on S in exchange for stronger assumptions on R.

theorem minpoly.IsIntegrallyClosed.isIntegral_iff_isUnit_leadingCoeff E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [IsDomain R] [inst_3 : Algebra R S]
  [IsIntegrallyClosed R] [IsDomain S] [Module.IsTorsionFree R S] {x : S} {p : Polynomial R},
  Irreducible p → (Polynomial.aeval x) p = 0 → (IsIntegral R x ↔ IsUnit p.leadingCoeff)

If x is a root of an irreducible polynomial p, then x is integral iff the leading coefficient of p is a unit.

theorem IsIntegrallyClosed.minpoly.unique E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [IsDomain R] [inst_3 : Algebra R S]
  [IsIntegrallyClosed R] [IsDomain S] [Module.IsTorsionFree R S] {s : S} {P : Polynomial R},
  P.Monic →
    (Polynomial.aeval s) P = 0 →
      (∀ (Q : Polynomial R), Q.Monic → (Polynomial.aeval s) Q = 0 → P.degree ≤ Q.degree) → P = minpoly R s

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.unique which relaxes the assumptions on S in exchange for stronger assumptions on R.

theorem minpoly.IsIntegrallyClosed.unique_of_degree_le_degree_minpoly E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [IsDomain R] [inst_3 : Algebra R S]
  [IsIntegrallyClosed R] [IsDomain S] [Module.IsTorsionFree R S] {s : S} {p : Polynomial R},
  p.Monic → (Polynomial.aeval s) p = 0 → p.degree ≤ (minpoly R s).degree → p = minpoly R s

theorem minpoly.IsIntegrallyClosed.isIntegral_iff_leadingCoeff_dvd E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [IsDomain R] [inst_3 : Algebra R S]
  [IsIntegrallyClosed R] [IsDomain S] [Module.IsTorsionFree R S] {s : S} {p : Polynomial R},
  (Polynomial.aeval s) p = 0 →
    p ≠ 0 →
      (∀ (q : Polynomial R), q.Monic → (Polynomial.aeval s) q = 0 → p.degree ≤ q.degree) →
        (IsIntegral R s ↔ Polynomial.C p.leadingCoeff ∣ p)

theorem minpoly.prime_of_isIntegrallyClosed E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [IsDomain R] [inst_3 : Algebra R S]
  [IsIntegrallyClosed R] [IsDomain S] [Module.IsTorsionFree R S] {x : S}, IsIntegral R x → Prime (minpoly R x)

theorem IsIntegrallyClosed.minpoly_smul E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [IsDomain R] [inst_3 : Algebra R S]
  [IsIntegrallyClosed R] [IsDomain S] [Module.IsTorsionFree R S] {r : R},
  r ≠ 0 → ∀ {s : S}, IsIntegral R s → minpoly R (r • s) = (minpoly R s).scaleRoots r

theorem minpoly.ToAdjoin.injective E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [IsDomain R] [inst_3 : Algebra R S]
  [IsIntegrallyClosed R] [IsDomain S] [Module.IsTorsionFree R S] {x : S},
  IsIntegral R x → Function.Injective ⇑(AdjoinRoot.Minpoly.toAdjoin R x)

def minpoly.equivAdjoin E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : CommRing R] →
      [inst_1 : CommRing S] →
        [IsDomain R] →
          [inst_3 : Algebra R S] →
            [IsIntegrallyClosed R] →
              [IsDomain S] →
                [Module.IsTorsionFree R S] → {x : S} → IsIntegral R x → AdjoinRoot (minpoly R x) ≃ₐ[R] ↥R[x]

The algebra isomorphism AdjoinRoot (minpoly R x) ≃ₐ[R] adjoin R x

theorem minpoly.equivAdjoin_toAlgHom E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : IsDomain R] [inst_3 : Algebra R S]
  [inst_4 : IsIntegrallyClosed R] [inst_5 : IsDomain S] [inst_6 : Module.IsTorsionFree R S] {x : S}
  (hx : IsIntegral R x), ↑(minpoly.equivAdjoin hx) = AdjoinRoot.Minpoly.toAdjoin R x

theorem minpoly.coe_equivAdjoin E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : IsDomain R] [inst_3 : Algebra R S]
  [inst_4 : IsIntegrallyClosed R] [inst_5 : IsDomain S] [inst_6 : Module.IsTorsionFree R S] {x : S}
  (hx : IsIntegral R x), ⇑(minpoly.equivAdjoin hx) = ⇑(AdjoinRoot.Minpoly.toAdjoin R x)

def Algebra.adjoin.powerBasis' E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : CommRing R] →
      [inst_1 : CommRing S] →
        [IsDomain R] →
          [inst_3 : Algebra R S] →
            [IsIntegrallyClosed R] →
              [IsDomain S] → [Module.IsTorsionFree R S] → {x : S} → IsIntegral R x → PowerBasis R ↥R[x]

The PowerBasis of adjoin R {x} given by x. See Algebra.adjoin.powerBasis for a version over a field.

theorem Algebra.adjoin.powerBasis'_dim E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : IsDomain R] [inst_3 : Algebra R S]
  [inst_4 : IsIntegrallyClosed R] [inst_5 : IsDomain S] [inst_6 : Module.IsTorsionFree R S] {x : S}
  (hx : IsIntegral R x), (Algebra.adjoin.powerBasis' hx).dim = (minpoly R x).natDegree

theorem Algebra.adjoin.powerBasis'_gen E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : IsDomain R] [inst_3 : Algebra R S]
  [inst_4 : IsIntegrallyClosed R] [inst_5 : IsDomain S] [inst_6 : Module.IsTorsionFree R S] {x : S}
  (hx : IsIntegral R x), (Algebra.adjoin.powerBasis' hx).gen = ⟨x, ⋯⟩

def PowerBasis.ofAdjoinEqTop' E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : CommRing R] →
      [inst_1 : CommRing S] →
        [IsDomain R] →
          [inst_3 : Algebra R S] →
            [IsIntegrallyClosed R] →
              [IsDomain S] → [Module.IsTorsionFree R S] → {x : S} → IsIntegral R x → R[x] = ⊤ → PowerBasis R S

If x generates S over R and is integral over R, then it defines a power basis. See PowerBasis.ofAdjoinEqTop for a version over a field.

theorem PowerBasis.ofAdjoinEqTop'_dim E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : IsDomain R] [inst_3 : Algebra R S]
  [inst_4 : IsIntegrallyClosed R] [inst_5 : IsDomain S] [inst_6 : Module.IsTorsionFree R S] {x : S}
  (hx : IsIntegral R x) (hx' : R[x] = ⊤), (PowerBasis.ofAdjoinEqTop' hx hx').dim = (minpoly R x).natDegree

theorem PowerBasis.ofAdjoinEqTop'_gen E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : IsDomain R] [inst_3 : Algebra R S]
  [inst_4 : IsIntegrallyClosed R] [inst_5 : IsDomain S] [inst_6 : Module.IsTorsionFree R S] {x : S}
  (hx : IsIntegral R x) (hx' : R[x] = ⊤), (PowerBasis.ofAdjoinEqTop' hx hx').gen = x

instance minpoly.instAlgebraSubtypeMemSubringSubalgebraIntegralClosure E0 #

{K : Type u_3} →
  {L : Type u_4} →
    [inst : Field K] →
      [inst_1 : Field L] → [inst_2 : Algebra K L] → (A : Subring K) → Algebra ↥A ↥(integralClosure (↥A) L)

instance minpoly.instSMulSubtypeMemSubringSubalgebraIntegralClosure E0 #

{K : Type u_3} →
  {L : Type u_4} →
    [inst : Field K] → [inst_1 : Field L] → [inst_2 : Algebra K L] → (A : Subring K) → SMul ↥A ↥(integralClosure (↥A) L)

instance minpoly.instIsScalarTowerSubtypeMemSubringSubalgebraIntegralClosure E0 #

∀ {K : Type u_3} {L : Type u_4} [inst : Field K] [inst_1 : Field L] [inst_2 : Algebra K L] (A : Subring K),
  IsScalarTower (↥A) (↥(integralClosure (↥A) L)) L

theorem minpoly.ofSubring E1 #

∀ {K : Type u_3} {L : Type u_4} [inst : Field K] [inst_1 : Field L] [inst_2 : Algebra K L] (A : Subring K)
  [IsIntegrallyClosed ↥A] [IsFractionRing (↥A) K] (x : ↥(integralClosure (↥A) L)),
  Polynomial.map (algebraMap (↥A) K) (minpoly (↥A) x) = minpoly K ↑x

The minimal polynomial of x : L over K agrees with its minimal polynomial over the integrally closed subring A.