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 / V24. Category theory

Mathlib.CategoryTheory.Limits.Types.Coequalizers

7 declarations. Mathlib docs · Source

def CategoryTheory.Limits.Types.coequalizerColimit E1 #

{X Y : Type u} → (f g : X ⟶ Y) → CategoryTheory.Limits.ColimitCocone (CategoryTheory.Limits.parallelPair f g)

Show that the quotient by the relation generated by f(x) ~ g(x) is a coequalizer for the pair (f, g).

theorem CategoryTheory.Limits.Types.coequalizer_preimage_image_eq_of_preimage_eq E0 #

∀ {X Y Z : Type u} (f g : X ⟶ Y) (π : Y ⟶ Z)
  (e : CategoryTheory.CategoryStruct.comp f π = CategoryTheory.CategoryStruct.comp g π)
  (h : CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofork.ofπ π e)) (U : Set Y),
  ⇑(CategoryTheory.ConcreteCategory.hom f) ⁻¹' U = ⇑(CategoryTheory.ConcreteCategory.hom g) ⁻¹' U →
    ⇑(CategoryTheory.ConcreteCategory.hom π) ⁻¹' ⇑(CategoryTheory.ConcreteCategory.hom π) '' U = U

If π : Y ⟶ Z is a coequalizer for (f, g), and U ⊆ Y such that f ⁻¹' U = g ⁻¹' U, then π ⁻¹' π '' U = U.

def CategoryTheory.Limits.Types.coequalizerIso E1 #

{X Y : Type u} →
  (f g : X ⟶ Y) →
    CategoryTheory.Limits.coequalizer f g ≅
      Function.Coequalizer ⇑(CategoryTheory.ConcreteCategory.hom f) ⇑(CategoryTheory.ConcreteCategory.hom g)

The categorical coequalizer in Type u is the quotient by f g ~ g x.

theorem CategoryTheory.Limits.Types.coequalizerIso_π_comp_hom_apply E0 #

∀ {X Y : Type u} (f g : X ⟶ Y) (x : Y),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Types.coequalizerIso f g).hom)
      ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.coequalizer.π f g)) x) =
    Function.Coequalizer.mk (⇑(CategoryTheory.ConcreteCategory.hom f)) (⇑(CategoryTheory.ConcreteCategory.hom g)) x

theorem CategoryTheory.Limits.Types.coequalizerIso_π_comp_hom E0 #

∀ {X Y : Type u} (f g : X ⟶ Y),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.coequalizer.π f g)
      (CategoryTheory.Limits.Types.coequalizerIso f g).hom =
    TypeCat.ofHom
      (Function.Coequalizer.mk ⇑(CategoryTheory.ConcreteCategory.hom f) ⇑(CategoryTheory.ConcreteCategory.hom g))

theorem CategoryTheory.Limits.Types.coequalizerIso_quot_comp_inv E0 #

∀ {X Y : Type u} (f g : X ⟶ Y),
  CategoryTheory.CategoryStruct.comp
      (TypeCat.ofHom
        (Function.Coequalizer.mk ⇑(CategoryTheory.ConcreteCategory.hom f) ⇑(CategoryTheory.ConcreteCategory.hom g)))
      (CategoryTheory.Limits.Types.coequalizerIso f g).inv =
    CategoryTheory.Limits.coequalizer.π f g

theorem CategoryTheory.Limits.Types.coequalizerIso_quot_comp_inv_apply E0 #

∀ {X Y : Type u} (f g : X ⟶ Y) (x : Y),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Types.coequalizerIso f g).inv)
      (Function.Coequalizer.mk (⇑(CategoryTheory.ConcreteCategory.hom f)) (⇑(CategoryTheory.ConcreteCategory.hom g))
        x) =
    (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.coequalizer.π f g)) x