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.Ideal.GoingUp

39 declarations and 15 deprecated aliases. Mathlib docs · Source

Ideals over/under ideals in integral extensions

This file proves some going-up results for integral algebras.

Implementation notes

The proofs of the comap_ne_bot and comap_lt_comap families use an approach specific for their situation: we construct an element in I.comap f from the coefficients of a minimal polynomial. Once mathlib has more material on the localization at a prime ideal, the results can be proven using more general going-up/going-down theory.

theorem Ideal.coeff_zero_mem_comap_of_root_mem_of_eval_mem E1 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] {f : R →+* S} {I : Ideal S} {r : S},
  r ∈ I → ∀ {p : Polynomial R}, Polynomial.eval₂ f r p ∈ I → p.coeff 0 ∈ Ideal.comap f I

theorem Ideal.coeff_zero_mem_comap_of_root_mem E1 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] {f : R →+* S} {I : Ideal S} {r : S},
  r ∈ I → ∀ {p : Polynomial R}, Polynomial.eval₂ f r p = 0 → p.coeff 0 ∈ Ideal.comap f I

theorem Ideal.exists_coeff_ne_zero_mem_comap_of_non_zero_divisor_root_mem E1 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] {f : R →+* S} {I : Ideal S} {r : S},
  (∀ {x : S}, x * r = 0 → x = 0) →
    r ∈ I → ∀ {p : Polynomial R}, p ≠ 0 → Polynomial.eval₂ f r p = 0 → ∃ i, p.coeff i ≠ 0 ∧ p.coeff i ∈ Ideal.comap f I

theorem Ideal.injective_quotient_le_comap_map E1 #

∀ {R : Type u_1} [inst : CommRing R] (P : Ideal (Polynomial R)),
  Function.Injective
    ⇑(Ideal.quotientMap (Ideal.map (Polynomial.mapRingHom (Ideal.Quotient.mk (Ideal.comap Polynomial.C P))) P)
        (Polynomial.mapRingHom (Ideal.Quotient.mk (Ideal.comap Polynomial.C P))) ⋯)

Let P be an ideal in R[x]. The map R[x]/P → (R / (P ∩ R))[x] / (P / (P ∩ R)) is injective.

theorem Ideal.quotient_mk_maps_eq E0 #

∀ {R : Type u_1} [inst : CommRing R] (P : Ideal (Polynomial R)),
  ((Ideal.Quotient.mk (Ideal.map (Polynomial.mapRingHom (Ideal.Quotient.mk (Ideal.comap Polynomial.C P))) P)).comp
          Polynomial.C).comp
      (Ideal.Quotient.mk (Ideal.comap Polynomial.C P)) =
    (Ideal.quotientMap (Ideal.map (Polynomial.mapRingHom (Ideal.Quotient.mk (Ideal.comap Polynomial.C P))) P)
          (Polynomial.mapRingHom (Ideal.Quotient.mk (Ideal.comap Polynomial.C P))) ⋯).comp
      ((Ideal.Quotient.mk P).comp Polynomial.C)

The identity in this lemma asserts that the "obvious" square

    R    → (R / (P ∩ R))
    ↓          ↓
R[x] / P → (R / (P ∩ R))[x] / (P / (P ∩ R))

commutes. It is used, for instance, in the proof of quotient_mk_comp_C_is_integral_of_jacobson, in the file Mathlib/RingTheory/Jacobson/Polynomial.lean.

theorem Ideal.exists_ne_zero_mem_of_ne_bot E1 #

∀ {R : Type u_1} [inst : CommRing R] {P : Ideal (Polynomial R)},
  P ≠ ⊥ →
    (∀ (x : R), Polynomial.C x ∈ P → x = 0) →
      ∃ p ∈ P, Polynomial.map (Ideal.Quotient.mk (Ideal.comap Polynomial.C P)) p ≠ 0

This technical lemma asserts the existence of a polynomial p in an ideal P ⊂ R[x] that is non-zero in the quotient R / (P ∩ R) [x]. The assumptions are equivalent to P ≠ 0 and P ∩ R = (0).

theorem Ideal.exists_coeff_ne_zero_mem_comap_of_root_mem E1 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] {f : R →+* S} {I : Ideal S} [IsDomain S]
  {r : S},
  r ≠ 0 →
    r ∈ I → ∀ {p : Polynomial R}, p ≠ 0 → Polynomial.eval₂ f r p = 0 → ∃ i, p.coeff i ≠ 0 ∧ p.coeff i ∈ Ideal.comap f I

theorem Ideal.exists_coeff_mem_comap_sdiff_comap_of_root_mem_sdiff E1 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] {f : R →+* S} {I J : Ideal S} [I.IsPrime],
  I ≤ J →
    ∀ {r : S},
      r ∈ ↑J \ ↑I →
        ∀ {p : Polynomial R},
          Polynomial.map (Ideal.Quotient.mk (Ideal.comap f I)) p ≠ 0 →
            Polynomial.eval₂ f r p ∈ I → ∃ i, p.coeff i ∈ ↑(Ideal.comap f J) \ ↑(Ideal.comap f I)

theorem Ideal.comap_lt_comap_of_root_mem_sdiff E1 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] {f : R →+* S} {I J : Ideal S} [I.IsPrime],
  I ≤ J →
    ∀ {r : S},
      r ∈ ↑J \ ↑I →
        ∀ {p : Polynomial R},
          Polynomial.map (Ideal.Quotient.mk (Ideal.comap f I)) p ≠ 0 →
            Polynomial.eval₂ f r p ∈ I → Ideal.comap f I < Ideal.comap f J

theorem Ideal.mem_of_one_mem E0 #

∀ {S : Type u_2} [inst : CommRing S] {I : Ideal S}, 1 ∈ I → ∀ (x : S), x ∈ I

theorem Ideal.under_lt_under_of_integral_mem_sdiff E1 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] {I J : Ideal S} [inst_2 : Algebra R S]
  [hI : I.IsPrime], I ≤ J → ∀ {x : S}, x ∈ ↑J \ ↑I → IsIntegral R x → Ideal.under R I < Ideal.under R J

theorem Ideal.comap_ne_bot_of_root_mem E1 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] {f : R →+* S} {I : Ideal S} [IsDomain S]
  {r : S}, r ≠ 0 → r ∈ I → ∀ {p : Polynomial R}, p ≠ 0 → Polynomial.eval₂ f r p = 0 → Ideal.comap f I ≠ ⊥

theorem Ideal.isMaximal_of_isIntegral_of_isMaximal_under E1 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [Algebra.IsIntegral R S] (I : Ideal S) [I.IsPrime], (Ideal.under R I).IsMaximal → I.IsMaximal

theorem Ideal.isMaximal_of_isIntegral_of_isMaximal_comap E1 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] (f : R →+* S),
  f.IsIntegral → ∀ (I : Ideal S) [I.IsPrime], (Ideal.comap f I).IsMaximal → I.IsMaximal

theorem Ideal.under_ne_bot_of_algebraic_mem E1 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] {I : Ideal S} [inst_2 : Algebra R S]
  [IsDomain S] {x : S}, x ≠ 0 → x ∈ I → IsAlgebraic R x → Ideal.under R I ≠ ⊥

theorem Ideal.under_ne_bot_of_integral_mem E1 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] {I : Ideal S} [inst_2 : Algebra R S]
  [Nontrivial R] [IsDomain S] {x : S}, x ≠ 0 → x ∈ I → IsIntegral R x → Ideal.under R I ≠ ⊥

theorem Ideal.isMaximal_under_of_isIntegral_of_isMaximal E1 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [Algebra.IsIntegral R S] (I : Ideal S) [hI : I.IsMaximal], (Ideal.under R I).IsMaximal

theorem Ideal.isMaximal_comap_of_isIntegral_of_isMaximal E1 #

∀ {R : Type u_3} {S : Type u_4} [inst : CommRing R] [inst_1 : CommRing S] (f : R →+* S),
  f.IsIntegral → ∀ (I : Ideal S) [I.IsMaximal], (Ideal.comap f I).IsMaximal

theorem Ideal.IsIntegral.under_lt_under E1 #

∀ {R : Type u_1} [inst : CommRing R] {A : Type u_3} [inst_1 : CommRing A] [inst_2 : Algebra R A]
  [Algebra.IsIntegral R A] {I J : Ideal A} [I.IsPrime], I < J → Ideal.under R I < Ideal.under R J

theorem Ideal.IsIntegral.isMaximal_of_isMaximal_under E1 #

∀ {R : Type u_1} [inst : CommRing R] {A : Type u_3} [inst_1 : CommRing A] [inst_2 : Algebra R A]
  [Algebra.IsIntegral R A] (I : Ideal A) [I.IsPrime], (Ideal.under R I).IsMaximal → I.IsMaximal

theorem Ideal.IsIntegral.mem_minimalPrimes_map_under E0 #

∀ {R : Type u_1} [inst : CommRing R] {A : Type u_3} [inst_1 : CommRing A] [inst_2 : Algebra R A]
  [Algebra.IsIntegral R A] (I : Ideal A) [I.IsPrime], I ∈ (Ideal.map (algebraMap R A) (Ideal.under R I)).minimalPrimes

theorem Ideal.IsIntegral.under_ne_bot E1 #

∀ (R : Type u_1) [inst : CommRing R] {A : Type u_3} [inst_1 : CommRing A] [inst_2 : Algebra R A]
  [Algebra.IsIntegral R A] [IsDomain A] [Nontrivial R] {I : Ideal A}, I ≠ ⊥ → Ideal.under R I ≠ ⊥

theorem Ideal.exists_ideal_over_prime_of_isIntegral_of_isDomain E3 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] [inst_2 : Algebra R S] [IsDomain S]
  [Algebra.IsIntegral R S] (P : Ideal R) [P.IsPrime],
  RingHom.ker (algebraMap R S) ≤ P → ∃ Q, Q.IsPrime ∧ Ideal.under R Q = P

comap (algebraMap R S) is a surjection from the prime spec of R to prime spec of S. hP : (algebraMap R S).ker ≤ P is a slight generalization of the extension being injective

theorem Ideal.exists_ideal_over_prime_of_isIntegral_of_isPrime E3 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [Algebra.IsIntegral R S] (P : Ideal R) [P.IsPrime] (I : Ideal S) [I.IsPrime],
  Ideal.under R I ≤ P → ∃ Q ≥ I, Q.IsPrime ∧ Ideal.under R Q = P

More general going-up theorem than exists_ideal_over_prime_of_isIntegral_of_isDomain. Generalized to arbitrary length chains in Ideal.exists_ltSeries_of_hasGoingUp.

theorem Ideal.exists_ideal_over_prime_of_isIntegral E1 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [Algebra.IsIntegral R S] (P : Ideal R) [P.IsPrime] (I : Ideal S),
  Ideal.under R I ≤ P → ∃ Q ≥ I, Q.IsPrime ∧ Ideal.under R Q = P

instance Ideal.nonempty_primesOver E0 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [Algebra.IsIntegral R S] [FaithfulSMul R S] (P : Ideal R) [P.IsPrime], Nonempty ↑(P.primesOver S)

theorem Ideal.exists_ideal_over_maximal_of_isIntegral E1 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [Algebra.IsIntegral R S] (P : Ideal R) [P_max : P.IsMaximal],
  RingHom.ker (algebraMap R S) ≤ P → ∃ Q, Q.IsMaximal ∧ Ideal.under R Q = P

comap (algebraMap R S) is a surjection from the max spec of S to max spec of R. hP : (algebraMap R S).ker ≤ P is a slight generalization of the extension being injective

theorem Ideal.exists_maximal_ideal_liesOver_of_isIntegral E1 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [Algebra.IsIntegral R S] [FaithfulSMul R S] (P : Ideal R) [P.IsMaximal], ∃ Q, Q.IsMaximal ∧ Q.LiesOver P

theorem Ideal.map_eq_top_iff_of_ker_le E0 #

∀ {R : Type u_3} {S : Type u_4} [inst : CommRing R] [inst_1 : CommRing S] (f : R →+* S) {I : Ideal R},
  RingHom.ker f ≤ I → f.IsIntegral → (Ideal.map f I = ⊤ ↔ I = ⊤)

theorem Ideal.map_eq_top_iff E0 #

∀ {R : Type u_3} {S : Type u_4} [inst : CommRing R] [inst_1 : CommRing S] (f : R →+* S) {I : Ideal R},
  Function.Injective ⇑f → f.IsIntegral → (Ideal.map f I = ⊤ ↔ I = ⊤)

theorem Ideal.exists_notMem_dvd_algebraMap_of_primesOver_eq_singleton E1 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] [inst_2 : Algebra R S] {p : Ideal R}
  [p.IsPrime] {q : Ideal S}, p.primesOver S = {q} → ∀ [Algebra.IsIntegral R S], ∀ x ∉ q, ∃ r ∉ p, x ∣ (algebraMap R S) r

If S is an integral R-algebra such that q is the unique prime of S lying over a prime p of R, then any x ∉ q divides some r ∉ p.

instance Ideal.IsMaximal.under E0 #

∀ (A : Type u_1) [inst : CommRing A] {B : Type u_2} [inst_1 : CommRing B] [inst_2 : Algebra A B]
  [Algebra.IsIntegral A B] (P : Ideal B) [P.IsMaximal], (Ideal.under A P).IsMaximal

If B is an integral A-algebra, P is a maximal ideal of B, then the pull back of P is also a maximal ideal of A.

theorem Ideal.IsMaximal.of_liesOver_isMaximal E1 #

∀ {A : Type u_1} [inst : CommRing A] {B : Type u_2} [inst_1 : CommRing B] [inst_2 : Algebra A B]
  [Algebra.IsIntegral A B] (P : Ideal B) (p : Ideal A) [P.LiesOver p] [hpm : p.IsMaximal] [P.IsPrime], P.IsMaximal

theorem Ideal.IsMaximal.of_isMaximal_liesOver E1 #

∀ {A : Type u_1} [inst : CommRing A] {B : Type u_2} [inst_1 : CommRing B] [inst_2 : Algebra A B]
  [Algebra.IsIntegral A B] (P : Ideal B) (p : Ideal A) [P.LiesOver p] [P.IsMaximal], p.IsMaximal

theorem Ideal.under_ne_bot E1 #

∀ (A : Type u_1) [inst : CommRing A] {B : Type u_2} [inst_1 : CommRing B] [inst_2 : Algebra A B]
  [Algebra.IsIntegral A B] {P : Ideal B} [Nontrivial A] [IsDomain B], P ≠ ⊥ → Ideal.under A P ≠ ⊥

instance Ideal.Quotient.algebra_isIntegral_of_liesOver E0 #

∀ {A : Type u_1} [inst : CommRing A] {B : Type u_2} [inst_1 : CommRing B] [inst_2 : Algebra A B]
  [Algebra.IsIntegral A B] (P : Ideal B) (p : Ideal A) [inst_4 : P.LiesOver p], Algebra.IsIntegral (A ⧸ p) (B ⧸ P)

B ⧸ P is an integral A ⧸ p-algebra if B is an integral A-algebra.

instance Ideal.primesOver.isMaximal E0 #

∀ {A : Type u_1} [inst : CommRing A] {p : Ideal A} [p.IsMaximal] {B : Type u_2} [inst_2 : CommRing B]
  [inst_3 : Algebra A B] [Algebra.IsIntegral A B] (Q : ↑(p.primesOver B)), (↑Q).IsMaximal

theorem Ideal.isMaximal_of_mem_primesOver E1 #

∀ {A : Type u_1} [inst : CommRing A] {p : Ideal A} [p.IsMaximal] {B : Type u_2} [inst_2 : CommRing B]
  [inst_3 : Algebra A B] [Algebra.IsIntegral A B] {P : Ideal B}, P ∈ p.primesOver B → P.IsMaximal

theorem Ideal.primesOver_bot E1 #

∀ (A : Type u_1) [inst : CommRing A] (B : Type u_2) [inst_1 : CommRing B] [inst_2 : Algebra A B]
  [Algebra.IsIntegral A B] [Module.IsTorsionFree A B] [IsDomain A] [IsDomain B], ⊥.primesOver B = {⊥}

Deprecated aliases

NameNew nameSince
Ideal.IntegralClosure.comap_lt_comapIdeal.IsIntegral.under_lt_under2026-05-08
Ideal.IntegralClosure.comap_ne_botIdeal.IsIntegral.under_ne_bot2026-05-08
Ideal.IntegralClosure.isMaximal_of_isMaximal_comapIdeal.IsIntegral.isMaximal_of_isMaximal_under2026-05-08
Ideal.IsIntegral.comap_lt_comapIdeal.IsIntegral.under_lt_under2026-09-03
Ideal.IsIntegral.comap_ne_botIdeal.IsIntegral.under_ne_bot2026-09-03
Ideal.IsIntegral.isMaximal_of_isMaximal_comapIdeal.IsIntegral.isMaximal_of_isMaximal_under2026-09-03
Ideal.IsIntegralClosure.comap_le_comapIdeal.IsIntegral.under_lt_under2026-05-08
Ideal.IsIntegralClosure.comap_ne_botIdeal.IsIntegral.under_ne_bot2026-05-08
Ideal.IsIntegralClosure.isMaximal_of_isMaximal_comapIdeal.IsIntegral.isMaximal_of_isMaximal_under2026-05-08
Ideal.comap_lt_comap_of_integral_mem_sdiffIdeal.under_lt_under_of_integral_mem_sdiff2026-09-03
Ideal.comap_ne_bot_of_algebraic_memIdeal.under_ne_bot_of_algebraic_mem2026-09-03
Ideal.comap_ne_bot_of_integral_memIdeal.under_ne_bot_of_integral_mem2026-09-03
Ideal.exists_nonzero_mem_of_ne_botIdeal.exists_ne_zero_mem_of_ne_bot2026-10-13
Ideal.isMaximal_comap_of_isIntegral_of_isMaximal'Ideal.isMaximal_comap_of_isIntegral_of_isMaximal2026-09-03
Ideal.isMaximal_of_isIntegral_of_isMaximal_comap'Ideal.isMaximal_of_isIntegral_of_isMaximal_comap2026-09-03