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 / V09. Commutative algebra I: ideals, polynomials, factorization

Mathlib.RingTheory.Polynomial.GaussLemma

17 declarations. Mathlib docs · Source

Gauss's Lemma

Gauss's Lemma is one of a few results pertaining to irreducibility of primitive polynomials.

Main Results

  • IsIntegrallyClosed.eq_map_mul_C_of_dvd: if R is integrally closed, K = Frac(R) and g : K[X] divides a monic polynomial with coefficients in R, then g * (C g.leadingCoeff⁻¹) has coefficients in R
  • Polynomial.Monic.irreducible_iff_irreducible_map_fraction_map: A monic polynomial over an integrally closed domain is irreducible iff it is irreducible in a fraction field
  • isIntegrallyClosed_iff': Integrally closed domains are precisely the domains for in which Gauss's lemma holds for monic polynomials
  • Polynomial.IsPrimitive.irreducible_iff_irreducible_map_fraction_map: A primitive polynomial over a GCD domain is irreducible iff it is irreducible in a fraction field
  • Polynomial.IsPrimitive.Int.irreducible_iff_irreducible_map_cast: A primitive polynomial over ℤ is irreducible iff it is irreducible over ℚ.
  • Polynomial.IsPrimitive.dvd_iff_fraction_map_dvd_fraction_map: Two primitive polynomials over a GCD domain divide each other iff they do in a fraction field.
  • Polynomial.IsPrimitive.Int.dvd_iff_map_cast_dvd_map_cast: Two primitive polynomials over ℤ divide each other if they do in ℚ.

theorem IsLocalization.integerNormalization.congr_simp E1 #

∀ {R : Type u_1} [inst : CommRing R] (M M_1 : Submonoid R) (e_M : M = M_1) {S : Type u_2} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] [inst_3 : IsLocalization M S] (p p_1 : Polynomial S),
  p = p_1 → IsLocalization.integerNormalization M p = IsLocalization.integerNormalization M_1 p_1

theorem integralClosure.mem_lifts_of_monic_of_dvd_map E0 #

∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K] {f : Polynomial R},
  f.Monic →
    ∀ {g : Polynomial K},
      g.Monic → g ∣ Polynomial.map (algebraMap R K) f → g ∈ Polynomial.lifts (algebraMap (↥(integralClosure R K)) K)

theorem Polynomial.IsPrimitive.isUnit_iff_isUnit_map_of_injective E1 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] [IsDomain S] {φ : R →+* S},
  Function.Injective ⇑φ → ∀ {f : Polynomial R}, f.IsPrimitive → (IsUnit f ↔ IsUnit (Polynomial.map φ f))

theorem Polynomial.IsPrimitive.irreducible_of_irreducible_map_of_injective E1 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] [IsDomain S] {φ : R →+* S},
  Function.Injective ⇑φ → ∀ {f : Polynomial R}, f.IsPrimitive → Irreducible (Polynomial.map φ f) → Irreducible f

theorem Polynomial.IsPrimitive.isUnit_iff_isUnit_map E1 #

∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] [IsFractionRing R K]
  {p : Polynomial R}, p.IsPrimitive → (IsUnit p ↔ IsUnit (Polynomial.map (algebraMap R K) p))

theorem Polynomial.Monic.irreducible_iff_irreducible_map_fraction_map E3 #

∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] [IsFractionRing R K]
  [IsIntegrallyClosed R] {p : Polynomial R}, p.Monic → (Irreducible p ↔ Irreducible (Polynomial.map (algebraMap R K) p))

Gauss's Lemma for integrally closed domains states that a monic polynomial is irreducible iff it is irreducible in the fraction field.

theorem Polynomial.isIntegrallyClosed_iff' E3 #

∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] [IsFractionRing R K]
  [IsDomain R],
  IsIntegrallyClosed R ↔
    ∀ (p : Polynomial R), p.Monic → (Irreducible p ↔ Irreducible (Polynomial.map (algebraMap R K) p))

Integrally closed domains are precisely the domains for in which Gauss's lemma holds for monic polynomials

theorem Polynomial.Monic.dvd_of_fraction_map_dvd_fraction_map E1 #

∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] [IsFractionRing R K]
  [IsIntegrallyClosed R] {p q : Polynomial R},
  p.Monic → q.Monic → Polynomial.map (algebraMap R K) q ∣ Polynomial.map (algebraMap R K) p → q ∣ p

theorem Polynomial.Monic.dvd_iff_fraction_map_dvd_fraction_map E1 #

∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] [IsFractionRing R K]
  [IsIntegrallyClosed R] {p q : Polynomial R},
  p.Monic → q.Monic → (Polynomial.map (algebraMap R K) q ∣ Polynomial.map (algebraMap R K) p ↔ q ∣ p)

theorem Polynomial.isUnit_or_eq_zero_of_isUnit_integerNormalization_primPart E1 #

∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K]
  [inst_3 : IsFractionRing R K] [IsDomain R] [inst_5 : NormalizedGCDMonoid R] {p : Polynomial K},
  p ≠ 0 → IsUnit (IsLocalization.integerNormalization (nonZeroDivisors R) p).primPart → IsUnit p

theorem Polynomial.IsPrimitive.mul_map_mem_lifts_iff E0 #

∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] [IsFractionRing R K]
  [IsDomain R] [IsGCDMonoid R] {f : Polynomial R},
  f.IsPrimitive →
    ∀ {g : Polynomial K},
      g * Polynomial.map (algebraMap R K) f ∈ Polynomial.lifts (algebraMap R K) ↔ g ∈ Polynomial.lifts (algebraMap R K)

theorem Polynomial.IsPrimitive.map_mul_mem_lifts_iff E0 #

∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] [IsFractionRing R K]
  [IsDomain R] [IsGCDMonoid R] {f : Polynomial R},
  f.IsPrimitive →
    ∀ {g : Polynomial K},
      Polynomial.map (algebraMap R K) f * g ∈ Polynomial.lifts (algebraMap R K) ↔ g ∈ Polynomial.lifts (algebraMap R K)

theorem Polynomial.IsPrimitive.irreducible_iff_irreducible_map_fraction_map E3 #

∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] [IsFractionRing R K]
  [IsDomain R] [IsGCDMonoid R] {p : Polynomial R},
  p.IsPrimitive → (Irreducible p ↔ Irreducible (Polynomial.map (algebraMap R K) p))

Gauss's Lemma for GCD domains states that a primitive polynomial is irreducible iff it is irreducible in the fraction field.

theorem Polynomial.IsPrimitive.dvd_of_fraction_map_dvd_fraction_map E1 #

∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] [IsFractionRing R K]
  [IsDomain R] [IsGCDMonoid R] {p q : Polynomial R},
  p.IsPrimitive → Polynomial.map (algebraMap R K) p ∣ Polynomial.map (algebraMap R K) q → p ∣ q

theorem Polynomial.IsPrimitive.dvd_iff_fraction_map_dvd_fraction_map E3 #

∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K] [IsFractionRing R K]
  [IsDomain R] [IsGCDMonoid R] {p q : Polynomial R},
  p.IsPrimitive → (p ∣ q ↔ Polynomial.map (algebraMap R K) p ∣ Polynomial.map (algebraMap R K) q)

theorem Polynomial.IsPrimitive.Int.irreducible_iff_irreducible_map_cast E3 #

∀ {p : Polynomial ℤ}, p.IsPrimitive → (Irreducible p ↔ Irreducible (Polynomial.map (Int.castRingHom ℚ) p))

Gauss's Lemma for ℤ states that a primitive integer polynomial is irreducible iff it is irreducible over ℚ.

theorem Polynomial.IsPrimitive.Int.dvd_iff_map_cast_dvd_map_cast E3 #

∀ (p q : Polynomial ℤ),
  p.IsPrimitive → (p ∣ q ↔ Polynomial.map (Int.castRingHom ℚ) p ∣ Polynomial.map (Int.castRingHom ℚ) q)