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.Congruence.Hom

99 declarations. Mathlib docs · Source

Congruence relations and ring homomorphisms

This file contains elementary definitions involving congruence relations and morphisms for rings and semirings

Main definitions

  • RingCon.ker: the kernel of a monoid homomorphism as a congruence relation

  • RingCon.lift, RingCon.liftₐ: the homomorphism / the algebra morphism on the quotient given that the congruence is in the kernel

  • RingCon.map, RingCon.mapₐ: homomorphism / algebra morphism from a smaller to a larger quotient

  • RingCon.quotientKerEquivRangeS, RingCon.quotientKerEquivRange, RingCon.quotientKerEquivRangeₐ : the first isomorphism theorem for semirings (using RingHom.rangeS), rings (using RingHom.range) and algebras (using AlgHom.range).

  • RingCon.comapQuotientEquivRangeS, RingCon.comapQuotientEquivRange, RingCon.comapQuotientEquivRangeₐ : the second isomorphism theorem for semirings (using RingHom.rangeS), rings (using RingHom.range) and algebras (using AlgHom.range).

  • RingCon.quotientQuotientEquivQuotient, RingCon.quotientQuotientEquivQuotientₐ : the third isomorphism theorem for semirings (or rings) and algebras

Tags

congruence, congruence relation, quotient, quotient by congruence relation, ring, quotient ring

theorem RingCon.congr.congr_simp E1 #

∀ {M : Type u_1} {N : Type u_2} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring N] {c : RingCon M}
  {d : RingCon N} (e e_1 : M ≃+* N) (e_e : e = e_1) (h : c = d.comap e), RingCon.congr e h = RingCon.congr e_1 ⋯

theorem RingCon.comap.congr_simp E1 #

∀ {R : Type u_2} {R' : Type u_3} {F : Type u_4} [inst : Add R] [inst_1 : Add R'] [inst_2 : FunLike F R R']
  [inst_3 : AddHomClass F R R'] [inst_4 : Mul R] [inst_5 : Mul R'] [inst_6 : MulHomClass F R R'] (J J_1 : RingCon R'),
  J = J_1 → ∀ (f f_1 : F), f = f_1 → J.comap f = J_1.comap f_1

theorem RingCon.comapQuotientEquivRangeS.congr_simp E1 #

∀ {M : Type u_1} {N : Type u_2} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring N] (c : RingCon M) (f : N →+* M)
  {d : RingCon N} (hcd : d = c.comap f), c.comapQuotientEquivRangeS f hcd = c.comapQuotientEquivRangeS f hcd

theorem RingCon.lift.congr_simp E1 #

∀ {M : Type u_1} {P : Type u_3} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring P] (c : RingCon M)
  (f f_1 : M →+* P) (e_f : f = f_1) (H : c ≤ RingCon.ker f), c.lift f H = c.lift f_1 ⋯

theorem RingCon.comapQuotientEquivRange.congr_simp E1 #

∀ {M : Type u_1} {N : Type u_2} [inst : Ring M] [inst_1 : Ring N] (c : RingCon M) (f : N →+* M) {d : RingCon N}
  (hcd : d = c.comap f), c.comapQuotientEquivRange f hcd = c.comapQuotientEquivRange f hcd

theorem RingCon.comapQuotientEquivRangeₐ.congr_simp E1 #

∀ {M : Type u_1} {N : Type u_2} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M]
  [inst_3 : Semiring N] [inst_4 : Algebra R N] (c : RingCon M) (f : N →ₐ[R] M) {d : RingCon N} (h : d = c.comap f),
  c.comapQuotientEquivRangeₐ f h = c.comapQuotientEquivRangeₐ f h

def RingCon.ker E3 #

{M : Type u_1} → {N : Type u_2} → [inst : NonAssocSemiring M] → [inst_1 : NonAssocSemiring N] → (M →+* N) → RingCon M

The kernel of a ring homomorphism as a ring congruence relation.

theorem RingCon.comap_bot E1 #

∀ {M : Type u_1} {N : Type u_2} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring N] (f : M →+* N),
  ⊥.comap f = RingCon.ker f

theorem RingCon.ker_apply E0 #

∀ {M : Type u_1} {N : Type u_2} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring N] (f : M →+* N) {x y : M},
  (RingCon.ker f) x y ↔ f x = f y

The definition of the ring congruence relation defined by a ring homomorphism's kernel.

theorem RingCon.ker_mk'_eq E0 #

∀ {M : Type u_1} [inst : NonAssocSemiring M] (c : RingCon M), RingCon.ker c.mk' = c

The kernel of the quotient map induced by a ring congruence relation c equals c.

theorem RingCon.ker_comp E1 #

∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring N]
  [inst_2 : NonAssocSemiring P] {f : M →+* N} {g : N →+* P}, RingCon.ker (g.comp f) = (RingCon.ker g).comap f

theorem RingCon.comap_eq E0 #

∀ {M : Type u_1} {N : Type u_2} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring N] {c : RingCon M} {g : N →+* M},
  c.comap g = RingCon.ker (c.mk'.comp g)

def RingCon.congr E1 #

{M : Type u_1} →
  {N : Type u_2} →
    [inst : NonAssocSemiring M] →
      [inst_1 : NonAssocSemiring N] →
        {c : RingCon M} → {d : RingCon N} → (e : M ≃+* N) → c = d.comap e → c.Quotient ≃+* d.Quotient

An isomorphism of rings e : M ≃+* N generates an isomorphism between quotient spaces, if it is compatible with the relations.

theorem RingCon.congr_mk E0 #

∀ {M : Type u_1} {N : Type u_2} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring N] {c : RingCon M}
  {d : RingCon N} (e : M ≃+* N) (h : c = d.comap e) (a : M), (RingCon.congr e h) ↑a = ↑(e a)

theorem RingCon.congr_symm E0 #

∀ {M : Type u_1} {N : Type u_2} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring N] {c : RingCon M}
  {d : RingCon N} (e : M ≃+* N) (h : c = d.comap e), (RingCon.congr e h).symm = RingCon.congr e.symm ⋯

def RingCon.mapGen E1 #

{M : Type u_1} →
  {N : Type u_2} → [inst : NonAssocSemiring M] → [inst_1 : NonAssocSemiring N] → {c : RingCon M} → (M → N) → RingCon N

Given a function f, the smallest ring congruence relation containing the binary relation on f's image defined by 'x ≈ y iff the elements of f⁻¹(x) are related to the elements of f⁻¹(y) by a ring congruence relation c.'

theorem RingCon.mapGen_eq_map_of_surjective E1 #

∀ {M : Type u_1} {N : Type u_2} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring N] {c : RingCon M} (f : M →+* N),
  RingCon.ker f ≤ c → Function.Surjective ⇑f → ⇑(RingCon.mapGen ⇑f) = Relation.Map ⇑c ⇑f ⇑f

If c is a ring congruence on M, then the smallest ring congruence relation on N deduced from c by a ring homomorphism from M to N is the relation deduced from c.

theorem RingCon.mapGen_apply_apply_of_surjective E1 #

∀ {M : Type u_1} {N : Type u_2} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring N] {c : RingCon M} (f : M →+* N),
  RingCon.ker f ≤ c → Function.Surjective ⇑f → ∀ {x y : M}, (RingCon.mapGen ⇑f) (f x) (f y) ↔ c x y

def RingCon.correspondence E1 #

{M : Type u_1} → [inst : NonAssocSemiring M] → {c : RingCon M} → ↑(Set.Ici c) ≃o RingCon c.Quotient

Given a ring congruence relation c on a semiring M, the order-preserving bijection between the set of ring congruence relations containing c and the ring congruence relations on the quotient of M by c.

def RingCon.lift E3 #

{M : Type u_1} →
  {P : Type u_3} →
    [inst : NonAssocSemiring M] →
      [inst_1 : NonAssocSemiring P] → (c : RingCon M) → (f : M →+* P) → c ≤ RingCon.ker f → c.Quotient →+* P

The homomorphism on the quotient of a ring by a congruence relation c induced by a homomorphism constant on the equivalence classes of c.

theorem RingCon.lift_mk' E1 #

∀ {M : Type u_1} {P : Type u_3} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring P] {c : RingCon M} {f : M →+* P}
  (H : c ≤ RingCon.ker f) (x : M), (c.lift f H) (c.mk' x) = f x

The diagram describing the universal property for quotients of ring commutes.

theorem RingCon.lift_coe E0 #

∀ {M : Type u_1} {P : Type u_3} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring P] {c : RingCon M} {f : M →+* P}
  (H : c ≤ RingCon.ker f) (x : M), (c.lift f H) ↑x = f x

The diagram describing the universal property for quotients of rings commutes.

theorem RingCon.lift_comp_mk' E0 #

∀ {M : Type u_1} {P : Type u_3} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring P] {c : RingCon M} {f : M →+* P}
  (H : c ≤ RingCon.ker f), (c.lift f H).comp c.mk' = f

The diagram describing the universal property for quotients of rings commutes.

theorem RingCon.lift_apply_mk' E1 #

∀ {M : Type u_1} {P : Type u_3} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring P] {c : RingCon M}
  (f : c.Quotient →+* P), c.lift (f.comp c.mk') ⋯ = f

Given a homomorphism f from the quotient of a ring by a ring congruence relation, f equals the homomorphism on the quotient induced by f composed with the natural map from the ring to the quotient.

theorem RingCon.Quotient.hom_ext E1 #

∀ {M : Type u_1} {P : Type u_3} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring P] {c : RingCon M}
  {f g : c.Quotient →+* P}, f.comp c.mk' = g.comp c.mk' → f = g

Homomorphisms on the quotient of a ring by a ring congruence relation are equal if they are equal on elements that are coercions from the ring.

theorem RingCon.Quotient.hom_ext_iff E0 #

∀ {M : Type u_1} {P : Type u_3} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring P] {c : RingCon M}
  {f g : c.Quotient →+* P}, f = g ↔ f.comp c.mk' = g.comp c.mk'

theorem RingCon.lift_unique E1 #

∀ {M : Type u_1} {P : Type u_3} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring P] {c : RingCon M} {f : M →+* P}
  (H : c ≤ RingCon.ker f) (g : c.Quotient →+* P), g.comp c.mk' = f → g = c.lift f H

The uniqueness part of the universal property for quotients of rings.

theorem RingCon.lift_surjective_iff E0 #

∀ {M : Type u_1} {P : Type u_3} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring P] {c : RingCon M} {f : M →+* P}
  {h : c ≤ RingCon.ker f}, Function.Surjective ⇑(c.lift f h) ↔ Function.Surjective ⇑f

Surjective ring homomorphisms constant on the equivalence classes of a ring congruence relation induce a surjective homomorphism on the quotient.

theorem RingCon.lift_surjective_of_surjective E1 #

∀ {M : Type u_1} {P : Type u_3} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring P] {c : RingCon M} {f : M →+* P}
  (h : c ≤ RingCon.ker f), Function.Surjective ⇑f → Function.Surjective ⇑(c.lift f h)

Surjective ring homomorphisms constant on the equivalence classes of a ring congruence relation induce a surjective homomorphism on the quotient.

theorem RingCon.lift_injective_iff E0 #

∀ {M : Type u_1} {P : Type u_3} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring P] {c : RingCon M} {f : M →+* P}
  {h : c ≤ RingCon.ker f}, Function.Injective ⇑(c.lift f h) ↔ c = RingCon.ker f

Given a ring homomorphism f from M to P whose kernel contains c, the lift of M to P is injective iff ker f = c.

theorem RingCon.lift_bijective_iff E0 #

∀ {M : Type u_1} {P : Type u_3} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring P] {c : RingCon M} {f : M →+* P}
  {h : c ≤ RingCon.ker f}, Function.Bijective ⇑(c.lift f h) ↔ c = RingCon.ker f ∧ Function.Surjective ⇑f

theorem RingCon.ker_eq_lift_of_injective E1 #

∀ {M : Type u_1} {P : Type u_3} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring P] {c : RingCon M} {f : M →+* P}
  (H : c ≤ RingCon.ker f), Function.Injective ⇑(c.lift f H) → RingCon.ker f = c

Given a ring homomorphism f from M to P, the kernel of f is the unique ring congruence relation on M whose induced map from the quotient of M to P is injective.

def RingCon.kerLift E1 #

{M : Type u_1} →
  {P : Type u_3} →
    [inst : NonAssocSemiring M] → [inst_1 : NonAssocSemiring P] → (f : M →+* P) → (RingCon.ker f).Quotient →+* P

The homomorphism induced on the quotient of a ring by the kernel of a ring homomorphism.

theorem RingCon.kerLift_mk E0 #

∀ {M : Type u_1} {P : Type u_3} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring P] {f : M →+* P} (x : M),
  (RingCon.kerLift f) ↑x = f x

The diagram described by the universal property for quotients of rings, when the ring congruence relation is the kernel of the homomorphism, commutes.

theorem RingCon.kerLift_injective E1 #

∀ {M : Type u_1} {P : Type u_3} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring P] (f : M →+* P),
  Function.Injective ⇑(RingCon.kerLift f)

A ring homomorphism f induces an injective homomorphism on the quotient by f's kernel.

def RingCon.map E3 #

{M : Type u_1} → [inst : NonAssocSemiring M] → (c d : RingCon M) → c ≤ d → c.Quotient →+* d.Quotient

Given ring congruence relations c, d on a ring such that d contains c, d's quotient map induces a homomorphism from the quotient by c to the quotient by d.

theorem RingCon.map_apply E0 #

∀ {M : Type u_1} [inst : NonAssocSemiring M] {c d : RingCon M} (h : c ≤ d) (x : c.Quotient),
  (c.map d h) x = (c.lift d.mk' ⋯) x

Given ring congruence relations c, d on a ring such that d contains c, the definition of the homomorphism from the quotient by c to the quotient by d induced by d's quotient map.

theorem RingCon.rangeS_mk' E0 #

∀ {M : Type u_1} [inst : NonAssocSemiring M] {c : RingCon M}, c.mk'.rangeS = ⊤

theorem RingCon.rangeS_lift E0 #

∀ {M : Type u_1} {P : Type u_3} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring P] {c : RingCon M} {f : M →+* P}
  (H : c ≤ RingCon.ker f), (c.lift f H).rangeS = f.rangeS

Given a congruence relation c on a semiring and a homomorphism f constant on the equivalence classes of c, f has the same image as the homomorphism that f induces on the quotient.

theorem RingCon.rangeS_kerLift E0 #

∀ {M : Type u_1} {P : Type u_3} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring P] {f : M →+* P},
  (RingCon.kerLift f).rangeS = f.rangeS

Given a ring homomorphism f, the induced homomorphism on the quotient by f's kernel has the same image as f.

def RingCon.quotientKerEquivRangeS E3 #

{M : Type u_1} →
  {P : Type u_3} →
    [inst : NonAssocSemiring M] → [inst_1 : NonAssocSemiring P] → (f : M →+* P) → (RingCon.ker f).Quotient ≃+* ↥f.rangeS

The first isomorphism theorem for semirings.

theorem RingCon.coe_quotientKerEquivRangeS_mk E0 #

∀ {M : Type u_1} {P : Type u_3} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring P] (f : M →+* P) (x : M),
  ↑((RingCon.quotientKerEquivRangeS f) ↑x) = f x

def RingCon.quotientKerEquivOfRightInverse E1 #

{M : Type u_1} →
  {P : Type u_3} →
    [inst : NonAssocSemiring M] →
      [inst_1 : NonAssocSemiring P] →
        (f : M →+* P) → (g : P → M) → Function.RightInverse g ⇑f → (RingCon.ker f).Quotient ≃+* P

The first isomorphism theorem for semirings in the case of a homomorphism with right inverse.

theorem RingCon.quotientKerEquivOfRightInverse_apply E0 #

∀ {M : Type u_1} {P : Type u_3} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring P] (f : M →+* P) (g : P → M)
  (hf : Function.RightInverse g ⇑f) (x : (RingCon.ker f).Quotient),
  (RingCon.quotientKerEquivOfRightInverse f g hf) x = (RingCon.kerLift f) x

def RingCon.quotientKerEquivOfSurjective E1 #

{M : Type u_1} →
  {P : Type u_3} →
    [inst : NonAssocSemiring M] →
      [inst_1 : NonAssocSemiring P] → (f : M →+* P) → Function.Surjective ⇑f → (RingCon.ker f).Quotient ≃+* P

The first isomorphism theorem for rings in the case of a surjective homomorphism.

For a computable version, see RingCon.quotientKerEquivOfRightInverse.

theorem RingCon.quotientKerEquivOfSurjective_mk E0 #

∀ {M : Type u_1} {P : Type u_3} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring P] (f : M →+* P)
  (hf : Function.Surjective ⇑f) (x : M), (RingCon.quotientKerEquivOfSurjective f hf) ↑x = f x

def RingCon.comapQuotientEquivOfSurj E1 #

{M : Type u_1} →
  {N : Type u_2} →
    [inst : NonAssocSemiring M] →
      [inst_1 : NonAssocSemiring N] →
        (c : RingCon M) →
          (f : N →+* M) → Function.Surjective ⇑f → {d : RingCon N} → d = c.comap f → d.Quotient ≃+* c.Quotient

A surjective ring homomorphism f : M →+* N induces a ring equivalence d.Quotient ≃+* c.Quotient, whenever c : RingCon M and d : RingCon N are such that d = c.comap f.

theorem RingCon.comapQuotientEquivOfSurj_mk E0 #

∀ {M : Type u_1} {N : Type u_2} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring N] (c : RingCon M) {f : N →+* M}
  (hf : Function.Surjective ⇑f) {d : RingCon N} (hcd : d = c.comap f) (x : N),
  (c.comapQuotientEquivOfSurj f hf hcd) ↑x = ↑(f x)

theorem RingCon.comapQuotientEquivOfSurj_symm_mk E0 #

∀ {M : Type u_1} {N : Type u_2} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring N] (c : RingCon M) {f : N →+* M}
  (hf : Function.Surjective ⇑f) {d : RingCon N} (hcd : d = c.comap f) (x : N),
  (c.comapQuotientEquivOfSurj f hf hcd).symm ↑(f x) = ↑x

theorem RingCon.comapQuotientEquivOfSurj_symm_mk' E0 #

∀ {M : Type u_1} {N : Type u_2} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring N] (c : RingCon M) (f : N ≃+* M)
  {d : RingCon N} (hcd : d = c.comap f) (x : N), (c.comapQuotientEquivOfSurj ↑f ⋯ hcd).symm ⟦f x⟧ = ↑x

This version infers the surjectivity of the function from a RingEquiv function

def RingCon.comapQuotientEquivRangeS E3 #

{M : Type u_1} →
  {N : Type u_2} →
    [inst : NonAssocSemiring M] →
      [inst_1 : NonAssocSemiring N] →
        (c : RingCon M) → (f : N →+* M) → {d : RingCon N} → d = c.comap f → d.Quotient ≃+* ↥(c.mk'.comp f).rangeS

The second isomorphism theorem for semirings.

theorem RingCon.comapQuotientEquivRangeS_mk E0 #

∀ {M : Type u_1} {N : Type u_2} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring N] (c : RingCon M) (f : N →+* M)
  {d : RingCon N} (hcd : d = c.comap f) (x : N), (c.comapQuotientEquivRangeS f hcd) ↑x = ⟨↑(f x), ⋯⟩

theorem RingCon.comapQuotientEquivRangeS_symm_mk E0 #

∀ {M : Type u_1} {N : Type u_2} [inst : NonAssocSemiring M] [inst_1 : NonAssocSemiring N] (c : RingCon M) (f : N →+* M)
  {d : RingCon N} (hcd : d = c.comap f) (x : N), (c.comapQuotientEquivRangeS f hcd).symm ⟨↑(f x), ⋯⟩ = ↑x

def RingCon.quotientQuotientEquivQuotient E3 #

{M : Type u_1} →
  [inst : NonAssocSemiring M] → (c d : RingCon M) → (h : c ≤ d) → (RingCon.ker (c.map d h)).Quotient ≃+* d.Quotient

The third isomorphism theorem for (semi-)rings.

theorem RingCon.quotientQuotientEquivQuotient_mk_mk E0 #

∀ {M : Type u_1} [inst : NonAssocSemiring M] (c d : RingCon M) (h : c ≤ d) (x : M),
  (c.quotientQuotientEquivQuotient d h) ⟦⟦x⟧⟧ = ⟦x⟧

theorem RingCon.quotientQuotientEquivQuotient_coe_coe E0 #

∀ {M : Type u_1} [inst : NonAssocSemiring M] (c d : RingCon M) (h : c ≤ d) (x : M),
  (c.quotientQuotientEquivQuotient d h) ↑↑x = ↑x

theorem RingCon.quotientQuotientEquivQuotient_symm_mk E0 #

∀ {M : Type u_1} [inst : NonAssocSemiring M] (c d : RingCon M) (h : c ≤ d) (x : M),
  (c.quotientQuotientEquivQuotient d h).symm ⟦x⟧ = ⟦⟦x⟧⟧

theorem RingCon.range_mk' E1 #

∀ {M : Type u_1} [inst : Ring M] {c : RingCon M}, c.mk'.range = ⊤

theorem RingCon.range_lift E0 #

∀ {M : Type u_1} {P : Type u_3} [inst : Ring M] [inst_1 : Ring P] {c : RingCon M} {f : M →+* P} (H : c ≤ RingCon.ker f),
  (c.lift f H).range = f.range

Given a congruence relation c on a ring and a homomorphism f constant on the equivalence classes of c, f has the same image as the homomorphism that f induces on the quotient.

theorem RingCon.kerLift_range_eq E0 #

∀ {M : Type u_1} {P : Type u_3} [inst : Ring M] [inst_1 : Ring P] {f : M →+* P}, (RingCon.kerLift f).range = f.range

Given a ring homomorphism f, the induced homomorphism on the quotient by f's kernel has the same image as f.

def RingCon.quotientKerEquivRange E3 #

{M : Type u_1} →
  {P : Type u_3} → [inst : Ring M] → [inst_1 : Ring P] → (f : M →+* P) → (RingCon.ker f).Quotient ≃+* ↥f.range

The first isomorphism theorem for rings.

def RingCon.comapQuotientEquivRange E3 #

{M : Type u_1} →
  {N : Type u_2} →
    [inst : Ring M] →
      [inst_1 : Ring N] →
        (c : RingCon M) → (f : N →+* M) → {d : RingCon N} → d = c.comap f → d.Quotient ≃+* ↥(c.mk'.comp f).range

The second isomorphism theorem for rings.

theorem RingCon.comapQuotientEquivRange_mk E0 #

∀ {M : Type u_1} {N : Type u_2} [inst : Ring M] [inst_1 : Ring N] (c : RingCon M) (f : N →+* M) {d : RingCon N}
  (hcd : d = c.comap f) (x : N), (c.comapQuotientEquivRange f hcd) ↑x = ⟨↑(f x), ⋯⟩

theorem RingCon.coe_comapQuotientEquivRange_mk E0 #

∀ {M : Type u_1} {N : Type u_2} [inst : Ring M] [inst_1 : Ring N] (c : RingCon M) (f : N →+* M) {d : RingCon N}
  (hcd : d = c.comap f) (x : N), ↑((c.comapQuotientEquivRange f hcd) ↑x) = ↑(f x)

theorem RingCon.comapQuotientEquivRange_symm_mk E0 #

∀ {M : Type u_1} {N : Type u_2} [inst : Ring M] [inst_1 : Ring N] (c : RingCon M) (f : N →+* M) {d : RingCon N}
  (hcd : d = c.comap f) (x : N), (c.comapQuotientEquivRange f hcd).symm ⟨↑(f x), ⋯⟩ = ↑x

def RingCon.congrₐ E1 #

{M : Type u_1} →
  {N : Type u_2} →
    (R : Type u_4) →
      [inst : CommSemiring R] →
        [inst_1 : Semiring M] →
          [inst_2 : Algebra R M] →
            [inst_3 : Semiring N] →
              [inst_4 : Algebra R N] →
                {c : RingCon M} → {d : RingCon N} → (e : M ≃ₐ[R] N) → c = d.comap e → c.Quotient ≃ₐ[R] d.Quotient

An isomorphism of algebras e : M ≃ₐ[R] N generates an isomorphism between quotient spaces, if it is compatible with the relations.

theorem RingCon.congrₐ_mk E0 #

∀ {M : Type u_1} {N : Type u_2} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M]
  [inst_3 : Semiring N] [inst_4 : Algebra R N] {c : RingCon M} {d : RingCon N} (e : M ≃ₐ[R] N) (h : c = d.comap e)
  (a : M), (RingCon.congrₐ R e h) ↑a = ↑(e a)

theorem RingCon.congrₐ_symm E0 #

∀ {M : Type u_1} {N : Type u_2} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M]
  [inst_3 : Semiring N] [inst_4 : Algebra R N] {c : RingCon M} {d : RingCon N} (e : M ≃ₐ[R] N) (h : c = d.comap e),
  (RingCon.congrₐ R e h).symm = RingCon.congrₐ R e.symm ⋯

theorem RingCon.range_mkₐ E1 #

∀ {M : Type u_1} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M] {c : RingCon M},
  (RingCon.mkₐ R c).range = ⊤

def RingCon.liftₐ E3 #

{M : Type u_1} →
  {P : Type u_3} →
    {R : Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring M] →
          [inst_2 : Algebra R M] →
            [inst_3 : Semiring P] →
              [inst_4 : Algebra R P] →
                (c : RingCon M) → (f : M →ₐ[R] P) → c ≤ RingCon.ker f.toRingHom → c.Quotient →ₐ[R] P

The algebra homomorphism on the quotient of an algebra by a congruence relation c induced by an algebra homomorphism constant on the equivalence classes of c.

theorem RingCon.liftₐ_coe_toRingHom E1 #

∀ {M : Type u_1} {P : Type u_3} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M]
  [inst_3 : Semiring P] [inst_4 : Algebra R P] (c : RingCon M) (f : M →ₐ[R] P) (H : c ≤ RingCon.ker f.toRingHom),
  (c.liftₐ f H).toRingHom = c.lift (↑f) H

theorem RingCon.coe_liftₐ E0 #

∀ {M : Type u_1} {P : Type u_3} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M]
  [inst_3 : Semiring P] [inst_4 : Algebra R P] (c : RingCon M) (f : M →ₐ[R] P) (H : c ≤ RingCon.ker f.toRingHom),
  ⇑(c.liftₐ f H) = ⇑(c.lift (↑f) H)

theorem RingCon.liftₐ_mk E0 #

∀ {M : Type u_1} {P : Type u_3} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M]
  [inst_3 : Semiring P] [inst_4 : Algebra R P] (c : RingCon M) (f : M →ₐ[R] P) (H : c ≤ RingCon.ker f.toRingHom)
  (x : M), (c.liftₐ f H) ↑x = f x

theorem RingCon.liftₐ_range E1 #

∀ {M : Type u_1} {P : Type u_3} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M]
  [inst_3 : Semiring P] [inst_4 : Algebra R P] {c : RingCon M} {f : M →ₐ[R] P} (H : c ≤ RingCon.ker f.toRingHom),
  (c.liftₐ f H).range = f.range

Given a congruence relation c on an algebra and a homomorphism f constant on the equivalence classes of c, f has the same image as the homomorphism that f induces on the quotient.

theorem RingCon.Quotient.hom_extₐ E1 #

∀ {M : Type u_1} {P : Type u_3} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M]
  [inst_3 : Semiring P] [inst_4 : Algebra R P] {c : RingCon M} {f g : c.Quotient →ₐ[R] P},
  f.comp (RingCon.mkₐ R c) = g.comp (RingCon.mkₐ R c) → f = g

Homomorphisms on the quotient of a ring by a ring congruence relation are equal if they are equal on elements that are coercions from the ring.

theorem RingCon.Quotient.hom_extₐ_iff E0 #

∀ {M : Type u_1} {P : Type u_3} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M]
  [inst_3 : Semiring P] [inst_4 : Algebra R P] {c : RingCon M} {f g : c.Quotient →ₐ[R] P},
  f = g ↔ f.comp (RingCon.mkₐ R c) = g.comp (RingCon.mkₐ R c)

def RingCon.liftₐEquiv E1 #

{M : Type u_1} →
  {P : Type u_3} →
    {R : Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring M] →
          [inst_2 : Algebra R M] →
            [inst_3 : Semiring P] →
              [inst_4 : Algebra R P] → (c : RingCon M) → { f // c ≤ RingCon.ker ↑f } ≃ (c.Quotient →ₐ[R] P)

liftₐ as an equivalence.

theorem RingCon.liftₐEquiv_symm_apply_coe E0 #

∀ {M : Type u_1} {P : Type u_3} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M]
  [inst_3 : Semiring P] [inst_4 : Algebra R P] (c : RingCon M) (F : c.Quotient →ₐ[R] P),
  ↑(c.liftₐEquiv.symm F) = F.comp (RingCon.mkₐ R c)

theorem RingCon.liftₐEquiv_apply E0 #

∀ {M : Type u_1} {P : Type u_3} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M]
  [inst_3 : Semiring P] [inst_4 : Algebra R P] (c : RingCon M) (f : { f // c ≤ RingCon.ker ↑f }),
  c.liftₐEquiv f = c.liftₐ ↑f ⋯

def RingCon.kerLiftₐ E1 #

{M : Type u_1} →
  {P : Type u_3} →
    {R : Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring M] →
          [inst_2 : Algebra R M] →
            [inst_3 : Semiring P] →
              [inst_4 : Algebra R P] → (f : M →ₐ[R] P) → (RingCon.ker f.toRingHom).Quotient →ₐ[R] P

The homomorphism induced on the quotient of a ring by the kernel of a ring homomorphism.

theorem RingCon.kerLiftₐ_mk E0 #

∀ {M : Type u_1} {P : Type u_3} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M]
  [inst_3 : Semiring P] [inst_4 : Algebra R P] {f : M →ₐ[R] P} (x : M), (RingCon.kerLiftₐ f) ↑x = f x

The diagram described by the universal property for quotients of rings, when the ring congruence relation is the kernel of the homomorphism, commutes.

theorem RingCon.kerLiftₐ_injective E1 #

∀ {M : Type u_1} {P : Type u_3} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M]
  [inst_3 : Semiring P] [inst_4 : Algebra R P] (f : M →ₐ[R] P), Function.Injective ⇑(RingCon.kerLiftₐ f)

A ring homomorphism f induces an injective homomorphism on the quotient by f's kernel.

def RingCon.factorₐ E1 #

{M : Type u_1} →
  (R : Type u_4) →
    [inst : CommSemiring R] →
      [inst_1 : Semiring M] → [inst_2 : Algebra R M] → {c d : RingCon M} → c ≤ d → c.Quotient →ₐ[R] d.Quotient

Given ring congruence relations c, d on an algebra such that d contains c, d's quotient map induces an algebra homomorphism from the quotient by c to the quotient by d.

theorem RingCon.factorₐ_apply E0 #

∀ {M : Type u_1} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M] {c d : RingCon M}
  (h : c ≤ d) (x : c.Quotient), (RingCon.factorₐ R h) x = (c.liftₐ (RingCon.mkₐ R d) ⋯) x

Given ring congruence relations c, d on a ring such that d contains c, the definition of the homomorphism from the quotient by c to the quotient by d induced by d's quotient map.

theorem RingCon.factorₐ_mk E0 #

∀ {M : Type u_1} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M] {c d : RingCon M}
  (h : c ≤ d) (x : M), (RingCon.factorₐ R h) ⟦x⟧ = ⟦x⟧

Given ring congruence relations c, d on a ring such that d contains c, the definition of the homomorphism from the quotient by c to the quotient by d induced by d's quotient map.

theorem RingCon.mkₐ_comp_factorₐ_comp_mkₐ E0 #

∀ {M : Type u_1} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M] {c d : RingCon M}
  (h : c ≤ d), (RingCon.factorₐ R h).comp (RingCon.mkₐ R c) = RingCon.mkₐ R d

theorem RingCon.kerLiftₐ_range_eq E0 #

∀ {M : Type u_1} {P : Type u_3} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M]
  [inst_3 : Semiring P] [inst_4 : Algebra R P] {f : M →ₐ[R] P}, (RingCon.kerLiftₐ f).range = f.range

Given a ring homomorphism f, the induced homomorphism on the quotient by f's kernel has the same image as f.

def RingCon.quotientKerEquivRangeₐ E3 #

{M : Type u_1} →
  {P : Type u_3} →
    {R : Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring M] →
          [inst_2 : Algebra R M] →
            [inst_3 : Semiring P] → [inst_4 : Algebra R P] → (f : M →ₐ[R] P) → (RingCon.ker ↑f).Quotient ≃ₐ[R] ↥f.range

The first isomorphism theorem for algebra morphisms.

theorem RingCon.quotientKerEquivRangeₐ_mkₐ E1 #

∀ {M : Type u_1} {P : Type u_3} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M]
  [inst_3 : Semiring P] [inst_4 : Algebra R P] (f : M →ₐ[R] P) (x : M), (RingCon.quotientKerEquivRangeₐ f) ↑x = ⟨f x, ⋯⟩

theorem RingCon.coe_quotientKerEquivRangeₐ_mkₐ E0 #

∀ {M : Type u_1} {P : Type u_3} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M]
  [inst_3 : Semiring P] [inst_4 : Algebra R P] (f : M →ₐ[R] P) (x : M), ↑((RingCon.quotientKerEquivRangeₐ f) ↑x) = f x

theorem RingCon.quotientKerEquivRangeₐ_comp_mkₐ E1 #

∀ {M : Type u_1} {N : Type u_2} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M]
  [inst_3 : Semiring N] [inst_4 : Algebra R N] (φ : M →ₐ[R] N),
  (↑(RingCon.quotientKerEquivRangeₐ φ)).comp (RingCon.mkₐ R (RingCon.ker ↑φ)) = φ.rangeRestrict

def RingCon.comapQuotientEquivRangeₐ E3 #

{M : Type u_1} →
  {N : Type u_2} →
    {R : Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring M] →
          [inst_2 : Algebra R M] →
            [inst_3 : Semiring N] →
              [inst_4 : Algebra R N] →
                (c : RingCon M) →
                  (f : N →ₐ[R] M) → {d : RingCon N} → d = c.comap f → d.Quotient ≃ₐ[R] ↥((RingCon.mkₐ R c).comp f).range

The second isomorphism theorem for algebras.

theorem RingCon.comapQuotientEquivRangeₐ_mk E0 #

∀ {M : Type u_1} {N : Type u_2} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M]
  [inst_3 : Semiring N] [inst_4 : Algebra R N] (c : RingCon M) (f : N →ₐ[R] M) {d : RingCon N} (h : d = c.comap f)
  (x : N), (c.comapQuotientEquivRangeₐ f h) ↑x = ⟨↑(f x), ⋯⟩

theorem RingCon.coe_comapQuotientEquivRangeₐ_mk E0 #

∀ {M : Type u_1} {N : Type u_2} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M]
  [inst_3 : Semiring N] [inst_4 : Algebra R N] (c : RingCon M) (f : N →ₐ[R] M) (x : N) {d : RingCon N}
  (h : d = c.comap f), ↑((c.comapQuotientEquivRangeₐ f h) ↑x) = ↑(f x)

theorem RingCon.coe_comapQuotientEquivRangeₐ_symm_mk E0 #

∀ {M : Type u_1} {N : Type u_2} {R : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M]
  [inst_3 : Semiring N] [inst_4 : Algebra R N] (c : RingCon M) (f : N →ₐ[R] M) (x : N) {d : RingCon N}
  (h : d = c.comap f), (c.comapQuotientEquivRangeₐ f h).symm ⟨↑(f x), ⋯⟩ = ↑x

def RingCon.quotientQuotientEquivQuotientₐ E3 #

{M : Type u_1} →
  (R : Type u_4) →
    [inst : CommSemiring R] →
      [inst_1 : Semiring M] →
        [inst_2 : Algebra R M] →
          {c d : RingCon M} → (h : c ≤ d) → (RingCon.ker ↑(RingCon.factorₐ R h)).Quotient ≃ₐ[R] d.Quotient

The third isomorphism theorem for algebras.

theorem RingCon.quotientQuotientEquivQuotientₐ_mk_mk E0 #

∀ {M : Type u_1} (R : Type u_4) [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M] {c d : RingCon M}
  (h : c ≤ d) (x : M), (RingCon.quotientQuotientEquivQuotientₐ R h) ⟦⟦x⟧⟧ = ⟦x⟧

theorem RingCon.quotientQuotientEquivQuotientₐ_coe_coe E0 #

∀ {M : Type u_1} (R : Type u_4) [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M] {c d : RingCon M}
  (h : c ≤ d) (x : M), (RingCon.quotientQuotientEquivQuotientₐ R h) ↑↑x = ↑x

theorem RingCon.quotientQuotientEquivQuotientₐ_symm_mk E0 #

∀ {M : Type u_1} (R : Type u_4) [inst : CommSemiring R] [inst_1 : Semiring M] [inst_2 : Algebra R M] {c d : RingCon M}
  (h : c ≤ d) (x : M), (RingCon.quotientQuotientEquivQuotientₐ R h).symm ⟦x⟧ = ⟦⟦x⟧⟧