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.IsPullback.Defs

94 declarations. Mathlib docs · Source

Pullback and pushout squares

We provide another API for pullbacks and pushouts.

IsPullback fst snd f g is the proposition that

  P --fst--> X
  |          |
 snd         f
  |          |
  v          v
  Y ---g---> Z

is a pullback square.

(And similarly for IsPushout.)

We provide the glue to go back and forth to the usual IsLimit API for pullbacks, and prove IsPullback (pullback.fst f g) (pullback.snd f g) f g for the usual pullback f g provided by the HasLimit API.

theorem CategoryTheory.IsPushout.isoIsPushout.congr_simp E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z : C} (X Y : C) {P : C} {f f_1 : Z ⟶ X} (e_f : f = f_1)
  {g g_1 : Z ⟶ Y} (e_g : g = g_1) {inl inl_1 : X ⟶ P} (e_inl : inl = inl_1) {inr inr_1 : Y ⟶ P} (e_inr : inr = inr_1)
  {P' : C} {inl' inl'_1 : X ⟶ P'} (e_inl' : inl' = inl'_1) {inr' inr'_1 : Y ⟶ P'} (e_inr' : inr' = inr'_1)
  (h : CategoryTheory.IsPushout f g inl inr) (h' : CategoryTheory.IsPushout f g inl' inr'),
  CategoryTheory.IsPushout.isoIsPushout X Y h h' = CategoryTheory.IsPushout.isoIsPushout X Y ⋯ ⋯

theorem CategoryTheory.IsPushout.isoPushout.congr_simp E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X Y P : C} {f : Z ⟶ X} {g : Z ⟶ Y} {inl inl_1 : X ⟶ P}
  (e_inl : inl = inl_1) {inr inr_1 : Y ⟶ P} (e_inr : inr = inr_1) (h : CategoryTheory.IsPushout f g inl inr)
  [inst_1 : CategoryTheory.Limits.HasPushout f g], h.isoPushout = ⋯.isoPushout

theorem CategoryTheory.IsPullback.lift.congr_simp E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y Z : C} {fst fst_1 : P ⟶ X} (e_fst : fst = fst_1)
  {snd snd_1 : P ⟶ Y} (e_snd : snd = snd_1) {f f_1 : X ⟶ Z} (e_f : f = f_1) {g g_1 : Y ⟶ Z} (e_g : g = g_1)
  (hP : CategoryTheory.IsPullback fst snd f g) {W : C} (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),
  hP.lift h k w = ⋯.lift h_1 k_1 ⋯

theorem CategoryTheory.IsPushout.desc.congr_simp E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X Y P : C} {f f_1 : Z ⟶ X} (e_f : f = f_1)
  {g g_1 : Z ⟶ Y} (e_g : g = g_1) {inl inl_1 : X ⟶ P} (e_inl : inl = inl_1) {inr inr_1 : Y ⟶ P} (e_inr : inr = inr_1)
  (hP : CategoryTheory.IsPushout f g inl inr) {W : C} (h h_1 : X ⟶ W) (e_h : h = h_1) (k k_1 : Y ⟶ W) (e_k : k = k_1)
  (w : CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g k),
  hP.desc h k w = ⋯.desc h_1 k_1 ⋯

theorem CategoryTheory.IsPullback.isoPullback.congr_simp E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y Z : C} {fst fst_1 : P ⟶ X} (e_fst : fst = fst_1)
  {snd snd_1 : P ⟶ Y} (e_snd : snd = snd_1) {f : X ⟶ Z} {g : Y ⟶ Z} (h : CategoryTheory.IsPullback fst snd f g)
  [inst_1 : CategoryTheory.Limits.HasPullback f g], h.isoPullback = ⋯.isoPullback

theorem CategoryTheory.IsPullback.isoIsPullback.congr_simp E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P : C} (X Y : C) {Z : C} {fst fst_1 : P ⟶ X}
  (e_fst : fst = fst_1) {snd snd_1 : P ⟶ Y} (e_snd : snd = snd_1) {f f_1 : X ⟶ Z} (e_f : f = f_1) {g g_1 : Y ⟶ Z}
  (e_g : g = g_1) {P' : C} {fst' fst'_1 : P' ⟶ X} (e_fst' : fst' = fst'_1) {snd' snd'_1 : P' ⟶ Y}
  (e_snd' : snd' = snd'_1) (h : CategoryTheory.IsPullback fst snd f g) (h' : CategoryTheory.IsPullback fst' snd' f g),
  CategoryTheory.IsPullback.isoIsPullback X Y h h' = CategoryTheory.IsPullback.isoIsPullback X Y ⋯ ⋯

structure CategoryTheory.IsPullback E1 #

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

The proposition that a square

  P --fst--> X
  |          |
 snd         f
  |          |
  v          v
  Y ---g---> Z

is a pullback square. (Also known as a fibered product or Cartesian square.)

ctor CategoryTheory.IsPullback.mk E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y Z : C} {fst : P ⟶ X} {snd : P ⟶ Y} {f : X ⟶ Z}
  {g : Y ⟶ Z} (toCommSq : CategoryTheory.CommSq fst snd f g),
  Nonempty (CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.PullbackCone.mk fst snd ⋯)) →
    CategoryTheory.IsPullback fst snd f g

theorem CategoryTheory.IsPullback.toCommSq E2 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y Z : C} {fst : P ⟶ X} {snd : P ⟶ Y} {f : X ⟶ Z}
  {g : Y ⟶ Z}, CategoryTheory.IsPullback fst snd f g → CategoryTheory.CommSq fst snd f g

theorem CategoryTheory.IsPullback.isLimit' E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y Z : C} {fst : P ⟶ X} {snd : P ⟶ Y} {f : X ⟶ Z}
  {g : Y ⟶ Z} (self : CategoryTheory.IsPullback fst snd f g),
  Nonempty (CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.PullbackCone.mk fst snd ⋯))

the pullback cone is a limit

structure CategoryTheory.IsPushout E1 #

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

The proposition that a square

  Z ---f---> X
  |          |
  g         inl
  |          |
  v          v
  Y --inr--> P

is a pushout square. (Also known as a fiber coproduct or co-Cartesian square.)

ctor CategoryTheory.IsPushout.mk E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X Y P : C} {f : Z ⟶ X} {g : Z ⟶ Y} {inl : X ⟶ P}
  {inr : Y ⟶ P} (toCommSq : CategoryTheory.CommSq f g inl inr),
  Nonempty (CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.PushoutCocone.mk inl inr ⋯)) →
    CategoryTheory.IsPushout f g inl inr

theorem CategoryTheory.IsPushout.toCommSq E2 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X Y P : C} {f : Z ⟶ X} {g : Z ⟶ Y} {inl : X ⟶ P}
  {inr : Y ⟶ P}, CategoryTheory.IsPushout f g inl inr → CategoryTheory.CommSq f g inl inr

theorem CategoryTheory.IsPushout.isColimit' E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X Y P : C} {f : Z ⟶ X} {g : Z ⟶ Y} {inl : X ⟶ P}
  {inr : Y ⟶ P} (self : CategoryTheory.IsPushout f g inl inr),
  Nonempty (CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.PushoutCocone.mk inl inr ⋯))

the pushout cocone is a colimit

def CategoryTheory.IsPullback.cone E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {P X Y Z : C} →
      {fst : P ⟶ X} →
        {snd : P ⟶ Y} →
          {f : X ⟶ Z} → {g : Y ⟶ Z} → CategoryTheory.IsPullback fst snd f g → CategoryTheory.Limits.PullbackCone f g

The (limiting) PullbackCone f g implicit in the statement that we have an IsPullback fst snd f g.

theorem CategoryTheory.IsPullback.cone_fst E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y Z : C} {fst : P ⟶ X} {snd : P ⟶ Y} {f : X ⟶ Z}
  {g : Y ⟶ Z} (h : CategoryTheory.IsPullback fst snd f g), h.cone.fst = fst

theorem CategoryTheory.IsPullback.cone_snd E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y Z : C} {fst : P ⟶ X} {snd : P ⟶ Y} {f : X ⟶ Z}
  {g : Y ⟶ Z} (h : CategoryTheory.IsPullback fst snd f g), h.cone.snd = snd

def CategoryTheory.IsPullback.isLimit E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {P X Y Z : C} →
      {fst : P ⟶ X} →
        {snd : P ⟶ Y} →
          {f : X ⟶ Z} → {g : Y ⟶ Z} → (h : CategoryTheory.IsPullback fst snd f g) → CategoryTheory.Limits.IsLimit h.cone

The cone obtained from IsPullback fst snd f g is a limit cone.

def CategoryTheory.IsPullback.lift E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {P X Y Z : C} →
      {fst : P ⟶ X} →
        {snd : P ⟶ Y} →
          {f : X ⟶ Z} →
            {g : Y ⟶ Z} →
              CategoryTheory.IsPullback fst snd f g →
                {W : C} →
                  (h : W ⟶ X) →
                    (k : W ⟶ Y) →
                      CategoryTheory.CategoryStruct.comp h f = CategoryTheory.CategoryStruct.comp k g → (W ⟶ P)

API for PullbackCone.IsLimit.lift for IsPullback

theorem CategoryTheory.IsPullback.lift_fst E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y Z : C} {fst : P ⟶ X} {snd : P ⟶ Y} {f : X ⟶ Z}
  {g : Y ⟶ Z} (hP : CategoryTheory.IsPullback fst snd f g) {W : C} (h : W ⟶ X) (k : W ⟶ Y)
  (w : CategoryTheory.CategoryStruct.comp h f = CategoryTheory.CategoryStruct.comp k g),
  CategoryTheory.CategoryStruct.comp (hP.lift h k w) fst = h

theorem CategoryTheory.IsPullback.lift_fst_assoc E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y Z : C} {fst : P ⟶ X} {snd : P ⟶ Y} {f : X ⟶ Z}
  {g : Y ⟶ Z} (hP : CategoryTheory.IsPullback fst snd f g) {W : C} (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 (hP.lift h k w) (CategoryTheory.CategoryStruct.comp fst h_1) =
    CategoryTheory.CategoryStruct.comp h h_1

theorem CategoryTheory.IsPullback.lift_snd_assoc E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y Z : C} {fst : P ⟶ X} {snd : P ⟶ Y} {f : X ⟶ Z}
  {g : Y ⟶ Z} (hP : CategoryTheory.IsPullback fst snd f g) {W : C} (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 (hP.lift h k w) (CategoryTheory.CategoryStruct.comp snd h_1) =
    CategoryTheory.CategoryStruct.comp k h_1

theorem CategoryTheory.IsPullback.lift_snd E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y Z : C} {fst : P ⟶ X} {snd : P ⟶ Y} {f : X ⟶ Z}
  {g : Y ⟶ Z} (hP : CategoryTheory.IsPullback fst snd f g) {W : C} (h : W ⟶ X) (k : W ⟶ Y)
  (w : CategoryTheory.CategoryStruct.comp h f = CategoryTheory.CategoryStruct.comp k g),
  CategoryTheory.CategoryStruct.comp (hP.lift h k w) snd = k

theorem CategoryTheory.IsPullback.exists_lift E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y Z : C} {fst : P ⟶ X} {snd : P ⟶ Y} {f : X ⟶ Z}
  {g : Y ⟶ Z},
  CategoryTheory.IsPullback fst snd f g →
    ∀ {W : C} (h : W ⟶ X) (k : W ⟶ Y),
      CategoryTheory.CategoryStruct.comp h f = CategoryTheory.CategoryStruct.comp k g →
        ∃ l, CategoryTheory.CategoryStruct.comp l fst = h ∧ CategoryTheory.CategoryStruct.comp l snd = k

theorem CategoryTheory.IsPullback.hom_ext E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y Z : C} {fst : P ⟶ X} {snd : P ⟶ Y} {f : X ⟶ Z}
  {g : Y ⟶ Z},
  CategoryTheory.IsPullback fst snd f g →
    ∀ {W : C} {k l : W ⟶ P},
      CategoryTheory.CategoryStruct.comp k fst = CategoryTheory.CategoryStruct.comp l fst →
        CategoryTheory.CategoryStruct.comp k snd = CategoryTheory.CategoryStruct.comp l snd → k = l

theorem CategoryTheory.IsPullback.of_isLimit E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  {c : CategoryTheory.Limits.PullbackCone f g} (h : CategoryTheory.Limits.IsLimit c),
  CategoryTheory.IsPullback c.fst c.snd f g

If c is a limiting pullback cone, then we have an IsPullback c.fst c.snd f g.

theorem CategoryTheory.IsPullback.of_isLimit' E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y Z : C} {fst : P ⟶ X} {snd : P ⟶ Y} {f : X ⟶ Z}
  {g : Y ⟶ Z} (w : CategoryTheory.CommSq fst snd f g) (h : CategoryTheory.Limits.IsLimit w.cone),
  CategoryTheory.IsPullback fst snd f g

A variant of of_isLimit that is more useful with apply.

theorem CategoryTheory.IsPullback.of_isLimit_cone E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C]
  {D : CategoryTheory.Functor CategoryTheory.Limits.WalkingCospan C} {c : CategoryTheory.Limits.Cone D}
  (hc : CategoryTheory.Limits.IsLimit c),
  CategoryTheory.IsPullback (c.π.app CategoryTheory.Limits.WalkingCospan.left)
    (c.π.app CategoryTheory.Limits.WalkingCospan.right) (D.map CategoryTheory.Limits.WalkingCospan.Hom.inl)
    (D.map CategoryTheory.Limits.WalkingCospan.Hom.inr)

Variant of of_isLimit for an arbitrary cone on a diagram WalkingCospan ⥤ C.

theorem CategoryTheory.IsPullback.hasPullback E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y Z : C} {fst : P ⟶ X} {snd : P ⟶ Y} {f : X ⟶ Z}
  {g : Y ⟶ Z}, CategoryTheory.IsPullback fst snd f g → CategoryTheory.Limits.HasPullback f g

theorem CategoryTheory.IsPullback.of_hasPullback 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.IsPullback (CategoryTheory.Limits.pullback.fst f g) (CategoryTheory.Limits.pullback.snd f g) f g

The pullback provided by HasPullback f g fits into an IsPullback.

def CategoryTheory.IsPullback.isoIsPullback E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {P : C} →
      (X Y : C) →
        {Z : C} →
          {fst : P ⟶ X} →
            {snd : P ⟶ Y} →
              {f : X ⟶ Z} →
                {g : Y ⟶ Z} →
                  {P' : C} →
                    {fst' : P' ⟶ X} →
                      {snd' : P' ⟶ Y} →
                        CategoryTheory.IsPullback fst snd f g → CategoryTheory.IsPullback fst' snd' f g → (P ≅ P')

Any object at the top left of a pullback square is isomorphic to the object at the top left of any other pullback square with the same cospan.

theorem CategoryTheory.IsPullback.isoIsPullback_hom_fst_assoc E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P : C} (X Y : C) {Z : C} {fst : P ⟶ X} {snd : P ⟶ Y}
  {f : X ⟶ Z} {g : Y ⟶ Z} {P' : C} {fst' : P' ⟶ X} {snd' : P' ⟶ Y} (h : CategoryTheory.IsPullback fst snd f g)
  (h' : CategoryTheory.IsPullback fst' snd' f g) {Z_1 : C} (h_1 : X ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.IsPullback.isoIsPullback X Y h h').hom
      (CategoryTheory.CategoryStruct.comp fst' h_1) =
    CategoryTheory.CategoryStruct.comp fst h_1

theorem CategoryTheory.IsPullback.isoIsPullback_hom_fst E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P : C} (X Y : C) {Z : C} {fst : P ⟶ X} {snd : P ⟶ Y}
  {f : X ⟶ Z} {g : Y ⟶ Z} {P' : C} {fst' : P' ⟶ X} {snd' : P' ⟶ Y} (h : CategoryTheory.IsPullback fst snd f g)
  (h' : CategoryTheory.IsPullback fst' snd' f g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.IsPullback.isoIsPullback X Y h h').hom fst' = fst

theorem CategoryTheory.IsPullback.isoIsPullback_hom_snd_assoc E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P : C} (X Y : C) {Z : C} {fst : P ⟶ X} {snd : P ⟶ Y}
  {f : X ⟶ Z} {g : Y ⟶ Z} {P' : C} {fst' : P' ⟶ X} {snd' : P' ⟶ Y} (h : CategoryTheory.IsPullback fst snd f g)
  (h' : CategoryTheory.IsPullback fst' snd' f g) {Z_1 : C} (h_1 : Y ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.IsPullback.isoIsPullback X Y h h').hom
      (CategoryTheory.CategoryStruct.comp snd' h_1) =
    CategoryTheory.CategoryStruct.comp snd h_1

theorem CategoryTheory.IsPullback.isoIsPullback_hom_snd E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P : C} (X Y : C) {Z : C} {fst : P ⟶ X} {snd : P ⟶ Y}
  {f : X ⟶ Z} {g : Y ⟶ Z} {P' : C} {fst' : P' ⟶ X} {snd' : P' ⟶ Y} (h : CategoryTheory.IsPullback fst snd f g)
  (h' : CategoryTheory.IsPullback fst' snd' f g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.IsPullback.isoIsPullback X Y h h').hom snd' = snd

theorem CategoryTheory.IsPullback.isoIsPullback_inv_fst_assoc E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P : C} (X Y : C) {Z : C} {fst : P ⟶ X} {snd : P ⟶ Y}
  {f : X ⟶ Z} {g : Y ⟶ Z} {P' : C} {fst' : P' ⟶ X} {snd' : P' ⟶ Y} (h : CategoryTheory.IsPullback fst snd f g)
  (h' : CategoryTheory.IsPullback fst' snd' f g) {Z_1 : C} (h_1 : X ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.IsPullback.isoIsPullback X Y h h').inv
      (CategoryTheory.CategoryStruct.comp fst h_1) =
    CategoryTheory.CategoryStruct.comp fst' h_1

theorem CategoryTheory.IsPullback.isoIsPullback_inv_fst E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P : C} (X Y : C) {Z : C} {fst : P ⟶ X} {snd : P ⟶ Y}
  {f : X ⟶ Z} {g : Y ⟶ Z} {P' : C} {fst' : P' ⟶ X} {snd' : P' ⟶ Y} (h : CategoryTheory.IsPullback fst snd f g)
  (h' : CategoryTheory.IsPullback fst' snd' f g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.IsPullback.isoIsPullback X Y h h').inv fst = fst'

theorem CategoryTheory.IsPullback.isoIsPullback_inv_snd_assoc E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P : C} (X Y : C) {Z : C} {fst : P ⟶ X} {snd : P ⟶ Y}
  {f : X ⟶ Z} {g : Y ⟶ Z} {P' : C} {fst' : P' ⟶ X} {snd' : P' ⟶ Y} (h : CategoryTheory.IsPullback fst snd f g)
  (h' : CategoryTheory.IsPullback fst' snd' f g) {Z_1 : C} (h_1 : Y ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.IsPullback.isoIsPullback X Y h h').inv
      (CategoryTheory.CategoryStruct.comp snd h_1) =
    CategoryTheory.CategoryStruct.comp snd' h_1

theorem CategoryTheory.IsPullback.isoIsPullback_inv_snd E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P : C} (X Y : C) {Z : C} {fst : P ⟶ X} {snd : P ⟶ Y}
  {f : X ⟶ Z} {g : Y ⟶ Z} {P' : C} {fst' : P' ⟶ X} {snd' : P' ⟶ Y} (h : CategoryTheory.IsPullback fst snd f g)
  (h' : CategoryTheory.IsPullback fst' snd' f g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.IsPullback.isoIsPullback X Y h h').inv snd = snd'

def CategoryTheory.IsPullback.isoPullback E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {P X Y Z : C} →
      {fst : P ⟶ X} →
        {snd : P ⟶ Y} →
          {f : X ⟶ Z} →
            {g : Y ⟶ Z} →
              CategoryTheory.IsPullback fst snd f g →
                [inst_1 : CategoryTheory.Limits.HasPullback f g] → P ≅ CategoryTheory.Limits.pullback f g

Any object at the top left of a pullback square is isomorphic to the pullback provided by the HasLimit API.

theorem CategoryTheory.IsPullback.isoPullback_hom_fst E0 #

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

theorem CategoryTheory.IsPullback.isoPullback_hom_fst_assoc E0 #

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

theorem CategoryTheory.IsPullback.isoPullback_hom_snd_assoc E0 #

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

theorem CategoryTheory.IsPullback.isoPullback_hom_snd E0 #

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

theorem CategoryTheory.IsPullback.isoPullback_inv_fst E0 #

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

theorem CategoryTheory.IsPullback.isoPullback_inv_fst_assoc E0 #

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

theorem CategoryTheory.IsPullback.isoPullback_inv_snd_assoc E0 #

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

theorem CategoryTheory.IsPullback.isoPullback_inv_snd E0 #

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

def CategoryTheory.IsPushout.cocone E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {Z X Y P : C} →
      {f : Z ⟶ X} →
        {g : Z ⟶ Y} →
          {inl : X ⟶ P} → {inr : Y ⟶ P} → CategoryTheory.IsPushout f g inl inr → CategoryTheory.Limits.PushoutCocone f g

The (colimiting) PushoutCocone f g implicit in the statement that we have an IsPushout f g inl inr.

theorem CategoryTheory.IsPushout.cocone_inl E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X Y P : C} {f : Z ⟶ X} {g : Z ⟶ Y} {inl : X ⟶ P}
  {inr : Y ⟶ P} (h : CategoryTheory.IsPushout f g inl inr), h.cocone.inl = inl

theorem CategoryTheory.IsPushout.cocone_inr E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X Y P : C} {f : Z ⟶ X} {g : Z ⟶ Y} {inl : X ⟶ P}
  {inr : Y ⟶ P} (h : CategoryTheory.IsPushout f g inl inr), h.cocone.inr = inr

def CategoryTheory.IsPushout.isColimit E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {Z X Y P : C} →
      {f : Z ⟶ X} →
        {g : Z ⟶ Y} →
          {inl : X ⟶ P} →
            {inr : Y ⟶ P} → (h : CategoryTheory.IsPushout f g inl inr) → CategoryTheory.Limits.IsColimit h.cocone

The cocone obtained from IsPushout f g inl inr is a colimit cocone.

def CategoryTheory.IsPushout.desc E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {Z X Y P : C} →
      {f : Z ⟶ X} →
        {g : Z ⟶ Y} →
          {inl : X ⟶ P} →
            {inr : Y ⟶ P} →
              CategoryTheory.IsPushout f g inl inr →
                {W : C} →
                  (h : X ⟶ W) →
                    (k : Y ⟶ W) →
                      CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g k → (P ⟶ W)

API for PushoutCocone.IsColimit.lift for IsPushout

theorem CategoryTheory.IsPushout.inl_desc E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X Y P : C} {f : Z ⟶ X} {g : Z ⟶ Y} {inl : X ⟶ P}
  {inr : Y ⟶ P} (hP : CategoryTheory.IsPushout f g inl inr) {W : C} (h : X ⟶ W) (k : Y ⟶ W)
  (w : CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g k),
  CategoryTheory.CategoryStruct.comp inl (hP.desc h k w) = h

theorem CategoryTheory.IsPushout.inl_desc_assoc E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X Y P : C} {f : Z ⟶ X} {g : Z ⟶ Y} {inl : X ⟶ P}
  {inr : Y ⟶ P} (hP : CategoryTheory.IsPushout f g inl inr) {W : C} (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 inl (CategoryTheory.CategoryStruct.comp (hP.desc h k w) h_1) =
    CategoryTheory.CategoryStruct.comp h h_1

theorem CategoryTheory.IsPushout.inr_desc E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X Y P : C} {f : Z ⟶ X} {g : Z ⟶ Y} {inl : X ⟶ P}
  {inr : Y ⟶ P} (hP : CategoryTheory.IsPushout f g inl inr) {W : C} (h : X ⟶ W) (k : Y ⟶ W)
  (w : CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g k),
  CategoryTheory.CategoryStruct.comp inr (hP.desc h k w) = k

theorem CategoryTheory.IsPushout.inr_desc_assoc E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X Y P : C} {f : Z ⟶ X} {g : Z ⟶ Y} {inl : X ⟶ P}
  {inr : Y ⟶ P} (hP : CategoryTheory.IsPushout f g inl inr) {W : C} (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 inr (CategoryTheory.CategoryStruct.comp (hP.desc h k w) h_1) =
    CategoryTheory.CategoryStruct.comp k h_1

theorem CategoryTheory.IsPushout.exists_desc E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X Y P : C} {f : Z ⟶ X} {g : Z ⟶ Y} {inl : X ⟶ P}
  {inr : Y ⟶ P},
  CategoryTheory.IsPushout f g inl inr →
    ∀ {W : C} (h : X ⟶ W) (k : Y ⟶ W),
      CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g k →
        ∃ d, CategoryTheory.CategoryStruct.comp inl d = h ∧ CategoryTheory.CategoryStruct.comp inr d = k

theorem CategoryTheory.IsPushout.hom_ext E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X Y P : C} {f : Z ⟶ X} {g : Z ⟶ Y} {inl : X ⟶ P}
  {inr : Y ⟶ P},
  CategoryTheory.IsPushout f g inl inr →
    ∀ {W : C} {k l : P ⟶ W},
      CategoryTheory.CategoryStruct.comp inl k = CategoryTheory.CategoryStruct.comp inl l →
        CategoryTheory.CategoryStruct.comp inr k = CategoryTheory.CategoryStruct.comp inr l → k = l

theorem CategoryTheory.IsPushout.of_isColimit E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X Y : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  {c : CategoryTheory.Limits.PushoutCocone f g} (h : CategoryTheory.Limits.IsColimit c),
  CategoryTheory.IsPushout f g c.inl c.inr

If c is a colimiting pushout cocone, then we have an IsPushout f g c.inl c.inr.

theorem CategoryTheory.IsPushout.of_isColimit' E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X Y P : C} {f : Z ⟶ X} {g : Z ⟶ Y} {inl : X ⟶ P}
  {inr : Y ⟶ P} (w : CategoryTheory.CommSq f g inl inr) (h : CategoryTheory.Limits.IsColimit w.cocone),
  CategoryTheory.IsPushout f g inl inr

A variant of of_isColimit that is more useful with apply.

theorem CategoryTheory.IsPushout.of_isColimit_cocone E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C]
  {D : CategoryTheory.Functor CategoryTheory.Limits.WalkingSpan C} {c : CategoryTheory.Limits.Cocone D}
  (hc : CategoryTheory.Limits.IsColimit c),
  CategoryTheory.IsPushout (D.map CategoryTheory.Limits.WalkingSpan.Hom.fst)
    (D.map CategoryTheory.Limits.WalkingSpan.Hom.snd) (c.ι.app CategoryTheory.Limits.WalkingSpan.left)
    (c.ι.app CategoryTheory.Limits.WalkingSpan.right)

Variant of of_isColimit for an arbitrary cocone on a diagram WalkingSpan ⥤ C.

theorem CategoryTheory.IsPushout.hasPushout E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X Y P : C} {f : Z ⟶ X} {g : Z ⟶ Y} {inl : X ⟶ P}
  {inr : Y ⟶ P}, CategoryTheory.IsPushout f g inl inr → CategoryTheory.Limits.HasPushout f g

theorem CategoryTheory.IsPushout.of_hasPushout E1 #

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

The pushout provided by HasPushout f g fits into an IsPushout.

def CategoryTheory.IsPushout.isoIsPushout E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {Z : C} →
      (X Y : C) →
        {P : C} →
          {f : Z ⟶ X} →
            {g : Z ⟶ Y} →
              {inl : X ⟶ P} →
                {inr : Y ⟶ P} →
                  {P' : C} →
                    {inl' : X ⟶ P'} →
                      {inr' : Y ⟶ P'} →
                        CategoryTheory.IsPushout f g inl inr → CategoryTheory.IsPushout f g inl' inr' → (P ≅ P')

Any object at the bottom right of a pushout square is isomorphic to the object at the bottom right of any other pushout square with the same span.

theorem CategoryTheory.IsPushout.inl_isoIsPushout_hom_assoc E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z : C} (X Y : C) {P : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  {inl : X ⟶ P} {inr : Y ⟶ P} {P' : C} {inl' : X ⟶ P'} {inr' : Y ⟶ P'} (h : CategoryTheory.IsPushout f g inl inr)
  (h' : CategoryTheory.IsPushout f g inl' inr') {Z_1 : C} (h_1 : P' ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp inl
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.IsPushout.isoIsPushout X Y h h').hom h_1) =
    CategoryTheory.CategoryStruct.comp inl' h_1

theorem CategoryTheory.IsPushout.inl_isoIsPushout_hom E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z : C} (X Y : C) {P : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  {inl : X ⟶ P} {inr : Y ⟶ P} {P' : C} {inl' : X ⟶ P'} {inr' : Y ⟶ P'} (h : CategoryTheory.IsPushout f g inl inr)
  (h' : CategoryTheory.IsPushout f g inl' inr'),
  CategoryTheory.CategoryStruct.comp inl (CategoryTheory.IsPushout.isoIsPushout X Y h h').hom = inl'

theorem CategoryTheory.IsPushout.inr_isoIsPushout_hom_assoc E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z : C} (X Y : C) {P : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  {inl : X ⟶ P} {inr : Y ⟶ P} {P' : C} {inl' : X ⟶ P'} {inr' : Y ⟶ P'} (h : CategoryTheory.IsPushout f g inl inr)
  (h' : CategoryTheory.IsPushout f g inl' inr') {Z_1 : C} (h_1 : P' ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp inr
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.IsPushout.isoIsPushout X Y h h').hom h_1) =
    CategoryTheory.CategoryStruct.comp inr' h_1

theorem CategoryTheory.IsPushout.inr_isoIsPushout_hom E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z : C} (X Y : C) {P : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  {inl : X ⟶ P} {inr : Y ⟶ P} {P' : C} {inl' : X ⟶ P'} {inr' : Y ⟶ P'} (h : CategoryTheory.IsPushout f g inl inr)
  (h' : CategoryTheory.IsPushout f g inl' inr'),
  CategoryTheory.CategoryStruct.comp inr (CategoryTheory.IsPushout.isoIsPushout X Y h h').hom = inr'

theorem CategoryTheory.IsPushout.inl_isoIsPushout_inv E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z : C} (X Y : C) {P : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  {inl : X ⟶ P} {inr : Y ⟶ P} {P' : C} {inl' : X ⟶ P'} {inr' : Y ⟶ P'} (h : CategoryTheory.IsPushout f g inl inr)
  (h' : CategoryTheory.IsPushout f g inl' inr'),
  CategoryTheory.CategoryStruct.comp inl' (CategoryTheory.IsPushout.isoIsPushout X Y h h').inv = inl

theorem CategoryTheory.IsPushout.inl_isoIsPushout_inv_assoc E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z : C} (X Y : C) {P : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  {inl : X ⟶ P} {inr : Y ⟶ P} {P' : C} {inl' : X ⟶ P'} {inr' : Y ⟶ P'} (h : CategoryTheory.IsPushout f g inl inr)
  (h' : CategoryTheory.IsPushout f g inl' inr') {Z_1 : C} (h_1 : P ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp inl'
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.IsPushout.isoIsPushout X Y h h').inv h_1) =
    CategoryTheory.CategoryStruct.comp inl h_1

theorem CategoryTheory.IsPushout.inr_isoIsPushout_inv E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z : C} (X Y : C) {P : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  {inl : X ⟶ P} {inr : Y ⟶ P} {P' : C} {inl' : X ⟶ P'} {inr' : Y ⟶ P'} (h : CategoryTheory.IsPushout f g inl inr)
  (h' : CategoryTheory.IsPushout f g inl' inr'),
  CategoryTheory.CategoryStruct.comp inr' (CategoryTheory.IsPushout.isoIsPushout X Y h h').inv = inr

theorem CategoryTheory.IsPushout.inr_isoIsPushout_inv_assoc E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z : C} (X Y : C) {P : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  {inl : X ⟶ P} {inr : Y ⟶ P} {P' : C} {inl' : X ⟶ P'} {inr' : Y ⟶ P'} (h : CategoryTheory.IsPushout f g inl inr)
  (h' : CategoryTheory.IsPushout f g inl' inr') {Z_1 : C} (h_1 : P ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp inr'
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.IsPushout.isoIsPushout X Y h h').inv h_1) =
    CategoryTheory.CategoryStruct.comp inr h_1

def CategoryTheory.IsPushout.isoPushout E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {Z X Y P : C} →
      {f : Z ⟶ X} →
        {g : Z ⟶ Y} →
          {inl : X ⟶ P} →
            {inr : Y ⟶ P} →
              CategoryTheory.IsPushout f g inl inr →
                [inst_1 : CategoryTheory.Limits.HasPushout f g] → P ≅ CategoryTheory.Limits.pushout f g

Any object at the top left of a pullback square is isomorphic to the pullback provided by the HasLimit API.

theorem CategoryTheory.IsPushout.inl_isoPushout_inv E0 #

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

theorem CategoryTheory.IsPushout.inl_isoPushout_inv_assoc E0 #

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

theorem CategoryTheory.IsPushout.inr_isoPushout_inv_assoc E0 #

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

theorem CategoryTheory.IsPushout.inr_isoPushout_inv E0 #

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

theorem CategoryTheory.IsPushout.inl_isoPushout_hom E0 #

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

theorem CategoryTheory.IsPushout.inl_isoPushout_hom_assoc E0 #

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

theorem CategoryTheory.IsPushout.inr_isoPushout_hom_assoc E0 #

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

theorem CategoryTheory.IsPushout.inr_isoPushout_hom E0 #

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

theorem CategoryTheory.IsPullback.flip E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y Z : C} {fst : P ⟶ X} {snd : P ⟶ Y} {f : X ⟶ Z}
  {g : Y ⟶ Z}, CategoryTheory.IsPullback fst snd f g → CategoryTheory.IsPullback snd fst g f

theorem CategoryTheory.IsPullback.flip_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y Z : C} {fst : P ⟶ X} {snd : P ⟶ Y} {f : X ⟶ Z}
  {g : Y ⟶ Z}, CategoryTheory.IsPullback fst snd f g ↔ CategoryTheory.IsPullback snd fst g f

theorem CategoryTheory.IsPullback.op E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y Z : C} {fst : P ⟶ X} {snd : P ⟶ Y} {f : X ⟶ Z}
  {g : Y ⟶ Z}, CategoryTheory.IsPullback fst snd f g → CategoryTheory.IsPushout g.op f.op snd.op fst.op

theorem CategoryTheory.IsPullback.unop E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y Z : Cᵒᵖ} {fst : P ⟶ X} {snd : P ⟶ Y} {f : X ⟶ Z}
  {g : Y ⟶ Z}, CategoryTheory.IsPullback fst snd f g → CategoryTheory.IsPushout g.unop f.unop snd.unop fst.unop

theorem CategoryTheory.IsPushout.flip E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X Y P : C} {f : Z ⟶ X} {g : Z ⟶ Y} {inl : X ⟶ P}
  {inr : Y ⟶ P}, CategoryTheory.IsPushout f g inl inr → CategoryTheory.IsPushout g f inr inl

theorem CategoryTheory.IsPushout.flip_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X Y P : C} {f : Z ⟶ X} {g : Z ⟶ Y} {inl : X ⟶ P}
  {inr : Y ⟶ P}, CategoryTheory.IsPushout f g inl inr ↔ CategoryTheory.IsPushout g f inr inl

theorem CategoryTheory.IsPushout.op E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X Y P : C} {f : Z ⟶ X} {g : Z ⟶ Y} {inl : X ⟶ P}
  {inr : Y ⟶ P}, CategoryTheory.IsPushout f g inl inr → CategoryTheory.IsPullback inr.op inl.op g.op f.op

theorem CategoryTheory.IsPushout.unop E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X Y P : Cᵒᵖ} {f : Z ⟶ X} {g : Z ⟶ Y} {inl : X ⟶ P}
  {inr : Y ⟶ P}, CategoryTheory.IsPushout f g inl inr → CategoryTheory.IsPullback inr.unop inl.unop g.unop f.unop

theorem CategoryTheory.IsPullback.op_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y Z P : C} {f : Z ⟶ X} {g : Z ⟶ Y} {inl : X ⟶ P}
  {inr : Y ⟶ P}, CategoryTheory.IsPullback inr.op inl.op g.op f.op ↔ CategoryTheory.IsPushout f g inl inr

theorem CategoryTheory.IsPullback.unop_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y Z P : Cᵒᵖ} {f : Z ⟶ X} {g : Z ⟶ Y} {inl : X ⟶ P}
  {inr : Y ⟶ P}, CategoryTheory.IsPullback inr.unop inl.unop g.unop f.unop ↔ CategoryTheory.IsPushout f g inl inr

theorem CategoryTheory.IsPushout.op_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y Z : C} {fst : P ⟶ X} {snd : P ⟶ Y} {f : X ⟶ Z}
  {g : Y ⟶ Z}, CategoryTheory.IsPushout g.op f.op snd.op fst.op ↔ CategoryTheory.IsPullback fst snd f g

theorem CategoryTheory.IsPushout.unop_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y Z : Cᵒᵖ} {fst : P ⟶ X} {snd : P ⟶ Y} {f : X ⟶ Z}
  {g : Y ⟶ Z}, CategoryTheory.IsPushout g.unop f.unop snd.unop fst.unop ↔ CategoryTheory.IsPullback fst snd f g