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.Equalizers

9 declarations. Mathlib docs · Source

def CategoryTheory.Limits.Types.typeEqualizerOfUnique E1 #

{X Y Z : Type u} →
  (f : X ⟶ Y) →
    {g h : Y ⟶ Z} →
      (w : CategoryTheory.CategoryStruct.comp f g = CategoryTheory.CategoryStruct.comp f h) →
        (∀ (y : Y),
            (CategoryTheory.ConcreteCategory.hom g) y = (CategoryTheory.ConcreteCategory.hom h) y →
              ∃! x, (CategoryTheory.ConcreteCategory.hom f) x = y) →
          CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fork.ofι f w)

Show the given fork in Type u is an equalizer given that any element in the "difference kernel" comes from X. The converse of unique_of_type_equalizer.

theorem CategoryTheory.Limits.Types.unique_of_type_equalizer E1 #

∀ {X Y Z : Type u} (f : X ⟶ Y) {g h : Y ⟶ Z}
  (w : CategoryTheory.CategoryStruct.comp f g = CategoryTheory.CategoryStruct.comp f h)
  (t : CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fork.ofι f w)) (y : Y),
  (CategoryTheory.ConcreteCategory.hom g) y = (CategoryTheory.ConcreteCategory.hom h) y →
    ∃! x, (CategoryTheory.ConcreteCategory.hom f) x = y

The converse of type_equalizer_of_unique.

theorem CategoryTheory.Limits.Types.type_equalizer_iff_unique E1 #

∀ {X Y Z : Type u} (f : X ⟶ Y) {g h : Y ⟶ Z}
  (w : CategoryTheory.CategoryStruct.comp f g = CategoryTheory.CategoryStruct.comp f h),
  Nonempty (CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fork.ofι f w)) ↔
    ∀ (y : Y),
      (CategoryTheory.ConcreteCategory.hom g) y = (CategoryTheory.ConcreteCategory.hom h) y →
        ∃! x, (CategoryTheory.ConcreteCategory.hom f) x = y

def CategoryTheory.Limits.Types.equalizerLimit E1 #

{Y Z : Type u} → {g h : Y ⟶ Z} → CategoryTheory.Limits.LimitCone (CategoryTheory.Limits.parallelPair g h)

Show that the subtype {x : Y // g x = h x} is an equalizer for the pair (g,h).

def CategoryTheory.Limits.Types.equalizerIso E1 #

{Y Z : Type u} →
  (g h : Y ⟶ Z) →
    CategoryTheory.Limits.equalizer g h ≅
      { x // (CategoryTheory.ConcreteCategory.hom g) x = (CategoryTheory.ConcreteCategory.hom h) x }

The categorical equalizer in Type u is {x : Y // g x = h x}.

theorem CategoryTheory.Limits.Types.equalizerIso_hom_comp_subtype_apply E0 #

∀ {Y Z : Type u} (g h : Y ⟶ Z) (x : CategoryTheory.Limits.equalizer g h),
  ↑((CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Types.equalizerIso g h).hom) x) =
    (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.equalizer.ι g h)) x

theorem CategoryTheory.Limits.Types.equalizerIso_hom_comp_subtype E0 #

∀ {Y Z : Type u} (g h : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Types.equalizerIso g h).hom (TypeCat.ofHom Subtype.val) =
    CategoryTheory.Limits.equalizer.ι g h

theorem CategoryTheory.Limits.Types.equalizerIso_inv_comp_ι E0 #

∀ {Y Z : Type u} (g h : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Types.equalizerIso g h).inv
      (CategoryTheory.Limits.equalizer.ι g h) =
    TypeCat.ofHom Subtype.val

theorem CategoryTheory.Limits.Types.equalizerIso_inv_comp_ι_apply E0 #

∀ {Y Z : Type u} (g h : Y ⟶ Z)
  (x : { x // (CategoryTheory.ConcreteCategory.hom g) x = (CategoryTheory.ConcreteCategory.hom h) x }),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.equalizer.ι g h))
      ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Types.equalizerIso g h).inv) x) =
    ↑x