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.Quotient.Defs

39 declarations. Mathlib docs · Source

Ideal quotients

This file defines ideal quotients as a special case of submodule quotients and proves some basic results about these quotients.

See RingCon.Quotient for quotients of (possibly non-commutative) semirings.

Main definitions

  • Ideal.instHasQuotient: the quotient of a commutative ring R by an ideal I : Ideal R
  • Ideal.Quotient.commRing: the ring structure of the ideal quotient
  • Ideal.Quotient.mk: map an element of R to the quotient R ⧸ I
  • Ideal.Quotient.lift: turn a map R → S into a map R ⧸ I → S
  • Ideal.quotEquivOfEq: quotienting by equal ideals gives isomorphic rings

theorem Ideal.Quotient.lift.congr_simp E1 #

∀ {R : Type u} [inst : Ring R] (I : Ideal R) {S : Type v} [inst_1 : I.IsTwoSided] [inst_2 : Semiring S]
  (f f_1 : R →+* S) (e_f : f = f_1) (H : ∀ a ∈ I, f a = 0), Ideal.Quotient.lift I f H = Ideal.Quotient.lift I f_1 ⋯

theorem Ideal.Quotient.factor.congr_simp E1 #

∀ {R : Type u} [inst : Ring R] {S T : Ideal R} [inst_1 : S.IsTwoSided] [inst_2 : T.IsTwoSided] (H : S ≤ T),
  Ideal.Quotient.factor H = Ideal.Quotient.factor H

instance Ideal.instHasQuotient E3 #

{R : Type u} → [inst : Ring R] → HasQuotient R (Ideal R)

The quotient R/I of a ring R by an ideal I, defined to equal the quotient of I as an R-submodule of R.

instance Ideal.instHasQuotient_1 E0 #

{R : Type u_1} → [inst : CommRing R] → HasQuotient R (Ideal R)

Shortcut instance for commutative rings.

instance Ideal.Quotient.one E0 #

{R : Type u} → [inst : Ring R] → (I : Ideal R) → One (R ⧸ I)

def Ideal.Quotient.ringCon E1 #

{R : Type u} → [inst : Ring R] → (I : Ideal R) → [I.IsTwoSided] → RingCon R

On Ideals, Submodule.quotientRel is a ring congruence.

instance Ideal.Quotient.ring E3 #

{R : Type u} → [inst : Ring R] → (I : Ideal R) → [I.IsTwoSided] → Ring (R ⧸ I)

Quotient ring: the quotient of a ring by a two-sided ideal is a ring.

instance Ideal.Quotient.semiring E0 #

{R : Type u_1} → [inst : CommRing R] → (I : Ideal R) → Semiring (R ⧸ I)

instance Ideal.Quotient.commSemiring E0 #

{R : Type u_1} → [inst : CommRing R] → (I : Ideal R) → CommSemiring (R ⧸ I)

instance Ideal.Quotient.instRingQuotient E0 #

{R : Type u_1} → [inst : CommRing R] → (I : Ideal R) → Ring (R ⧸ I)

instance Ideal.Quotient.commRing E3 #

{R : Type u_1} → [inst : CommRing R] → (I : Ideal R) → CommRing (R ⧸ I)

def Ideal.Quotient.mk E3 #

{R : Type u} → [inst : Ring R] → (I : Ideal R) → [inst_1 : I.IsTwoSided] → R →+* R ⧸ I

The ring homomorphism from a ring R to a quotient ring R/I.

instance Ideal.Quotient.instCoeQuotient E0 #

{R : Type u} → [inst : Ring R] → {I : Ideal R} → [I.IsTwoSided] → Coe R (R ⧸ I)

theorem Ideal.Quotient.ringHom_ext E1 #

∀ {R : Type u} [inst : Ring R] {I : Ideal R} {S : Type v} [inst_1 : I.IsTwoSided] [inst_2 : NonAssocSemiring S]
  ⦃f g : R ⧸ I →+* S⦄, f.comp (Ideal.Quotient.mk I) = g.comp (Ideal.Quotient.mk I) → f = g

Two RingHoms from the quotient by an ideal are equal if their compositions with Ideal.Quotient.mk' are equal.

See note [partially-applied ext lemmas].

theorem Ideal.Quotient.ringHom_ext_iff E0 #

∀ {R : Type u} [inst : Ring R] {I : Ideal R} {S : Type v} [inst_1 : I.IsTwoSided] [inst_2 : NonAssocSemiring S]
  {f g : R ⧸ I →+* S}, f = g ↔ f.comp (Ideal.Quotient.mk I) = g.comp (Ideal.Quotient.mk I)

instance Ideal.Quotient.instNonemptyQuotient E0 #

∀ {R : Type u} [inst : Ring R] {I : Ideal R} [I.IsTwoSided], Nonempty (R ⧸ I)

theorem Ideal.Quotient.eq E1 #

∀ {R : Type u} [inst : Ring R] {I : Ideal R} {x y : R} [inst_1 : I.IsTwoSided],
  (Ideal.Quotient.mk I) x = (Ideal.Quotient.mk I) y ↔ x - y ∈ I

theorem Ideal.Quotient.mk_eq_mk E0 #

∀ {R : Type u} [inst : Ring R] {I : Ideal R} [inst_1 : I.IsTwoSided] (x : R),
  Submodule.Quotient.mk x = (Ideal.Quotient.mk I) x

theorem Ideal.Quotient.mk_eq_mk_iff_sub_mem E1 #

∀ {R : Type u} [inst : Ring R] {I : Ideal R} [inst_1 : I.IsTwoSided] (x y : R),
  (Ideal.Quotient.mk I) x = (Ideal.Quotient.mk I) y ↔ x - y ∈ I

theorem Ideal.Quotient.mk_eq_one_iff_sub_mem E1 #

∀ {R : Type u} [inst : Ring R] {I : Ideal R} [inst_1 : I.IsTwoSided] (x : R), (Ideal.Quotient.mk I) x = 1 ↔ x - 1 ∈ I

theorem Ideal.Quotient.mk_out E0 #

∀ {R : Type u} [inst : Ring R] {I : Ideal R} [inst_1 : I.IsTwoSided] (x : R ⧸ I),
  (Ideal.Quotient.mk I) (Quotient.out x) = x

theorem Ideal.Quotient.mk_surjective E2 #

∀ {R : Type u} [inst : Ring R] {I : Ideal R} [inst_1 : I.IsTwoSided], Function.Surjective ⇑(Ideal.Quotient.mk I)

instance Ideal.Quotient.instRingHomSurjectiveQuotientMk E0 #

∀ {R : Type u} [inst : Ring R] {I : Ideal R} [inst_1 : I.IsTwoSided], RingHomSurjective (Ideal.Quotient.mk I)

theorem Ideal.Quotient.quotient_ring_saturate E1 #

∀ {R : Type u} [inst : Ring R] {I : Ideal R} [inst_1 : I.IsTwoSided] (s : Set R),
  ⇑(Ideal.Quotient.mk I) ⁻¹' ⇑(Ideal.Quotient.mk I) '' s = ⋃ x, (fun y ↦ ↑x + y) '' s

If I is an ideal of a commutative ring R, if q : R → R/I is the quotient map, and if s ⊆ R is a subset, then q⁻¹(q(s)) = ⋃ᵢ(i + s), the union running over all i ∈ I.

def Ideal.Quotient.lift E3 #

{R : Type u} →
  [inst : Ring R] →
    (I : Ideal R) →
      {S : Type v} → [inst_1 : I.IsTwoSided] → [inst_2 : Semiring S] → (f : R →+* S) → (∀ a ∈ I, f a = 0) → R ⧸ I →+* S

Given a ring homomorphism f : R →+* S sending all elements of an ideal to zero, lift it to the quotient by this ideal.

theorem Ideal.Quotient.lift_mk E0 #

∀ {R : Type u} [inst : Ring R] (I : Ideal R) {a : R} {S : Type v} [inst_1 : I.IsTwoSided] [inst_2 : Semiring S]
  (f : R →+* S) (H : ∀ a ∈ I, f a = 0), (Ideal.Quotient.lift I f H) ((Ideal.Quotient.mk I) a) = f a

theorem Ideal.Quotient.lift_comp_mk E0 #

∀ {R : Type u} [inst : Ring R] (I : Ideal R) {S : Type v} [inst_1 : I.IsTwoSided] [inst_2 : Semiring S] (f : R →+* S)
  (H : ∀ a ∈ I, f a = 0), (Ideal.Quotient.lift I f H).comp (Ideal.Quotient.mk I) = f

theorem Ideal.Quotient.lift_surjective_of_surjective E1 #

∀ {R : Type u} [inst : Ring R] (I : Ideal R) {S : Type v} [inst_1 : I.IsTwoSided] [inst_2 : Semiring S] {f : R →+* S}
  (H : ∀ a ∈ I, f a = 0), Function.Surjective ⇑f → Function.Surjective ⇑(Ideal.Quotient.lift I f H)

def Ideal.Quotient.factor E1 #

{R : Type u} →
  [inst : Ring R] → {S T : Ideal R} → [inst_1 : S.IsTwoSided] → [inst_2 : T.IsTwoSided] → S ≤ T → R ⧸ S →+* R ⧸ T

The ring homomorphism from the quotient by a smaller ideal to the quotient by a larger ideal.

This is the Ideal.Quotient version of Quot.Factor

When the two ideals are of the form I^m and I^n and n ≤ m, please refer to the dedicated version Ideal.Quotient.factorPow.

theorem Ideal.Quotient.factor_mk E0 #

∀ {R : Type u} [inst : Ring R] {S T : Ideal R} [inst_1 : S.IsTwoSided] [inst_2 : T.IsTwoSided] (H : S ≤ T) (x : R),
  (Ideal.Quotient.factor H) ((Ideal.Quotient.mk S) x) = (Ideal.Quotient.mk T) x

theorem Ideal.Quotient.factor_eq E0 #

∀ {R : Type u} [inst : Ring R] {S : Ideal R} [inst_1 : S.IsTwoSided], Ideal.Quotient.factor ⋯ = RingHom.id (R ⧸ S)

theorem Ideal.Quotient.factor_comp_mk E0 #

∀ {R : Type u} [inst : Ring R] {S T : Ideal R} [inst_1 : S.IsTwoSided] [inst_2 : T.IsTwoSided] (H : S ≤ T),
  (Ideal.Quotient.factor H).comp (Ideal.Quotient.mk S) = Ideal.Quotient.mk T

theorem Ideal.Quotient.factor_comp E0 #

∀ {R : Type u} [inst : Ring R] {S T U : Ideal R} [inst_1 : S.IsTwoSided] [inst_2 : T.IsTwoSided] [inst_3 : U.IsTwoSided]
  (H1 : S ≤ T) (H2 : T ≤ U), (Ideal.Quotient.factor H2).comp (Ideal.Quotient.factor H1) = Ideal.Quotient.factor ⋯

theorem Ideal.Quotient.factor_comp_apply E0 #

∀ {R : Type u} [inst : Ring R] {S T U : Ideal R} [inst_1 : S.IsTwoSided] [inst_2 : T.IsTwoSided] [inst_3 : U.IsTwoSided]
  (H1 : S ≤ T) (H2 : T ≤ U) (x : R ⧸ S),
  (Ideal.Quotient.factor H2) ((Ideal.Quotient.factor H1) x) = (Ideal.Quotient.factor ⋯) x

theorem Ideal.Quotient.factor_surjective E1 #

∀ {R : Type u} [inst : Ring R] {S T : Ideal R} [inst_1 : S.IsTwoSided] [inst_2 : T.IsTwoSided] (H : S ≤ T),
  Function.Surjective ⇑(Ideal.Quotient.factor H)

def Ideal.quotEquivOfEq E3 #

{R : Type u} →
  [inst : Ring R] → {I J : Ideal R} → [inst_1 : I.IsTwoSided] → [inst_2 : J.IsTwoSided] → I = J → R ⧸ I ≃+* R ⧸ J

Quotienting by equal ideals gives equivalent rings.

See also Submodule.quotEquivOfEq and Ideal.quotientEquivAlgOfEq.

theorem Ideal.quotEquivOfEq_mk E0 #

∀ {R : Type u} [inst : Ring R] {I J : Ideal R} [inst_1 : I.IsTwoSided] [inst_2 : J.IsTwoSided] (h : I = J) (x : R),
  (Ideal.quotEquivOfEq h) ((Ideal.Quotient.mk I) x) = (Ideal.Quotient.mk J) x

theorem Ideal.quotEquivOfEq_symm E0 #

∀ {R : Type u} [inst : Ring R] {I J : Ideal R} [inst_1 : I.IsTwoSided] [inst_2 : J.IsTwoSided] (h : I = J),
  (Ideal.quotEquivOfEq h).symm = Ideal.quotEquivOfEq ⋯

theorem Ideal.quotEquivOfEq_eq_factor E1 #

∀ {R : Type u} [inst : Ring R] {I J : Ideal R} [inst_1 : I.IsTwoSided] [inst_2 : J.IsTwoSided] (h : I = J) (x : R ⧸ I),
  (Ideal.quotEquivOfEq h) x = (Ideal.Quotient.factor ⋯) x