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

104 declarations. Mathlib docs · Source

PullbackCone

This file provides API for interacting with cones (resp. cocones) in the case of pullbacks (resp. pushouts).

Main definitions

  • PullbackCone f g: Given morphisms f : X ⟶ Z and g : Y ⟶ Z, a term t : PullbackCone f g provides the data of a cone pictured as follows

    t.pt ---t.snd---> Y
      |               |
    t.fst            g
      |               |
      v               v
      X -----f------> Z
    

    The type PullbackCone f g is implemented as an abbreviation for Cone (cospan f g), so general results about cones are also available for PullbackCone f g.

  • PushoutCone f g: Given morphisms f : X ⟶ Y and g : X ⟶ Z, a term t : PushoutCone f g provides the data of a cocone pictured as follows

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

    Similar to PullbackCone, PushoutCone f g is implemented as an abbreviation for Cocone (span f g), so general results about cocones are also available for PushoutCone f g.

Main statements

We summarize the most important parts of the API for pullback cones here. The dual notions for pushout cones are also available in this file.

Various ways of constructing pullback cones:

  • PullbackCone.mk constructs a term of PullbackCone f g given morphisms fst and snd such that fst ≫ f = snd ≫ g.
  • PullbackCone.flip is the PullbackCone obtained by flipping fst and snd.

Interaction with IsLimit:

  • PullbackCone.isLimitAux and PullbackCone.isLimitAux' provide two convenient ways to show that a given PullbackCone is a limit cone.
  • PullbackCone.isLimit.mk provides a convenient way to show that a PullbackCone constructed using PullbackCone.mk is a limit cone.
  • PullbackCone.IsLimit.lift and PullbackCone.IsLimit.lift' provides convenient ways for constructing the morphisms to the point of a limit PullbackCone from the universal property.
  • PullbackCone.IsLimit.hom_ext provides a convenient way to show that two morphisms to the point of a limit PullbackCone are equal.

Interaction with CommSq:

  • CommSq.cone and CommSq.cocone provide the implicit (non-limiting) pullback cone and pushout cocone associated with a commuting square

References

theorem CategoryTheory.Limits.PullbackCone.IsLimit.lift.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  {t : CategoryTheory.Limits.PullbackCone f g} (ht ht_1 : CategoryTheory.Limits.IsLimit t),
  ht = ht_1 →
    ∀ {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),
      CategoryTheory.Limits.PullbackCone.IsLimit.lift ht h k w =
        CategoryTheory.Limits.PullbackCone.IsLimit.lift ht_1 h_1 k_1 ⋯

theorem CategoryTheory.Limits.PushoutCocone.IsColimit.desc.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  {t : CategoryTheory.Limits.PushoutCocone f g} (ht ht_1 : CategoryTheory.Limits.IsColimit t),
  ht = ht_1 →
    ∀ {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),
      CategoryTheory.Limits.PushoutCocone.IsColimit.desc ht h k w =
        CategoryTheory.Limits.PushoutCocone.IsColimit.desc ht_1 h_1 k_1 ⋯

abbrev CategoryTheory.Limits.PullbackCone E1 #

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

A pullback cone is just a cone on the cospan formed by two morphisms f : X ⟶ Z and g : Y ⟶ Z.

abbrev CategoryTheory.Limits.PushoutCocone E1 #

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

A pushout cocone is just a cocone on the span formed by two morphisms f : X ⟶ Y and g : X ⟶ Z.

abbrev CategoryTheory.Limits.PullbackCone.fst E1 #

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

The first projection of a pullback cone.

abbrev CategoryTheory.Limits.PushoutCocone.inl E1 #

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

The first inclusion of a pushout cocone.

abbrev CategoryTheory.Limits.PullbackCone.snd E1 #

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

The second projection of a pullback cone.

abbrev CategoryTheory.Limits.PushoutCocone.inr E1 #

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

The second inclusion of a pushout cocone.

theorem CategoryTheory.Limits.PushoutCocone.ι_app_left E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  (c : CategoryTheory.Limits.PushoutCocone f g), c.ι.app CategoryTheory.Limits.WalkingSpan.left = c.inl

theorem CategoryTheory.Limits.PullbackCone.π_app_left 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), c.π.app CategoryTheory.Limits.WalkingCospan.left = c.fst

theorem CategoryTheory.Limits.PullbackCone.π_app_right 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), c.π.app CategoryTheory.Limits.WalkingCospan.right = c.snd

theorem CategoryTheory.Limits.PushoutCocone.ι_app_right E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  (c : CategoryTheory.Limits.PushoutCocone f g), c.ι.app CategoryTheory.Limits.WalkingSpan.right = c.inr

theorem CategoryTheory.Limits.PushoutCocone.condition_zero E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  (t : CategoryTheory.Limits.PushoutCocone f g),
  t.ι.app CategoryTheory.Limits.WalkingSpan.zero = CategoryTheory.CategoryStruct.comp f t.inl

theorem CategoryTheory.Limits.PullbackCone.condition_one E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  (t : CategoryTheory.Limits.PullbackCone f g),
  t.π.app CategoryTheory.Limits.WalkingCospan.one = CategoryTheory.CategoryStruct.comp t.fst f

def CategoryTheory.Limits.PullbackCone.mk E3 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      {f : X ⟶ Z} →
        {g : Y ⟶ Z} →
          {W : C} →
            (fst : W ⟶ X) →
              (snd : W ⟶ Y) →
                autoParam (CategoryTheory.CategoryStruct.comp fst f = CategoryTheory.CategoryStruct.comp snd g)
                    CategoryTheory.Limits.PullbackCone.mk._auto_1 →
                  CategoryTheory.Limits.PullbackCone f g

A pullback cone on f and g is determined by morphisms fst : W ⟶ X and snd : W ⟶ Y such that fst ≫ f = snd ≫ g.

theorem CategoryTheory.Limits.PullbackCone.mk_π_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z} {W : C} (fst : W ⟶ X)
  (snd : W ⟶ Y)
  (eq :
    autoParam (CategoryTheory.CategoryStruct.comp fst f = CategoryTheory.CategoryStruct.comp snd g)
      CategoryTheory.Limits.PullbackCone.mk._auto_1)
  (j : CategoryTheory.Limits.WalkingCospan),
  (CategoryTheory.Limits.PullbackCone.mk fst snd eq).π.app j =
    Option.casesOn j (CategoryTheory.CategoryStruct.comp fst f) fun j' ↦
      CategoryTheory.Limits.WalkingPair.casesOn j' fst snd

theorem CategoryTheory.Limits.PushoutCocone.mk_ι_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {Y Z X : C} {f : X ⟶ Y} {g : X ⟶ Z} {W : C} (inl : Y ⟶ W)
  (inr : Z ⟶ W)
  (eq :
    autoParam (CategoryTheory.CategoryStruct.comp f inl = CategoryTheory.CategoryStruct.comp g inr)
      CategoryTheory.Limits.PushoutCocone.mk._auto_1)
  (j : CategoryTheory.Limits.WalkingSpan),
  (CategoryTheory.Limits.PushoutCocone.mk inl inr eq).ι.app j =
    Option.casesOn j (CategoryTheory.CategoryStruct.comp f inl) fun j' ↦
      CategoryTheory.Limits.WalkingPair.casesOn j' inl inr

theorem CategoryTheory.Limits.PushoutCocone.mk_pt E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {Y Z X : C} {f : X ⟶ Y} {g : X ⟶ Z} {W : C} (inl : Y ⟶ W)
  (inr : Z ⟶ W)
  (eq :
    autoParam (CategoryTheory.CategoryStruct.comp f inl = CategoryTheory.CategoryStruct.comp g inr)
      CategoryTheory.Limits.PushoutCocone.mk._auto_1),
  (CategoryTheory.Limits.PushoutCocone.mk inl inr eq).pt = W

theorem CategoryTheory.Limits.PullbackCone.mk_pt E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z} {W : C} (fst : W ⟶ X)
  (snd : W ⟶ Y)
  (eq :
    autoParam (CategoryTheory.CategoryStruct.comp fst f = CategoryTheory.CategoryStruct.comp snd g)
      CategoryTheory.Limits.PullbackCone.mk._auto_1),
  (CategoryTheory.Limits.PullbackCone.mk fst snd eq).pt = W

def CategoryTheory.Limits.PushoutCocone.mk E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {Y Z X : C} →
      {f : X ⟶ Y} →
        {g : X ⟶ Z} →
          {W : C} →
            (inl : Y ⟶ W) →
              (inr : Z ⟶ W) →
                autoParam (CategoryTheory.CategoryStruct.comp f inl = CategoryTheory.CategoryStruct.comp g inr)
                    CategoryTheory.Limits.PushoutCocone.mk._auto_1 →
                  CategoryTheory.Limits.PushoutCocone f g

A pushout cocone on f and g is determined by morphisms inl : Y ⟶ W and inr : Z ⟶ W such that f ≫ inl = g ≫ inr.

theorem CategoryTheory.Limits.PushoutCocone.mk_ι_app_left E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y} {W : C} (inl : X ⟶ W)
  (inr : Y ⟶ W) (eq : CategoryTheory.CategoryStruct.comp f inl = CategoryTheory.CategoryStruct.comp g inr),
  (CategoryTheory.Limits.PushoutCocone.mk inl inr eq).ι.app CategoryTheory.Limits.WalkingSpan.left = inl

theorem CategoryTheory.Limits.PullbackCone.mk_π_app_left E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z} {W : C} (fst : W ⟶ X)
  (snd : W ⟶ Y) (eq : CategoryTheory.CategoryStruct.comp fst f = CategoryTheory.CategoryStruct.comp snd g),
  (CategoryTheory.Limits.PullbackCone.mk fst snd eq).π.app CategoryTheory.Limits.WalkingCospan.left = fst

theorem CategoryTheory.Limits.PullbackCone.mk_π_app_right E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z} {W : C} (fst : W ⟶ X)
  (snd : W ⟶ Y) (eq : CategoryTheory.CategoryStruct.comp fst f = CategoryTheory.CategoryStruct.comp snd g),
  (CategoryTheory.Limits.PullbackCone.mk fst snd eq).π.app CategoryTheory.Limits.WalkingCospan.right = snd

theorem CategoryTheory.Limits.PushoutCocone.mk_ι_app_right E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y} {W : C} (inl : X ⟶ W)
  (inr : Y ⟶ W) (eq : CategoryTheory.CategoryStruct.comp f inl = CategoryTheory.CategoryStruct.comp g inr),
  (CategoryTheory.Limits.PushoutCocone.mk inl inr eq).ι.app CategoryTheory.Limits.WalkingSpan.right = inr

theorem CategoryTheory.Limits.PushoutCocone.mk_ι_app_zero E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y} {W : C} (inl : X ⟶ W)
  (inr : Y ⟶ W) (eq : CategoryTheory.CategoryStruct.comp f inl = CategoryTheory.CategoryStruct.comp g inr),
  (CategoryTheory.Limits.PushoutCocone.mk inl inr eq).ι.app CategoryTheory.Limits.WalkingSpan.zero =
    CategoryTheory.CategoryStruct.comp f inl

theorem CategoryTheory.Limits.PullbackCone.mk_π_app_one E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z} {W : C} (fst : W ⟶ X)
  (snd : W ⟶ Y) (eq : CategoryTheory.CategoryStruct.comp fst f = CategoryTheory.CategoryStruct.comp snd g),
  (CategoryTheory.Limits.PullbackCone.mk fst snd eq).π.app CategoryTheory.Limits.WalkingCospan.one =
    CategoryTheory.CategoryStruct.comp fst f

theorem CategoryTheory.Limits.PullbackCone.mk_fst E0 #

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

theorem CategoryTheory.Limits.PushoutCocone.mk_inl E0 #

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

theorem CategoryTheory.Limits.PushoutCocone.mk_inr E0 #

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

theorem CategoryTheory.Limits.PullbackCone.mk_snd E0 #

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

theorem CategoryTheory.Limits.PullbackCone.condition E2 #

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

theorem CategoryTheory.Limits.PushoutCocone.condition_assoc E1 #

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

theorem CategoryTheory.Limits.PullbackCone.condition_assoc E1 #

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

theorem CategoryTheory.Limits.PushoutCocone.condition E1 #

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

theorem CategoryTheory.Limits.PullbackCone.equalizer_ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  (t : CategoryTheory.Limits.PullbackCone f g) {W : C} {k l : W ⟶ t.pt},
  CategoryTheory.CategoryStruct.comp k t.fst = CategoryTheory.CategoryStruct.comp l t.fst →
    CategoryTheory.CategoryStruct.comp k t.snd = CategoryTheory.CategoryStruct.comp l t.snd →
      ∀ (j : CategoryTheory.Limits.WalkingCospan),
        CategoryTheory.CategoryStruct.comp k (t.π.app j) = CategoryTheory.CategoryStruct.comp l (t.π.app j)

To check whether two morphisms are equalized by the maps of a pullback cone, it suffices to check it for fst t and snd t

theorem CategoryTheory.Limits.PushoutCocone.coequalizer_ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  (t : CategoryTheory.Limits.PushoutCocone f g) {W : C} {k l : t.pt ⟶ W},
  CategoryTheory.CategoryStruct.comp t.inl k = CategoryTheory.CategoryStruct.comp t.inl l →
    CategoryTheory.CategoryStruct.comp t.inr k = CategoryTheory.CategoryStruct.comp t.inr l →
      ∀ (j : CategoryTheory.Limits.WalkingSpan),
        CategoryTheory.CategoryStruct.comp (t.ι.app j) k = CategoryTheory.CategoryStruct.comp (t.ι.app j) l

To check whether a morphism is coequalized by the maps of a pushout cocone, it suffices to check it for inl t and inr t

def CategoryTheory.Limits.PullbackCone.ext E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      {f : X ⟶ Z} →
        {g : Y ⟶ Z} →
          {s t : CategoryTheory.Limits.PullbackCone f g} →
            (i : s.pt ≅ t.pt) →
              autoParam (s.fst = CategoryTheory.CategoryStruct.comp i.hom t.fst)
                  CategoryTheory.Limits.PullbackCone.ext._auto_1 →
                autoParam (s.snd = CategoryTheory.CategoryStruct.comp i.hom t.snd)
                    CategoryTheory.Limits.PullbackCone.ext._auto_3 →
                  (s ≅ t)

To construct an isomorphism of pullback cones, it suffices to construct an isomorphism of the cone points and check it commutes with fst and snd.

def CategoryTheory.Limits.PushoutCocone.ext E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      {f : X ⟶ Y} →
        {g : X ⟶ Z} →
          {s t : CategoryTheory.Limits.PushoutCocone f g} →
            (i : s.pt ≅ t.pt) →
              autoParam (CategoryTheory.CategoryStruct.comp s.inl i.hom = t.inl)
                  CategoryTheory.Limits.PushoutCocone.ext._auto_1 →
                autoParam (CategoryTheory.CategoryStruct.comp s.inr i.hom = t.inr)
                    CategoryTheory.Limits.PushoutCocone.ext._auto_3 →
                  (s ≅ t)

To construct an isomorphism of pushout cocones, it suffices to construct an isomorphism of the cocone points and check it commutes with inl and inr.

def CategoryTheory.Limits.PullbackCone.eta E1 #

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

The natural isomorphism between a pullback cone and the corresponding pullback cone reconstructed using PullbackCone.mk.

theorem CategoryTheory.Limits.PushoutCocone.eta_inv_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  (t : CategoryTheory.Limits.PushoutCocone f g), t.eta.inv.hom = CategoryTheory.CategoryStruct.id t.pt

theorem CategoryTheory.Limits.PullbackCone.eta_inv_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  (t : CategoryTheory.Limits.PullbackCone f g), t.eta.inv.hom = CategoryTheory.CategoryStruct.id t.pt

theorem CategoryTheory.Limits.PullbackCone.eta_hom_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  (t : CategoryTheory.Limits.PullbackCone f g), t.eta.hom.hom = CategoryTheory.CategoryStruct.id t.pt

theorem CategoryTheory.Limits.PushoutCocone.eta_hom_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  (t : CategoryTheory.Limits.PushoutCocone f g), t.eta.hom.hom = CategoryTheory.CategoryStruct.id t.pt

def CategoryTheory.Limits.PushoutCocone.eta E1 #

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

The natural isomorphism between a pushout cocone and the corresponding pushout cocone reconstructed using PushoutCocone.mk.

def CategoryTheory.Limits.PullbackCone.isLimitAux E3 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      {f : X ⟶ Z} →
        {g : Y ⟶ Z} →
          (t : CategoryTheory.Limits.PullbackCone f g) →
            (lift : (s : CategoryTheory.Limits.PullbackCone f g) → s.pt ⟶ t.pt) →
              (∀ (s : CategoryTheory.Limits.PullbackCone f g),
                  CategoryTheory.CategoryStruct.comp (lift s) t.fst = s.fst) →
                (∀ (s : CategoryTheory.Limits.PullbackCone f g),
                    CategoryTheory.CategoryStruct.comp (lift s) t.snd = s.snd) →
                  (∀ (s : CategoryTheory.Limits.PullbackCone f g) (m : s.pt ⟶ t.pt),
                      (∀ (j : CategoryTheory.Limits.WalkingCospan),
                          CategoryTheory.CategoryStruct.comp m (t.π.app j) = s.π.app j) →
                        m = lift s) →
                    CategoryTheory.Limits.IsLimit t

This is a slightly more convenient method to verify that a pullback cone is a limit cone. It only asks for a proof of facts that carry any mathematical content

def CategoryTheory.Limits.PushoutCocone.isColimitAux E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      {f : Z ⟶ X} →
        {g : Z ⟶ Y} →
          (t : CategoryTheory.Limits.PushoutCocone f g) →
            (desc : (s : CategoryTheory.Limits.PushoutCocone f g) → t.pt ⟶ s.pt) →
              (∀ (s : CategoryTheory.Limits.PushoutCocone f g),
                  CategoryTheory.CategoryStruct.comp t.inl (desc s) = s.inl) →
                (∀ (s : CategoryTheory.Limits.PushoutCocone f g),
                    CategoryTheory.CategoryStruct.comp t.inr (desc s) = s.inr) →
                  (∀ (s : CategoryTheory.Limits.PushoutCocone f g) (m : t.pt ⟶ s.pt),
                      (∀ (j : CategoryTheory.Limits.WalkingSpan),
                          CategoryTheory.CategoryStruct.comp (t.ι.app j) m = s.ι.app j) →
                        m = desc s) →
                    CategoryTheory.Limits.IsColimit t

This is a slightly more convenient method to verify that a pushout cocone is a colimit cocone. It only asks for a proof of facts that carry any mathematical content

def CategoryTheory.Limits.PullbackCone.isLimitAux' E3 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      {f : X ⟶ Z} →
        {g : Y ⟶ Z} →
          (t : CategoryTheory.Limits.PullbackCone f g) →
            ((s : CategoryTheory.Limits.PullbackCone f g) →
                { l //
                  CategoryTheory.CategoryStruct.comp l t.fst = s.fst ∧
                    CategoryTheory.CategoryStruct.comp l t.snd = s.snd ∧
                      ∀ {m : s.pt ⟶ t.pt},
                        CategoryTheory.CategoryStruct.comp m t.fst = s.fst →
                          CategoryTheory.CategoryStruct.comp m t.snd = s.snd → m = l }) →
              CategoryTheory.Limits.IsLimit t

This is another convenient method to verify that a pullback cone is a limit cone. It only asks for a proof of facts that carry any mathematical content, and allows access to the same s for all parts.

def CategoryTheory.Limits.PushoutCocone.isColimitAux' E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      {f : Z ⟶ X} →
        {g : Z ⟶ Y} →
          (t : CategoryTheory.Limits.PushoutCocone f g) →
            ((s : CategoryTheory.Limits.PushoutCocone f g) →
                { l //
                  CategoryTheory.CategoryStruct.comp t.inl l = s.inl ∧
                    CategoryTheory.CategoryStruct.comp t.inr l = s.inr ∧
                      ∀ {m : t.pt ⟶ s.pt},
                        CategoryTheory.CategoryStruct.comp t.inl m = s.inl →
                          CategoryTheory.CategoryStruct.comp t.inr m = s.inr → m = l }) →
              CategoryTheory.Limits.IsColimit t

This is another convenient method to verify that a pushout cocone is a colimit cocone. It only asks for a proof of facts that carry any mathematical content, and allows access to the same s for all parts.

def CategoryTheory.Limits.PullbackCone.IsLimit.mk E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      {f : X ⟶ Z} →
        {g : Y ⟶ Z} →
          {W : C} →
            {fst : W ⟶ X} →
              {snd : W ⟶ Y} →
                (eq : CategoryTheory.CategoryStruct.comp fst f = CategoryTheory.CategoryStruct.comp snd g) →
                  (lift : (s : CategoryTheory.Limits.PullbackCone f g) → s.pt ⟶ W) →
                    (∀ (s : CategoryTheory.Limits.PullbackCone f g),
                        CategoryTheory.CategoryStruct.comp (lift s) fst = s.fst) →
                      (∀ (s : CategoryTheory.Limits.PullbackCone f g),
                          CategoryTheory.CategoryStruct.comp (lift s) snd = s.snd) →
                        (∀ (s : CategoryTheory.Limits.PullbackCone f g) (m : s.pt ⟶ W),
                            CategoryTheory.CategoryStruct.comp m fst = s.fst →
                              CategoryTheory.CategoryStruct.comp m snd = s.snd → m = lift s) →
                          CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.PullbackCone.mk fst snd eq)

This is a more convenient formulation to show that a PullbackCone constructed using PullbackCone.mk is a limit cone.

def CategoryTheory.Limits.PushoutCocone.IsColimit.mk E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      {f : Z ⟶ X} →
        {g : Z ⟶ Y} →
          {W : C} →
            {inl : X ⟶ W} →
              {inr : Y ⟶ W} →
                (eq : CategoryTheory.CategoryStruct.comp f inl = CategoryTheory.CategoryStruct.comp g inr) →
                  (desc : (s : CategoryTheory.Limits.PushoutCocone f g) → W ⟶ s.pt) →
                    (∀ (s : CategoryTheory.Limits.PushoutCocone f g),
                        CategoryTheory.CategoryStruct.comp inl (desc s) = s.inl) →
                      (∀ (s : CategoryTheory.Limits.PushoutCocone f g),
                          CategoryTheory.CategoryStruct.comp inr (desc s) = s.inr) →
                        (∀ (s : CategoryTheory.Limits.PushoutCocone f g) (m : W ⟶ s.pt),
                            CategoryTheory.CategoryStruct.comp inl m = s.inl →
                              CategoryTheory.CategoryStruct.comp inr m = s.inr → m = desc s) →
                          CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.PushoutCocone.mk inl inr eq)

This is a more convenient formulation to show that a PushoutCocone constructed using PushoutCocone.mk is a colimit cocone.

theorem CategoryTheory.Limits.PushoutCocone.IsColimit.hom_ext E1 #

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

theorem CategoryTheory.Limits.PullbackCone.IsLimit.hom_ext E3 #

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

def CategoryTheory.Limits.PullbackCone.IsLimit.lift E3 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      {f : X ⟶ Z} →
        {g : Y ⟶ Z} →
          {t : CategoryTheory.Limits.PullbackCone f g} →
            CategoryTheory.Limits.IsLimit t →
              {W : C} →
                (h : W ⟶ X) →
                  (k : W ⟶ Y) →
                    CategoryTheory.CategoryStruct.comp h f = CategoryTheory.CategoryStruct.comp k g → (W ⟶ t.pt)

If t is a limit pullback cone over f and g and h : W ⟶ X and k : W ⟶ Y are such that h ≫ f = k ≫ g, then we get l : W ⟶ t.pt, which satisfies l ≫ fst t = h and l ≫ snd t = k, see IsLimit.lift_fst and IsLimit.lift_snd.

def CategoryTheory.Limits.PushoutCocone.IsColimit.desc E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      {f : Z ⟶ X} →
        {g : Z ⟶ Y} →
          {t : CategoryTheory.Limits.PushoutCocone f g} →
            CategoryTheory.Limits.IsColimit t →
              {W : C} →
                (h : X ⟶ W) →
                  (k : Y ⟶ W) →
                    CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g k → (t.pt ⟶ W)

If t is a colimit pushout cocone over f and g and h : Y ⟶ W and k : Z ⟶ W are morphisms satisfying f ≫ h = g ≫ k, then we have a factorization l : t.pt ⟶ W such that inl t ≫ l = h and inr t ≫ l = k, see IsColimit.inl_desc and IsColimit.inr_desc.

theorem CategoryTheory.Limits.PullbackCone.IsLimit.lift_fst E0 #

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

theorem CategoryTheory.Limits.PushoutCocone.IsColimit.inl_desc_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  {t : CategoryTheory.Limits.PushoutCocone f g} (ht : CategoryTheory.Limits.IsColimit t) {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 t.inl
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.PushoutCocone.IsColimit.desc ht h k w) h_1) =
    CategoryTheory.CategoryStruct.comp h h_1

theorem CategoryTheory.Limits.PushoutCocone.IsColimit.inl_desc E0 #

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

theorem CategoryTheory.Limits.PullbackCone.IsLimit.lift_fst_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  {t : CategoryTheory.Limits.PullbackCone f g} (ht : CategoryTheory.Limits.IsLimit t) {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 (CategoryTheory.Limits.PullbackCone.IsLimit.lift ht h k w)
      (CategoryTheory.CategoryStruct.comp t.fst h_1) =
    CategoryTheory.CategoryStruct.comp h h_1

theorem CategoryTheory.Limits.PushoutCocone.IsColimit.inr_desc_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  {t : CategoryTheory.Limits.PushoutCocone f g} (ht : CategoryTheory.Limits.IsColimit t) {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 t.inr
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.PushoutCocone.IsColimit.desc ht h k w) h_1) =
    CategoryTheory.CategoryStruct.comp k h_1

theorem CategoryTheory.Limits.PushoutCocone.IsColimit.inr_desc E0 #

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

theorem CategoryTheory.Limits.PullbackCone.IsLimit.lift_snd E0 #

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

theorem CategoryTheory.Limits.PullbackCone.IsLimit.lift_snd_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  {t : CategoryTheory.Limits.PullbackCone f g} (ht : CategoryTheory.Limits.IsLimit t) {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 (CategoryTheory.Limits.PullbackCone.IsLimit.lift ht h k w)
      (CategoryTheory.CategoryStruct.comp t.snd h_1) =
    CategoryTheory.CategoryStruct.comp k h_1

def CategoryTheory.Limits.PullbackCone.IsLimit.lift' E3 #

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

If t is a limit pullback cone over f and g and h : W ⟶ X and k : W ⟶ Y are such that h ≫ f = k ≫ g, then we have l : W ⟶ t.pt satisfying l ≫ fst t = h and l ≫ snd t = k.

def CategoryTheory.Limits.PushoutCocone.IsColimit.desc' E1 #

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

If t is a colimit pushout cocone over f and g and h : Y ⟶ W and k : Z ⟶ W are morphisms satisfying f ≫ h = g ≫ k, then we have a factorization l : t.pt ⟶ W such that inl t ≫ l = h and inr t ≫ l = k.

def CategoryTheory.Limits.PullbackCone.mkSelfIsLimit E1 #

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

The pullback cone reconstructed using PullbackCone.mk from a pullback cone that is a limit, is also a limit.

def CategoryTheory.Limits.PushoutCocone.mkSelfIsColimit E1 #

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

The pushout cocone reconstructed using PushoutCocone.mk from a pushout cocone that is a colimit, is also a colimit.

def CategoryTheory.Limits.PullbackCone.flip E3 #

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

The pullback cone obtained by flipping fst and snd.

def CategoryTheory.Limits.PushoutCocone.flip E1 #

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

The pushout cocone obtained by flipping inl and inr.

theorem CategoryTheory.Limits.PushoutCocone.flip_pt E0 #

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

theorem CategoryTheory.Limits.PullbackCone.flip_pt E0 #

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

theorem CategoryTheory.Limits.PullbackCone.flip_fst E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  (t : CategoryTheory.Limits.PullbackCone f g), t.flip.fst = t.snd

theorem CategoryTheory.Limits.PushoutCocone.flip_inl E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  (t : CategoryTheory.Limits.PushoutCocone f g), t.flip.inl = t.inr

theorem CategoryTheory.Limits.PushoutCocone.flip_inr E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y}
  (t : CategoryTheory.Limits.PushoutCocone f g), t.flip.inr = t.inl

theorem CategoryTheory.Limits.PullbackCone.flip_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  (t : CategoryTheory.Limits.PullbackCone f g), t.flip.snd = t.fst

def CategoryTheory.Limits.PullbackCone.flipFlipIso E1 #

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

Flipping a pullback cone twice gives an isomorphic cone.

def CategoryTheory.Limits.PushoutCocone.flipFlipIso E1 #

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

Flipping a pushout cocone twice gives an isomorphic cocone.

def CategoryTheory.Limits.PullbackCone.flipIsLimit E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      {f : X ⟶ Z} →
        {g : Y ⟶ Z} →
          {t : CategoryTheory.Limits.PullbackCone f g} →
            CategoryTheory.Limits.IsLimit t → CategoryTheory.Limits.IsLimit t.flip

The flip of a pullback square is a pullback square.

def CategoryTheory.Limits.PushoutCocone.flipIsColimit E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      {f : Z ⟶ X} →
        {g : Z ⟶ Y} →
          {t : CategoryTheory.Limits.PushoutCocone f g} →
            CategoryTheory.Limits.IsColimit t → CategoryTheory.Limits.IsColimit t.flip

The flip of a pushout square is a pushout square.

def CategoryTheory.Limits.PullbackCone.isLimitOfFlip E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      {f : X ⟶ Z} →
        {g : Y ⟶ Z} →
          {t : CategoryTheory.Limits.PullbackCone f g} →
            CategoryTheory.Limits.IsLimit t.flip → CategoryTheory.Limits.IsLimit t

A square is a pullback square if its flip is.

def CategoryTheory.Limits.PushoutCocone.isColimitOfFlip E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      {f : Z ⟶ X} →
        {g : Z ⟶ Y} →
          {t : CategoryTheory.Limits.PushoutCocone f g} →
            CategoryTheory.Limits.IsColimit t.flip → CategoryTheory.Limits.IsColimit t

A square is a pushout square if its flip is.

def CategoryTheory.Limits.Cone.ofPullbackCone E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingCospan C} →
      CategoryTheory.Limits.PullbackCone (F.map CategoryTheory.Limits.WalkingCospan.Hom.inl)
          (F.map CategoryTheory.Limits.WalkingCospan.Hom.inr) →
        CategoryTheory.Limits.Cone F

This is a helper construction that can be useful when verifying that a category has all pullbacks. Given F : WalkingCospan ⥤ C, which is really the same as cospan (F.map inl) (F.map inr), and a pullback cone on F.map inl and F.map inr, we get a cone on F.

If you're thinking about using this, have a look at hasPullbacks_of_hasLimit_cospan, which you may find to be an easier way of achieving your goal.

def CategoryTheory.Limits.Cocone.ofPushoutCocone E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingSpan C} →
      CategoryTheory.Limits.PushoutCocone (F.map CategoryTheory.Limits.WalkingSpan.Hom.fst)
          (F.map CategoryTheory.Limits.WalkingSpan.Hom.snd) →
        CategoryTheory.Limits.Cocone F

This is a helper construction that can be useful when verifying that a category has all pushout. Given F : WalkingSpan ⥤ C, which is really the same as span (F.map fst) (F.map snd), and a pushout cocone on F.map fst and F.map snd, we get a cocone on F.

If you're thinking about using this, have a look at hasPushouts_of_hasColimit_span, which you may find to be an easier way of achieving your goal.

theorem CategoryTheory.Limits.Cone.ofPullbackCone_pt E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingCospan C}
  (t :
    CategoryTheory.Limits.PullbackCone (F.map CategoryTheory.Limits.WalkingCospan.Hom.inl)
      (F.map CategoryTheory.Limits.WalkingCospan.Hom.inr)),
  (CategoryTheory.Limits.Cone.ofPullbackCone t).pt = t.pt

theorem CategoryTheory.Limits.Cone.ofPullbackCone_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingCospan C}
  (t :
    CategoryTheory.Limits.PullbackCone (F.map CategoryTheory.Limits.WalkingCospan.Hom.inl)
      (F.map CategoryTheory.Limits.WalkingCospan.Hom.inr)),
  (CategoryTheory.Limits.Cone.ofPullbackCone t).π =
    CategoryTheory.CategoryStruct.comp t.π (CategoryTheory.Limits.diagramIsoCospan F).inv

theorem CategoryTheory.Limits.Cocone.ofPushoutCocone_ι E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingSpan C}
  (t :
    CategoryTheory.Limits.PushoutCocone (F.map CategoryTheory.Limits.WalkingSpan.Hom.fst)
      (F.map CategoryTheory.Limits.WalkingSpan.Hom.snd)),
  (CategoryTheory.Limits.Cocone.ofPushoutCocone t).ι =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.diagramIsoSpan F).hom t.ι

theorem CategoryTheory.Limits.Cocone.ofPushoutCocone_pt E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingSpan C}
  (t :
    CategoryTheory.Limits.PushoutCocone (F.map CategoryTheory.Limits.WalkingSpan.Hom.fst)
      (F.map CategoryTheory.Limits.WalkingSpan.Hom.snd)),
  (CategoryTheory.Limits.Cocone.ofPushoutCocone t).pt = t.pt

def CategoryTheory.Limits.PullbackCone.ofCone E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingCospan C} →
      CategoryTheory.Limits.Cone F →
        CategoryTheory.Limits.PullbackCone (F.map CategoryTheory.Limits.WalkingCospan.Hom.inl)
          (F.map CategoryTheory.Limits.WalkingCospan.Hom.inr)

Given F : WalkingCospan ⥤ C, which is really the same as cospan (F.map inl) (F.map inr), and a cone on F, we get a pullback cone on F.map inl and F.map inr.

theorem CategoryTheory.Limits.PushoutCocone.ofCocone_ι E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingSpan C} (t : CategoryTheory.Limits.Cocone F),
  (CategoryTheory.Limits.PushoutCocone.ofCocone t).ι =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.diagramIsoSpan F).inv t.ι

theorem CategoryTheory.Limits.PushoutCocone.ofCocone_pt E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingSpan C} (t : CategoryTheory.Limits.Cocone F),
  (CategoryTheory.Limits.PushoutCocone.ofCocone t).pt = t.pt

theorem CategoryTheory.Limits.PullbackCone.ofCone_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingCospan C} (t : CategoryTheory.Limits.Cone F),
  (CategoryTheory.Limits.PullbackCone.ofCone t).π =
    CategoryTheory.CategoryStruct.comp t.π (CategoryTheory.Limits.diagramIsoCospan F).hom

def CategoryTheory.Limits.PushoutCocone.ofCocone E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingSpan C} →
      CategoryTheory.Limits.Cocone F →
        CategoryTheory.Limits.PushoutCocone (F.map CategoryTheory.Limits.WalkingSpan.Hom.fst)
          (F.map CategoryTheory.Limits.WalkingSpan.Hom.snd)

Given F : WalkingSpan ⥤ C, which is really the same as span (F.map fst) (F.map snd), and a cocone on F, we get a pushout cocone on F.map fst and F.map snd.

theorem CategoryTheory.Limits.PullbackCone.ofCone_pt E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingCospan C} (t : CategoryTheory.Limits.Cone F),
  (CategoryTheory.Limits.PullbackCone.ofCone t).pt = t.pt

def CategoryTheory.Limits.PullbackCone.isoMk E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingCospan C} →
      (t : CategoryTheory.Limits.Cone F) →
        (CategoryTheory.Limits.Cone.postcompose (CategoryTheory.Limits.diagramIsoCospan F).hom).obj t ≅
          CategoryTheory.Limits.PullbackCone.mk (t.π.app CategoryTheory.Limits.WalkingCospan.left)
            (t.π.app CategoryTheory.Limits.WalkingCospan.right) ⋯

A diagram WalkingCospan ⥤ C is isomorphic to some PullbackCone.mk after composing with diagramIsoCospan.

theorem CategoryTheory.Limits.PushoutCocone.isoMk_inv_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingSpan C} (t : CategoryTheory.Limits.Cocone F),
  (CategoryTheory.Limits.PushoutCocone.isoMk t).inv.hom = CategoryTheory.CategoryStruct.id t.pt

theorem CategoryTheory.Limits.PullbackCone.isoMk_inv_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingCospan C} (t : CategoryTheory.Limits.Cone F),
  (CategoryTheory.Limits.PullbackCone.isoMk t).inv.hom = CategoryTheory.CategoryStruct.id t.pt

def CategoryTheory.Limits.PushoutCocone.isoMk E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingSpan C} →
      (t : CategoryTheory.Limits.Cocone F) →
        (CategoryTheory.Limits.Cocone.precompose (CategoryTheory.Limits.diagramIsoSpan F).inv).obj t ≅
          CategoryTheory.Limits.PushoutCocone.mk (t.ι.app CategoryTheory.Limits.WalkingSpan.left)
            (t.ι.app CategoryTheory.Limits.WalkingSpan.right) ⋯

A diagram WalkingSpan ⥤ C is isomorphic to some PushoutCocone.mk after composing with diagramIsoSpan.

theorem CategoryTheory.Limits.PushoutCocone.isoMk_hom_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingSpan C} (t : CategoryTheory.Limits.Cocone F),
  (CategoryTheory.Limits.PushoutCocone.isoMk t).hom.hom = CategoryTheory.CategoryStruct.id t.pt

theorem CategoryTheory.Limits.PullbackCone.isoMk_hom_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingCospan C} (t : CategoryTheory.Limits.Cone F),
  (CategoryTheory.Limits.PullbackCone.isoMk t).hom.hom = CategoryTheory.CategoryStruct.id t.pt

def CategoryTheory.CommSq.cone E3 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {W X Y Z : C} →
      {f : W ⟶ X} →
        {g : W ⟶ Y} → {h : X ⟶ Z} → {i : Y ⟶ Z} → CategoryTheory.CommSq f g h i → CategoryTheory.Limits.PullbackCone h i

The (not necessarily limiting) PullbackCone h i implicit in the statement that we have CommSq f g h i.

def CategoryTheory.CommSq.cocone E3 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {W X Y Z : C} →
      {f : W ⟶ X} →
        {g : W ⟶ Y} →
          {h : X ⟶ Z} → {i : Y ⟶ Z} → CategoryTheory.CommSq f g h i → CategoryTheory.Limits.PushoutCocone f g

The (not necessarily limiting) PushoutCocone f g implicit in the statement that we have CommSq f g h i.

theorem CategoryTheory.CommSq.cone_fst E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z}
  {i : Y ⟶ Z} (s : CategoryTheory.CommSq f g h i), s.cone.fst = f

theorem CategoryTheory.CommSq.cone_snd E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z}
  {i : Y ⟶ Z} (s : CategoryTheory.CommSq f g h i), s.cone.snd = g

theorem CategoryTheory.CommSq.cocone_inl E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z}
  {i : Y ⟶ Z} (s : CategoryTheory.CommSq f g h i), s.cocone.inl = h

theorem CategoryTheory.CommSq.cocone_inr E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z}
  {i : Y ⟶ Z} (s : CategoryTheory.CommSq f g h i), s.cocone.inr = i