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

153 declarations and 3 deprecated aliases. Mathlib docs · Source

HasPullback

HasPullback f g and pullback f g provides API for HasLimit and limit in the case of pullbacks.

Main definitions

  • HasPullback f g: this is an abbreviation for HasLimit (cospan f g), and is a typeclass used to express the fact that a given pair of morphisms has a pullback.

  • HasPullbacks: expresses the fact that C admits all pullbacks, it is implemented as an abbreviation for HasLimitsOfShape WalkingCospan C

  • pullback f g: Given a HasPullback f g instance, this function returns the choice of a limit object corresponding to the pullback of f and g. It fits into the following diagram:

      pullback f g ---pullback.fst f g---> X
          |                                |
          |                                |
    pullback.snd f g                       f
          |                                |
          v                                v
          Y --------------g--------------> Z
    
  • HasPushout f g: this is an abbreviation for HasColimit (span f g), and is a typeclass used to express the fact that a given pair of morphisms has a pushout.

  • HasPushouts: expresses the fact that C admits all pushouts, it is implemented as an abbreviation for HasColimitsOfShape WalkingSpan C

  • pushout f g: Given a HasPushout f g instance, this function returns the choice of a colimit object corresponding to the pushout of f and g. It fits into the following diagram:

        X --------------f--------------> Y
        |                                |
        g                          pushout.inl f g
        |                                |
        v                                v
        Z ---pushout.inr f g---> pushout f g
    

Main results & API

  • The following API is available for using the universal property of pullback f g: lift, lift_fst, lift_snd, lift', hom_ext (for uniqueness).

  • pullback.map is the induced map between pullbacks W ×ₛ X ⟶ Y ×ₜ Z given pointwise (compatible) maps W ⟶ Y, X ⟶ Z and S ⟶ T.

  • pullbackComparison: Given a functor G, this is the natural morphism G.obj (pullback f g) ⟶ pullback (G.map f) (G.map g)

  • pullbackSymmetry provides the natural isomorphism pullback f g ≅ pullback g f

(The dual results for pushouts are also available)

References

theorem CategoryTheory.Limits.pullback.congrHom.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f₁ f₂ : X ⟶ Z} {g₁ g₂ : Y ⟶ Z} (h₁ : f₁ = f₂)
  (h₂ : g₁ = g₂) [inst_1 : CategoryTheory.Limits.HasPullback f₁ g₁] [inst_2 : CategoryTheory.Limits.HasPullback f₂ g₂],
  CategoryTheory.Limits.pullback.congrHom h₁ h₂ = CategoryTheory.Limits.pullback.congrHom h₁ h₂

theorem CategoryTheory.Limits.pushout.map.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z S T : C} (g₁ : T ⟶ Y) (g₂ : T ⟶ Z)
  [inst_1 : CategoryTheory.Limits.HasPushout g₁ g₂] (f₁ : S ⟶ W) (f₂ : S ⟶ X)
  [inst_2 : CategoryTheory.Limits.HasPushout f₁ f₂] (i₁ i₁_1 : Y ⟶ W) (e_i₁ : i₁ = i₁_1) (i₂ i₂_1 : Z ⟶ X)
  (e_i₂ : i₂ = i₂_1) (i₃ i₃_1 : T ⟶ S) (e_i₃ : i₃ = i₃_1)
  (eq₁ : CategoryTheory.CategoryStruct.comp i₃ f₁ = CategoryTheory.CategoryStruct.comp g₁ i₁)
  (eq₂ : CategoryTheory.CategoryStruct.comp i₃ f₂ = CategoryTheory.CategoryStruct.comp g₂ i₂),
  CategoryTheory.Limits.pushout.map g₁ g₂ f₁ f₂ i₁ i₂ i₃ eq₁ eq₂ =
    CategoryTheory.Limits.pushout.map g₁ g₂ f₁ f₂ i₁_1 i₂_1 i₃_1 ⋯ ⋯

theorem CategoryTheory.Limits.pushout.desc.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W Y Z X : C} {f : X ⟶ Y} {g : X ⟶ Z}
  [inst_1 : CategoryTheory.Limits.HasPushout f g] (h h_1 : Y ⟶ W) (e_h : h = h_1) (k k_1 : Z ⟶ W) (e_k : k = k_1)
  (w : CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g k),
  CategoryTheory.Limits.pushout.desc h k w = CategoryTheory.Limits.pushout.desc h_1 k_1 ⋯

theorem CategoryTheory.Limits.pullback.map.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z S T : C} (f₁ : W ⟶ S) (f₂ : X ⟶ S)
  [inst_1 : CategoryTheory.Limits.HasPullback f₁ f₂] (g₁ : Y ⟶ T) (g₂ : Z ⟶ T)
  [inst_2 : CategoryTheory.Limits.HasPullback g₁ g₂] (i₁ i₁_1 : W ⟶ Y) (e_i₁ : i₁ = i₁_1) (i₂ i₂_1 : X ⟶ Z)
  (e_i₂ : i₂ = i₂_1) (i₃ i₃_1 : S ⟶ T) (e_i₃ : i₃ = i₃_1)
  (eq₁ : CategoryTheory.CategoryStruct.comp f₁ i₃ = CategoryTheory.CategoryStruct.comp i₁ g₁)
  (eq₂ : CategoryTheory.CategoryStruct.comp f₂ i₃ = CategoryTheory.CategoryStruct.comp i₂ g₂),
  CategoryTheory.Limits.pullback.map f₁ f₂ g₁ g₂ i₁ i₂ i₃ eq₁ eq₂ =
    CategoryTheory.Limits.pullback.map f₁ f₂ g₁ g₂ i₁_1 i₂_1 i₃_1 ⋯ ⋯

theorem CategoryTheory.Limits.pullback.lift.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  [inst_1 : CategoryTheory.Limits.HasPullback f g] (h h_1 : W ⟶ X) (e_h : h = h_1) (k k_1 : W ⟶ Y) (e_k : k = k_1)
  (w : CategoryTheory.CategoryStruct.comp h f = CategoryTheory.CategoryStruct.comp k g),
  CategoryTheory.Limits.pullback.lift h k w = CategoryTheory.Limits.pullback.lift h_1 k_1 ⋯

abbrev CategoryTheory.Limits.HasPullback E1 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X Y Z : C} → (X ⟶ Z) → (Y ⟶ Z) → Prop

Two morphisms f : X ⟶ Z and g : Y ⟶ Z have a pullback if the diagram cospan f g has a limit.

abbrev CategoryTheory.Limits.HasPushout E1 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {Y Z X : C} → (X ⟶ Y) → (X ⟶ Z) → Prop

Two morphisms f : X ⟶ Y and g : X ⟶ Z have a pushout if the diagram span f g has a colimit.

abbrev CategoryTheory.Limits.pullback E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} → (f : X ⟶ Z) → (g : Y ⟶ Z) → [CategoryTheory.Limits.HasPullback f g] → C

pullback f g computes the pullback of a pair of morphisms with the same target.

abbrev CategoryTheory.Limits.pushout E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {Y Z X : C} → (f : X ⟶ Y) → (g : X ⟶ Z) → [CategoryTheory.Limits.HasPushout f g] → C

pushout f g computes the pushout of a pair of morphisms with the same source.

abbrev CategoryTheory.Limits.pullback.cone E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      (f : X ⟶ Z) → (g : Y ⟶ Z) → [CategoryTheory.Limits.HasPullback f g] → CategoryTheory.Limits.PullbackCone f g

The cone associated to the pullback of f and g

abbrev CategoryTheory.Limits.pushout.cocone E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {Y Z X : C} →
      (f : X ⟶ Y) → (g : X ⟶ Z) → [CategoryTheory.Limits.HasPushout f g] → CategoryTheory.Limits.PushoutCocone f g

The cocone associated to the pushout of f and g

abbrev CategoryTheory.Limits.pullback.fst E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      (f : X ⟶ Z) →
        (g : Y ⟶ Z) → [inst_1 : CategoryTheory.Limits.HasPullback f g] → CategoryTheory.Limits.pullback f g ⟶ X

The first projection of the pullback of f and g.

abbrev CategoryTheory.Limits.pushout.inl E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {Y Z X : C} →
      (f : X ⟶ Y) →
        (g : X ⟶ Z) → [inst_1 : CategoryTheory.Limits.HasPushout f g] → Y ⟶ CategoryTheory.Limits.pushout f g

The first inclusion into the pushout of f and g.

abbrev CategoryTheory.Limits.pullback.snd E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      (f : X ⟶ Z) →
        (g : Y ⟶ Z) → [inst_1 : CategoryTheory.Limits.HasPullback f g] → CategoryTheory.Limits.pullback f g ⟶ Y

The second projection of the pullback of f and g.

abbrev CategoryTheory.Limits.pushout.inr E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {Y Z X : C} →
      (f : X ⟶ Y) →
        (g : X ⟶ Z) → [inst_1 : CategoryTheory.Limits.HasPushout f g] → Z ⟶ CategoryTheory.Limits.pushout f g

The second inclusion into the pushout of f and g.

abbrev CategoryTheory.Limits.pullback.lift E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {W X Y Z : C} →
      {f : X ⟶ Z} →
        {g : Y ⟶ Z} →
          [inst_1 : CategoryTheory.Limits.HasPullback f g] →
            (h : W ⟶ X) →
              (k : W ⟶ Y) →
                autoParam (CategoryTheory.CategoryStruct.comp h f = CategoryTheory.CategoryStruct.comp k g)
                    CategoryTheory.Limits.pullback.lift._auto_1 →
                  (W ⟶ CategoryTheory.Limits.pullback f g)

A pair of morphisms h : W ⟶ X and k : W ⟶ Y satisfying h ≫ f = k ≫ g induces a morphism pullback.lift : W ⟶ pullback f g.

abbrev CategoryTheory.Limits.pushout.desc E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {W Y Z X : C} →
      {f : X ⟶ Y} →
        {g : X ⟶ Z} →
          [inst_1 : CategoryTheory.Limits.HasPushout f g] →
            (h : Y ⟶ W) →
              (k : Z ⟶ W) →
                autoParam (CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g k)
                    CategoryTheory.Limits.pushout.desc._auto_1 →
                  (CategoryTheory.Limits.pushout f g ⟶ W)

A pair of morphisms h : Y ⟶ W and k : Z ⟶ W satisfying f ≫ h = g ≫ k induces a morphism pushout.desc : pushout f g ⟶ W.

theorem CategoryTheory.Limits.pullback.exists_lift E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} (f : X ⟶ Z) (g : Y ⟶ Z)
  [inst_1 : CategoryTheory.Limits.HasPullback f g] (h : W ⟶ X) (k : W ⟶ Y),
  autoParam (CategoryTheory.CategoryStruct.comp h f = CategoryTheory.CategoryStruct.comp k g)
      CategoryTheory.Limits.pullback.exists_lift._auto_1 →
    ∃ l,
      CategoryTheory.CategoryStruct.comp l (CategoryTheory.Limits.pullback.fst f g) = h ∧
        CategoryTheory.CategoryStruct.comp l (CategoryTheory.Limits.pullback.snd f g) = k

theorem CategoryTheory.Limits.pushout.exists_desc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} (f : Z ⟶ X) (g : Z ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPushout f g] (h : X ⟶ W) (k : Y ⟶ W),
  autoParam (CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g k)
      CategoryTheory.Limits.pushout.exists_desc._auto_1 →
    ∃ l,
      CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl f g) l = h ∧
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inr f g) l = k

abbrev CategoryTheory.Limits.pullback.isLimit E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      (f : X ⟶ Z) →
        (g : Y ⟶ Z) →
          [inst_1 : CategoryTheory.Limits.HasPullback f g] →
            CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.pullback.cone f g)

The cone associated to a pullback is a limit cone.

abbrev CategoryTheory.Limits.pushout.isColimit E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {Y Z X : C} →
      (f : X ⟶ Y) →
        (g : X ⟶ Z) →
          [inst_1 : CategoryTheory.Limits.HasPushout f g] →
            CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.pushout.cocone f g)

The cocone associated to a pushout is a colimit cone.

theorem CategoryTheory.Limits.PushoutCocone.inl_colimit_cocone E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : Z ⟶ X) (g : Z ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasColimit (CategoryTheory.Limits.span f g)],
  CategoryTheory.Limits.PushoutCocone.inl (CategoryTheory.Limits.colimit.cocone (CategoryTheory.Limits.span f g)) =
    CategoryTheory.Limits.pushout.inl f g

theorem CategoryTheory.Limits.PullbackCone.fst_limit_cone E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : X ⟶ Z) (g : Y ⟶ Z)
  [inst_1 : CategoryTheory.Limits.HasLimit (CategoryTheory.Limits.cospan f g)],
  CategoryTheory.Limits.PullbackCone.fst (CategoryTheory.Limits.limit.cone (CategoryTheory.Limits.cospan f g)) =
    CategoryTheory.Limits.pullback.fst f g

theorem CategoryTheory.Limits.PullbackCone.snd_limit_cone E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : X ⟶ Z) (g : Y ⟶ Z)
  [inst_1 : CategoryTheory.Limits.HasLimit (CategoryTheory.Limits.cospan f g)],
  CategoryTheory.Limits.PullbackCone.snd (CategoryTheory.Limits.limit.cone (CategoryTheory.Limits.cospan f g)) =
    CategoryTheory.Limits.pullback.snd f g

theorem CategoryTheory.Limits.PushoutCocone.inr_colimit_cocone E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : Z ⟶ X) (g : Z ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasColimit (CategoryTheory.Limits.span f g)],
  CategoryTheory.Limits.PushoutCocone.inr (CategoryTheory.Limits.colimit.cocone (CategoryTheory.Limits.span f g)) =
    CategoryTheory.Limits.pushout.inr f g

theorem CategoryTheory.Limits.pullback.lift_fst_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  [inst_1 : CategoryTheory.Limits.HasPullback f g] (h : W ⟶ X) (k : W ⟶ Y)
  (w : CategoryTheory.CategoryStruct.comp h f = CategoryTheory.CategoryStruct.comp k g) {Z_1 : C} (h_1 : X ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.lift h k w)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst f g) h_1) =
    CategoryTheory.CategoryStruct.comp h h_1

theorem CategoryTheory.Limits.pushout.inl_desc_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  [inst_1 : CategoryTheory.Limits.HasPushout f g] (h : X ⟶ W) (k : Y ⟶ W)
  (w : CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g k) {Z_1 : C} (h_1 : W ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl f g)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.desc h k w) h_1) =
    CategoryTheory.CategoryStruct.comp h h_1

theorem CategoryTheory.Limits.pushout.inl_desc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  [inst_1 : CategoryTheory.Limits.HasPushout f g] (h : X ⟶ W) (k : Y ⟶ W)
  (w : CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g k),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl f g)
      (CategoryTheory.Limits.pushout.desc h k w) =
    h

theorem CategoryTheory.Limits.pullback.lift_fst E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  [inst_1 : CategoryTheory.Limits.HasPullback f g] (h : W ⟶ X) (k : W ⟶ Y)
  (w : CategoryTheory.CategoryStruct.comp h f = CategoryTheory.CategoryStruct.comp k g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.lift h k w)
      (CategoryTheory.Limits.pullback.fst f g) =
    h

theorem CategoryTheory.Limits.pushout.inr_desc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  [inst_1 : CategoryTheory.Limits.HasPushout f g] (h : X ⟶ W) (k : Y ⟶ W)
  (w : CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g k),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inr f g)
      (CategoryTheory.Limits.pushout.desc h k w) =
    k

theorem CategoryTheory.Limits.pullback.lift_snd E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  [inst_1 : CategoryTheory.Limits.HasPullback f g] (h : W ⟶ X) (k : W ⟶ Y)
  (w : CategoryTheory.CategoryStruct.comp h f = CategoryTheory.CategoryStruct.comp k g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.lift h k w)
      (CategoryTheory.Limits.pullback.snd f g) =
    k

theorem CategoryTheory.Limits.pullback.lift_snd_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  [inst_1 : CategoryTheory.Limits.HasPullback f g] (h : W ⟶ X) (k : W ⟶ Y)
  (w : CategoryTheory.CategoryStruct.comp h f = CategoryTheory.CategoryStruct.comp k g) {Z_1 : C} (h_1 : Y ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.lift h k w)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd f g) h_1) =
    CategoryTheory.CategoryStruct.comp k h_1

theorem CategoryTheory.Limits.pushout.inr_desc_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  [inst_1 : CategoryTheory.Limits.HasPushout f g] (h : X ⟶ W) (k : Y ⟶ W)
  (w : CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g k) {Z_1 : C} (h_1 : W ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inr f g)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.desc h k w) h_1) =
    CategoryTheory.CategoryStruct.comp k h_1

def CategoryTheory.Limits.pullback.lift' E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {W X Y Z : C} →
      {f : X ⟶ Z} →
        {g : Y ⟶ Z} →
          [inst_1 : CategoryTheory.Limits.HasPullback f g] →
            (h : W ⟶ X) →
              (k : W ⟶ Y) →
                CategoryTheory.CategoryStruct.comp h f = CategoryTheory.CategoryStruct.comp k g →
                  { l //
                    CategoryTheory.CategoryStruct.comp l (CategoryTheory.Limits.pullback.fst f g) = h ∧
                      CategoryTheory.CategoryStruct.comp l (CategoryTheory.Limits.pullback.snd f g) = k }

A pair of morphisms h : W ⟶ X and k : W ⟶ Y satisfying h ≫ f = k ≫ g induces a morphism l : W ⟶ pullback f g such that l ≫ pullback.fst = h and l ≫ pullback.snd = k.

def CategoryTheory.Limits.pushout.desc' E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {W Y Z X : C} →
      {f : X ⟶ Y} →
        {g : X ⟶ Z} →
          [inst_1 : CategoryTheory.Limits.HasPushout f g] →
            (h : Y ⟶ W) →
              (k : Z ⟶ W) →
                CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g k →
                  { l //
                    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl f g) l = h ∧
                      CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inr f g) l = k }

A pair of morphisms h : Y ⟶ W and k : Z ⟶ W satisfying f ≫ h = g ≫ k induces a morphism l : pushout f g ⟶ W such that pushout.inl _ _ ≫ l = h and pushout.inr _ _ ≫ l = k.

theorem CategoryTheory.Limits.pushout.condition E2 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  [inst_1 : CategoryTheory.Limits.HasPushout f g],
  CategoryTheory.CategoryStruct.comp f (CategoryTheory.Limits.pushout.inl f g) =
    CategoryTheory.CategoryStruct.comp g (CategoryTheory.Limits.pushout.inr f g)

theorem CategoryTheory.Limits.pullback.condition_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  [inst_1 : CategoryTheory.Limits.HasPullback f g] {Z_1 : C} (h : Z ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst f g) (CategoryTheory.CategoryStruct.comp f h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd f g) (CategoryTheory.CategoryStruct.comp g h)

theorem CategoryTheory.Limits.pullback.condition E2 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  [inst_1 : CategoryTheory.Limits.HasPullback f g],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst f g) f =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd f g) g

theorem CategoryTheory.Limits.pushout.condition_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  [inst_1 : CategoryTheory.Limits.HasPushout f g] {Z_1 : C} (h : CategoryTheory.Limits.pushout f g ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl f g) h) =
    CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inr f g) h)

theorem CategoryTheory.Limits.pullback.hom_ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  [inst_1 : CategoryTheory.Limits.HasPullback f g] {W : C} {k l : W ⟶ CategoryTheory.Limits.pullback f g},
  CategoryTheory.CategoryStruct.comp k (CategoryTheory.Limits.pullback.fst f g) =
      CategoryTheory.CategoryStruct.comp l (CategoryTheory.Limits.pullback.fst f g) →
    CategoryTheory.CategoryStruct.comp k (CategoryTheory.Limits.pullback.snd f g) =
        CategoryTheory.CategoryStruct.comp l (CategoryTheory.Limits.pullback.snd f g) →
      k = l

Two morphisms into a pullback are equal if their compositions with the pullback morphisms are equal

theorem CategoryTheory.Limits.pushout.hom_ext_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  [inst_1 : CategoryTheory.Limits.HasPushout f g] {W : C} {k l : CategoryTheory.Limits.pushout f g ⟶ W},
  k = l ↔
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl f g) k =
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl f g) l ∧
      CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inr f g) k =
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inr f g) l

theorem CategoryTheory.Limits.pushout.hom_ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  [inst_1 : CategoryTheory.Limits.HasPushout f g] {W : C} {k l : CategoryTheory.Limits.pushout f g ⟶ W},
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl f g) k =
      CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl f g) l →
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inr f g) k =
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inr f g) l →
      k = l

Two morphisms out of a pushout are equal if their compositions with the pushout morphisms are equal

theorem CategoryTheory.Limits.pullback.hom_ext_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  [inst_1 : CategoryTheory.Limits.HasPullback f g] {W : C} {k l : W ⟶ CategoryTheory.Limits.pullback f g},
  k = l ↔
    CategoryTheory.CategoryStruct.comp k (CategoryTheory.Limits.pullback.fst f g) =
        CategoryTheory.CategoryStruct.comp l (CategoryTheory.Limits.pullback.fst f g) ∧
      CategoryTheory.CategoryStruct.comp k (CategoryTheory.Limits.pullback.snd f g) =
        CategoryTheory.CategoryStruct.comp l (CategoryTheory.Limits.pullback.snd f g)

def CategoryTheory.Limits.pullbackIsPullback E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      (f : X ⟶ Z) →
        (g : Y ⟶ Z) →
          [inst_1 : CategoryTheory.Limits.HasPullback f g] →
            CategoryTheory.Limits.IsLimit
              (CategoryTheory.Limits.PullbackCone.mk (CategoryTheory.Limits.pullback.fst f g)
                (CategoryTheory.Limits.pullback.snd f g) ⋯)

The pullback cone built from the pullback projections is a pullback.

def CategoryTheory.Limits.pushoutIsPushout E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      (f : Z ⟶ X) →
        (g : Z ⟶ Y) →
          [inst_1 : CategoryTheory.Limits.HasPushout f g] →
            CategoryTheory.Limits.IsColimit
              (CategoryTheory.Limits.PushoutCocone.mk (CategoryTheory.Limits.pushout.inl f g)
                (CategoryTheory.Limits.pushout.inr f g) ⋯)

The pushout cocone built from the pushout coprojections is a pushout.

theorem CategoryTheory.Limits.pushout.desc_inl_inr E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : Z ⟶ X) (g : Z ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPushout f g],
  CategoryTheory.Limits.pushout.desc (CategoryTheory.Limits.pushout.inl f g) (CategoryTheory.Limits.pushout.inr f g) ⋯ =
    CategoryTheory.CategoryStruct.id (CategoryTheory.Limits.pushout f g)

theorem CategoryTheory.Limits.pullback.lift_fst_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : X ⟶ Z) (g : Y ⟶ Z)
  [inst_1 : CategoryTheory.Limits.HasPullback f g],
  CategoryTheory.Limits.pullback.lift (CategoryTheory.Limits.pullback.fst f g) (CategoryTheory.Limits.pullback.snd f g)
      ⋯ =
    CategoryTheory.CategoryStruct.id (CategoryTheory.Limits.pullback f g)

abbrev CategoryTheory.Limits.pullback.map E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {W X Y Z S T : C} →
      (f₁ : W ⟶ S) →
        (f₂ : X ⟶ S) →
          [inst_1 : CategoryTheory.Limits.HasPullback f₁ f₂] →
            (g₁ : Y ⟶ T) →
              (g₂ : Z ⟶ T) →
                [inst_2 : CategoryTheory.Limits.HasPullback g₁ g₂] →
                  (i₁ : W ⟶ Y) →
                    (i₂ : X ⟶ Z) →
                      (i₃ : S ⟶ T) →
                        CategoryTheory.CategoryStruct.comp f₁ i₃ = CategoryTheory.CategoryStruct.comp i₁ g₁ →
                          CategoryTheory.CategoryStruct.comp f₂ i₃ = CategoryTheory.CategoryStruct.comp i₂ g₂ →
                            (CategoryTheory.Limits.pullback f₁ f₂ ⟶ CategoryTheory.Limits.pullback g₁ g₂)

Given such a diagram, then there is a natural morphism W ×ₛ X ⟶ Y ×ₜ Z.

W ⟶ Y
  ↘   ↘
  S ⟶ T
  ↗   ↗
X ⟶ Z

abbrev CategoryTheory.Limits.pushout.map E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {W X Y Z S T : C} →
      (g₁ : T ⟶ Y) →
        (g₂ : T ⟶ Z) →
          [inst_1 : CategoryTheory.Limits.HasPushout g₁ g₂] →
            (f₁ : S ⟶ W) →
              (f₂ : S ⟶ X) →
                [inst_2 : CategoryTheory.Limits.HasPushout f₁ f₂] →
                  (i₁ : Y ⟶ W) →
                    (i₂ : Z ⟶ X) →
                      (i₃ : T ⟶ S) →
                        CategoryTheory.CategoryStruct.comp i₃ f₁ = CategoryTheory.CategoryStruct.comp g₁ i₁ →
                          CategoryTheory.CategoryStruct.comp i₃ f₂ = CategoryTheory.CategoryStruct.comp g₂ i₂ →
                            (CategoryTheory.Limits.pushout g₁ g₂ ⟶ CategoryTheory.Limits.pushout f₁ f₂)

Given such a diagram, then there is a natural morphism Y ⨿ₛ Z ⟶ W ⨿ₜ X.

  Y ⟶ W
 ↗   ↗
T ⟶ S
 ↘   ↘
  Z ⟶ X

abbrev CategoryTheory.Limits.pullback.mapDesc E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y S T : C} →
      (f : X ⟶ S) →
        (g : Y ⟶ S) →
          (i : S ⟶ T) →
            [inst_1 : CategoryTheory.Limits.HasPullback f g] →
              [inst_2 :
                  CategoryTheory.Limits.HasPullback (CategoryTheory.CategoryStruct.comp f i)
                    (CategoryTheory.CategoryStruct.comp g i)] →
                CategoryTheory.Limits.pullback f g ⟶
                  CategoryTheory.Limits.pullback (CategoryTheory.CategoryStruct.comp f i)
                    (CategoryTheory.CategoryStruct.comp g i)

The canonical map X ×ₛ Y ⟶ X ×ₜ Y given S ⟶ T.

abbrev CategoryTheory.Limits.pushout.mapLift E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y S T : C} →
      (f : S ⟶ X) →
        (g : S ⟶ Y) →
          (i : T ⟶ S) →
            [inst_1 : CategoryTheory.Limits.HasPushout f g] →
              [inst_2 :
                  CategoryTheory.Limits.HasPushout (CategoryTheory.CategoryStruct.comp i f)
                    (CategoryTheory.CategoryStruct.comp i g)] →
                CategoryTheory.Limits.pushout (CategoryTheory.CategoryStruct.comp i f)
                    (CategoryTheory.CategoryStruct.comp i g) ⟶
                  CategoryTheory.Limits.pushout f g

The canonical map X ⨿ₜ Y ⟶ X ⨿ₛ Y given T ⟶ S.

theorem CategoryTheory.Limits.pullback.map_comp_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z X' Y' Z' X'' Y'' Z'' : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  {f' : X' ⟶ Z'} {g' : Y' ⟶ Z'} {f'' : X'' ⟶ Z''} {g'' : Y'' ⟶ Z''} (i₁ : X ⟶ X') (j₁ : X' ⟶ X'') (i₂ : Y ⟶ Y')
  (j₂ : Y' ⟶ Y'') (i₃ : Z ⟶ Z') (j₃ : Z' ⟶ Z'') [inst_1 : CategoryTheory.Limits.HasPullback f g]
  [inst_2 : CategoryTheory.Limits.HasPullback f' g'] [inst_3 : CategoryTheory.Limits.HasPullback f'' g'']
  (e₁ : CategoryTheory.CategoryStruct.comp f i₃ = CategoryTheory.CategoryStruct.comp i₁ f')
  (e₂ : CategoryTheory.CategoryStruct.comp g i₃ = CategoryTheory.CategoryStruct.comp i₂ g')
  (e₃ : CategoryTheory.CategoryStruct.comp f' j₃ = CategoryTheory.CategoryStruct.comp j₁ f'')
  (e₄ : CategoryTheory.CategoryStruct.comp g' j₃ = CategoryTheory.CategoryStruct.comp j₂ g'') {Z_1 : C}
  (h : CategoryTheory.Limits.pullback f'' g'' ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.map f g f' g' i₁ i₂ i₃ e₁ e₂)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.map f' g' f'' g'' j₁ j₂ j₃ e₃ e₄) h) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.map f g f'' g'' (CategoryTheory.CategoryStruct.comp i₁ j₁)
        (CategoryTheory.CategoryStruct.comp i₂ j₂) (CategoryTheory.CategoryStruct.comp i₃ j₃) ⋯ ⋯)
      h

theorem CategoryTheory.Limits.pullback.map_comp E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z X' Y' Z' X'' Y'' Z'' : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  {f' : X' ⟶ Z'} {g' : Y' ⟶ Z'} {f'' : X'' ⟶ Z''} {g'' : Y'' ⟶ Z''} (i₁ : X ⟶ X') (j₁ : X' ⟶ X'') (i₂ : Y ⟶ Y')
  (j₂ : Y' ⟶ Y'') (i₃ : Z ⟶ Z') (j₃ : Z' ⟶ Z'') [inst_1 : CategoryTheory.Limits.HasPullback f g]
  [inst_2 : CategoryTheory.Limits.HasPullback f' g'] [inst_3 : CategoryTheory.Limits.HasPullback f'' g'']
  (e₁ : CategoryTheory.CategoryStruct.comp f i₃ = CategoryTheory.CategoryStruct.comp i₁ f')
  (e₂ : CategoryTheory.CategoryStruct.comp g i₃ = CategoryTheory.CategoryStruct.comp i₂ g')
  (e₃ : CategoryTheory.CategoryStruct.comp f' j₃ = CategoryTheory.CategoryStruct.comp j₁ f'')
  (e₄ : CategoryTheory.CategoryStruct.comp g' j₃ = CategoryTheory.CategoryStruct.comp j₂ g''),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.map f g f' g' i₁ i₂ i₃ e₁ e₂)
      (CategoryTheory.Limits.pullback.map f' g' f'' g'' j₁ j₂ j₃ e₃ e₄) =
    CategoryTheory.Limits.pullback.map f g f'' g'' (CategoryTheory.CategoryStruct.comp i₁ j₁)
      (CategoryTheory.CategoryStruct.comp i₂ j₂) (CategoryTheory.CategoryStruct.comp i₃ j₃) ⋯ ⋯

theorem CategoryTheory.Limits.pushout.map_comp E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z X' Y' Z' X'' Y'' Z'' : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  {f' : Z' ⟶ X'} {g' : Z' ⟶ Y'} {f'' : Z'' ⟶ X''} {g'' : Z'' ⟶ Y''} (i₁ : X' ⟶ X) (j₁ : X'' ⟶ X') (i₂ : Y' ⟶ Y)
  (j₂ : Y'' ⟶ Y') (i₃ : Z' ⟶ Z) (j₃ : Z'' ⟶ Z') [inst_1 : CategoryTheory.Limits.HasPushout f g]
  [inst_2 : CategoryTheory.Limits.HasPushout f' g'] [inst_3 : CategoryTheory.Limits.HasPushout f'' g'']
  (e₁ : CategoryTheory.CategoryStruct.comp i₃ f = CategoryTheory.CategoryStruct.comp f' i₁)
  (e₂ : CategoryTheory.CategoryStruct.comp i₃ g = CategoryTheory.CategoryStruct.comp g' i₂)
  (e₃ : CategoryTheory.CategoryStruct.comp j₃ f' = CategoryTheory.CategoryStruct.comp f'' j₁)
  (e₄ : CategoryTheory.CategoryStruct.comp j₃ g' = CategoryTheory.CategoryStruct.comp g'' j₂),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.map f'' g'' f' g' j₁ j₂ j₃ e₃ e₄)
      (CategoryTheory.Limits.pushout.map f' g' f g i₁ i₂ i₃ e₁ e₂) =
    CategoryTheory.Limits.pushout.map f'' g'' f g (CategoryTheory.CategoryStruct.comp j₁ i₁)
      (CategoryTheory.CategoryStruct.comp j₂ i₂) (CategoryTheory.CategoryStruct.comp j₃ i₃) ⋯ ⋯

theorem CategoryTheory.Limits.pushout.map_comp_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z X' Y' Z' X'' Y'' Z'' : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  {f' : Z' ⟶ X'} {g' : Z' ⟶ Y'} {f'' : Z'' ⟶ X''} {g'' : Z'' ⟶ Y''} (i₁ : X' ⟶ X) (j₁ : X'' ⟶ X') (i₂ : Y' ⟶ Y)
  (j₂ : Y'' ⟶ Y') (i₃ : Z' ⟶ Z) (j₃ : Z'' ⟶ Z') [inst_1 : CategoryTheory.Limits.HasPushout f g]
  [inst_2 : CategoryTheory.Limits.HasPushout f' g'] [inst_3 : CategoryTheory.Limits.HasPushout f'' g'']
  (e₁ : CategoryTheory.CategoryStruct.comp i₃ f = CategoryTheory.CategoryStruct.comp f' i₁)
  (e₂ : CategoryTheory.CategoryStruct.comp i₃ g = CategoryTheory.CategoryStruct.comp g' i₂)
  (e₃ : CategoryTheory.CategoryStruct.comp j₃ f' = CategoryTheory.CategoryStruct.comp f'' j₁)
  (e₄ : CategoryTheory.CategoryStruct.comp j₃ g' = CategoryTheory.CategoryStruct.comp g'' j₂) {Z_1 : C}
  (h : CategoryTheory.Limits.pushout f g ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.map f'' g'' f' g' j₁ j₂ j₃ e₃ e₄)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.map f' g' f g i₁ i₂ i₃ e₁ e₂) h) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pushout.map f'' g'' f g (CategoryTheory.CategoryStruct.comp j₁ i₁)
        (CategoryTheory.CategoryStruct.comp j₂ i₂) (CategoryTheory.CategoryStruct.comp j₃ i₃) ⋯ ⋯)
      h

theorem CategoryTheory.Limits.pullback.map_id E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  [inst_1 : CategoryTheory.Limits.HasPullback f g],
  CategoryTheory.Limits.pullback.map f g f g (CategoryTheory.CategoryStruct.id X) (CategoryTheory.CategoryStruct.id Y)
      (CategoryTheory.CategoryStruct.id Z) ⋯ ⋯ =
    CategoryTheory.CategoryStruct.id (CategoryTheory.Limits.pullback f g)

theorem CategoryTheory.Limits.pushout.map_id E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  [inst_1 : CategoryTheory.Limits.HasPushout f g],
  CategoryTheory.Limits.pushout.map f g f g (CategoryTheory.CategoryStruct.id X) (CategoryTheory.CategoryStruct.id Y)
      (CategoryTheory.CategoryStruct.id Z) ⋯ ⋯ =
    CategoryTheory.CategoryStruct.id (CategoryTheory.Limits.pushout f g)

instance CategoryTheory.Limits.pullback.map_isIso E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z S T : C} (f₁ : W ⟶ S) (f₂ : X ⟶ S)
  [inst_1 : CategoryTheory.Limits.HasPullback f₁ f₂] (g₁ : Y ⟶ T) (g₂ : Z ⟶ T)
  [inst_2 : CategoryTheory.Limits.HasPullback g₁ g₂] (i₁ : W ⟶ Y) (i₂ : X ⟶ Z) (i₃ : S ⟶ T)
  (eq₁ : CategoryTheory.CategoryStruct.comp f₁ i₃ = CategoryTheory.CategoryStruct.comp i₁ g₁)
  (eq₂ : CategoryTheory.CategoryStruct.comp f₂ i₃ = CategoryTheory.CategoryStruct.comp i₂ g₂) [CategoryTheory.IsIso i₁]
  [CategoryTheory.IsIso i₂] [CategoryTheory.IsIso i₃],
  CategoryTheory.IsIso (CategoryTheory.Limits.pullback.map f₁ f₂ g₁ g₂ i₁ i₂ i₃ eq₁ eq₂)

instance CategoryTheory.Limits.pushout.map_isIso E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z S T : C} (f₁ : S ⟶ W) (f₂ : S ⟶ X)
  [inst_1 : CategoryTheory.Limits.HasPushout f₁ f₂] (g₁ : T ⟶ Y) (g₂ : T ⟶ Z)
  [inst_2 : CategoryTheory.Limits.HasPushout g₁ g₂] (i₁ : Y ⟶ W) (i₂ : Z ⟶ X) (i₃ : T ⟶ S)
  (eq₁ : CategoryTheory.CategoryStruct.comp i₃ f₁ = CategoryTheory.CategoryStruct.comp g₁ i₁)
  (eq₂ : CategoryTheory.CategoryStruct.comp i₃ f₂ = CategoryTheory.CategoryStruct.comp g₂ i₂) [CategoryTheory.IsIso i₁]
  [CategoryTheory.IsIso i₂] [CategoryTheory.IsIso i₃],
  CategoryTheory.IsIso (CategoryTheory.Limits.pushout.map g₁ g₂ f₁ f₂ i₁ i₂ i₃ eq₁ eq₂)

def CategoryTheory.Limits.pullback.congrHom E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      {f₁ f₂ : X ⟶ Z} →
        {g₁ g₂ : Y ⟶ Z} →
          f₁ = f₂ →
            g₁ = g₂ →
              [inst_1 : CategoryTheory.Limits.HasPullback f₁ g₁] →
                [inst_2 : CategoryTheory.Limits.HasPullback f₂ g₂] →
                  CategoryTheory.Limits.pullback f₁ g₁ ≅ CategoryTheory.Limits.pullback f₂ g₂

If f₁ = f₂ and g₁ = g₂, we may construct a canonical isomorphism pullback f₁ g₁ ≅ pullback f₂ g₂

def CategoryTheory.Limits.pushout.congrHom E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      {f₁ f₂ : Z ⟶ X} →
        {g₁ g₂ : Z ⟶ Y} →
          f₁ = f₂ →
            g₁ = g₂ →
              [inst_1 : CategoryTheory.Limits.HasPushout f₁ g₁] →
                [inst_2 : CategoryTheory.Limits.HasPushout f₂ g₂] →
                  CategoryTheory.Limits.pushout f₁ g₁ ≅ CategoryTheory.Limits.pushout f₂ g₂

If f₁ = f₂ and g₁ = g₂, we may construct a canonical isomorphism pushout f₁ g₁ ≅ pullback f₂ g₂

theorem CategoryTheory.Limits.pushout.congrHom_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f₁ f₂ : Z ⟶ X} {g₁ g₂ : Z ⟶ Y} (h₁ : f₁ = f₂)
  (h₂ : g₁ = g₂) [inst_1 : CategoryTheory.Limits.HasPushout f₁ g₁] [inst_2 : CategoryTheory.Limits.HasPushout f₂ g₂],
  (CategoryTheory.Limits.pushout.congrHom h₁ h₂).hom =
    CategoryTheory.Limits.pushout.map f₁ g₁ f₂ g₂ (CategoryTheory.CategoryStruct.id X)
      (CategoryTheory.CategoryStruct.id Y) (CategoryTheory.CategoryStruct.id Z) ⋯ ⋯

theorem CategoryTheory.Limits.pullback.congrHom_inv E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f₁ f₂ : X ⟶ Z} {g₁ g₂ : Y ⟶ Z} (h₁ : f₁ = f₂)
  (h₂ : g₁ = g₂) [inst_1 : CategoryTheory.Limits.HasPullback f₁ g₁] [inst_2 : CategoryTheory.Limits.HasPullback f₂ g₂],
  (CategoryTheory.Limits.pullback.congrHom h₁ h₂).inv =
    CategoryTheory.Limits.pullback.map f₂ g₂ f₁ g₁ (CategoryTheory.CategoryStruct.id X)
      (CategoryTheory.CategoryStruct.id Y) (CategoryTheory.CategoryStruct.id Z) ⋯ ⋯

theorem CategoryTheory.Limits.pushout.congrHom_inv E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f₁ f₂ : Z ⟶ X} {g₁ g₂ : Z ⟶ Y} (h₁ : f₁ = f₂)
  (h₂ : g₁ = g₂) [inst_1 : CategoryTheory.Limits.HasPushout f₁ g₁] [inst_2 : CategoryTheory.Limits.HasPushout f₂ g₂],
  (CategoryTheory.Limits.pushout.congrHom h₁ h₂).inv =
    CategoryTheory.Limits.pushout.map f₂ g₂ f₁ g₁ (CategoryTheory.CategoryStruct.id X)
      (CategoryTheory.CategoryStruct.id Y) (CategoryTheory.CategoryStruct.id Z) ⋯ ⋯

theorem CategoryTheory.Limits.pullback.congrHom_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f₁ f₂ : X ⟶ Z} {g₁ g₂ : Y ⟶ Z} (h₁ : f₁ = f₂)
  (h₂ : g₁ = g₂) [inst_1 : CategoryTheory.Limits.HasPullback f₁ g₁] [inst_2 : CategoryTheory.Limits.HasPullback f₂ g₂],
  (CategoryTheory.Limits.pullback.congrHom h₁ h₂).hom =
    CategoryTheory.Limits.pullback.map f₁ g₁ f₂ g₂ (CategoryTheory.CategoryStruct.id X)
      (CategoryTheory.CategoryStruct.id Y) (CategoryTheory.CategoryStruct.id Z) ⋯ ⋯

theorem CategoryTheory.Limits.pushout.mapLift_comp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y S T S' : C} (f : T ⟶ X) (g : T ⟶ Y) (i : S ⟶ T)
  (i' : S' ⟶ S) [inst_1 : CategoryTheory.Limits.HasPushout f g]
  [inst_2 :
    CategoryTheory.Limits.HasPushout (CategoryTheory.CategoryStruct.comp i f) (CategoryTheory.CategoryStruct.comp i g)]
  [inst_3 :
    CategoryTheory.Limits.HasPushout (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp i' i) f)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp i' i) g)]
  [inst_4 :
    CategoryTheory.Limits.HasPushout (CategoryTheory.CategoryStruct.comp i' (CategoryTheory.CategoryStruct.comp i f))
      (CategoryTheory.CategoryStruct.comp i' (CategoryTheory.CategoryStruct.comp i g))],
  CategoryTheory.Limits.pushout.mapLift f g (CategoryTheory.CategoryStruct.comp i' i) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.congrHom ⋯ ⋯).inv
        (CategoryTheory.Limits.pushout.mapLift (CategoryTheory.CategoryStruct.comp i f)
          (CategoryTheory.CategoryStruct.comp i g) i'))
      (CategoryTheory.Limits.pushout.mapLift f g i)

theorem CategoryTheory.Limits.pullback.mapDesc_comp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y S T S' : C} (f : X ⟶ T) (g : Y ⟶ T) (i : T ⟶ S)
  (i' : S ⟶ S') [inst_1 : CategoryTheory.Limits.HasPullback f g]
  [inst_2 :
    CategoryTheory.Limits.HasPullback (CategoryTheory.CategoryStruct.comp f i) (CategoryTheory.CategoryStruct.comp g i)]
  [inst_3 :
    CategoryTheory.Limits.HasPullback (CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp i i'))
      (CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.comp i i'))]
  [inst_4 :
    CategoryTheory.Limits.HasPullback (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f i) i')
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp g i) i')],
  CategoryTheory.Limits.pullback.mapDesc f g (CategoryTheory.CategoryStruct.comp i i') =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.mapDesc f g i)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.pullback.mapDesc (CategoryTheory.CategoryStruct.comp f i)
          (CategoryTheory.CategoryStruct.comp g i) i')
        (CategoryTheory.Limits.pullback.congrHom ⋯ ⋯).hom)

def CategoryTheory.Limits.pullbackComparison E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      {D : Type u₂} →
        [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
          (G : CategoryTheory.Functor C D) →
            (f : X ⟶ Z) →
              (g : Y ⟶ Z) →
                [inst_2 : CategoryTheory.Limits.HasPullback f g] →
                  [inst_3 : CategoryTheory.Limits.HasPullback (G.map f) (G.map g)] →
                    G.obj (CategoryTheory.Limits.pullback f g) ⟶ CategoryTheory.Limits.pullback (G.map f) (G.map g)

The comparison morphism for the pullback of f,g. This is an isomorphism iff G preserves the pullback of f,g; see Mathlib/CategoryTheory/Limits/Preserves/Shapes/Pullbacks.lean

def CategoryTheory.Limits.pushoutComparison E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      {D : Type u₂} →
        [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
          (G : CategoryTheory.Functor C D) →
            (f : Z ⟶ X) →
              (g : Z ⟶ Y) →
                [inst_2 : CategoryTheory.Limits.HasPushout f g] →
                  [inst_3 : CategoryTheory.Limits.HasPushout (G.map f) (G.map g)] →
                    CategoryTheory.Limits.pushout (G.map f) (G.map g) ⟶ G.obj (CategoryTheory.Limits.pushout f g)

The comparison morphism for the pushout of f,g. This is an isomorphism iff G preserves the pushout of f,g; see Mathlib/CategoryTheory/Limits/Preserves/Shapes/Pullbacks.lean

theorem CategoryTheory.Limits.inl_comp_pushoutComparison_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (G : CategoryTheory.Functor C D) (f : Z ⟶ X) (g : Z ⟶ Y)
  [inst_2 : CategoryTheory.Limits.HasPushout f g] [inst_3 : CategoryTheory.Limits.HasPushout (G.map f) (G.map g)]
  {Z_1 : D} (h : G.obj (CategoryTheory.Limits.pushout f g) ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl (G.map f) (G.map g))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushoutComparison G f g) h) =
    CategoryTheory.CategoryStruct.comp (G.map (CategoryTheory.Limits.pushout.inl f g)) h

theorem CategoryTheory.Limits.inl_comp_pushoutComparison E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (G : CategoryTheory.Functor C D) (f : Z ⟶ X) (g : Z ⟶ Y)
  [inst_2 : CategoryTheory.Limits.HasPushout f g] [inst_3 : CategoryTheory.Limits.HasPushout (G.map f) (G.map g)],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl (G.map f) (G.map g))
      (CategoryTheory.Limits.pushoutComparison G f g) =
    G.map (CategoryTheory.Limits.pushout.inl f g)

theorem CategoryTheory.Limits.pullbackComparison_comp_fst E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (G : CategoryTheory.Functor C D) (f : X ⟶ Z) (g : Y ⟶ Z)
  [inst_2 : CategoryTheory.Limits.HasPullback f g] [inst_3 : CategoryTheory.Limits.HasPullback (G.map f) (G.map g)],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackComparison G f g)
      (CategoryTheory.Limits.pullback.fst (G.map f) (G.map g)) =
    G.map (CategoryTheory.Limits.pullback.fst f g)

theorem CategoryTheory.Limits.pullbackComparison_comp_fst_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (G : CategoryTheory.Functor C D) (f : X ⟶ Z) (g : Y ⟶ Z)
  [inst_2 : CategoryTheory.Limits.HasPullback f g] [inst_3 : CategoryTheory.Limits.HasPullback (G.map f) (G.map g)]
  {Z_1 : D} (h : G.obj X ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackComparison G f g)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst (G.map f) (G.map g)) h) =
    CategoryTheory.CategoryStruct.comp (G.map (CategoryTheory.Limits.pullback.fst f g)) h

theorem CategoryTheory.Limits.pullbackComparison_comp_snd_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (G : CategoryTheory.Functor C D) (f : X ⟶ Z) (g : Y ⟶ Z)
  [inst_2 : CategoryTheory.Limits.HasPullback f g] [inst_3 : CategoryTheory.Limits.HasPullback (G.map f) (G.map g)]
  {Z_1 : D} (h : G.obj Y ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackComparison G f g)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd (G.map f) (G.map g)) h) =
    CategoryTheory.CategoryStruct.comp (G.map (CategoryTheory.Limits.pullback.snd f g)) h

theorem CategoryTheory.Limits.inr_comp_pushoutComparison_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (G : CategoryTheory.Functor C D) (f : Z ⟶ X) (g : Z ⟶ Y)
  [inst_2 : CategoryTheory.Limits.HasPushout f g] [inst_3 : CategoryTheory.Limits.HasPushout (G.map f) (G.map g)]
  {Z_1 : D} (h : G.obj (CategoryTheory.Limits.pushout f g) ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inr (G.map f) (G.map g))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushoutComparison G f g) h) =
    CategoryTheory.CategoryStruct.comp (G.map (CategoryTheory.Limits.pushout.inr f g)) h

theorem CategoryTheory.Limits.pullbackComparison_comp_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (G : CategoryTheory.Functor C D) (f : X ⟶ Z) (g : Y ⟶ Z)
  [inst_2 : CategoryTheory.Limits.HasPullback f g] [inst_3 : CategoryTheory.Limits.HasPullback (G.map f) (G.map g)],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackComparison G f g)
      (CategoryTheory.Limits.pullback.snd (G.map f) (G.map g)) =
    G.map (CategoryTheory.Limits.pullback.snd f g)

theorem CategoryTheory.Limits.inr_comp_pushoutComparison E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (G : CategoryTheory.Functor C D) (f : Z ⟶ X) (g : Z ⟶ Y)
  [inst_2 : CategoryTheory.Limits.HasPushout f g] [inst_3 : CategoryTheory.Limits.HasPushout (G.map f) (G.map g)],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inr (G.map f) (G.map g))
      (CategoryTheory.Limits.pushoutComparison G f g) =
    G.map (CategoryTheory.Limits.pushout.inr f g)

theorem CategoryTheory.Limits.pushoutComparison_map_desc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (G : CategoryTheory.Functor C D) (f : Z ⟶ X) (g : Z ⟶ Y)
  [inst_2 : CategoryTheory.Limits.HasPushout f g] [inst_3 : CategoryTheory.Limits.HasPushout (G.map f) (G.map g)]
  {W : C} {h : X ⟶ W} {k : Y ⟶ W} (w : CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g k),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushoutComparison G f g)
      (G.map (CategoryTheory.Limits.pushout.desc h k w)) =
    CategoryTheory.Limits.pushout.desc (G.map h) (G.map k) ⋯

theorem CategoryTheory.Limits.pushoutComparison_map_desc_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (G : CategoryTheory.Functor C D) (f : Z ⟶ X) (g : Z ⟶ Y)
  [inst_2 : CategoryTheory.Limits.HasPushout f g] [inst_3 : CategoryTheory.Limits.HasPushout (G.map f) (G.map g)]
  {W : C} {h : X ⟶ W} {k : Y ⟶ W} (w : CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g k)
  {Z_1 : D} (h_1 : G.obj W ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushoutComparison G f g)
      (CategoryTheory.CategoryStruct.comp (G.map (CategoryTheory.Limits.pushout.desc h k w)) h_1) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.desc (G.map h) (G.map k) ⋯) h_1

theorem CategoryTheory.Limits.map_lift_pullbackComparison E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (G : CategoryTheory.Functor C D) (f : X ⟶ Z) (g : Y ⟶ Z)
  [inst_2 : CategoryTheory.Limits.HasPullback f g] [inst_3 : CategoryTheory.Limits.HasPullback (G.map f) (G.map g)]
  {W : C} {h : W ⟶ X} {k : W ⟶ Y} (w : CategoryTheory.CategoryStruct.comp h f = CategoryTheory.CategoryStruct.comp k g),
  CategoryTheory.CategoryStruct.comp (G.map (CategoryTheory.Limits.pullback.lift h k w))
      (CategoryTheory.Limits.pullbackComparison G f g) =
    CategoryTheory.Limits.pullback.lift (G.map h) (G.map k) ⋯

theorem CategoryTheory.Limits.map_lift_pullbackComparison_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (G : CategoryTheory.Functor C D) (f : X ⟶ Z) (g : Y ⟶ Z)
  [inst_2 : CategoryTheory.Limits.HasPullback f g] [inst_3 : CategoryTheory.Limits.HasPullback (G.map f) (G.map g)]
  {W : C} {h : W ⟶ X} {k : W ⟶ Y} (w : CategoryTheory.CategoryStruct.comp h f = CategoryTheory.CategoryStruct.comp k g)
  {Z_1 : D} (h_1 : CategoryTheory.Limits.pullback (G.map f) (G.map g) ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (G.map (CategoryTheory.Limits.pullback.lift h k w))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackComparison G f g) h_1) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.lift (G.map h) (G.map k) ⋯) h_1

theorem CategoryTheory.Limits.pushoutComparison_comp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {E : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} E] (F : CategoryTheory.Functor C D)
  (G : CategoryTheory.Functor D E) {X Y S : C} (f : S ⟶ X) (g : S ⟶ Y) [inst_3 : CategoryTheory.Limits.HasPushout f g]
  [inst_4 : CategoryTheory.Limits.HasPushout (F.map f) (F.map g)]
  [inst_5 : CategoryTheory.Limits.HasPushout (G.map (F.map f)) (G.map (F.map g))]
  [inst_6 : CategoryTheory.Limits.HasPushout ((F.comp G).map f) ((F.comp G).map g)],
  CategoryTheory.Limits.pushoutComparison (F.comp G) f g =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushoutComparison G (F.map f) (F.map g))
      (G.map (CategoryTheory.Limits.pushoutComparison F f g))

theorem CategoryTheory.Limits.pullbackComparison_comp_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {E : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} E] (F : CategoryTheory.Functor C D)
  (G : CategoryTheory.Functor D E) {X Y S : C} (f : X ⟶ S) (g : Y ⟶ S) [inst_3 : CategoryTheory.Limits.HasPullback f g]
  [inst_4 : CategoryTheory.Limits.HasPullback (F.map f) (F.map g)]
  [inst_5 : CategoryTheory.Limits.HasPullback (G.map (F.map f)) (G.map (F.map g))]
  [inst_6 : CategoryTheory.Limits.HasPullback ((F.comp G).map f) ((F.comp G).map g)] {Z : E}
  (h : CategoryTheory.Limits.pullback (G.map (F.map f)) (G.map (F.map g)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackComparison (F.comp G) f g) h =
    CategoryTheory.CategoryStruct.comp (G.map (CategoryTheory.Limits.pullbackComparison F f g))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackComparison G (F.map f) (F.map g)) h)

theorem CategoryTheory.Limits.pullbackComparison_comp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {E : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} E] (F : CategoryTheory.Functor C D)
  (G : CategoryTheory.Functor D E) {X Y S : C} (f : X ⟶ S) (g : Y ⟶ S) [inst_3 : CategoryTheory.Limits.HasPullback f g]
  [inst_4 : CategoryTheory.Limits.HasPullback (F.map f) (F.map g)]
  [inst_5 : CategoryTheory.Limits.HasPullback (G.map (F.map f)) (G.map (F.map g))]
  [inst_6 : CategoryTheory.Limits.HasPullback ((F.comp G).map f) ((F.comp G).map g)],
  CategoryTheory.Limits.pullbackComparison (F.comp G) f g =
    CategoryTheory.CategoryStruct.comp (G.map (CategoryTheory.Limits.pullbackComparison F f g))
      (CategoryTheory.Limits.pullbackComparison G (F.map f) (F.map g))

theorem CategoryTheory.Limits.pushoutComparison_comp_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {E : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} E] (F : CategoryTheory.Functor C D)
  (G : CategoryTheory.Functor D E) {X Y S : C} (f : S ⟶ X) (g : S ⟶ Y) [inst_3 : CategoryTheory.Limits.HasPushout f g]
  [inst_4 : CategoryTheory.Limits.HasPushout (F.map f) (F.map g)]
  [inst_5 : CategoryTheory.Limits.HasPushout (G.map (F.map f)) (G.map (F.map g))]
  [inst_6 : CategoryTheory.Limits.HasPushout ((F.comp G).map f) ((F.comp G).map g)] {Z : E}
  (h : G.obj (F.obj (CategoryTheory.Limits.pushout f g)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushoutComparison (F.comp G) f g) h =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushoutComparison G (F.map f) (F.map g))
      (CategoryTheory.CategoryStruct.comp (G.map (CategoryTheory.Limits.pushoutComparison F f g)) h)

theorem CategoryTheory.Limits.hasPullback_symmetry E2 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : X ⟶ Z) (g : Y ⟶ Z)
  [CategoryTheory.Limits.HasPullback f g], CategoryTheory.Limits.HasPullback g f

theorem CategoryTheory.Limits.hasPushout_symmetry E2 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : Z ⟶ X) (g : Z ⟶ Y)
  [CategoryTheory.Limits.HasPushout f g], CategoryTheory.Limits.HasPushout g f

def CategoryTheory.Limits.pullbackSymmetry E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      (f : X ⟶ Z) →
        (g : Y ⟶ Z) →
          [inst_1 : CategoryTheory.Limits.HasPullback f g] →
            CategoryTheory.Limits.pullback f g ≅ CategoryTheory.Limits.pullback g f

The isomorphism X ×[Z] Y ≅ Y ×[Z] X.

def CategoryTheory.Limits.pushoutSymmetry E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      (f : Z ⟶ X) →
        (g : Z ⟶ Y) →
          [inst_1 : CategoryTheory.Limits.HasPushout f g] →
            CategoryTheory.Limits.pushout f g ≅ CategoryTheory.Limits.pushout g f

The isomorphism X ⨿[X] Y ≅ Y ⨿[X] X.

theorem CategoryTheory.Limits.inl_comp_pushoutSymmetry_inv E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : Z ⟶ X) (g : Z ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPushout f g],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl g f)
      (CategoryTheory.Limits.pushoutSymmetry f g).inv =
    CategoryTheory.Limits.pushout.inr f g

theorem CategoryTheory.Limits.inl_comp_pushoutSymmetry_inv_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : Z ⟶ X) (g : Z ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPushout f g] {Z_1 : C} (h : CategoryTheory.Limits.pushout f g ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl g f)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushoutSymmetry f g).inv h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inr f g) h

theorem CategoryTheory.Limits.pullbackSymmetry_hom_comp_fst_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : X ⟶ Z) (g : Y ⟶ Z)
  [inst_1 : CategoryTheory.Limits.HasPullback f g] {Z_1 : C} (h : Y ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackSymmetry f g).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst g f) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd f g) h

theorem CategoryTheory.Limits.pullbackSymmetry_hom_comp_fst E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : X ⟶ Z) (g : Y ⟶ Z)
  [inst_1 : CategoryTheory.Limits.HasPullback f g],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackSymmetry f g).hom
      (CategoryTheory.Limits.pullback.fst g f) =
    CategoryTheory.Limits.pullback.snd f g

theorem CategoryTheory.Limits.inr_comp_pushoutSymmetry_inv_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : Z ⟶ X) (g : Z ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPushout f g] {Z_1 : C} (h : CategoryTheory.Limits.pushout f g ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inr g f)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushoutSymmetry f g).inv h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl f g) h

theorem CategoryTheory.Limits.inr_comp_pushoutSymmetry_inv E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : Z ⟶ X) (g : Z ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPushout f g],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inr g f)
      (CategoryTheory.Limits.pushoutSymmetry f g).inv =
    CategoryTheory.Limits.pushout.inl f g

theorem CategoryTheory.Limits.pullbackSymmetry_hom_comp_snd_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : X ⟶ Z) (g : Y ⟶ Z)
  [inst_1 : CategoryTheory.Limits.HasPullback f g] {Z_1 : C} (h : X ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackSymmetry f g).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd g f) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst f g) h

theorem CategoryTheory.Limits.pullbackSymmetry_hom_comp_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : X ⟶ Z) (g : Y ⟶ Z)
  [inst_1 : CategoryTheory.Limits.HasPullback f g],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackSymmetry f g).hom
      (CategoryTheory.Limits.pullback.snd g f) =
    CategoryTheory.Limits.pullback.fst f g

theorem CategoryTheory.Limits.pullbackSymmetry_inv_comp_fst_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : X ⟶ Z) (g : Y ⟶ Z)
  [inst_1 : CategoryTheory.Limits.HasPullback f g] {Z_1 : C} (h : X ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackSymmetry f g).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst f g) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd g f) h

theorem CategoryTheory.Limits.pullbackSymmetry_inv_comp_fst E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : X ⟶ Z) (g : Y ⟶ Z)
  [inst_1 : CategoryTheory.Limits.HasPullback f g],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackSymmetry f g).inv
      (CategoryTheory.Limits.pullback.fst f g) =
    CategoryTheory.Limits.pullback.snd g f

theorem CategoryTheory.Limits.inl_comp_pushoutSymmetry_hom_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : Z ⟶ X) (g : Z ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPushout f g] {Z_1 : C} (h : CategoryTheory.Limits.pushout g f ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl f g)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushoutSymmetry f g).hom h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inr g f) h

theorem CategoryTheory.Limits.inl_comp_pushoutSymmetry_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : Z ⟶ X) (g : Z ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPushout f g],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl f g)
      (CategoryTheory.Limits.pushoutSymmetry f g).hom =
    CategoryTheory.Limits.pushout.inr g f

theorem CategoryTheory.Limits.pullbackSymmetry_inv_comp_snd_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : X ⟶ Z) (g : Y ⟶ Z)
  [inst_1 : CategoryTheory.Limits.HasPullback f g] {Z_1 : C} (h : Y ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackSymmetry f g).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd f g) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst g f) h

theorem CategoryTheory.Limits.inr_comp_pushoutSymmetry_hom_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : Z ⟶ X) (g : Z ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPushout f g] {Z_1 : C} (h : CategoryTheory.Limits.pushout g f ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inr f g)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushoutSymmetry f g).hom h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl g f) h

theorem CategoryTheory.Limits.pullbackSymmetry_inv_comp_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : X ⟶ Z) (g : Y ⟶ Z)
  [inst_1 : CategoryTheory.Limits.HasPullback f g],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackSymmetry f g).inv
      (CategoryTheory.Limits.pullback.snd f g) =
    CategoryTheory.Limits.pullback.fst g f

theorem CategoryTheory.Limits.inr_comp_pushoutSymmetry_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f : Z ⟶ X) (g : Z ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPushout f g],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inr f g)
      (CategoryTheory.Limits.pushoutSymmetry f g).hom =
    CategoryTheory.Limits.pushout.inl g f

abbrev CategoryTheory.Limits.HasPullbacksAlong E1 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X Y : C} → (X ⟶ Y) → Prop

HasPullbacksAlong f states that pullbacks of all morphisms into Y along f : X ⟶ Y exist.

abbrev CategoryTheory.Limits.HasPushoutsAlong E1 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {Y X : C} → (X ⟶ Y) → Prop

HasPushoutsAlong f states that pushouts of all morphisms out of X along f : X ⟶ Y exist.

abbrev CategoryTheory.Limits.HasPullbacks E3 #

(C : Type u) → [CategoryTheory.Category.{v, u} C] → Prop

A category HasPullbacks if it has all limits of shape WalkingCospan, i.e. if it has a pullback for every pair of morphisms with the same codomain.

abbrev CategoryTheory.Limits.HasPushouts E3 #

(C : Type u) → [CategoryTheory.Category.{v, u} C] → Prop

A category HasPushouts if it has all colimits of shape WalkingSpan, i.e. if it has a pushout for every pair of morphisms with the same domain.

theorem CategoryTheory.Limits.hasPullbacks_of_hasLimit_cospan E1 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C]
  [∀ {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}, CategoryTheory.Limits.HasLimit (CategoryTheory.Limits.cospan f g)],
  CategoryTheory.Limits.HasPullbacks C

If C has all limits of diagrams cospan f g, then it has all pullbacks

theorem CategoryTheory.Limits.hasPushouts_of_hasColimit_span E1 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C]
  [∀ {X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y}, CategoryTheory.Limits.HasColimit (CategoryTheory.Limits.span f g)],
  CategoryTheory.Limits.HasPushouts C

If C has all colimits of diagrams span f g, then it has all pushouts

def CategoryTheory.Limits.walkingSpanOpEquiv E1 #

CategoryTheory.Limits.WalkingSpanᵒᵖ ≌ CategoryTheory.Limits.WalkingCospan

The duality equivalence WalkingSpanᵒᵖ ≌ WalkingCospan

theorem CategoryTheory.Limits.walkingSpanOpEquiv_inverse_map E0 #

∀ {X₁ X₂ : CategoryTheory.Limits.WidePullbackShape CategoryTheory.Limits.WalkingPair} (a : X₁ ⟶ X₂),
  CategoryTheory.Limits.walkingSpanOpEquiv.inverse.map a =
    CategoryTheory.Limits.widePullbackShapeOpMap CategoryTheory.Limits.WalkingPair X₁ X₂ a

theorem CategoryTheory.Limits.walkingCospanOpEquiv_counitIso_hom_app E0 #

∀ (X : CategoryTheory.Limits.WidePushoutShape CategoryTheory.Limits.WalkingPair),
  CategoryTheory.Limits.walkingCospanOpEquiv.counitIso.hom.app X = CategoryTheory.CategoryStruct.id X

theorem CategoryTheory.Limits.walkingCospanOpEquiv_counitIso_inv_app E0 #

∀ (X : CategoryTheory.Limits.WidePushoutShape CategoryTheory.Limits.WalkingPair),
  CategoryTheory.Limits.walkingCospanOpEquiv.counitIso.inv.app X = CategoryTheory.CategoryStruct.id X

theorem CategoryTheory.Limits.walkingCospanOpEquiv_inverse_obj E0 #

∀ (X : CategoryTheory.Limits.WidePushoutShape CategoryTheory.Limits.WalkingPair),
  CategoryTheory.Limits.walkingCospanOpEquiv.inverse.obj X = Opposite.op X

theorem CategoryTheory.Limits.walkingSpanOpEquiv_inverse_obj E0 #

∀ (X : CategoryTheory.Limits.WidePullbackShape CategoryTheory.Limits.WalkingPair),
  CategoryTheory.Limits.walkingSpanOpEquiv.inverse.obj X = Opposite.op X

theorem CategoryTheory.Limits.walkingCospanOpEquiv_unitIso_inv_app E0 #

∀ (X : (CategoryTheory.Limits.WidePullbackShape CategoryTheory.Limits.WalkingPair)ᵒᵖ),
  CategoryTheory.Limits.walkingCospanOpEquiv.unitIso.inv.app X = CategoryTheory.CategoryStruct.id X

theorem CategoryTheory.Limits.walkingSpanOpEquiv_counitIso_hom_app E0 #

∀ (X : CategoryTheory.Limits.WidePullbackShape CategoryTheory.Limits.WalkingPair),
  CategoryTheory.Limits.walkingSpanOpEquiv.counitIso.hom.app X = CategoryTheory.CategoryStruct.id X

theorem CategoryTheory.Limits.walkingSpanOpEquiv_unitIso_inv_app E0 #

∀ (X : (CategoryTheory.Limits.WidePushoutShape CategoryTheory.Limits.WalkingPair)ᵒᵖ),
  CategoryTheory.Limits.walkingSpanOpEquiv.unitIso.inv.app X = CategoryTheory.CategoryStruct.id X

def CategoryTheory.Limits.walkingCospanOpEquiv E1 #

CategoryTheory.Limits.WalkingCospanᵒᵖ ≌ CategoryTheory.Limits.WalkingSpan

The duality equivalence WalkingCospanᵒᵖ ≌ WalkingSpan

theorem CategoryTheory.Limits.walkingCospanOpEquiv_functor_map E0 #

∀ {X Y : (CategoryTheory.Limits.WidePullbackShape CategoryTheory.Limits.WalkingPair)ᵒᵖ} (f : X ⟶ Y),
  CategoryTheory.Limits.walkingCospanOpEquiv.functor.map f =
    (CategoryTheory.Limits.widePullbackShapeOpMap CategoryTheory.Limits.WalkingPair (Opposite.unop Y) (Opposite.unop X)
        f.unop).unop

theorem CategoryTheory.Limits.walkingCospanOpEquiv_functor_obj E0 #

∀ (X : (CategoryTheory.Limits.WidePullbackShape CategoryTheory.Limits.WalkingPair)ᵒᵖ),
  CategoryTheory.Limits.walkingCospanOpEquiv.functor.obj X = Opposite.unop X

theorem CategoryTheory.Limits.walkingSpanOpEquiv_functor_map E0 #

∀ {X Y : (CategoryTheory.Limits.WidePushoutShape CategoryTheory.Limits.WalkingPair)ᵒᵖ} (f : X ⟶ Y),
  CategoryTheory.Limits.walkingSpanOpEquiv.functor.map f =
    (CategoryTheory.Limits.widePushoutShapeOpMap CategoryTheory.Limits.WalkingPair (Opposite.unop Y) (Opposite.unop X)
        f.unop).unop

theorem CategoryTheory.Limits.walkingSpanOpEquiv_functor_obj E0 #

∀ (X : (CategoryTheory.Limits.WidePushoutShape CategoryTheory.Limits.WalkingPair)ᵒᵖ),
  CategoryTheory.Limits.walkingSpanOpEquiv.functor.obj X = Opposite.unop X

theorem CategoryTheory.Limits.walkingSpanOpEquiv_unitIso_hom_app E0 #

∀ (X : (CategoryTheory.Limits.WidePushoutShape CategoryTheory.Limits.WalkingPair)ᵒᵖ),
  CategoryTheory.Limits.walkingSpanOpEquiv.unitIso.hom.app X = CategoryTheory.CategoryStruct.id X

theorem CategoryTheory.Limits.walkingSpanOpEquiv_counitIso_inv_app E0 #

∀ (X : CategoryTheory.Limits.WidePullbackShape CategoryTheory.Limits.WalkingPair),
  CategoryTheory.Limits.walkingSpanOpEquiv.counitIso.inv.app X = CategoryTheory.CategoryStruct.id X

theorem CategoryTheory.Limits.walkingCospanOpEquiv_unitIso_hom_app E0 #

∀ (X : (CategoryTheory.Limits.WidePullbackShape CategoryTheory.Limits.WalkingPair)ᵒᵖ),
  CategoryTheory.Limits.walkingCospanOpEquiv.unitIso.hom.app X = CategoryTheory.CategoryStruct.id X

theorem CategoryTheory.Limits.walkingCospanOpEquiv_inverse_map E0 #

∀ {X₂ X₁ : CategoryTheory.Limits.WidePushoutShape CategoryTheory.Limits.WalkingPair} (a : X₂ ⟶ X₁),
  CategoryTheory.Limits.walkingCospanOpEquiv.inverse.map a =
    CategoryTheory.Limits.widePushoutShapeOpMap CategoryTheory.Limits.WalkingPair X₂ X₁ a

instance CategoryTheory.Limits.hasPullbacks_of_hasWidePullbacks E0 #

∀ (D : Type u) [inst : CategoryTheory.Category.{v, u} D] [CategoryTheory.Limits.HasWidePullbacks D],
  CategoryTheory.Limits.HasPullbacks D

Having wide pullback at any universe level implies having binary pullbacks.

instance CategoryTheory.Limits.hasPushouts_of_hasWidePushouts E0 #

∀ (D : Type u) [inst : CategoryTheory.Category.{v, u} D] [CategoryTheory.Limits.HasWidePushouts D],
  CategoryTheory.Limits.HasPushouts D

Having wide pushout at any universe level implies having binary pushouts.

def CategoryTheory.Limits.pullbackProdFstIsoProd E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} →
      (f : X ⟶ Y) →
        (Z : C) →
          [inst_1 : CategoryTheory.Limits.HasBinaryProduct Y Z] →
            [inst_2 : CategoryTheory.Limits.HasBinaryProduct X Z] →
              [inst_3 : CategoryTheory.Limits.HasPullback f CategoryTheory.Limits.prod.fst] →
                CategoryTheory.Limits.pullback f CategoryTheory.Limits.prod.fst ≅ X ⨯ Z

X ×[Y] (Y ⨯ Z) ≅ X ⨯ Z

theorem CategoryTheory.Limits.pullbackProdFstIsoProd_hom_fst_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y) (Z : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryProduct Y Z] [inst_2 : CategoryTheory.Limits.HasBinaryProduct X Z]
  [inst_3 : CategoryTheory.Limits.HasPullback f CategoryTheory.Limits.prod.fst] {Z_1 : C} (h : X ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackProdFstIsoProd f Z).hom
      (CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.prod.fst h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst f CategoryTheory.Limits.prod.fst) h

theorem CategoryTheory.Limits.pullbackProdFstIsoProd_hom_fst E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y) (Z : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryProduct Y Z] [inst_2 : CategoryTheory.Limits.HasBinaryProduct X Z]
  [inst_3 : CategoryTheory.Limits.HasPullback f CategoryTheory.Limits.prod.fst],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackProdFstIsoProd f Z).hom
      CategoryTheory.Limits.prod.fst =
    CategoryTheory.Limits.pullback.fst f CategoryTheory.Limits.prod.fst

theorem CategoryTheory.Limits.pullbackProdFstIsoProd_hom_snd_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y) (Z : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryProduct Y Z] [inst_2 : CategoryTheory.Limits.HasBinaryProduct X Z]
  [inst_3 : CategoryTheory.Limits.HasPullback f CategoryTheory.Limits.prod.fst] {Z_1 : C} (h : Z ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackProdFstIsoProd f Z).hom
      (CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.prod.snd h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd f CategoryTheory.Limits.prod.fst)
      (CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.prod.snd h)

theorem CategoryTheory.Limits.pullbackProdFstIsoProd_hom_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y) (Z : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryProduct Y Z] [inst_2 : CategoryTheory.Limits.HasBinaryProduct X Z]
  [inst_3 : CategoryTheory.Limits.HasPullback f CategoryTheory.Limits.prod.fst],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackProdFstIsoProd f Z).hom
      CategoryTheory.Limits.prod.snd =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd f CategoryTheory.Limits.prod.fst)
      CategoryTheory.Limits.prod.snd

theorem CategoryTheory.Limits.pullbackProdFstIsoProd_inv_fst E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y) (Z : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryProduct Y Z] [inst_2 : CategoryTheory.Limits.HasBinaryProduct X Z]
  [inst_3 : CategoryTheory.Limits.HasPullback f CategoryTheory.Limits.prod.fst],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackProdFstIsoProd f Z).inv
      (CategoryTheory.Limits.pullback.fst f CategoryTheory.Limits.prod.fst) =
    CategoryTheory.Limits.prod.fst

theorem CategoryTheory.Limits.pullbackProdFstIsoProd_inv_fst_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y) (Z : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryProduct Y Z] [inst_2 : CategoryTheory.Limits.HasBinaryProduct X Z]
  [inst_3 : CategoryTheory.Limits.HasPullback f CategoryTheory.Limits.prod.fst] {Z_1 : C} (h : X ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackProdFstIsoProd f Z).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst f CategoryTheory.Limits.prod.fst) h) =
    CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.prod.fst h

theorem CategoryTheory.Limits.pullbackProdFstIsoProd_inv_snd_fst E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y) (Z : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryProduct Y Z] [inst_2 : CategoryTheory.Limits.HasBinaryProduct X Z]
  [inst_3 : CategoryTheory.Limits.HasPullback f CategoryTheory.Limits.prod.fst],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackProdFstIsoProd f Z).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd f CategoryTheory.Limits.prod.fst)
        CategoryTheory.Limits.prod.fst) =
    CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.prod.fst f

theorem CategoryTheory.Limits.pullbackProdFstIsoProd_inv_snd_fst_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y) (Z : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryProduct Y Z] [inst_2 : CategoryTheory.Limits.HasBinaryProduct X Z]
  [inst_3 : CategoryTheory.Limits.HasPullback f CategoryTheory.Limits.prod.fst] {Z_1 : C} (h : Y ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackProdFstIsoProd f Z).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd f CategoryTheory.Limits.prod.fst)
        (CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.prod.fst h)) =
    CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.prod.fst (CategoryTheory.CategoryStruct.comp f h)

theorem CategoryTheory.Limits.pullbackProdFstIsoProd_inv_snd_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y) (Z : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryProduct Y Z] [inst_2 : CategoryTheory.Limits.HasBinaryProduct X Z]
  [inst_3 : CategoryTheory.Limits.HasPullback f CategoryTheory.Limits.prod.fst],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackProdFstIsoProd f Z).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd f CategoryTheory.Limits.prod.fst)
        CategoryTheory.Limits.prod.snd) =
    CategoryTheory.Limits.prod.snd

theorem CategoryTheory.Limits.pullbackProdFstIsoProd_inv_snd_snd_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y) (Z : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryProduct Y Z] [inst_2 : CategoryTheory.Limits.HasBinaryProduct X Z]
  [inst_3 : CategoryTheory.Limits.HasPullback f CategoryTheory.Limits.prod.fst] {Z_1 : C} (h : Z ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackProdFstIsoProd f Z).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd f CategoryTheory.Limits.prod.fst)
        (CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.prod.snd h)) =
    CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.prod.snd h

def CategoryTheory.Limits.pullbackProdSndIsoProd E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} →
      (f : X ⟶ Y) →
        (Z : C) →
          [inst_1 : CategoryTheory.Limits.HasBinaryProduct Z Y] →
            [inst_2 : CategoryTheory.Limits.HasBinaryProduct Z X] →
              [inst_3 : CategoryTheory.Limits.HasPullback CategoryTheory.Limits.prod.snd f] →
                CategoryTheory.Limits.pullback CategoryTheory.Limits.prod.snd f ≅ Z ⨯ X

(Z ⨯ Y) ×[Y] X ≅ Z ⨯ X

theorem CategoryTheory.Limits.pullbackProdSndIsoProd_hom_fst E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y) (Z : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryProduct Z Y] [inst_2 : CategoryTheory.Limits.HasBinaryProduct Z X]
  [inst_3 : CategoryTheory.Limits.HasPullback CategoryTheory.Limits.prod.snd f],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackProdSndIsoProd f Z).hom
      CategoryTheory.Limits.prod.fst =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst CategoryTheory.Limits.prod.snd f)
      CategoryTheory.Limits.prod.fst

theorem CategoryTheory.Limits.pullbackProdSndIsoProd_hom_fst_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y) (Z : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryProduct Z Y] [inst_2 : CategoryTheory.Limits.HasBinaryProduct Z X]
  [inst_3 : CategoryTheory.Limits.HasPullback CategoryTheory.Limits.prod.snd f] {Z_1 : C} (h : Z ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackProdSndIsoProd f Z).hom
      (CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.prod.fst h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst CategoryTheory.Limits.prod.snd f)
      (CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.prod.fst h)

theorem CategoryTheory.Limits.pullbackProdSndIsoProd_hom_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y) (Z : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryProduct Z Y] [inst_2 : CategoryTheory.Limits.HasBinaryProduct Z X]
  [inst_3 : CategoryTheory.Limits.HasPullback CategoryTheory.Limits.prod.snd f],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackProdSndIsoProd f Z).hom
      CategoryTheory.Limits.prod.snd =
    CategoryTheory.Limits.pullback.snd CategoryTheory.Limits.prod.snd f

theorem CategoryTheory.Limits.pullbackProdSndIsoProd_hom_snd_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y) (Z : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryProduct Z Y] [inst_2 : CategoryTheory.Limits.HasBinaryProduct Z X]
  [inst_3 : CategoryTheory.Limits.HasPullback CategoryTheory.Limits.prod.snd f] {Z_1 : C} (h : X ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackProdSndIsoProd f Z).hom
      (CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.prod.snd h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd CategoryTheory.Limits.prod.snd f) h

theorem CategoryTheory.Limits.pullbackProdSndIsoProd_inv_fst_fst E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y) (Z : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryProduct Z Y] [inst_2 : CategoryTheory.Limits.HasBinaryProduct Z X]
  [inst_3 : CategoryTheory.Limits.HasPullback CategoryTheory.Limits.prod.snd f],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackProdSndIsoProd f Z).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst CategoryTheory.Limits.prod.snd f)
        CategoryTheory.Limits.prod.fst) =
    CategoryTheory.Limits.prod.fst

theorem CategoryTheory.Limits.pullbackProdSndIsoProd_inv_fst_fst_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y) (Z : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryProduct Z Y] [inst_2 : CategoryTheory.Limits.HasBinaryProduct Z X]
  [inst_3 : CategoryTheory.Limits.HasPullback CategoryTheory.Limits.prod.snd f] {Z_1 : C} (h : Z ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackProdSndIsoProd f Z).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst CategoryTheory.Limits.prod.snd f)
        (CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.prod.fst h)) =
    CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.prod.fst h

theorem CategoryTheory.Limits.pullbackProdSndIsoProd_inv_fst_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y) (Z : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryProduct Z Y] [inst_2 : CategoryTheory.Limits.HasBinaryProduct Z X]
  [inst_3 : CategoryTheory.Limits.HasPullback CategoryTheory.Limits.prod.snd f],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackProdSndIsoProd f Z).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst CategoryTheory.Limits.prod.snd f)
        CategoryTheory.Limits.prod.snd) =
    CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.prod.snd f

theorem CategoryTheory.Limits.pullbackProdSndIsoProd_inv_fst_snd_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y) (Z : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryProduct Z Y] [inst_2 : CategoryTheory.Limits.HasBinaryProduct Z X]
  [inst_3 : CategoryTheory.Limits.HasPullback CategoryTheory.Limits.prod.snd f] {Z_1 : C} (h : Y ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackProdSndIsoProd f Z).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst CategoryTheory.Limits.prod.snd f)
        (CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.prod.snd h)) =
    CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.prod.snd (CategoryTheory.CategoryStruct.comp f h)

theorem CategoryTheory.Limits.pullbackProdSndIsoProd_inv_snd_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y) (Z : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryProduct Z Y] [inst_2 : CategoryTheory.Limits.HasBinaryProduct Z X]
  [inst_3 : CategoryTheory.Limits.HasPullback CategoryTheory.Limits.prod.snd f] {Z_1 : C} (h : X ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackProdSndIsoProd f Z).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd CategoryTheory.Limits.prod.snd f) h) =
    CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.prod.snd h

theorem CategoryTheory.Limits.pullbackProdSndIsoProd_inv_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y) (Z : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryProduct Z Y] [inst_2 : CategoryTheory.Limits.HasBinaryProduct Z X]
  [inst_3 : CategoryTheory.Limits.HasPullback CategoryTheory.Limits.prod.snd f],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackProdSndIsoProd f Z).inv
      (CategoryTheory.Limits.pullback.snd CategoryTheory.Limits.prod.snd f) =
    CategoryTheory.Limits.prod.snd

Deprecated aliases

NameNew nameSince
CategoryTheory.Limits.hasPullback_symmetry_of_hasPullbacksAlongCategoryTheory.Limits.hasPullback_symmetry2026-11-21
CategoryTheory.Limits.hasPushouts_symmetry_of_hasPushoutsAlongCategoryTheory.Limits.hasPushout_symmetry2026-11-21
CategoryTheory.Limits.pullback.desc'CategoryTheory.Limits.pushout.desc'2026-06-25