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

106 declarations. Mathlib docs · Source

theorem CategoryTheory.IsPullback.isoOverPullback.congr_simp E1 #

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

theorem CategoryTheory.IsPullback.of_is_product E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y Z : C} {c : CategoryTheory.Limits.BinaryFan X Y}
  (h : CategoryTheory.Limits.IsLimit c) (t : CategoryTheory.Limits.IsTerminal Z),
  CategoryTheory.IsPullback c.fst c.snd (t.from X) (t.from Y)

If c is a limiting binary product cone, and we have a terminal object, then we have IsPullback c.fst c.snd 0 0 (where each 0 is the unique morphism to the terminal object).

theorem CategoryTheory.IsPullback.of_is_product' E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y Z : C} {fst : P ⟶ X} {snd : P ⟶ Y}
  (h : CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.BinaryFan.mk fst snd))
  (t : CategoryTheory.Limits.IsTerminal Z), CategoryTheory.IsPullback fst snd (t.from X) (t.from Y)

A variant of of_is_product that is more useful with apply.

theorem CategoryTheory.IsPullback.of_hasBinaryProduct' E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X Y : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryProduct X Y] [inst_2 : CategoryTheory.Limits.HasTerminal C],
  CategoryTheory.IsPullback CategoryTheory.Limits.prod.fst CategoryTheory.Limits.prod.snd
    (CategoryTheory.Limits.terminal.from X) (CategoryTheory.Limits.terminal.from Y)

theorem CategoryTheory.IsPullback.of_iso_pullback 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.CommSq fst snd f g →
    ∀ [inst_1 : CategoryTheory.Limits.HasPullback f g] (i : P ≅ CategoryTheory.Limits.pullback f g),
      CategoryTheory.CategoryStruct.comp i.hom (CategoryTheory.Limits.pullback.fst f g) = fst →
        CategoryTheory.CategoryStruct.comp i.hom (CategoryTheory.Limits.pullback.snd f g) = snd →
          CategoryTheory.IsPullback fst snd f g

theorem CategoryTheory.IsPullback.of_horiz_isIso_mono 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.IsIso fst] [CategoryTheory.Mono g],
  CategoryTheory.CommSq fst snd f g → CategoryTheory.IsPullback fst snd f g

theorem CategoryTheory.IsPullback.of_horiz_isIso 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.IsIso fst] [CategoryTheory.IsIso g],
  CategoryTheory.CommSq fst snd f g → CategoryTheory.IsPullback fst snd f g

theorem CategoryTheory.IsPullback.of_iso 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 →
    ∀ {P' X' Y' Z' : C} {fst' : P' ⟶ X'} {snd' : P' ⟶ Y'} {f' : X' ⟶ Z'} {g' : Y' ⟶ Z'} (e₁ : P ≅ P') (e₂ : X ≅ X')
      (e₃ : Y ≅ Y') (e₄ : Z ≅ Z'),
      CategoryTheory.CategoryStruct.comp fst e₂.hom = CategoryTheory.CategoryStruct.comp e₁.hom fst' →
        CategoryTheory.CategoryStruct.comp snd e₃.hom = CategoryTheory.CategoryStruct.comp e₁.hom snd' →
          CategoryTheory.CategoryStruct.comp f e₄.hom = CategoryTheory.CategoryStruct.comp e₂.hom f' →
            CategoryTheory.CategoryStruct.comp g e₄.hom = CategoryTheory.CategoryStruct.comp e₃.hom g' →
              CategoryTheory.IsPullback fst' snd' f' g'

theorem CategoryTheory.IsPullback.of_iso' 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 →
    ∀ {P' X' Y' Z' : C} {fst' : P' ⟶ X'} {snd' : P' ⟶ Y'} {f' : X' ⟶ Z'} {g' : Y' ⟶ Z'} (e₁ : P' ≅ P) (e₂ : X' ≅ X)
      (e₃ : Y' ≅ Y) (e₄ : Z' ≅ Z),
      CategoryTheory.CategoryStruct.comp e₁.hom fst = CategoryTheory.CategoryStruct.comp fst' e₂.hom →
        CategoryTheory.CategoryStruct.comp e₁.hom snd = CategoryTheory.CategoryStruct.comp snd' e₃.hom →
          CategoryTheory.CategoryStruct.comp e₂.hom f = CategoryTheory.CategoryStruct.comp f' e₄.hom →
            CategoryTheory.CategoryStruct.comp e₃.hom g = CategoryTheory.CategoryStruct.comp g' e₄.hom →
              CategoryTheory.IsPullback fst' snd' f' g'

Same as IsPullback.of_iso, but using the data and compatibilities involving the inverse isomorphisms instead.

theorem CategoryTheory.IsPullback.isIso_fst_of_mono E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y : C} {fst snd : P ⟶ X} {f : X ⟶ Y},
  CategoryTheory.IsPullback fst snd f f →
    autoParam (CategoryTheory.Mono f) CategoryTheory.IsPullback.isIso_fst_of_mono._auto_1 → CategoryTheory.IsIso fst

theorem CategoryTheory.IsPullback.isIso_snd_iso_of_mono E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y : C} {fst snd : P ⟶ X} {f : X ⟶ Y},
  CategoryTheory.IsPullback fst snd f f →
    autoParam (CategoryTheory.Mono f) CategoryTheory.IsPullback.isIso_snd_iso_of_mono._auto_1 → CategoryTheory.IsIso snd

theorem CategoryTheory.IsPullback.mono_fst_of_mono 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 →
    autoParam (CategoryTheory.Mono g) CategoryTheory.IsPullback.mono_fst_of_mono._auto_1 → CategoryTheory.Mono fst

theorem CategoryTheory.IsPullback.mono_snd_of_mono 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 →
    autoParam (CategoryTheory.Mono f) CategoryTheory.IsPullback.mono_snd_of_mono._auto_1 → CategoryTheory.Mono snd

theorem CategoryTheory.IsPullback.isIso_fst_of_isIso 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 →
    autoParam (CategoryTheory.IsIso g) CategoryTheory.IsPullback.isIso_fst_of_isIso._auto_1 → CategoryTheory.IsIso fst

theorem CategoryTheory.IsPullback.isIso_snd_of_isIso 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 →
    autoParam (CategoryTheory.IsIso f) CategoryTheory.IsPullback.isIso_snd_of_isIso._auto_1 → CategoryTheory.IsIso snd

theorem CategoryTheory.IsPullback.paste_vert E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X₁₁ X₁₂ X₂₁ X₂₂ X₃₁ X₃₂ : C} {h₁₁ : X₁₁ ⟶ X₁₂}
  {h₂₁ : X₂₁ ⟶ X₂₂} {h₃₁ : X₃₁ ⟶ X₃₂} {v₁₁ : X₁₁ ⟶ X₂₁} {v₁₂ : X₁₂ ⟶ X₂₂} {v₂₁ : X₂₁ ⟶ X₃₁} {v₂₂ : X₂₂ ⟶ X₃₂},
  CategoryTheory.IsPullback h₁₁ v₁₁ v₁₂ h₂₁ →
    CategoryTheory.IsPullback h₂₁ v₂₁ v₂₂ h₃₁ →
      CategoryTheory.IsPullback h₁₁ (CategoryTheory.CategoryStruct.comp v₁₁ v₂₁)
        (CategoryTheory.CategoryStruct.comp v₁₂ v₂₂) h₃₁

Paste two pullback squares "vertically" to obtain another pullback square.

The objects in the statement fit into the following diagram:

X₁₁ - h₁₁ -> X₁₂
|            |
v₁₁          v₁₂
↓            ↓
X₂₁ - h₂₁ -> X₂₂
|            |
v₂₁          v₂₂
↓            ↓
X₃₁ - h₃₁ -> X₃₂

theorem CategoryTheory.IsPullback.paste_horiz E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X₁₁ X₁₂ X₁₃ X₂₁ X₂₂ X₂₃ : C} {h₁₁ : X₁₁ ⟶ X₁₂}
  {h₁₂ : X₁₂ ⟶ X₁₃} {h₂₁ : X₂₁ ⟶ X₂₂} {h₂₂ : X₂₂ ⟶ X₂₃} {v₁₁ : X₁₁ ⟶ X₂₁} {v₁₂ : X₁₂ ⟶ X₂₂} {v₁₃ : X₁₃ ⟶ X₂₃},
  CategoryTheory.IsPullback h₁₁ v₁₁ v₁₂ h₂₁ →
    CategoryTheory.IsPullback h₁₂ v₁₂ v₁₃ h₂₂ →
      CategoryTheory.IsPullback (CategoryTheory.CategoryStruct.comp h₁₁ h₁₂) v₁₁ v₁₃
        (CategoryTheory.CategoryStruct.comp h₂₁ h₂₂)

Paste two pullback squares "horizontally" to obtain another pullback square.

The objects in the statement fit into the following diagram:

X₁₁ - h₁₁ -> X₁₂ - h₁₂ -> X₁₃
|            |            |
v₁₁          v₁₂          v₁₃
↓            ↓            ↓
X₂₁ - h₂₁ -> X₂₂ - h₂₂ -> X₂₃

theorem CategoryTheory.IsPullback.of_bot E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X₁₁ X₁₂ X₂₁ X₂₂ X₃₁ X₃₂ : C} {h₁₁ : X₁₁ ⟶ X₁₂}
  {h₂₁ : X₂₁ ⟶ X₂₂} {h₃₁ : X₃₁ ⟶ X₃₂} {v₁₁ : X₁₁ ⟶ X₂₁} {v₁₂ : X₁₂ ⟶ X₂₂} {v₂₁ : X₂₁ ⟶ X₃₁} {v₂₂ : X₂₂ ⟶ X₃₂},
  CategoryTheory.IsPullback h₁₁ (CategoryTheory.CategoryStruct.comp v₁₁ v₂₁)
      (CategoryTheory.CategoryStruct.comp v₁₂ v₂₂) h₃₁ →
    CategoryTheory.CategoryStruct.comp h₁₁ v₁₂ = CategoryTheory.CategoryStruct.comp v₁₁ h₂₁ →
      CategoryTheory.IsPullback h₂₁ v₂₁ v₂₂ h₃₁ → CategoryTheory.IsPullback h₁₁ v₁₁ v₁₂ h₂₁

Given a pullback square assembled from a commuting square on the top and a pullback square on the bottom, the top square is a pullback square.

The objects in the statement fit into the following diagram:

X₁₁ - h₁₁ -> X₁₂
|            |
v₁₁          v₁₂
↓            ↓
X₂₁ - h₂₁ -> X₂₂
|            |
v₂₁          v₂₂
↓            ↓
X₃₁ - h₃₁ -> X₃₂

theorem CategoryTheory.IsPullback.of_right E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X₁₁ X₁₂ X₁₃ X₂₁ X₂₂ X₂₃ : C} {h₁₁ : X₁₁ ⟶ X₁₂}
  {h₁₂ : X₁₂ ⟶ X₁₃} {h₂₁ : X₂₁ ⟶ X₂₂} {h₂₂ : X₂₂ ⟶ X₂₃} {v₁₁ : X₁₁ ⟶ X₂₁} {v₁₂ : X₁₂ ⟶ X₂₂} {v₁₃ : X₁₃ ⟶ X₂₃},
  CategoryTheory.IsPullback (CategoryTheory.CategoryStruct.comp h₁₁ h₁₂) v₁₁ v₁₃
      (CategoryTheory.CategoryStruct.comp h₂₁ h₂₂) →
    CategoryTheory.CategoryStruct.comp h₁₁ v₁₂ = CategoryTheory.CategoryStruct.comp v₁₁ h₂₁ →
      CategoryTheory.IsPullback h₁₂ v₁₂ v₁₃ h₂₂ → CategoryTheory.IsPullback h₁₁ v₁₁ v₁₂ h₂₁

Given a pullback square assembled from a commuting square on the left and a pullback square on the right, the left square is a pullback square.

The objects in the statement fit into the following diagram:

X₁₁ - h₁₁ -> X₁₂ - h₁₂ -> X₁₃
|            |            |
v₁₁          v₁₂          v₁₃
↓            ↓            ↓
X₂₁ - h₂₁ -> X₂₂ - h₂₂ -> X₂₃

theorem CategoryTheory.IsPullback.paste_vert_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X₁₁ X₁₂ X₂₁ X₂₂ X₃₁ X₃₂ : C} {h₁₁ : X₁₁ ⟶ X₁₂}
  {h₂₁ : X₂₁ ⟶ X₂₂} {h₃₁ : X₃₁ ⟶ X₃₂} {v₁₁ : X₁₁ ⟶ X₂₁} {v₁₂ : X₁₂ ⟶ X₂₂} {v₂₁ : X₂₁ ⟶ X₃₁} {v₂₂ : X₂₂ ⟶ X₃₂},
  CategoryTheory.IsPullback h₂₁ v₂₁ v₂₂ h₃₁ →
    CategoryTheory.CategoryStruct.comp h₁₁ v₁₂ = CategoryTheory.CategoryStruct.comp v₁₁ h₂₁ →
      (CategoryTheory.IsPullback h₁₁ (CategoryTheory.CategoryStruct.comp v₁₁ v₂₁)
          (CategoryTheory.CategoryStruct.comp v₁₂ v₂₂) h₃₁ ↔
        CategoryTheory.IsPullback h₁₁ v₁₁ v₁₂ h₂₁)

theorem CategoryTheory.IsPullback.paste_horiz_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X₁₁ X₁₂ X₁₃ X₂₁ X₂₂ X₂₃ : C} {h₁₁ : X₁₁ ⟶ X₁₂}
  {h₁₂ : X₁₂ ⟶ X₁₃} {h₂₁ : X₂₁ ⟶ X₂₂} {h₂₂ : X₂₂ ⟶ X₂₃} {v₁₁ : X₁₁ ⟶ X₂₁} {v₁₂ : X₁₂ ⟶ X₂₂} {v₁₃ : X₁₃ ⟶ X₂₃},
  CategoryTheory.IsPullback h₁₂ v₁₂ v₁₃ h₂₂ →
    CategoryTheory.CategoryStruct.comp h₁₁ v₁₂ = CategoryTheory.CategoryStruct.comp v₁₁ h₂₁ →
      (CategoryTheory.IsPullback (CategoryTheory.CategoryStruct.comp h₁₁ h₁₂) v₁₁ v₁₃
          (CategoryTheory.CategoryStruct.comp h₂₁ h₂₂) ↔
        CategoryTheory.IsPullback h₁₁ v₁₁ v₁₂ h₂₁)

theorem CategoryTheory.IsPullback.of_right' E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X₁₁ X₁₂ X₁₃ X₂₁ X₂₂ X₂₃ : C} {h₁₂ : X₁₂ ⟶ X₁₃}
  {h₂₁ : X₂₁ ⟶ X₂₂} {h₂₂ : X₂₂ ⟶ X₂₃} {h₁₃ : X₁₁ ⟶ X₁₃} {v₁₁ : X₁₁ ⟶ X₂₁} {v₁₂ : X₁₂ ⟶ X₂₂} {v₁₃ : X₁₃ ⟶ X₂₃}
  (s : CategoryTheory.IsPullback h₁₃ v₁₁ v₁₃ (CategoryTheory.CategoryStruct.comp h₂₁ h₂₂))
  (t : CategoryTheory.IsPullback h₁₂ v₁₂ v₁₃ h₂₂),
  CategoryTheory.IsPullback (t.lift h₁₃ (CategoryTheory.CategoryStruct.comp v₁₁ h₂₁) ⋯) v₁₁ v₁₂ h₂₁

Variant of IsPullback.of_right where h₁₁ is induced from a morphism h₁₃ : X₁₁ ⟶ X₁₃, and the universal property of the right square.

The objects fit in the following diagram:

X₁₁ - h₁₁ -> X₁₂ - h₁₂ -> X₁₃
|            |            |
v₁₁          v₁₂          v₁₃
↓            ↓            ↓
X₂₁ - h₂₁ -> X₂₂ - h₂₂ -> X₂₃

theorem CategoryTheory.IsPullback.of_bot' E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X₁₁ X₁₂ X₂₁ X₂₂ X₃₁ X₃₂ : C} {h₁₁ : X₁₁ ⟶ X₁₂}
  {h₂₁ : X₂₁ ⟶ X₂₂} {h₃₁ : X₃₁ ⟶ X₃₂} {v₃₁ : X₁₁ ⟶ X₃₁} {v₁₂ : X₁₂ ⟶ X₂₂} {v₂₁ : X₂₁ ⟶ X₃₁} {v₂₂ : X₂₂ ⟶ X₃₂}
  (s : CategoryTheory.IsPullback h₁₁ v₃₁ (CategoryTheory.CategoryStruct.comp v₁₂ v₂₂) h₃₁)
  (t : CategoryTheory.IsPullback h₂₁ v₂₁ v₂₂ h₃₁),
  CategoryTheory.IsPullback h₁₁ (t.lift (CategoryTheory.CategoryStruct.comp h₁₁ v₁₂) v₃₁ ⋯) v₁₂ h₂₁

Variant of IsPullback.of_bot, where v₁₁ is induced from a morphism v₃₁ : X₁₁ ⟶ X₃₁, and the universal property of the bottom square.

The objects in the statement fit into the following diagram:

X₁₁ - h₁₁ -> X₁₂
|            |
v₁₁          v₁₂
↓            ↓
X₂₁ - h₂₁ -> X₂₂
|            |
v₂₁          v₂₂
↓            ↓
X₃₁ - h₃₁ -> X₃₂

instance CategoryTheory.IsPullback.instHasPullbackFst E0 #

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

theorem CategoryTheory.IsPullback.of_vert_isIso_mono 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.IsIso snd] [CategoryTheory.Mono f],
  CategoryTheory.CommSq fst snd f g → CategoryTheory.IsPullback fst snd f g

theorem CategoryTheory.IsPullback.of_vert_isIso 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.IsIso snd] [CategoryTheory.IsIso f],
  CategoryTheory.CommSq fst snd f g → CategoryTheory.IsPullback fst snd f g

theorem CategoryTheory.IsPullback.of_id_fst E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Z : C} {f : X ⟶ Z},
  CategoryTheory.IsPullback (CategoryTheory.CategoryStruct.id X) f f (CategoryTheory.CategoryStruct.id Z)

theorem CategoryTheory.IsPullback.of_id_snd E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Z : C} {f : X ⟶ Z},
  CategoryTheory.IsPullback f (CategoryTheory.CategoryStruct.id X) (CategoryTheory.CategoryStruct.id Z) f

theorem CategoryTheory.IsPullback.id_vert E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Z : C} (f : X ⟶ Z),
  CategoryTheory.IsPullback f (CategoryTheory.CategoryStruct.id X) (CategoryTheory.CategoryStruct.id Z) f

The following diagram is a pullback

X --f--> Z
|        |
id       id
v        v
X --f--> Z

theorem CategoryTheory.IsPullback.id_horiz E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Z : C} (f : X ⟶ Z),
  CategoryTheory.IsPullback (CategoryTheory.CategoryStruct.id X) f f (CategoryTheory.CategoryStruct.id Z)

The following diagram is a pullback

X --id--> X
|         |
f         f
v         v
Z --id--> Z

theorem CategoryTheory.IsPullback.of_prod_fst_with_id E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {A B : C} (f : A ⟶ B) (X : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryProduct A X] [inst_2 : CategoryTheory.Limits.HasBinaryProduct B X],
  CategoryTheory.IsPullback CategoryTheory.Limits.prod.fst
    (CategoryTheory.Limits.prod.map f (CategoryTheory.CategoryStruct.id X)) f CategoryTheory.Limits.prod.fst

In a category, given a morphism f : A ⟶ B and an object X, this is the obvious pullback diagram:

A ⨯ X ⟶ A
  |     |
  v     v
B ⨯ X ⟶ B

theorem CategoryTheory.IsPullback.of_isLimit_binaryFan_of_isTerminal E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} {c : CategoryTheory.Limits.BinaryFan X Y}
  (hc : CategoryTheory.Limits.IsLimit c) {T : C} (hT : CategoryTheory.Limits.IsTerminal T),
  CategoryTheory.IsPullback c.fst c.snd (hT.from X) (hT.from Y)

theorem CategoryTheory.IsPullback.mk' 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.CategoryStruct.comp fst f = CategoryTheory.CategoryStruct.comp snd g →
    (∀ ⦃T : C⦄ ⦃φ φ' : T ⟶ P⦄,
        CategoryTheory.CategoryStruct.comp φ fst = CategoryTheory.CategoryStruct.comp φ' fst →
          CategoryTheory.CategoryStruct.comp φ snd = CategoryTheory.CategoryStruct.comp φ' snd → φ = φ') →
      (∀ ⦃T : C⦄ (a : T ⟶ X) (b : T ⟶ Y),
          CategoryTheory.CategoryStruct.comp a f = CategoryTheory.CategoryStruct.comp b g →
            ∃ l, CategoryTheory.CategoryStruct.comp l fst = a ∧ CategoryTheory.CategoryStruct.comp l snd = b) →
        CategoryTheory.IsPullback fst snd f g

theorem CategoryTheory.IsPullback.paste_twist_right E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y Z S : C} {f : X ⟶ S} {g : Y ⟶ S} {i : Z ⟶ S} {Pfg : C}
  {fstfg : Pfg ⟶ X} {sndfg : Pfg ⟶ Y},
  CategoryTheory.IsPullback fstfg sndfg f g →
    ∀ {Pfi : C} {fstfi : Pfi ⟶ X} {sndfi : Pfi ⟶ Z},
      CategoryTheory.IsPullback fstfi sndfi f i →
        ∀ {R : C} (rY : R ⟶ Y) (rZ : R ⟶ Z),
          CategoryTheory.CategoryStruct.comp rY g = CategoryTheory.CategoryStruct.comp rZ i →
            ∀ {Psndfgr : C} (fstsndfgr : Psndfgr ⟶ Pfg) (sndsndfgr : Psndfgr ⟶ R),
              CategoryTheory.IsPullback fstsndfgr sndsndfgr sndfg rY →
                ∀ {t : Psndfgr ⟶ Pfi},
                  CategoryTheory.CategoryStruct.comp t fstfi = CategoryTheory.CategoryStruct.comp fstsndfgr fstfg →
                    CategoryTheory.CategoryStruct.comp t sndfi = CategoryTheory.CategoryStruct.comp sndsndfgr rZ →
                      CategoryTheory.IsPullback t sndsndfgr sndfi rZ

The main objects in this lemma fit in the following commutative diagram:

Pfg -------> X <------- Pfi
 |           |           |
 |           f           |
 ↓           ↓           ↓
 Y --- g --> S <-- i --- Z
  \                     /
    --              --
       \          /
         --  R --

Suppose the two squares are cartesian, then Pfg ×[Y] R is the pullback of Pfi ⟶ Z and R ⟶ Z.

theorem CategoryTheory.IsPullback.map_fst_comp_fst_snd_comp_fst E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y Z U S : C} (f : X ⟶ S) (g : Y ⟶ S) (i : Z ⟶ S)
  [inst_1 : CategoryTheory.Limits.HasPullback i g] (h : U ⟶ CategoryTheory.Limits.pullback i g)
  [inst_2 : CategoryTheory.Limits.HasPullback f g]
  [inst_3 :
    CategoryTheory.Limits.HasPullback (CategoryTheory.Limits.pullback.snd f g)
      (CategoryTheory.CategoryStruct.comp h (CategoryTheory.Limits.pullback.snd i g))]
  [inst_4 : CategoryTheory.Limits.HasPullback f i],
  CategoryTheory.IsPullback
    (CategoryTheory.Limits.pullback.map (CategoryTheory.Limits.pullback.snd f g)
      (CategoryTheory.CategoryStruct.comp h (CategoryTheory.Limits.pullback.snd i g)) f i
      (CategoryTheory.Limits.pullback.fst f g)
      (CategoryTheory.CategoryStruct.comp h (CategoryTheory.Limits.pullback.fst i g)) g ⋯ ⋯)
    (CategoryTheory.Limits.pullback.snd (CategoryTheory.Limits.pullback.snd f g)
      (CategoryTheory.CategoryStruct.comp h (CategoryTheory.Limits.pullback.snd i g)))
    (CategoryTheory.Limits.pullback.snd f i)
    (CategoryTheory.CategoryStruct.comp h (CategoryTheory.Limits.pullback.fst i g))

This is a HasPullback variant of CategoryTheory.IsPullback.paste_twist_right

theorem CategoryTheory.IsPushout.of_is_coproduct E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X Y : C} {c : CategoryTheory.Limits.BinaryCofan X Y}
  (h : CategoryTheory.Limits.IsColimit c) (t : CategoryTheory.Limits.IsInitial Z),
  CategoryTheory.IsPushout (t.to X) (t.to Y) c.inl c.inr

If c is a colimiting binary coproduct cocone, and we have an initial object, then we have IsPushout 0 0 c.inl c.inr (where each 0 is the unique morphism from the initial object).

theorem CategoryTheory.IsPushout.of_is_coproduct' E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X Y P : C} {inl : X ⟶ P} {inr : Y ⟶ P}
  (h : CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.BinaryCofan.mk inl inr))
  (t : CategoryTheory.Limits.IsInitial Z), CategoryTheory.IsPushout (t.to X) (t.to Y) inl inr

A variant of of_is_coproduct that is more useful with apply.

theorem CategoryTheory.IsPushout.of_hasBinaryCoproduct' E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X Y : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryCoproduct X Y] [inst_2 : CategoryTheory.Limits.HasInitial C],
  CategoryTheory.IsPushout (CategoryTheory.Limits.initial.to X) (CategoryTheory.Limits.initial.to Y)
    CategoryTheory.Limits.coprod.inl CategoryTheory.Limits.coprod.inr

theorem CategoryTheory.IsPushout.of_iso_pushout 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.CommSq f g inl inr →
    ∀ [inst_1 : CategoryTheory.Limits.HasPushout f g] (i : P ≅ CategoryTheory.Limits.pushout f g),
      CategoryTheory.CategoryStruct.comp inl i.hom = CategoryTheory.Limits.pushout.inl f g →
        CategoryTheory.CategoryStruct.comp inr i.hom = CategoryTheory.Limits.pushout.inr f g →
          CategoryTheory.IsPushout f g inl inr

theorem CategoryTheory.IsPushout.of_iso 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 →
    ∀ {Z' X' Y' P' : C} {f' : Z' ⟶ X'} {g' : Z' ⟶ Y'} {inl' : X' ⟶ P'} {inr' : Y' ⟶ P'} (e₁ : Z ≅ Z') (e₂ : X ≅ X')
      (e₃ : Y ≅ Y') (e₄ : P ≅ P'),
      CategoryTheory.CategoryStruct.comp f e₂.hom = CategoryTheory.CategoryStruct.comp e₁.hom f' →
        CategoryTheory.CategoryStruct.comp g e₃.hom = CategoryTheory.CategoryStruct.comp e₁.hom g' →
          CategoryTheory.CategoryStruct.comp inl e₄.hom = CategoryTheory.CategoryStruct.comp e₂.hom inl' →
            CategoryTheory.CategoryStruct.comp inr e₄.hom = CategoryTheory.CategoryStruct.comp e₃.hom inr' →
              CategoryTheory.IsPushout f' g' inl' inr'

theorem CategoryTheory.IsPushout.of_iso' 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 →
    ∀ {Z' X' Y' P' : C} {f' : Z' ⟶ X'} {g' : Z' ⟶ Y'} {inl' : X' ⟶ P'} {inr' : Y' ⟶ P'} (e₁ : Z' ≅ Z) (e₂ : X' ≅ X)
      (e₃ : Y' ≅ Y) (e₄ : P' ≅ P),
      CategoryTheory.CategoryStruct.comp e₁.hom f = CategoryTheory.CategoryStruct.comp f' e₂.hom →
        CategoryTheory.CategoryStruct.comp e₁.hom g = CategoryTheory.CategoryStruct.comp g' e₃.hom →
          CategoryTheory.CategoryStruct.comp e₂.hom inl = CategoryTheory.CategoryStruct.comp inl' e₄.hom →
            CategoryTheory.CategoryStruct.comp e₃.hom inr = CategoryTheory.CategoryStruct.comp inr' e₄.hom →
              CategoryTheory.IsPushout f' g' inl' inr'

Same as IsPushout.of_iso, but using the data and compatibilities involving the inverse isomorphisms instead.

theorem CategoryTheory.IsPushout.isIso_inl_iso_of_epi E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y : C} {inl inr : X ⟶ P} {f : Y ⟶ X},
  CategoryTheory.IsPushout f f inl inr →
    autoParam (CategoryTheory.Epi f) CategoryTheory.IsPushout.isIso_inl_iso_of_epi._auto_1 → CategoryTheory.IsIso inl

theorem CategoryTheory.IsPushout.isIso_inr_iso_of_epi E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P X Y : C} {inl inr : X ⟶ P} {f : Y ⟶ X},
  CategoryTheory.IsPushout f f inl inr →
    autoParam (CategoryTheory.Epi f) CategoryTheory.IsPushout.isIso_inr_iso_of_epi._auto_1 → CategoryTheory.IsIso inr

theorem CategoryTheory.IsPushout.epi_inl_of_epi 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 →
    autoParam (CategoryTheory.Epi g) CategoryTheory.IsPushout.epi_inl_of_epi._auto_1 → CategoryTheory.Epi inl

theorem CategoryTheory.IsPushout.epi_inr_of_epi 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 →
    autoParam (CategoryTheory.Epi f) CategoryTheory.IsPushout.epi_inr_of_epi._auto_1 → CategoryTheory.Epi inr

theorem CategoryTheory.IsPushout.isIso_inl_of_isIso 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 →
    autoParam (CategoryTheory.IsIso g) CategoryTheory.IsPushout.isIso_inl_of_isIso._auto_1 → CategoryTheory.IsIso inl

theorem CategoryTheory.IsPushout.isIso_inr_of_isIso 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 →
    autoParam (CategoryTheory.IsIso f) CategoryTheory.IsPushout.isIso_inr_of_isIso._auto_1 → CategoryTheory.IsIso inr

theorem CategoryTheory.IsPushout.paste_vert E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X₁₁ X₁₂ X₂₁ X₂₂ X₃₁ X₃₂ : C} {h₁₁ : X₁₁ ⟶ X₁₂}
  {h₂₁ : X₂₁ ⟶ X₂₂} {h₃₁ : X₃₁ ⟶ X₃₂} {v₁₁ : X₁₁ ⟶ X₂₁} {v₁₂ : X₁₂ ⟶ X₂₂} {v₂₁ : X₂₁ ⟶ X₃₁} {v₂₂ : X₂₂ ⟶ X₃₂},
  CategoryTheory.IsPushout h₁₁ v₁₁ v₁₂ h₂₁ →
    CategoryTheory.IsPushout h₂₁ v₂₁ v₂₂ h₃₁ →
      CategoryTheory.IsPushout h₁₁ (CategoryTheory.CategoryStruct.comp v₁₁ v₂₁)
        (CategoryTheory.CategoryStruct.comp v₁₂ v₂₂) h₃₁

Paste two pushout squares "vertically" to obtain another pushout square.

The objects in the statement fit into the following diagram:

X₁₁ - h₁₁ -> X₁₂
|            |
v₁₁          v₁₂
↓            ↓
X₂₁ - h₂₁ -> X₂₂
|            |
v₂₁          v₂₂
↓            ↓
X₃₁ - h₃₁ -> X₃₂

theorem CategoryTheory.IsPushout.paste_horiz E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X₁₁ X₁₂ X₁₃ X₂₁ X₂₂ X₂₃ : C} {h₁₁ : X₁₁ ⟶ X₁₂}
  {h₁₂ : X₁₂ ⟶ X₁₃} {h₂₁ : X₂₁ ⟶ X₂₂} {h₂₂ : X₂₂ ⟶ X₂₃} {v₁₁ : X₁₁ ⟶ X₂₁} {v₁₂ : X₁₂ ⟶ X₂₂} {v₁₃ : X₁₃ ⟶ X₂₃},
  CategoryTheory.IsPushout h₁₁ v₁₁ v₁₂ h₂₁ →
    CategoryTheory.IsPushout h₁₂ v₁₂ v₁₃ h₂₂ →
      CategoryTheory.IsPushout (CategoryTheory.CategoryStruct.comp h₁₁ h₁₂) v₁₁ v₁₃
        (CategoryTheory.CategoryStruct.comp h₂₁ h₂₂)

Paste two pushout squares "horizontally" to obtain another pushout square.

The objects in the statement fit into the following diagram:

X₁₁ - h₁₁ -> X₁₂ - h₁₂ -> X₁₃
|            |            |
v₁₁          v₁₂          v₁₃
↓            ↓            ↓
X₂₁ - h₂₁ -> X₂₂ - h₂₂ -> X₂₃

theorem CategoryTheory.IsPushout.of_top E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X₁₁ X₁₂ X₂₁ X₂₂ X₃₁ X₃₂ : C} {h₁₁ : X₁₁ ⟶ X₁₂}
  {h₂₁ : X₂₁ ⟶ X₂₂} {h₃₁ : X₃₁ ⟶ X₃₂} {v₁₁ : X₁₁ ⟶ X₂₁} {v₁₂ : X₁₂ ⟶ X₂₂} {v₂₁ : X₂₁ ⟶ X₃₁} {v₂₂ : X₂₂ ⟶ X₃₂},
  CategoryTheory.IsPushout h₁₁ (CategoryTheory.CategoryStruct.comp v₁₁ v₂₁) (CategoryTheory.CategoryStruct.comp v₁₂ v₂₂)
      h₃₁ →
    CategoryTheory.CategoryStruct.comp h₂₁ v₂₂ = CategoryTheory.CategoryStruct.comp v₂₁ h₃₁ →
      CategoryTheory.IsPushout h₁₁ v₁₁ v₁₂ h₂₁ → CategoryTheory.IsPushout h₂₁ v₂₁ v₂₂ h₃₁

Given a pushout square assembled from a pushout square on the top and a commuting square on the bottom, the bottom square is a pushout square.

The objects in the statement fit into the following diagram:

X₁₁ - h₁₁ -> X₁₂
|            |
v₁₁          v₁₂
↓            ↓
X₂₁ - h₂₁ -> X₂₂
|            |
v₂₁          v₂₂
↓            ↓
X₃₁ - h₃₁ -> X₃₂

theorem CategoryTheory.IsPushout.of_left E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X₁₁ X₁₂ X₁₃ X₂₁ X₂₂ X₂₃ : C} {h₁₁ : X₁₁ ⟶ X₁₂}
  {h₁₂ : X₁₂ ⟶ X₁₃} {h₂₁ : X₂₁ ⟶ X₂₂} {h₂₂ : X₂₂ ⟶ X₂₃} {v₁₁ : X₁₁ ⟶ X₂₁} {v₁₂ : X₁₂ ⟶ X₂₂} {v₁₃ : X₁₃ ⟶ X₂₃},
  CategoryTheory.IsPushout (CategoryTheory.CategoryStruct.comp h₁₁ h₁₂) v₁₁ v₁₃
      (CategoryTheory.CategoryStruct.comp h₂₁ h₂₂) →
    CategoryTheory.CategoryStruct.comp h₁₂ v₁₃ = CategoryTheory.CategoryStruct.comp v₁₂ h₂₂ →
      CategoryTheory.IsPushout h₁₁ v₁₁ v₁₂ h₂₁ → CategoryTheory.IsPushout h₁₂ v₁₂ v₁₃ h₂₂

Given a pushout square assembled from a pushout square on the left and a commuting square on the right, the right square is a pushout square.

The objects in the statement fit into the following diagram:

X₁₁ - h₁₁ -> X₁₂ - h₁₂ -> X₁₃
|            |            |
v₁₁          v₁₂          v₁₃
↓            ↓            ↓
X₂₁ - h₂₁ -> X₂₂ - h₂₂ -> X₂₃

theorem CategoryTheory.IsPushout.paste_vert_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X₁₁ X₁₂ X₂₁ X₂₂ X₃₁ X₃₂ : C} {h₁₁ : X₁₁ ⟶ X₁₂}
  {h₂₁ : X₂₁ ⟶ X₂₂} {h₃₁ : X₃₁ ⟶ X₃₂} {v₁₁ : X₁₁ ⟶ X₂₁} {v₁₂ : X₁₂ ⟶ X₂₂} {v₂₁ : X₂₁ ⟶ X₃₁} {v₂₂ : X₂₂ ⟶ X₃₂},
  CategoryTheory.IsPushout h₁₁ v₁₁ v₁₂ h₂₁ →
    CategoryTheory.CategoryStruct.comp h₂₁ v₂₂ = CategoryTheory.CategoryStruct.comp v₂₁ h₃₁ →
      (CategoryTheory.IsPushout h₁₁ (CategoryTheory.CategoryStruct.comp v₁₁ v₂₁)
          (CategoryTheory.CategoryStruct.comp v₁₂ v₂₂) h₃₁ ↔
        CategoryTheory.IsPushout h₂₁ v₂₁ v₂₂ h₃₁)

theorem CategoryTheory.IsPushout.paste_horiz_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X₁₁ X₁₂ X₁₃ X₂₁ X₂₂ X₂₃ : C} {h₁₁ : X₁₁ ⟶ X₁₂}
  {h₁₂ : X₁₂ ⟶ X₁₃} {h₂₁ : X₂₁ ⟶ X₂₂} {h₂₂ : X₂₂ ⟶ X₂₃} {v₁₁ : X₁₁ ⟶ X₂₁} {v₁₂ : X₁₂ ⟶ X₂₂} {v₁₃ : X₁₃ ⟶ X₂₃},
  CategoryTheory.IsPushout h₁₁ v₁₁ v₁₂ h₂₁ →
    CategoryTheory.CategoryStruct.comp h₁₂ v₁₃ = CategoryTheory.CategoryStruct.comp v₁₂ h₂₂ →
      (CategoryTheory.IsPushout (CategoryTheory.CategoryStruct.comp h₁₁ h₁₂) v₁₁ v₁₃
          (CategoryTheory.CategoryStruct.comp h₂₁ h₂₂) ↔
        CategoryTheory.IsPushout h₁₂ v₁₂ v₁₃ h₂₂)

theorem CategoryTheory.IsPushout.of_top' E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X₁₁ X₁₂ X₂₁ X₂₂ X₃₁ X₃₂ : C} {h₁₁ : X₁₁ ⟶ X₁₂}
  {h₂₁ : X₂₁ ⟶ X₂₂} {h₃₁ : X₃₁ ⟶ X₃₂} {v₁₁ : X₁₁ ⟶ X₂₁} {v₁₂ : X₁₂ ⟶ X₂₂} {v₁₃ : X₁₂ ⟶ X₃₂} {v₂₁ : X₂₁ ⟶ X₃₁}
  (s : CategoryTheory.IsPushout h₁₁ (CategoryTheory.CategoryStruct.comp v₁₁ v₂₁) v₁₃ h₃₁)
  (t : CategoryTheory.IsPushout h₁₁ v₁₁ v₁₂ h₂₁),
  CategoryTheory.IsPushout h₂₁ v₂₁ (t.desc v₁₃ (CategoryTheory.CategoryStruct.comp v₂₁ h₃₁) ⋯) h₃₁

Variant of IsPushout.of_top where v₂₂ is induced from a morphism v₁₃ : X₁₂ ⟶ X₃₂, and the universal property of the top square.

The objects in the statement fit into the following diagram:

X₁₁ - h₁₁ -> X₁₂
|            |
v₁₁          v₁₂
↓            ↓
X₂₁ - h₂₁ -> X₂₂
|            |
v₂₁          v₂₂
↓            ↓
X₃₁ - h₃₁ -> X₃₂

theorem CategoryTheory.IsPushout.of_left' E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X₁₁ X₁₂ X₁₃ X₂₁ X₂₂ X₂₃ : C} {h₁₁ : X₁₁ ⟶ X₁₂}
  {h₁₂ : X₁₂ ⟶ X₁₃} {h₂₁ : X₂₁ ⟶ X₂₂} {h₂₃ : X₂₁ ⟶ X₂₃} {v₁₁ : X₁₁ ⟶ X₂₁} {v₁₂ : X₁₂ ⟶ X₂₂} {v₁₃ : X₁₃ ⟶ X₂₃}
  (s : CategoryTheory.IsPushout (CategoryTheory.CategoryStruct.comp h₁₁ h₁₂) v₁₁ v₁₃ h₂₃)
  (t : CategoryTheory.IsPushout h₁₁ v₁₁ v₁₂ h₂₁),
  CategoryTheory.IsPushout h₁₂ v₁₂ v₁₃ (t.desc (CategoryTheory.CategoryStruct.comp h₁₂ v₁₃) h₂₃ ⋯)

Variant of IsPushout.of_right where h₂₂ is induced from a morphism h₂₃ : X₂₁ ⟶ X₂₃, and the universal property of the left square.

The objects in the statement fit into the following diagram:

X₁₁ - h₁₁ -> X₁₂ - h₁₂ -> X₁₃
|            |            |
v₁₁          v₁₂          v₁₃
↓            ↓            ↓
X₂₁ - h₂₁ -> X₂₂ - h₂₂ -> X₂₃

theorem CategoryTheory.IsPushout.of_horiz_isIso_epi 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.Epi f] [CategoryTheory.IsIso inr],
  CategoryTheory.CommSq f g inl inr → CategoryTheory.IsPushout f g inl inr

theorem CategoryTheory.IsPushout.of_horiz_isIso 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.IsIso f] [CategoryTheory.IsIso inr],
  CategoryTheory.CommSq f g inl inr → CategoryTheory.IsPushout f g inl inr

theorem CategoryTheory.IsPushout.of_vert_isIso_epi 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.Epi g] [CategoryTheory.IsIso inl],
  CategoryTheory.CommSq f g inl inr → CategoryTheory.IsPushout f g inl inr

theorem CategoryTheory.IsPushout.of_vert_isIso 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.IsIso g] [CategoryTheory.IsIso inl],
  CategoryTheory.CommSq f g inl inr → CategoryTheory.IsPushout f g inl inr

theorem CategoryTheory.IsPushout.of_id_fst E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X : C} {f : Z ⟶ X},
  CategoryTheory.IsPushout (CategoryTheory.CategoryStruct.id Z) f f (CategoryTheory.CategoryStruct.id X)

theorem CategoryTheory.IsPushout.of_id_snd E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X : C} {f : Z ⟶ X},
  CategoryTheory.IsPushout f (CategoryTheory.CategoryStruct.id Z) (CategoryTheory.CategoryStruct.id X) f

theorem CategoryTheory.IsPushout.id_vert E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X : C} (f : X ⟶ Z),
  CategoryTheory.IsPushout f (CategoryTheory.CategoryStruct.id X) (CategoryTheory.CategoryStruct.id Z) f

The following diagram is a pullback

X --f--> Z
|        |
id       id
v        v
X --f--> Z

theorem CategoryTheory.IsPushout.id_horiz E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {Z X : C} (f : X ⟶ Z),
  CategoryTheory.IsPushout (CategoryTheory.CategoryStruct.id X) f f (CategoryTheory.CategoryStruct.id Z)

The following diagram is a pullback

X --id--> X
|         |
f         f
v         v
Z --id--> Z

theorem CategoryTheory.IsPushout.of_coprod_inl_with_id E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {A B : C} (f : A ⟶ B) (X : C)
  [inst_1 : CategoryTheory.Limits.HasBinaryCoproduct A X] [inst_2 : CategoryTheory.Limits.HasBinaryCoproduct B X],
  CategoryTheory.IsPushout CategoryTheory.Limits.coprod.inl f
    (CategoryTheory.Limits.coprod.map f (CategoryTheory.CategoryStruct.id X)) CategoryTheory.Limits.coprod.inl

In a category, given a morphism f : A ⟶ B and an object X, this is the obvious pushout diagram:

A ⟶ A ⨿ X
|     |
v     v
B ⟶ B ⨿ X

theorem CategoryTheory.IsPushout.of_isColimit_binaryCofan_of_isInitial E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} {c : CategoryTheory.Limits.BinaryCofan X Y}
  (hc : CategoryTheory.Limits.IsColimit c) {I : C} (hI : CategoryTheory.Limits.IsInitial I),
  CategoryTheory.IsPushout (hI.to Y) (hI.to X) c.inr c.inl

theorem CategoryTheory.IsPushout.mk' 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.CategoryStruct.comp f inl = CategoryTheory.CategoryStruct.comp g inr →
    (∀ ⦃T : C⦄ ⦃φ φ' : P ⟶ T⦄,
        CategoryTheory.CategoryStruct.comp inl φ = CategoryTheory.CategoryStruct.comp inl φ' →
          CategoryTheory.CategoryStruct.comp inr φ = CategoryTheory.CategoryStruct.comp inr φ' → φ = φ') →
      (∀ ⦃T : C⦄ (a : X ⟶ T) (b : Y ⟶ T),
          CategoryTheory.CategoryStruct.comp f a = CategoryTheory.CategoryStruct.comp g b →
            ∃ l, CategoryTheory.CategoryStruct.comp inl l = a ∧ CategoryTheory.CategoryStruct.comp inr l = b) →
        CategoryTheory.IsPushout f g inl inr

def CategoryTheory.IsPullback.isLimitFork E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y Z : C} →
      {f : X ⟶ Y} →
        {g g' : Y ⟶ Z} →
          (H : CategoryTheory.IsPullback f f g g') → CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fork.ofι f ⋯)

If f : X ⟶ Y, g g' : Y ⟶ Z forms a pullback square, then f is the equalizer of g and g'.

def CategoryTheory.IsPushout.isLimitFork E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y Z : C} →
      {f f' : X ⟶ Y} →
        {g : Y ⟶ Z} →
          (H : CategoryTheory.IsPushout f f' g g) →
            CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofork.ofπ g ⋯)

If f f' : X ⟶ Y, g : Y ⟶ Z forms a pushout square, then g is the coequalizer of f and f'.

theorem CategoryTheory.Functor.map_isPullback E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.cospan h i) F],
  CategoryTheory.IsPullback f g h i → CategoryTheory.IsPullback (F.map f) (F.map g) (F.map h) (F.map i)

theorem CategoryTheory.Functor.map_isPushout E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  [CategoryTheory.Limits.PreservesColimit (CategoryTheory.Limits.span f g) F],
  CategoryTheory.IsPushout f g h i → CategoryTheory.IsPushout (F.map f) (F.map g) (F.map h) (F.map i)

theorem CategoryTheory.IsPullback.map E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.cospan h i) F],
  CategoryTheory.IsPullback f g h i → CategoryTheory.IsPullback (F.map f) (F.map g) (F.map h) (F.map i)

Alias of CategoryTheory.Functor.map_isPullback.

theorem CategoryTheory.IsPushout.map E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  [CategoryTheory.Limits.PreservesColimit (CategoryTheory.Limits.span f g) F],
  CategoryTheory.IsPushout f g h i → CategoryTheory.IsPushout (F.map f) (F.map g) (F.map h) (F.map i)

Alias of CategoryTheory.Functor.map_isPushout.

theorem CategoryTheory.IsPullback.of_map E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  [CategoryTheory.Limits.ReflectsLimit (CategoryTheory.Limits.cospan h i) F],
  CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g i →
    CategoryTheory.IsPullback (F.map f) (F.map g) (F.map h) (F.map i) → CategoryTheory.IsPullback f g h i

theorem CategoryTheory.IsPullback.of_map_of_faithful E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  [CategoryTheory.Limits.ReflectsLimit (CategoryTheory.Limits.cospan h i) F] [F.Faithful],
  CategoryTheory.IsPullback (F.map f) (F.map g) (F.map h) (F.map i) → CategoryTheory.IsPullback f g h i

theorem CategoryTheory.IsPullback.map_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z}
  {i : Y ⟶ Z} {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D] (F : CategoryTheory.Functor C D)
  [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.cospan h i) F]
  [CategoryTheory.Limits.ReflectsLimit (CategoryTheory.Limits.cospan h i) F],
  CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g i →
    (CategoryTheory.IsPullback (F.map f) (F.map g) (F.map h) (F.map i) ↔ CategoryTheory.IsPullback f g h i)

theorem CategoryTheory.IsPushout.of_map E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  [CategoryTheory.Limits.ReflectsColimit (CategoryTheory.Limits.span f g) F],
  CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g i →
    CategoryTheory.IsPushout (F.map f) (F.map g) (F.map h) (F.map i) → CategoryTheory.IsPushout f g h i

theorem CategoryTheory.IsPushout.of_map_of_faithful E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  [CategoryTheory.Limits.ReflectsColimit (CategoryTheory.Limits.span f g) F] [F.Faithful],
  CategoryTheory.IsPushout (F.map f) (F.map g) (F.map h) (F.map i) → CategoryTheory.IsPushout f g h i

theorem CategoryTheory.IsPushout.map_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z}
  {i : Y ⟶ Z} {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D] (F : CategoryTheory.Functor C D)
  [CategoryTheory.Limits.PreservesColimit (CategoryTheory.Limits.span f g) F]
  [CategoryTheory.Limits.ReflectsColimit (CategoryTheory.Limits.span f g) F],
  CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g i →
    (CategoryTheory.IsPushout (F.map f) (F.map g) (F.map h) (F.map i) ↔ CategoryTheory.IsPushout f g h i)

theorem CategoryTheory.IsPullback.preservesLimit_cospan_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {F : CategoryTheory.Functor C D} {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.PreservesLimit (CategoryTheory.Limits.cospan f g) F ↔
      CategoryTheory.IsPullback (F.map fst) (F.map snd) (F.map f) (F.map g))

theorem CategoryTheory.IsPushout.preservesColimit_span_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {F : CategoryTheory.Functor C D} {P X Y Z : C} {inl : X ⟶ P} {inr : Y ⟶ P} {f : Z ⟶ X} {g : Z ⟶ Y},
  CategoryTheory.IsPushout f g inl inr →
    (CategoryTheory.Limits.PreservesColimit (CategoryTheory.Limits.span f g) F ↔
      CategoryTheory.IsPushout (F.map f) (F.map g) (F.map inl) (F.map inr))

theorem CategoryTheory.Limits.preservesLimitsOfShape_walkingCospan_of_forall_isPullback E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {F : CategoryTheory.Functor C D},
  (∀ ⦃X Y Z : C⦄ (f : X ⟶ Z) (g : Y ⟶ Z) [CategoryTheory.Limits.HasPullback f g],
      ∃ P fst snd,
        CategoryTheory.IsPullback fst snd f g ∧ CategoryTheory.IsPullback (F.map fst) (F.map snd) (F.map f) (F.map g)) →
    CategoryTheory.Limits.PreservesLimitsOfShape CategoryTheory.Limits.WalkingCospan F

theorem CategoryTheory.Limits.preservesColimitsOfShape_walkingCospan_of_forall_isPushout E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {F : CategoryTheory.Functor C D},
  (∀ ⦃X Y Z : C⦄ (f : Z ⟶ X) (g : Z ⟶ Y) [CategoryTheory.Limits.HasPushout f g],
      ∃ P inl inr,
        CategoryTheory.IsPushout f g inl inr ∧ CategoryTheory.IsPushout (F.map f) (F.map g) (F.map inl) (F.map inr)) →
    CategoryTheory.Limits.PreservesColimitsOfShape CategoryTheory.Limits.WalkingSpan F

theorem CategoryTheory.IsPullback.app E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [CategoryTheory.Limits.HasPullbacks D] {F₁ F₂ F₃ F₄ : CategoryTheory.Functor C D} {f₁ : F₁ ⟶ F₂} {f₂ : F₁ ⟶ F₃}
  {f₃ : F₂ ⟶ F₄} {f₄ : F₃ ⟶ F₄},
  CategoryTheory.IsPullback f₁ f₂ f₃ f₄ →
    ∀ (X : C), CategoryTheory.IsPullback (f₁.app X) (f₂.app X) (f₃.app X) (f₄.app X)

theorem CategoryTheory.IsPullback.of_forall_isPullback_app E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {F₁ F₂ F₃ F₄ : CategoryTheory.Functor C D} {f₁ : F₁ ⟶ F₂} {f₂ : F₁ ⟶ F₃} {f₃ : F₂ ⟶ F₄} {f₄ : F₃ ⟶ F₄},
  (∀ (X : C), CategoryTheory.IsPullback (f₁.app X) (f₂.app X) (f₃.app X) (f₄.app X)) →
    CategoryTheory.IsPullback f₁ f₂ f₃ f₄

theorem CategoryTheory.IsPullback.iff_app E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [CategoryTheory.Limits.HasPullbacks D] {F₁ F₂ F₃ F₄ : CategoryTheory.Functor C D} {f₁ : F₁ ⟶ F₂} {f₂ : F₁ ⟶ F₃}
  {f₃ : F₂ ⟶ F₄} {f₄ : F₃ ⟶ F₄},
  CategoryTheory.IsPullback f₁ f₂ f₃ f₄ ↔
    ∀ (X : C), CategoryTheory.IsPullback (f₁.app X) (f₂.app X) (f₃.app X) (f₄.app X)

theorem CategoryTheory.IsPushout.app E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [CategoryTheory.Limits.HasPushouts D] {F₁ F₂ F₃ F₄ : CategoryTheory.Functor C D} {f₁ : F₁ ⟶ F₂} {f₂ : F₁ ⟶ F₃}
  {f₃ : F₂ ⟶ F₄} {f₄ : F₃ ⟶ F₄},
  CategoryTheory.IsPushout f₁ f₂ f₃ f₄ → ∀ (X : C), CategoryTheory.IsPushout (f₁.app X) (f₂.app X) (f₃.app X) (f₄.app X)

theorem CategoryTheory.IsPushout.of_forall_isPushout_app E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {F₁ F₂ F₃ F₄ : CategoryTheory.Functor C D} {f₁ : F₁ ⟶ F₂} {f₂ : F₁ ⟶ F₃} {f₃ : F₂ ⟶ F₄} {f₄ : F₃ ⟶ F₄},
  (∀ (X : C), CategoryTheory.IsPushout (f₁.app X) (f₂.app X) (f₃.app X) (f₄.app X)) →
    CategoryTheory.IsPushout f₁ f₂ f₃ f₄

theorem CategoryTheory.IsPushout.iff_app E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [CategoryTheory.Limits.HasPushouts D] {F₁ F₂ F₃ F₄ : CategoryTheory.Functor C D} {f₁ : F₁ ⟶ F₂} {f₂ : F₁ ⟶ F₃}
  {f₃ : F₂ ⟶ F₄} {f₄ : F₃ ⟶ F₄},
  CategoryTheory.IsPushout f₁ f₂ f₃ f₄ ↔ ∀ (X : C), CategoryTheory.IsPushout (f₁.app X) (f₂.app X) (f₃.app X) (f₄.app X)

def CategoryTheory.IsPushout.isColimitOfIsColimitOfIsPushout E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {J : Type u_1} →
      [inst_1 : CategoryTheory.Category.{v_1, u_1} J] →
        {F₁ F₂ F₃ F₄ : CategoryTheory.Functor J C} →
          [CategoryTheory.Limits.HasPushouts C] →
            {t : F₁ ⟶ F₂} →
              {l : F₁ ⟶ F₃} →
                {r : F₂ ⟶ F₄} →
                  {b : F₃ ⟶ F₄} →
                    CategoryTheory.IsPushout t l r b →
                      (c₁ : CategoryTheory.Limits.Cocone F₁) →
                        (c₂ : CategoryTheory.Limits.Cocone F₂) →
                          (c₃ : CategoryTheory.Limits.Cocone F₃) →
                            (c₄ : CategoryTheory.Limits.Cocone F₄) →
                              CategoryTheory.Limits.IsColimit c₁ →
                                CategoryTheory.Limits.IsColimit c₂ →
                                  CategoryTheory.Limits.IsColimit c₃ →
                                    {t' : c₁.pt ⟶ c₂.pt} →
                                      {l' : c₁.pt ⟶ c₃.pt} →
                                        {r' : c₂.pt ⟶ c₄.pt} →
                                          {b' : c₃.pt ⟶ c₄.pt} →
                                            CategoryTheory.IsPushout t' l' r' b' →
                                              autoParam
                                                  (∀ (j : J),
                                                    CategoryTheory.CategoryStruct.comp (c₁.ι.app j) t' =
                                                      CategoryTheory.CategoryStruct.comp (t.app j) (c₂.ι.app j))
                                                  CategoryTheory.IsPushout.isColimitOfIsColimitOfIsPushout._auto_1 →
                                                autoParam
                                                    (∀ (j : J),
                                                      CategoryTheory.CategoryStruct.comp (c₁.ι.app j) l' =
                                                        CategoryTheory.CategoryStruct.comp (l.app j) (c₃.ι.app j))
                                                    CategoryTheory.IsPushout.isColimitOfIsColimitOfIsPushout._auto_3 →
                                                  autoParam
                                                      (∀ (j : J),
                                                        CategoryTheory.CategoryStruct.comp (c₂.ι.app j) r' =
                                                          CategoryTheory.CategoryStruct.comp (r.app j) (c₄.ι.app j))
                                                      CategoryTheory.IsPushout.isColimitOfIsColimitOfIsPushout._auto_5 →
                                                    autoParam
                                                        (∀ (j : J),
                                                          CategoryTheory.CategoryStruct.comp (c₃.ι.app j) b' =
                                                            CategoryTheory.CategoryStruct.comp (b.app j) (c₄.ι.app j))
                                                        CategoryTheory.IsPushout.isColimitOfIsColimitOfIsPushout._auto_7 →
                                                      CategoryTheory.Limits.IsColimit c₄

Consider a pushout square in a category of functors J ⥤ C, where C has pushouts:

   t
F₁ → F₂
l|    |r
 v    v
F₃ → F₄
   b

Assume that we have cocones c₁, c₂, c₃, and c₄ for these functors, and that c₁, c₂, c₃ are colimit. If the induced square involving the points c₁.pt, c₂.pt, c₃.pt and c₄.pt is a pushout square, then c₄ is a colimit cocone. (In other words, pushouts commute with colimits.)

theorem CategoryTheory.isPullback_iff_isLimit_binaryFan_of_isThin E1 #

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

theorem CategoryTheory.isPushout_iff_isColimit_binaryCofan_of_isThin E1 #

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

instance CategoryTheory.instPreservesLimitsOfShapeWalkingCospanOfDiscreteWalkingPair E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [Quiver.IsThin C] {D : Type u_1}
  [inst_2 : CategoryTheory.Category.{v_1, u_1} D] [Quiver.IsThin D] (F : CategoryTheory.Functor C D)
  [CategoryTheory.Limits.PreservesLimitsOfShape (CategoryTheory.Discrete CategoryTheory.Limits.WalkingPair) F],
  CategoryTheory.Limits.PreservesLimitsOfShape CategoryTheory.Limits.WalkingCospan F

instance CategoryTheory.instPreservesColimitsOfShapeWalkingSpanOfDiscreteWalkingPair E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [Quiver.IsThin C] {D : Type u_1}
  [inst_2 : CategoryTheory.Category.{v_1, u_1} D] [Quiver.IsThin D] (F : CategoryTheory.Functor C D)
  [CategoryTheory.Limits.PreservesColimitsOfShape (CategoryTheory.Discrete CategoryTheory.Limits.WalkingPair) F],
  CategoryTheory.Limits.PreservesColimitsOfShape CategoryTheory.Limits.WalkingSpan F

def CategoryTheory.IsPullback.isoOverPullback E1 #

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

An IsPullback square yields an isomorphism Over.mk fst ≅ Over.mk (pullback.fst f g) in Over X.

theorem CategoryTheory.IsPullback.isoOverPullback_hom_left_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.HasPullbacksAlong g] {P : C} {fst : P ⟶ X} {snd : P ⟶ Y}
  (h : CategoryTheory.IsPullback fst snd f g) {Z_1 : C} (h_1 : Y ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left h.isoOverPullback.hom)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd f g) h_1) =
    CategoryTheory.CategoryStruct.comp snd h_1

theorem CategoryTheory.IsPullback.isoOverPullback_hom_left_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.HasPullbacksAlong g] {P : C} {fst : P ⟶ X} {snd : P ⟶ Y}
  (h : CategoryTheory.IsPullback fst snd f g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left h.isoOverPullback.hom)
      (CategoryTheory.Limits.pullback.snd f g) =
    snd

theorem CategoryTheory.IsPullback.of_over_iso E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  [inst_1 : CategoryTheory.Limits.HasPullbacksAlong g] {P : C} {p : P ⟶ X}
  (e : CategoryTheory.Over.mk p ≅ CategoryTheory.Over.mk (CategoryTheory.Limits.pullback.fst f g)),
  CategoryTheory.IsPullback p
    (CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left e.hom) (CategoryTheory.Limits.pullback.snd f g)) f
    g

An isomorphism Over.mk p ≅ Over.mk (pullback.fst f g) in Over X yields an IsPullback square.

theorem CategoryTheory.IsPullback.iff_exists_over_iso E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z}
  [inst_1 : CategoryTheory.Limits.HasPullbacksAlong g] {P : C} {p : P ⟶ X} {q : P ⟶ Y},
  CategoryTheory.IsPullback p q f g ↔
    ∃ e,
      q =
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left e.hom) (CategoryTheory.Limits.pullback.snd f g)

An IsPullback square over a cospan (f, g) is equivalent to an isomorphism Over.mk fst ≅ Over.mk (pullback.fst f g) in Over X, together with the second projection being determined by the isomorphism.

instance CategoryTheory.Limits.instHasPullbackCompOfIsIso E0 #

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

theorem CategoryTheory.Limits.HasPullback.comp_left_left_iff_of_isIso E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z} {X' : C} (i : X' ⟶ X)
  [CategoryTheory.IsIso i],
  CategoryTheory.Limits.HasPullback (CategoryTheory.CategoryStruct.comp i f) g ↔ CategoryTheory.Limits.HasPullback f g

instance CategoryTheory.Limits.instHasPullbackCompInv E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y Z Z' : C} {f : X ⟶ Z} {g : Y ⟶ Z'} (i : Z ⟶ Z')
  [inst_1 : CategoryTheory.IsIso i] [CategoryTheory.Limits.HasPullback (CategoryTheory.CategoryStruct.comp f i) g],
  CategoryTheory.Limits.HasPullback f (CategoryTheory.CategoryStruct.comp g (CategoryTheory.inv i))

theorem CategoryTheory.Limits.HasPullback.comp_left_right_iff_of_isIso E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y Z Z' : C} {f : X ⟶ Z} {g : Y ⟶ Z'} (i : Z ⟶ Z')
  [inst_1 : CategoryTheory.IsIso i],
  CategoryTheory.Limits.HasPullback (CategoryTheory.CategoryStruct.comp f i) g ↔
    CategoryTheory.Limits.HasPullback f (CategoryTheory.CategoryStruct.comp g (CategoryTheory.inv i))

instance CategoryTheory.Limits.instHasPushoutCompOfIsIso E0 #

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

theorem CategoryTheory.Limits.HasPushout.comp_left_left_iff_of_isIso E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y} {X' : C} (i : X ⟶ X')
  [CategoryTheory.IsIso i],
  CategoryTheory.Limits.HasPushout (CategoryTheory.CategoryStruct.comp f i) g ↔ CategoryTheory.Limits.HasPushout f g

instance CategoryTheory.Limits.instHasPushoutCompInv E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y Z Z' : C} {f : Z ⟶ X} {g : Z' ⟶ Y} (i : Z' ⟶ Z)
  [inst_1 : CategoryTheory.IsIso i] [CategoryTheory.Limits.HasPushout (CategoryTheory.CategoryStruct.comp i f) g],
  CategoryTheory.Limits.HasPushout f (CategoryTheory.CategoryStruct.comp (CategoryTheory.inv i) g)

theorem CategoryTheory.Limits.HasPushout.comp_left_right_iff_of_isIso E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y Z Z' : C} {f : Z ⟶ X} {g : Z' ⟶ Y} (i : Z' ⟶ Z)
  [inst_1 : CategoryTheory.IsIso i],
  CategoryTheory.Limits.HasPushout (CategoryTheory.CategoryStruct.comp i f) g ↔
    CategoryTheory.Limits.HasPushout f (CategoryTheory.CategoryStruct.comp (CategoryTheory.inv i) g)