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.Shapes.Pullback.Equalizer

11 declarations. Mathlib docs · Source

theorem CategoryTheory.Limits.isPullback_equalizer_prod E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f g : X ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasEqualizer f g] [inst_2 : CategoryTheory.Limits.HasBinaryProduct Y Y],
  CategoryTheory.IsPullback (CategoryTheory.Limits.equalizer.ι f g)
    (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.equalizer.ι f g) f) (CategoryTheory.Limits.prod.lift f g)
    (CategoryTheory.Limits.prod.lift (CategoryTheory.CategoryStruct.id Y) (CategoryTheory.CategoryStruct.id Y))

The equalizer of f g : X ⟶ Y is the pullback of the diagonal map Y ⟶ Y × Y along the map (f, g) : X ⟶ Y × Y.

theorem CategoryTheory.Limits.isPushout_coequalizer_coprod E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f g : X ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasCoequalizer f g] [inst_2 : CategoryTheory.Limits.HasBinaryCoproduct X X],
  CategoryTheory.IsPushout (CategoryTheory.Limits.coprod.desc f g)
    (CategoryTheory.Limits.coprod.desc (CategoryTheory.CategoryStruct.id X) (CategoryTheory.CategoryStruct.id X))
    (CategoryTheory.Limits.coequalizer.π f g)
    (CategoryTheory.CategoryStruct.comp f (CategoryTheory.Limits.coequalizer.π f g))

The coequalizer of f g : X ⟶ Y is the pushout of the diagonal map X ⨿ X ⟶ X along the map (f, g) : X ⨿ X ⟶ Y.

def CategoryTheory.Limits.equalizerPullbackMapIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasEqualizers C] →
      [inst_2 : CategoryTheory.Limits.HasPullbacks C] →
        {X Y S T : C} →
          {f g : X ⟶ Y} →
            {s : X ⟶ S} →
              {t : Y ⟶ S} →
                (hf : CategoryTheory.CategoryStruct.comp f t = s) →
                  (hg : CategoryTheory.CategoryStruct.comp g t = s) →
                    (v : T ⟶ S) →
                      CategoryTheory.Limits.equalizer
                          (CategoryTheory.Limits.pullback.map s v t v f (CategoryTheory.CategoryStruct.id T)
                            (CategoryTheory.CategoryStruct.id S) ⋯ ⋯)
                          (CategoryTheory.Limits.pullback.map s v t v g (CategoryTheory.CategoryStruct.id T)
                            (CategoryTheory.CategoryStruct.id S) ⋯ ⋯) ≅
                        CategoryTheory.Limits.pullback (CategoryTheory.Limits.equalizer.ι f g)
                          (CategoryTheory.Limits.pullback.fst s v)

The natural isomorphism eq(f ×[S] T, g ×[S] T) ≅ eq(f, g) ×[S] T.

theorem CategoryTheory.Limits.equalizerPullbackMapIso_hom_fst_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasEqualizers C]
  [inst_2 : CategoryTheory.Limits.HasPullbacks C] {X Y S T : C} {f g : X ⟶ Y} {s : X ⟶ S} {t : Y ⟶ S}
  (hf : CategoryTheory.CategoryStruct.comp f t = s) (hg : CategoryTheory.CategoryStruct.comp g t = s) (v : T ⟶ S)
  {Z : C} (h : X ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.equalizerPullbackMapIso hf hg v).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.equalizer.ι f g)
          (CategoryTheory.Limits.pullback.fst s v))
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.equalizer.ι f g) h)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.equalizer.ι
        (CategoryTheory.Limits.pullback.map s v t v f (CategoryTheory.CategoryStruct.id T)
          (CategoryTheory.CategoryStruct.id S) ⋯ ⋯)
        (CategoryTheory.Limits.pullback.map s v t v g (CategoryTheory.CategoryStruct.id T)
          (CategoryTheory.CategoryStruct.id S) ⋯ ⋯))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst s v) h)

theorem CategoryTheory.Limits.equalizerPullbackMapIso_hom_fst E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasEqualizers C]
  [inst_2 : CategoryTheory.Limits.HasPullbacks C] {X Y S T : C} {f g : X ⟶ Y} {s : X ⟶ S} {t : Y ⟶ S}
  (hf : CategoryTheory.CategoryStruct.comp f t = s) (hg : CategoryTheory.CategoryStruct.comp g t = s) (v : T ⟶ S),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.equalizerPullbackMapIso hf hg v).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.equalizer.ι f g)
          (CategoryTheory.Limits.pullback.fst s v))
        (CategoryTheory.Limits.equalizer.ι f g)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.equalizer.ι
        (CategoryTheory.Limits.pullback.map s v t v f (CategoryTheory.CategoryStruct.id T)
          (CategoryTheory.CategoryStruct.id S) ⋯ ⋯)
        (CategoryTheory.Limits.pullback.map s v t v g (CategoryTheory.CategoryStruct.id T)
          (CategoryTheory.CategoryStruct.id S) ⋯ ⋯))
      (CategoryTheory.Limits.pullback.fst s v)

theorem CategoryTheory.Limits.equalizerPullbackMapIso_hom_snd_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasEqualizers C]
  [inst_2 : CategoryTheory.Limits.HasPullbacks C] {X Y S T : C} {f g : X ⟶ Y} {s : X ⟶ S} {t : Y ⟶ S}
  (hf : CategoryTheory.CategoryStruct.comp f t = s) (hg : CategoryTheory.CategoryStruct.comp g t = s) (v : T ⟶ S)
  {Z : C} (h : CategoryTheory.Limits.pullback s v ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.equalizerPullbackMapIso hf hg v).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.pullback.snd (CategoryTheory.Limits.equalizer.ι f g)
          (CategoryTheory.Limits.pullback.fst s v))
        h) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.equalizer.ι
        (CategoryTheory.Limits.pullback.map s v t v f (CategoryTheory.CategoryStruct.id T)
          (CategoryTheory.CategoryStruct.id S) ⋯ ⋯)
        (CategoryTheory.Limits.pullback.map s v t v g (CategoryTheory.CategoryStruct.id T)
          (CategoryTheory.CategoryStruct.id S) ⋯ ⋯))
      h

theorem CategoryTheory.Limits.equalizerPullbackMapIso_hom_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasEqualizers C]
  [inst_2 : CategoryTheory.Limits.HasPullbacks C] {X Y S T : C} {f g : X ⟶ Y} {s : X ⟶ S} {t : Y ⟶ S}
  (hf : CategoryTheory.CategoryStruct.comp f t = s) (hg : CategoryTheory.CategoryStruct.comp g t = s) (v : T ⟶ S),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.equalizerPullbackMapIso hf hg v).hom
      (CategoryTheory.Limits.pullback.snd (CategoryTheory.Limits.equalizer.ι f g)
        (CategoryTheory.Limits.pullback.fst s v)) =
    CategoryTheory.Limits.equalizer.ι
      (CategoryTheory.Limits.pullback.map s v t v f (CategoryTheory.CategoryStruct.id T)
        (CategoryTheory.CategoryStruct.id S) ⋯ ⋯)
      (CategoryTheory.Limits.pullback.map s v t v g (CategoryTheory.CategoryStruct.id T)
        (CategoryTheory.CategoryStruct.id S) ⋯ ⋯)

theorem CategoryTheory.Limits.equalizerPullbackMapIso_inv_ι_fst E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasEqualizers C]
  [inst_2 : CategoryTheory.Limits.HasPullbacks C] {X Y S T : C} {f g : X ⟶ Y} {s : X ⟶ S} {t : Y ⟶ S}
  (hf : CategoryTheory.CategoryStruct.comp f t = s) (hg : CategoryTheory.CategoryStruct.comp g t = s) (v : T ⟶ S),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.equalizerPullbackMapIso hf hg v).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.equalizer.ι
          (CategoryTheory.Limits.pullback.map s v t v f (CategoryTheory.CategoryStruct.id T)
            (CategoryTheory.CategoryStruct.id S) ⋯ ⋯)
          (CategoryTheory.Limits.pullback.map s v t v g (CategoryTheory.CategoryStruct.id T)
            (CategoryTheory.CategoryStruct.id S) ⋯ ⋯))
        (CategoryTheory.Limits.pullback.fst s v)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.equalizer.ι f g)
        (CategoryTheory.Limits.pullback.fst s v))
      (CategoryTheory.Limits.equalizer.ι f g)

theorem CategoryTheory.Limits.equalizerPullbackMapIso_inv_ι_fst_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasEqualizers C]
  [inst_2 : CategoryTheory.Limits.HasPullbacks C] {X Y S T : C} {f g : X ⟶ Y} {s : X ⟶ S} {t : Y ⟶ S}
  (hf : CategoryTheory.CategoryStruct.comp f t = s) (hg : CategoryTheory.CategoryStruct.comp g t = s) (v : T ⟶ S)
  {Z : C} (h : X ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.equalizerPullbackMapIso hf hg v).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.equalizer.ι
          (CategoryTheory.Limits.pullback.map s v t v f (CategoryTheory.CategoryStruct.id T)
            (CategoryTheory.CategoryStruct.id S) ⋯ ⋯)
          (CategoryTheory.Limits.pullback.map s v t v g (CategoryTheory.CategoryStruct.id T)
            (CategoryTheory.CategoryStruct.id S) ⋯ ⋯))
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst s v) h)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.equalizer.ι f g)
        (CategoryTheory.Limits.pullback.fst s v))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.equalizer.ι f g) h)

theorem CategoryTheory.Limits.equalizerPullbackMapIso_inv_ι_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasEqualizers C]
  [inst_2 : CategoryTheory.Limits.HasPullbacks C] {X Y S T : C} {f g : X ⟶ Y} {s : X ⟶ S} {t : Y ⟶ S}
  (hf : CategoryTheory.CategoryStruct.comp f t = s) (hg : CategoryTheory.CategoryStruct.comp g t = s) (v : T ⟶ S),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.equalizerPullbackMapIso hf hg v).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.equalizer.ι
          (CategoryTheory.Limits.pullback.map s v t v f (CategoryTheory.CategoryStruct.id T)
            (CategoryTheory.CategoryStruct.id S) ⋯ ⋯)
          (CategoryTheory.Limits.pullback.map s v t v g (CategoryTheory.CategoryStruct.id T)
            (CategoryTheory.CategoryStruct.id S) ⋯ ⋯))
        (CategoryTheory.Limits.pullback.snd s v)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.snd (CategoryTheory.Limits.equalizer.ι f g)
        (CategoryTheory.Limits.pullback.fst s v))
      (CategoryTheory.Limits.pullback.snd s v)

theorem CategoryTheory.Limits.equalizerPullbackMapIso_inv_ι_snd_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasEqualizers C]
  [inst_2 : CategoryTheory.Limits.HasPullbacks C] {X Y S T : C} {f g : X ⟶ Y} {s : X ⟶ S} {t : Y ⟶ S}
  (hf : CategoryTheory.CategoryStruct.comp f t = s) (hg : CategoryTheory.CategoryStruct.comp g t = s) (v : T ⟶ S)
  {Z : C} (h : T ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.equalizerPullbackMapIso hf hg v).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.equalizer.ι
          (CategoryTheory.Limits.pullback.map s v t v f (CategoryTheory.CategoryStruct.id T)
            (CategoryTheory.CategoryStruct.id S) ⋯ ⋯)
          (CategoryTheory.Limits.pullback.map s v t v g (CategoryTheory.CategoryStruct.id T)
            (CategoryTheory.CategoryStruct.id S) ⋯ ⋯))
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd s v) h)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.snd (CategoryTheory.Limits.equalizer.ι f g)
        (CategoryTheory.Limits.pullback.fst s v))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd s v) h)