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

130 declarations. Mathlib docs · Source

theorem CategoryTheory.commonSection.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} (f f_1 : A ⟶ B) (e_f : f = f_1) (g g_1 : A ⟶ B)
  (e_g : g = g_1) [inst_1 : CategoryTheory.IsReflexivePair f g],
  CategoryTheory.commonSection f g = CategoryTheory.commonSection f_1 g_1

theorem CategoryTheory.commonRetraction.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} (f f_1 : A ⟶ B) (e_f : f = f_1) (g g_1 : A ⟶ B)
  (e_g : g = g_1) [inst_1 : CategoryTheory.IsCoreflexivePair f g],
  CategoryTheory.commonRetraction f g = CategoryTheory.commonRetraction f_1 g_1

def CategoryTheory.Limits.WalkingReflexivePair.ctorIdx E1 #

CategoryTheory.Limits.WalkingReflexivePair → ℕ

abbrev CategoryTheory.Limits.WalkingReflexivePair.ctorElimType E1 #

{motive : CategoryTheory.Limits.WalkingReflexivePair → Sort u} → ℕ → Sort (max 1 u)

def CategoryTheory.Limits.instInhabitedWalkingReflexivePair.default E1 #

CategoryTheory.Limits.WalkingReflexivePair

theorem CategoryTheory.Limits.WalkingReflexivePair.ofNat_ctorIdx E1 #

∀ (x : CategoryTheory.Limits.WalkingReflexivePair), CategoryTheory.Limits.WalkingReflexivePair.ofNat x.ctorIdx = x

def CategoryTheory.Limits.WalkingReflexivePair.Hom.ctorIdx E1 #

{a a_1 : CategoryTheory.Limits.WalkingReflexivePair} → a.Hom a_1 → ℕ

abbrev CategoryTheory.Limits.WalkingReflexivePair.ofNat E1 #

ℕ → CategoryTheory.Limits.WalkingReflexivePair

abbrev CategoryTheory.Limits.WalkingReflexivePair.Hom.ctorElimType E1 #

{motive : (a a_1 : CategoryTheory.Limits.WalkingReflexivePair) → a.Hom a_1 → Sort u} → ℕ → Sort (max 1 u)

theorem CategoryTheory.Limits.reflexivePair.mkNatTrans.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F G : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C}
  (e₀ e₀_1 :
    F.obj CategoryTheory.Limits.WalkingReflexivePair.zero ⟶ G.obj CategoryTheory.Limits.WalkingReflexivePair.zero)
  (e_e₀ : e₀ = e₀_1)
  (e₁ e₁_1 :
    F.obj CategoryTheory.Limits.WalkingReflexivePair.one ⟶ G.obj CategoryTheory.Limits.WalkingReflexivePair.one)
  (e_e₁ : e₁ = e₁_1)
  (h₁ :
    CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left) e₀ =
      CategoryTheory.CategoryStruct.comp e₁ (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left))
  (h₂ :
    CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right) e₀ =
      CategoryTheory.CategoryStruct.comp e₁ (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right))
  (h₃ :
    CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion) e₁ =
      CategoryTheory.CategoryStruct.comp e₀ (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion)),
  CategoryTheory.Limits.reflexivePair.mkNatTrans e₀ e₁ h₁ h₂ h₃ =
    CategoryTheory.Limits.reflexivePair.mkNatTrans e₀_1 e₁_1 ⋯ ⋯ ⋯

class CategoryTheory.IsReflexivePair E1 #

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

The pair f g : A ⟶ B is reflexive if there is a morphism B ⟶ A which is a section for both.

ctor CategoryTheory.IsReflexivePair.mk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} {f g : A ⟶ B},
  (∃ s,
      CategoryTheory.CategoryStruct.comp s f = CategoryTheory.CategoryStruct.id B ∧
        CategoryTheory.CategoryStruct.comp s g = CategoryTheory.CategoryStruct.id B) →
    CategoryTheory.IsReflexivePair f g

theorem CategoryTheory.IsReflexivePair.common_section' E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {A B : C} {f g : A ⟶ B}
  [self : CategoryTheory.IsReflexivePair f g],
  ∃ s,
    CategoryTheory.CategoryStruct.comp s f = CategoryTheory.CategoryStruct.id B ∧
      CategoryTheory.CategoryStruct.comp s g = CategoryTheory.CategoryStruct.id B

theorem CategoryTheory.IsReflexivePair.common_section E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} (f g : A ⟶ B) [CategoryTheory.IsReflexivePair f g],
  ∃ s,
    CategoryTheory.CategoryStruct.comp s f = CategoryTheory.CategoryStruct.id B ∧
      CategoryTheory.CategoryStruct.comp s g = CategoryTheory.CategoryStruct.id B

class CategoryTheory.IsCoreflexivePair E1 #

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

The pair f g : A ⟶ B is coreflexive if there is a morphism B ⟶ A which is a retraction for both.

ctor CategoryTheory.IsCoreflexivePair.mk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} {f g : A ⟶ B},
  (∃ s,
      CategoryTheory.CategoryStruct.comp f s = CategoryTheory.CategoryStruct.id A ∧
        CategoryTheory.CategoryStruct.comp g s = CategoryTheory.CategoryStruct.id A) →
    CategoryTheory.IsCoreflexivePair f g

theorem CategoryTheory.IsCoreflexivePair.common_retraction' E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {A B : C} {f g : A ⟶ B}
  [self : CategoryTheory.IsCoreflexivePair f g],
  ∃ s,
    CategoryTheory.CategoryStruct.comp f s = CategoryTheory.CategoryStruct.id A ∧
      CategoryTheory.CategoryStruct.comp g s = CategoryTheory.CategoryStruct.id A

theorem CategoryTheory.IsCoreflexivePair.common_retraction E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} (f g : A ⟶ B) [CategoryTheory.IsCoreflexivePair f g],
  ∃ s,
    CategoryTheory.CategoryStruct.comp f s = CategoryTheory.CategoryStruct.id A ∧
      CategoryTheory.CategoryStruct.comp g s = CategoryTheory.CategoryStruct.id A

theorem CategoryTheory.IsReflexivePair.mk' E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} {f g : A ⟶ B} (s : B ⟶ A),
  CategoryTheory.CategoryStruct.comp s f = CategoryTheory.CategoryStruct.id B →
    CategoryTheory.CategoryStruct.comp s g = CategoryTheory.CategoryStruct.id B → CategoryTheory.IsReflexivePair f g

theorem CategoryTheory.IsCoreflexivePair.mk' E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} {f g : A ⟶ B} (s : B ⟶ A),
  CategoryTheory.CategoryStruct.comp f s = CategoryTheory.CategoryStruct.id A →
    CategoryTheory.CategoryStruct.comp g s = CategoryTheory.CategoryStruct.id A → CategoryTheory.IsCoreflexivePair f g

def CategoryTheory.commonSection E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] → {A B : C} → (f g : A ⟶ B) → [CategoryTheory.IsReflexivePair f g] → B ⟶ A

Get the common section for a reflexive pair.

theorem CategoryTheory.section_comp_left_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} (f g : A ⟶ B)
  [inst_1 : CategoryTheory.IsReflexivePair f g] {Z : C} (h : B ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.commonSection f g) (CategoryTheory.CategoryStruct.comp f h) = h

theorem CategoryTheory.section_comp_left E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} (f g : A ⟶ B)
  [inst_1 : CategoryTheory.IsReflexivePair f g],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.commonSection f g) f = CategoryTheory.CategoryStruct.id B

theorem CategoryTheory.section_comp_right E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} (f g : A ⟶ B)
  [inst_1 : CategoryTheory.IsReflexivePair f g],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.commonSection f g) g = CategoryTheory.CategoryStruct.id B

theorem CategoryTheory.section_comp_right_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} (f g : A ⟶ B)
  [inst_1 : CategoryTheory.IsReflexivePair f g] {Z : C} (h : B ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.commonSection f g) (CategoryTheory.CategoryStruct.comp g h) = h

def CategoryTheory.commonRetraction E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] → {A B : C} → (f g : A ⟶ B) → [CategoryTheory.IsCoreflexivePair f g] → B ⟶ A

Get the common retraction for a coreflexive pair.

theorem CategoryTheory.left_comp_retraction E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} (f g : A ⟶ B)
  [inst_1 : CategoryTheory.IsCoreflexivePair f g],
  CategoryTheory.CategoryStruct.comp f (CategoryTheory.commonRetraction f g) = CategoryTheory.CategoryStruct.id A

theorem CategoryTheory.left_comp_retraction_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} (f g : A ⟶ B)
  [inst_1 : CategoryTheory.IsCoreflexivePair f g] {Z : C} (h : A ⟶ Z),
  CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp (CategoryTheory.commonRetraction f g) h) = h

theorem CategoryTheory.right_comp_retraction E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} (f g : A ⟶ B)
  [inst_1 : CategoryTheory.IsCoreflexivePair f g],
  CategoryTheory.CategoryStruct.comp g (CategoryTheory.commonRetraction f g) = CategoryTheory.CategoryStruct.id A

theorem CategoryTheory.right_comp_retraction_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} (f g : A ⟶ B)
  [inst_1 : CategoryTheory.IsCoreflexivePair f g] {Z : C} (h : A ⟶ Z),
  CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.comp (CategoryTheory.commonRetraction f g) h) = h

theorem CategoryTheory.IsKernelPair.isReflexivePair E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B R : C} {f g : R ⟶ A} {q : A ⟶ B},
  CategoryTheory.IsKernelPair q f g → CategoryTheory.IsReflexivePair f g

If f,g is a kernel pair for some morphism q, then it is reflexive.

theorem CategoryTheory.IsReflexivePair.swap E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} {f g : A ⟶ B} [CategoryTheory.IsReflexivePair f g],
  CategoryTheory.IsReflexivePair g f

If f,g is reflexive, then g,f is reflexive.

theorem CategoryTheory.IsCoreflexivePair.swap E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} {f g : A ⟶ B} [CategoryTheory.IsCoreflexivePair f g],
  CategoryTheory.IsCoreflexivePair g f

If f,g is coreflexive, then g,f is coreflexive.

instance CategoryTheory.instIsReflexivePairMapAppCounitObj 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} {G : CategoryTheory.Functor D C} (adj : F ⊣ G) (B : D),
  CategoryTheory.IsReflexivePair (F.map (G.map (adj.counit.app B))) (adj.counit.app (F.obj (G.obj B)))

For an adjunction F ⊣ G with counit ε, the pair (FGε_B, ε_FGB) is reflexive.

class CategoryTheory.Limits.HasReflexiveCoequalizers E1 #

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

C has reflexive coequalizers if it has coequalizers for every reflexive pair.

ctor CategoryTheory.Limits.HasReflexiveCoequalizers.mk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C],
  (∀ ⦃A B : C⦄ (f g : A ⟶ B) [CategoryTheory.IsReflexivePair f g], CategoryTheory.Limits.HasCoequalizer f g) →
    CategoryTheory.Limits.HasReflexiveCoequalizers C

instance CategoryTheory.Limits.HasReflexiveCoequalizers.has_coeq E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : CategoryTheory.Limits.HasReflexiveCoequalizers C]
  ⦃A B : C⦄ (f g : A ⟶ B) [CategoryTheory.IsReflexivePair f g], CategoryTheory.Limits.HasCoequalizer f g

class CategoryTheory.Limits.HasCoreflexiveEqualizers E1 #

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

C has coreflexive equalizers if it has equalizers for every coreflexive pair.

ctor CategoryTheory.Limits.HasCoreflexiveEqualizers.mk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C],
  (∀ ⦃A B : C⦄ (f g : A ⟶ B) [CategoryTheory.IsCoreflexivePair f g], CategoryTheory.Limits.HasEqualizer f g) →
    CategoryTheory.Limits.HasCoreflexiveEqualizers C

instance CategoryTheory.Limits.HasCoreflexiveEqualizers.has_eq E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : CategoryTheory.Limits.HasCoreflexiveEqualizers C]
  ⦃A B : C⦄ (f g : A ⟶ B) [CategoryTheory.IsCoreflexivePair f g], CategoryTheory.Limits.HasEqualizer f g

theorem CategoryTheory.Limits.hasCoequalizer_of_common_section E1 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasReflexiveCoequalizers C] {A B : C}
  {f g : A ⟶ B} (r : B ⟶ A),
  CategoryTheory.CategoryStruct.comp r f = CategoryTheory.CategoryStruct.id B →
    CategoryTheory.CategoryStruct.comp r g = CategoryTheory.CategoryStruct.id B →
      CategoryTheory.Limits.HasCoequalizer f g

theorem CategoryTheory.Limits.hasEqualizer_of_common_retraction E1 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasCoreflexiveEqualizers C] {A B : C}
  {f g : A ⟶ B} (r : B ⟶ A),
  CategoryTheory.CategoryStruct.comp f r = CategoryTheory.CategoryStruct.id A →
    CategoryTheory.CategoryStruct.comp g r = CategoryTheory.CategoryStruct.id A → CategoryTheory.Limits.HasEqualizer f g

instance CategoryTheory.Limits.hasReflexiveCoequalizers_of_hasCoequalizers E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasCoequalizers C],
  CategoryTheory.Limits.HasReflexiveCoequalizers C

If C has coequalizers, then it has reflexive coequalizers.

instance CategoryTheory.Limits.hasCoreflexiveEqualizers_of_hasEqualizers E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasEqualizers C],
  CategoryTheory.Limits.HasCoreflexiveEqualizers C

If C has equalizers, then it has coreflexive equalizers.

inductive CategoryTheory.Limits.WalkingReflexivePair E1 #

Type

The type of objects for the diagram indexing reflexive (co)equalizers

ctor CategoryTheory.Limits.WalkingReflexivePair.zero E0 #

CategoryTheory.Limits.WalkingReflexivePair

ctor CategoryTheory.Limits.WalkingReflexivePair.one E0 #

CategoryTheory.Limits.WalkingReflexivePair

instance CategoryTheory.Limits.instDecidableEqWalkingReflexivePair E0 #

DecidableEq CategoryTheory.Limits.WalkingReflexivePair

instance CategoryTheory.Limits.instInhabitedWalkingReflexivePair E0 #

Inhabited CategoryTheory.Limits.WalkingReflexivePair

inductive CategoryTheory.Limits.WalkingReflexivePair.Hom E1 #

CategoryTheory.Limits.WalkingReflexivePair → CategoryTheory.Limits.WalkingReflexivePair → Type

The type of morphisms for the diagram indexing reflexive (co)equalizers

ctor CategoryTheory.Limits.WalkingReflexivePair.Hom.left E0 #

CategoryTheory.Limits.WalkingReflexivePair.one.Hom CategoryTheory.Limits.WalkingReflexivePair.zero

ctor CategoryTheory.Limits.WalkingReflexivePair.Hom.right E0 #

CategoryTheory.Limits.WalkingReflexivePair.one.Hom CategoryTheory.Limits.WalkingReflexivePair.zero

ctor CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion E0 #

CategoryTheory.Limits.WalkingReflexivePair.zero.Hom CategoryTheory.Limits.WalkingReflexivePair.one

ctor CategoryTheory.Limits.WalkingReflexivePair.Hom.leftCompReflexion E0 #

CategoryTheory.Limits.WalkingReflexivePair.one.Hom CategoryTheory.Limits.WalkingReflexivePair.one

ctor CategoryTheory.Limits.WalkingReflexivePair.Hom.rightCompReflexion E0 #

CategoryTheory.Limits.WalkingReflexivePair.one.Hom CategoryTheory.Limits.WalkingReflexivePair.one

ctor CategoryTheory.Limits.WalkingReflexivePair.Hom.id E0 #

(X : CategoryTheory.Limits.WalkingReflexivePair) → X.Hom X

instance CategoryTheory.Limits.WalkingReflexivePair.instDecidableEqHom E0 #

{a a_1 : CategoryTheory.Limits.WalkingReflexivePair} → DecidableEq (a.Hom a_1)

def CategoryTheory.Limits.WalkingReflexivePair.instDecidableEqHom.decEq E1 #

{a a_1 : CategoryTheory.Limits.WalkingReflexivePair} → (x x_1 : a.Hom a_1) → Decidable (x = x_1)

def CategoryTheory.Limits.WalkingReflexivePair.Hom.comp E1 #

{X Y Z : CategoryTheory.Limits.WalkingReflexivePair} → X.Hom Y → Y.Hom Z → X.Hom Z

Composition of morphisms in the diagram indexing reflexive (co)equalizers

instance CategoryTheory.Limits.WalkingReflexivePair.category E0 #

CategoryTheory.SmallCategory CategoryTheory.Limits.WalkingReflexivePair

theorem CategoryTheory.Limits.WalkingReflexivePair.Hom.id_eq E0 #

∀ (X : CategoryTheory.Limits.WalkingReflexivePair),
  CategoryTheory.Limits.WalkingReflexivePair.Hom.id X = CategoryTheory.CategoryStruct.id X

theorem CategoryTheory.Limits.WalkingReflexivePair.reflexion_comp_left E0 #

CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion
    CategoryTheory.Limits.WalkingReflexivePair.Hom.left =
  CategoryTheory.CategoryStruct.id CategoryTheory.Limits.WalkingReflexivePair.zero

theorem CategoryTheory.Limits.WalkingReflexivePair.reflexion_comp_left_assoc E0 #

∀ {Z : CategoryTheory.Limits.WalkingReflexivePair} (h : CategoryTheory.Limits.WalkingReflexivePair.zero ⟶ Z),
  CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion
      (CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.WalkingReflexivePair.Hom.left h) =
    h

theorem CategoryTheory.Limits.WalkingReflexivePair.reflexion_comp_right E0 #

CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion
    CategoryTheory.Limits.WalkingReflexivePair.Hom.right =
  CategoryTheory.CategoryStruct.id CategoryTheory.Limits.WalkingReflexivePair.zero

theorem CategoryTheory.Limits.WalkingReflexivePair.reflexion_comp_right_assoc E0 #

∀ {Z : CategoryTheory.Limits.WalkingReflexivePair} (h : CategoryTheory.Limits.WalkingReflexivePair.zero ⟶ Z),
  CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion
      (CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.WalkingReflexivePair.Hom.right h) =
    h

theorem CategoryTheory.Limits.WalkingReflexivePair.leftCompReflexion_eq E0 #

CategoryTheory.Limits.WalkingReflexivePair.Hom.leftCompReflexion =
  CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.WalkingReflexivePair.Hom.left
    CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion

theorem CategoryTheory.Limits.WalkingReflexivePair.rightCompReflexion_eq E0 #

CategoryTheory.Limits.WalkingReflexivePair.Hom.rightCompReflexion =
  CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.WalkingReflexivePair.Hom.right
    CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion

theorem CategoryTheory.Limits.WalkingReflexivePair.map_reflexion_comp_map_left E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C),
  CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion)
      (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left) =
    CategoryTheory.CategoryStruct.id (F.obj CategoryTheory.Limits.WalkingReflexivePair.zero)

theorem CategoryTheory.Limits.WalkingReflexivePair.map_reflexion_comp_map_left_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C) {Z : C}
  (h : F.obj CategoryTheory.Limits.WalkingReflexivePair.zero ⟶ Z),
  CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion)
      (CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left) h) =
    h

theorem CategoryTheory.Limits.WalkingReflexivePair.map_reflexion_comp_map_right E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C),
  CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion)
      (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right) =
    CategoryTheory.CategoryStruct.id (F.obj CategoryTheory.Limits.WalkingReflexivePair.zero)

theorem CategoryTheory.Limits.WalkingReflexivePair.map_reflexion_comp_map_right_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C) {Z : C}
  (h : F.obj CategoryTheory.Limits.WalkingReflexivePair.zero ⟶ Z),
  CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion)
      (CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right) h) =
    h

def CategoryTheory.Limits.WalkingParallelPair.inclusionWalkingReflexivePair E1 #

CategoryTheory.Functor CategoryTheory.Limits.WalkingParallelPair CategoryTheory.Limits.WalkingReflexivePair

The inclusion functor forgetting the common section

theorem CategoryTheory.Limits.WalkingParallelPair.inclusionWalkingReflexivePair_map E0 #

∀ {X Y : CategoryTheory.Limits.WalkingParallelPair} (f : X ⟶ Y),
  CategoryTheory.Limits.WalkingParallelPair.inclusionWalkingReflexivePair.map f =
    match Y, X, f with
    | .(CategoryTheory.Limits.WalkingParallelPair.one), .(CategoryTheory.Limits.WalkingParallelPair.zero),
      CategoryTheory.Limits.WalkingParallelPairHom.left => CategoryTheory.Limits.WalkingReflexivePair.Hom.left
    | .(CategoryTheory.Limits.WalkingParallelPair.one), .(CategoryTheory.Limits.WalkingParallelPair.zero),
      CategoryTheory.Limits.WalkingParallelPairHom.right => CategoryTheory.Limits.WalkingReflexivePair.Hom.right
    | x, .(x), CategoryTheory.Limits.WalkingParallelPairHom.id .(x) =>
      CategoryTheory.CategoryStruct.id
        (match x with
        | CategoryTheory.Limits.WalkingParallelPair.one => CategoryTheory.Limits.WalkingReflexivePair.zero
        | CategoryTheory.Limits.WalkingParallelPair.zero => CategoryTheory.Limits.WalkingReflexivePair.one)

theorem CategoryTheory.Limits.WalkingParallelPair.inclusionWalkingReflexivePair_obj E0 #

∀ (x : CategoryTheory.Limits.WalkingParallelPair),
  CategoryTheory.Limits.WalkingParallelPair.inclusionWalkingReflexivePair.obj x =
    match x with
    | CategoryTheory.Limits.WalkingParallelPair.one => CategoryTheory.Limits.WalkingReflexivePair.zero
    | CategoryTheory.Limits.WalkingParallelPair.zero => CategoryTheory.Limits.WalkingReflexivePair.one

instance CategoryTheory.Limits.WalkingParallelPair.instNonemptyStructuredArrowWalkingReflexivePairInclusionWalkingReflexivePair E0 #

∀ (X : CategoryTheory.Limits.WalkingReflexivePair),
  Nonempty (CategoryTheory.StructuredArrow X CategoryTheory.Limits.WalkingParallelPair.inclusionWalkingReflexivePair)

instance CategoryTheory.Limits.WalkingParallelPair.instIsConnectedStructuredArrowWalkingReflexivePairInclusionWalkingReflexivePair E0 #

∀ (X : CategoryTheory.Limits.WalkingReflexivePair),
  CategoryTheory.IsConnected
    (CategoryTheory.StructuredArrow X CategoryTheory.Limits.WalkingParallelPair.inclusionWalkingReflexivePair)

instance CategoryTheory.Limits.WalkingParallelPair.inclusionWalkingReflexivePair_final E0 #

CategoryTheory.Limits.WalkingParallelPair.inclusionWalkingReflexivePair.Final

The inclusion functor is a final functor

def CategoryTheory.Limits.reflexivePair E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A B : C} →
      (f g : A ⟶ B) →
        (s : B ⟶ A) →
          autoParam (CategoryTheory.CategoryStruct.comp s f = CategoryTheory.CategoryStruct.id B)
              CategoryTheory.Limits.reflexivePair._auto_1 →
            autoParam (CategoryTheory.CategoryStruct.comp s g = CategoryTheory.CategoryStruct.id B)
                CategoryTheory.Limits.reflexivePair._auto_3 →
              CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C

Bundle the data of a parallel pair along with a common section as a functor out of the walking reflexive pair

theorem CategoryTheory.Limits.reflexivePair_obj_zero E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} (f g : A ⟶ B) (s : B ⟶ A)
  {sl : CategoryTheory.CategoryStruct.comp s f = CategoryTheory.CategoryStruct.id B}
  {sr : CategoryTheory.CategoryStruct.comp s g = CategoryTheory.CategoryStruct.id B},
  (CategoryTheory.Limits.reflexivePair f g s sl sr).obj CategoryTheory.Limits.WalkingReflexivePair.zero = B

theorem CategoryTheory.Limits.reflexivePair_obj_one E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} (f g : A ⟶ B) (s : B ⟶ A)
  {sl : CategoryTheory.CategoryStruct.comp s f = CategoryTheory.CategoryStruct.id B}
  {sr : CategoryTheory.CategoryStruct.comp s g = CategoryTheory.CategoryStruct.id B},
  (CategoryTheory.Limits.reflexivePair f g s sl sr).obj CategoryTheory.Limits.WalkingReflexivePair.one = A

theorem CategoryTheory.Limits.reflexivePair_map_left E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} (f g : A ⟶ B) (s : B ⟶ A)
  {sl : CategoryTheory.CategoryStruct.comp s f = CategoryTheory.CategoryStruct.id B}
  {sr : CategoryTheory.CategoryStruct.comp s g = CategoryTheory.CategoryStruct.id B},
  (CategoryTheory.Limits.reflexivePair f g s sl sr).map CategoryTheory.Limits.WalkingReflexivePair.Hom.left = f

theorem CategoryTheory.Limits.reflexivePair_map_right E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} (f g : A ⟶ B) (s : B ⟶ A)
  {sl : CategoryTheory.CategoryStruct.comp s f = CategoryTheory.CategoryStruct.id B}
  {sr : CategoryTheory.CategoryStruct.comp s g = CategoryTheory.CategoryStruct.id B},
  (CategoryTheory.Limits.reflexivePair f g s sl sr).map CategoryTheory.Limits.WalkingReflexivePair.Hom.right = g

theorem CategoryTheory.Limits.reflexivePair_map_reflexion E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} (f g : A ⟶ B) (s : B ⟶ A)
  {sl : CategoryTheory.CategoryStruct.comp s f = CategoryTheory.CategoryStruct.id B}
  {sr : CategoryTheory.CategoryStruct.comp s g = CategoryTheory.CategoryStruct.id B},
  (CategoryTheory.Limits.reflexivePair f g s sl sr).map CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion = s

def CategoryTheory.Limits.ofIsReflexivePair E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A B : C} →
      (f g : A ⟶ B) →
        [CategoryTheory.IsReflexivePair f g] → CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C

(Noncomputably) bundle the data of a reflexive pair as a functor out of the walking reflexive pair

theorem CategoryTheory.Limits.ofIsReflexivePair_map_left E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} (f g : A ⟶ B)
  [inst_1 : CategoryTheory.IsReflexivePair f g],
  (CategoryTheory.Limits.ofIsReflexivePair f g).map CategoryTheory.Limits.WalkingReflexivePair.Hom.left = f

theorem CategoryTheory.Limits.ofIsReflexivePair_map_right E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} (f g : A ⟶ B)
  [inst_1 : CategoryTheory.IsReflexivePair f g],
  (CategoryTheory.Limits.ofIsReflexivePair f g).map CategoryTheory.Limits.WalkingReflexivePair.Hom.right = g

def CategoryTheory.Limits.inclusionWalkingReflexivePairOfIsReflexivePairIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A B : C} →
      (f g : A ⟶ B) →
        [inst_1 : CategoryTheory.IsReflexivePair f g] →
          CategoryTheory.Limits.WalkingParallelPair.inclusionWalkingReflexivePair.comp
              (CategoryTheory.Limits.ofIsReflexivePair f g) ≅
            CategoryTheory.Limits.parallelPair f g

The natural isomorphism between the diagram obtained by forgetting the reflexion of ofIsReflexivePair f g and the original parallel pair.

def CategoryTheory.Limits.reflexivePair.mkNatTrans E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F G : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C} →
      (e₀ :
          F.obj CategoryTheory.Limits.WalkingReflexivePair.zero ⟶
            G.obj CategoryTheory.Limits.WalkingReflexivePair.zero) →
        (e₁ :
            F.obj CategoryTheory.Limits.WalkingReflexivePair.one ⟶
              G.obj CategoryTheory.Limits.WalkingReflexivePair.one) →
          autoParam
              (CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left) e₀ =
                CategoryTheory.CategoryStruct.comp e₁ (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left))
              _auto_237✝ →
            autoParam
                (CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right) e₀ =
                  CategoryTheory.CategoryStruct.comp e₁ (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right))
                _auto_239✝ →
              autoParam
                  (CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion)
                      e₁ =
                    CategoryTheory.CategoryStruct.comp e₀
                      (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion))
                  _auto_241✝ →
                (F ⟶ G)

A constructor for natural transformations between functors from WalkingReflexivePair.

theorem CategoryTheory.Limits.reflexivePair.mkNatTrans_app_zero E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F G : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C}
  (e₀ : F.obj CategoryTheory.Limits.WalkingReflexivePair.zero ⟶ G.obj CategoryTheory.Limits.WalkingReflexivePair.zero)
  (e₁ : F.obj CategoryTheory.Limits.WalkingReflexivePair.one ⟶ G.obj CategoryTheory.Limits.WalkingReflexivePair.one)
  (h₁ :
    autoParam
      (CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left) e₀ =
        CategoryTheory.CategoryStruct.comp e₁ (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left))
      _auto_247✝)
  (h₂ :
    autoParam
      (CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right) e₀ =
        CategoryTheory.CategoryStruct.comp e₁ (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right))
      _auto_249✝)
  (h₃ :
    autoParam
      (CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion) e₁ =
        CategoryTheory.CategoryStruct.comp e₀ (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion))
      _auto_251✝),
  (CategoryTheory.Limits.reflexivePair.mkNatTrans e₀ e₁ h₁ h₂ h₃).app CategoryTheory.Limits.WalkingReflexivePair.zero =
    e₀

theorem CategoryTheory.Limits.reflexivePair.mkNatTrans_app_one E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F G : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C}
  (e₀ : F.obj CategoryTheory.Limits.WalkingReflexivePair.zero ⟶ G.obj CategoryTheory.Limits.WalkingReflexivePair.zero)
  (e₁ : F.obj CategoryTheory.Limits.WalkingReflexivePair.one ⟶ G.obj CategoryTheory.Limits.WalkingReflexivePair.one)
  (h₁ :
    autoParam
      (CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left) e₀ =
        CategoryTheory.CategoryStruct.comp e₁ (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left))
      _auto_255✝)
  (h₂ :
    autoParam
      (CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right) e₀ =
        CategoryTheory.CategoryStruct.comp e₁ (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right))
      _auto_257✝)
  (h₃ :
    autoParam
      (CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion) e₁ =
        CategoryTheory.CategoryStruct.comp e₀ (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion))
      _auto_259✝),
  (CategoryTheory.Limits.reflexivePair.mkNatTrans e₀ e₁ h₁ h₂ h₃).app CategoryTheory.Limits.WalkingReflexivePair.one =
    e₁

def CategoryTheory.Limits.reflexivePair.mkNatIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F G : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C} →
      (e₀ :
          F.obj CategoryTheory.Limits.WalkingReflexivePair.zero ≅
            G.obj CategoryTheory.Limits.WalkingReflexivePair.zero) →
        (e₁ :
            F.obj CategoryTheory.Limits.WalkingReflexivePair.one ≅
              G.obj CategoryTheory.Limits.WalkingReflexivePair.one) →
          autoParam
              (CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left) e₀.hom =
                CategoryTheory.CategoryStruct.comp e₁.hom (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left))
              CategoryTheory.Limits.reflexivePair.mkNatIso._auto_1 →
            autoParam
                (CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right)
                    e₀.hom =
                  CategoryTheory.CategoryStruct.comp e₁.hom
                    (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right))
                CategoryTheory.Limits.reflexivePair.mkNatIso._auto_3 →
              autoParam
                  (CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion)
                      e₁.hom =
                    CategoryTheory.CategoryStruct.comp e₀.hom
                      (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion))
                  CategoryTheory.Limits.reflexivePair.mkNatIso._auto_5 →
                (F ≅ G)

Constructor for natural isomorphisms between functors out of WalkingReflexivePair.

theorem CategoryTheory.Limits.reflexivePair.mkNatIso_hom_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F G : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C}
  (e₀ : F.obj CategoryTheory.Limits.WalkingReflexivePair.zero ≅ G.obj CategoryTheory.Limits.WalkingReflexivePair.zero)
  (e₁ : F.obj CategoryTheory.Limits.WalkingReflexivePair.one ≅ G.obj CategoryTheory.Limits.WalkingReflexivePair.one)
  (h₁ :
    autoParam
      (CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left) e₀.hom =
        CategoryTheory.CategoryStruct.comp e₁.hom (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left))
      CategoryTheory.Limits.reflexivePair.mkNatIso._auto_1)
  (h₂ :
    autoParam
      (CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right) e₀.hom =
        CategoryTheory.CategoryStruct.comp e₁.hom (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right))
      CategoryTheory.Limits.reflexivePair.mkNatIso._auto_3)
  (h₃ :
    autoParam
      (CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion) e₁.hom =
        CategoryTheory.CategoryStruct.comp e₀.hom (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion))
      CategoryTheory.Limits.reflexivePair.mkNatIso._auto_5)
  (x : CategoryTheory.Limits.WalkingReflexivePair),
  (CategoryTheory.Limits.reflexivePair.mkNatIso e₀ e₁ h₁ h₂ h₃).hom.app x =
    match x with
    | CategoryTheory.Limits.WalkingReflexivePair.zero => e₀.hom
    | CategoryTheory.Limits.WalkingReflexivePair.one => e₁.hom

theorem CategoryTheory.Limits.reflexivePair.mkNatIso_inv_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F G : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C}
  (e₀ : F.obj CategoryTheory.Limits.WalkingReflexivePair.zero ≅ G.obj CategoryTheory.Limits.WalkingReflexivePair.zero)
  (e₁ : F.obj CategoryTheory.Limits.WalkingReflexivePair.one ≅ G.obj CategoryTheory.Limits.WalkingReflexivePair.one)
  (h₁ :
    autoParam
      (CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left) e₀.hom =
        CategoryTheory.CategoryStruct.comp e₁.hom (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left))
      CategoryTheory.Limits.reflexivePair.mkNatIso._auto_1)
  (h₂ :
    autoParam
      (CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right) e₀.hom =
        CategoryTheory.CategoryStruct.comp e₁.hom (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right))
      CategoryTheory.Limits.reflexivePair.mkNatIso._auto_3)
  (h₃ :
    autoParam
      (CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion) e₁.hom =
        CategoryTheory.CategoryStruct.comp e₀.hom (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion))
      CategoryTheory.Limits.reflexivePair.mkNatIso._auto_5)
  (x : CategoryTheory.Limits.WalkingReflexivePair),
  (CategoryTheory.Limits.reflexivePair.mkNatIso e₀ e₁ h₁ h₂ h₃).inv.app x =
    match x with
    | CategoryTheory.Limits.WalkingReflexivePair.zero => e₀.inv
    | CategoryTheory.Limits.WalkingReflexivePair.one => e₁.inv

def CategoryTheory.Limits.reflexivePair.diagramIsoReflexivePair E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C) →
      F ≅
        CategoryTheory.Limits.reflexivePair (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left)
          (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right)
          (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion) ⋯ ⋯

Every functor out of WalkingReflexivePair is isomorphic to the reflexivePair given by its components

theorem CategoryTheory.Limits.reflexivePair.diagramIsoReflexivePair_hom_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C)
  (x : CategoryTheory.Limits.WalkingReflexivePair),
  (CategoryTheory.Limits.reflexivePair.diagramIsoReflexivePair F).hom.app x =
    match x with
    | CategoryTheory.Limits.WalkingReflexivePair.zero =>
      CategoryTheory.CategoryStruct.id (F.obj CategoryTheory.Limits.WalkingReflexivePair.zero)
    | CategoryTheory.Limits.WalkingReflexivePair.one =>
      CategoryTheory.CategoryStruct.id (F.obj CategoryTheory.Limits.WalkingReflexivePair.one)

theorem CategoryTheory.Limits.reflexivePair.diagramIsoReflexivePair_inv_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C)
  (x : CategoryTheory.Limits.WalkingReflexivePair),
  (CategoryTheory.Limits.reflexivePair.diagramIsoReflexivePair F).inv.app x =
    match x with
    | CategoryTheory.Limits.WalkingReflexivePair.zero =>
      CategoryTheory.CategoryStruct.id (F.obj CategoryTheory.Limits.WalkingReflexivePair.zero)
    | CategoryTheory.Limits.WalkingReflexivePair.one =>
      CategoryTheory.CategoryStruct.id (F.obj CategoryTheory.Limits.WalkingReflexivePair.one)

def CategoryTheory.Limits.reflexivePair.compRightIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {A B : C} →
          (f g : A ⟶ B) →
            (s : B ⟶ A) →
              (sl : CategoryTheory.CategoryStruct.comp s f = CategoryTheory.CategoryStruct.id B) →
                (sr : CategoryTheory.CategoryStruct.comp s g = CategoryTheory.CategoryStruct.id B) →
                  (F : CategoryTheory.Functor C D) →
                    (CategoryTheory.Limits.reflexivePair f g s sl sr).comp F ≅
                      CategoryTheory.Limits.reflexivePair (F.map f) (F.map g) (F.map s) ⋯ ⋯

A reflexivePair composed with a functor is isomorphic to the reflexivePair obtained by applying the functor at each map.

theorem CategoryTheory.Limits.reflexivePair.compRightIso_hom_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {A B : C} (f g : A ⟶ B) (s : B ⟶ A) (sl : CategoryTheory.CategoryStruct.comp s f = CategoryTheory.CategoryStruct.id B)
  (sr : CategoryTheory.CategoryStruct.comp s g = CategoryTheory.CategoryStruct.id B) (F : CategoryTheory.Functor C D)
  (x : CategoryTheory.Limits.WalkingReflexivePair),
  (CategoryTheory.Limits.reflexivePair.compRightIso f g s sl sr F).hom.app x =
    match x with
    | CategoryTheory.Limits.WalkingReflexivePair.zero => CategoryTheory.CategoryStruct.id (F.obj B)
    | CategoryTheory.Limits.WalkingReflexivePair.one => CategoryTheory.CategoryStruct.id (F.obj A)

theorem CategoryTheory.Limits.reflexivePair.compRightIso_inv_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {A B : C} (f g : A ⟶ B) (s : B ⟶ A) (sl : CategoryTheory.CategoryStruct.comp s f = CategoryTheory.CategoryStruct.id B)
  (sr : CategoryTheory.CategoryStruct.comp s g = CategoryTheory.CategoryStruct.id B) (F : CategoryTheory.Functor C D)
  (x : CategoryTheory.Limits.WalkingReflexivePair),
  (CategoryTheory.Limits.reflexivePair.compRightIso f g s sl sr F).inv.app x =
    match x with
    | CategoryTheory.Limits.WalkingReflexivePair.zero => CategoryTheory.CategoryStruct.id (F.obj B)
    | CategoryTheory.Limits.WalkingReflexivePair.one => CategoryTheory.CategoryStruct.id (F.obj A)

theorem CategoryTheory.Limits.reflexivePair.whiskerRightMkNatTrans E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F G : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C}
  (e₀ : F.obj CategoryTheory.Limits.WalkingReflexivePair.zero ⟶ G.obj CategoryTheory.Limits.WalkingReflexivePair.zero)
  (e₁ : F.obj CategoryTheory.Limits.WalkingReflexivePair.one ⟶ G.obj CategoryTheory.Limits.WalkingReflexivePair.one)
  {h₁ :
    CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left) e₀ =
      CategoryTheory.CategoryStruct.comp e₁ (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left)}
  {h₂ :
    CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right) e₀ =
      CategoryTheory.CategoryStruct.comp e₁ (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right)}
  {h₃ :
    CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion) e₁ =
      CategoryTheory.CategoryStruct.comp e₀ (G.map CategoryTheory.Limits.WalkingReflexivePair.Hom.reflexion)}
  {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (H : CategoryTheory.Functor C D),
  CategoryTheory.Functor.whiskerRight (CategoryTheory.Limits.reflexivePair.mkNatTrans e₀ e₁ ⋯ ⋯ ⋯) H =
    CategoryTheory.Limits.reflexivePair.mkNatTrans (H.map e₀) (H.map e₁) ⋯ ⋯ ⋯

instance CategoryTheory.Limits.reflexivePair.to_isReflexivePair E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C},
  CategoryTheory.IsReflexivePair (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left)
    (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right)

Any functor out of the WalkingReflexivePair yields a reflexive pair

abbrev CategoryTheory.Limits.ReflexiveCofork E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C → Type (max (max 0 u) v)

A ReflexiveCofork is a cocone over a WalkingReflexivePair-shaped diagram.

abbrev CategoryTheory.Limits.ReflexiveCofork.π E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C} →
      (G : CategoryTheory.Limits.ReflexiveCofork F) → F.obj CategoryTheory.Limits.WalkingReflexivePair.zero ⟶ G.pt

The tail morphism of a reflexive cofork.

def CategoryTheory.Limits.ReflexiveCofork.mk E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C} →
      {X : C} →
        (π : F.obj CategoryTheory.Limits.WalkingReflexivePair.zero ⟶ X) →
          CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left) π =
              CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right) π →
            CategoryTheory.Limits.ReflexiveCofork F

Constructor for ReflexiveCofork

theorem CategoryTheory.Limits.ReflexiveCofork.mk_pt E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C} {X : C}
  (π : F.obj CategoryTheory.Limits.WalkingReflexivePair.zero ⟶ X)
  (h :
    CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left) π =
      CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right) π),
  (CategoryTheory.Limits.ReflexiveCofork.mk π h).pt = X

theorem CategoryTheory.Limits.ReflexiveCofork.mk_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C} {X : C}
  (π : F.obj CategoryTheory.Limits.WalkingReflexivePair.zero ⟶ X)
  (h :
    CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left) π =
      CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right) π),
  (CategoryTheory.Limits.ReflexiveCofork.mk π h).π = π

theorem CategoryTheory.Limits.ReflexiveCofork.condition E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C}
  (G : CategoryTheory.Limits.ReflexiveCofork F),
  CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left) G.π =
    CategoryTheory.CategoryStruct.comp (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right) G.π

theorem CategoryTheory.Limits.ReflexiveCofork.app_one_eq_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C}
  (G : CategoryTheory.Limits.ReflexiveCofork F), G.ι.app CategoryTheory.Limits.WalkingReflexivePair.zero = G.π

abbrev CategoryTheory.Limits.ReflexiveCofork.toCofork E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C} →
      CategoryTheory.Limits.ReflexiveCofork F →
        CategoryTheory.Limits.Cofork (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left)
          (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right)

The underlying Cofork of a ReflexiveCofork.

def CategoryTheory.Limits.reflexiveCoforkEquivCofork E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C) →
      CategoryTheory.Limits.ReflexiveCofork F ≌
        CategoryTheory.Limits.Cofork (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left)
          (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right)

Forgetting the reflexion yields an equivalence between cocones over a bundled reflexive pair and coforks on the underlying parallel pair.

theorem CategoryTheory.Limits.reflexiveCoforkEquivCofork_functor_obj_pt E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C) (X : CategoryTheory.Limits.Cocone F),
  ((CategoryTheory.Limits.reflexiveCoforkEquivCofork F).functor.obj X).pt = X.pt

theorem CategoryTheory.Limits.reflexiveCoforkEquivCofork_inverse_obj_pt E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C)
  (X :
    CategoryTheory.Limits.Cofork (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left)
      (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right)),
  ((CategoryTheory.Limits.reflexiveCoforkEquivCofork F).inverse.obj X).pt = X.pt

theorem CategoryTheory.Limits.reflexiveCoforkEquivCofork_functor_obj_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C)
  (G : CategoryTheory.Limits.ReflexiveCofork F),
  ((CategoryTheory.Limits.reflexiveCoforkEquivCofork F).functor.obj G).π = G.π

theorem CategoryTheory.Limits.reflexiveCoforkEquivCofork_inverse_obj_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C)
  (G :
    CategoryTheory.Limits.Cofork (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left)
      (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right)),
  ((CategoryTheory.Limits.reflexiveCoforkEquivCofork F).inverse.obj G).π = G.π

def CategoryTheory.Limits.reflexiveCoforkEquivCoforkObjIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C) →
      (G : CategoryTheory.Limits.ReflexiveCofork F) →
        (CategoryTheory.Limits.reflexiveCoforkEquivCofork F).functor.obj G ≅ G.toCofork

The equivalence between reflexive coforks and coforks sends a reflexive cofork to its underlying cofork.

theorem CategoryTheory.Limits.hasReflexiveCoequalizer_iff_hasCoequalizer E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C),
  CategoryTheory.Limits.HasColimit F ↔
    CategoryTheory.Limits.HasCoequalizer (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left)
      (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right)

instance CategoryTheory.Limits.reflexivePair_hasColimit_of_hasCoequalizer E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C)
  [h :
    CategoryTheory.Limits.HasCoequalizer (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left)
      (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right)],
  CategoryTheory.Limits.HasColimit F

def CategoryTheory.Limits.ReflexiveCofork.isColimitEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C) →
      (G : CategoryTheory.Limits.ReflexiveCofork F) →
        CategoryTheory.Limits.IsColimit G.toCofork ≃ CategoryTheory.Limits.IsColimit G

A reflexive cofork is a colimit cocone if and only if the underlying cofork is.

def CategoryTheory.Limits.reflexiveCoequalizerIsoCoequalizer E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C) →
      [inst_1 :
          CategoryTheory.Limits.HasCoequalizer (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left)
            (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right)] →
        CategoryTheory.Limits.colimit F ≅
          CategoryTheory.Limits.coequalizer (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left)
            (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right)

The colimit of a functor out of the walking reflexive pair is the same as the colimit of the underlying parallel pair.

theorem CategoryTheory.Limits.ι_reflexiveCoequalizerIsoCoequalizer_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C)
  [inst_1 :
    CategoryTheory.Limits.HasCoequalizer (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left)
      (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right)],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.colimit.ι F CategoryTheory.Limits.WalkingReflexivePair.zero)
      (CategoryTheory.Limits.reflexiveCoequalizerIsoCoequalizer F).hom =
    CategoryTheory.Limits.coequalizer.π (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left)
      (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right)

theorem CategoryTheory.Limits.ι_reflexiveCoequalizerIsoCoequalizer_hom_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C)
  [inst_1 :
    CategoryTheory.Limits.HasCoequalizer (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left)
      (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right)]
  {Z : C}
  (h :
    CategoryTheory.Limits.coequalizer (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left)
        (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right) ⟶
      Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.colimit.ι F CategoryTheory.Limits.WalkingReflexivePair.zero)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.reflexiveCoequalizerIsoCoequalizer F).hom h) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.coequalizer.π (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left)
        (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right))
      h

theorem CategoryTheory.Limits.π_reflexiveCoequalizerIsoCoequalizer_inv_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C)
  [inst_1 :
    CategoryTheory.Limits.HasCoequalizer (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left)
      (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right)]
  {Z : C} (h : CategoryTheory.Limits.colimit F ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.coequalizer.π (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left)
        (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.reflexiveCoequalizerIsoCoequalizer F).inv h) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.colimit.ι F CategoryTheory.Limits.WalkingReflexivePair.zero) h

theorem CategoryTheory.Limits.π_reflexiveCoequalizerIsoCoequalizer_inv E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor CategoryTheory.Limits.WalkingReflexivePair C)
  [inst_1 :
    CategoryTheory.Limits.HasCoequalizer (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left)
      (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right)],
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.coequalizer.π (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.left)
        (F.map CategoryTheory.Limits.WalkingReflexivePair.Hom.right))
      (CategoryTheory.Limits.reflexiveCoequalizerIsoCoequalizer F).inv =
    CategoryTheory.Limits.colimit.ι F CategoryTheory.Limits.WalkingReflexivePair.zero

instance CategoryTheory.Limits.ofIsReflexivePair_hasColimit_of_hasCoequalizer E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} {f g : A ⟶ B}
  [inst_1 : CategoryTheory.IsReflexivePair f g] [h : CategoryTheory.Limits.HasCoequalizer f g],
  CategoryTheory.Limits.HasColimit (CategoryTheory.Limits.ofIsReflexivePair f g)

def CategoryTheory.Limits.colimitOfIsReflexivePairIsoCoequalizer E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A B : C} →
      {f g : A ⟶ B} →
        [inst_1 : CategoryTheory.IsReflexivePair f g] →
          [h : CategoryTheory.Limits.HasCoequalizer f g] →
            CategoryTheory.Limits.colimit (CategoryTheory.Limits.ofIsReflexivePair f g) ≅
              CategoryTheory.Limits.coequalizer f g

The coequalizer of a reflexive pair can be promoted to the colimit of a diagram out of the walking reflexive pair

theorem CategoryTheory.Limits.ι_colimitOfIsReflexivePairIsoCoequalizer_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} {f g : A ⟶ B}
  [inst_1 : CategoryTheory.IsReflexivePair f g] [h : CategoryTheory.Limits.HasCoequalizer f g],
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.colimit.ι (CategoryTheory.Limits.ofIsReflexivePair f g)
        CategoryTheory.Limits.WalkingReflexivePair.zero)
      CategoryTheory.Limits.colimitOfIsReflexivePairIsoCoequalizer.hom =
    CategoryTheory.Limits.coequalizer.π f g

theorem CategoryTheory.Limits.ι_colimitOfIsReflexivePairIsoCoequalizer_hom_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} {f g : A ⟶ B}
  [inst_1 : CategoryTheory.IsReflexivePair f g] [h : CategoryTheory.Limits.HasCoequalizer f g] {Z : C}
  (h_1 : CategoryTheory.Limits.coequalizer f g ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.colimit.ι (CategoryTheory.Limits.ofIsReflexivePair f g)
        CategoryTheory.Limits.WalkingReflexivePair.zero)
      (CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.colimitOfIsReflexivePairIsoCoequalizer.hom h_1) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.coequalizer.π f g) h_1

theorem CategoryTheory.Limits.π_colimitOfIsReflexivePairIsoCoequalizer_inv E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} {f g : A ⟶ B}
  [inst_1 : CategoryTheory.IsReflexivePair f g] [h : CategoryTheory.Limits.HasCoequalizer f g],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.coequalizer.π f g)
      CategoryTheory.Limits.colimitOfIsReflexivePairIsoCoequalizer.inv =
    CategoryTheory.Limits.colimit.ι (CategoryTheory.Limits.ofIsReflexivePair f g)
      CategoryTheory.Limits.WalkingReflexivePair.zero

theorem CategoryTheory.Limits.π_colimitOfIsReflexivePairIsoCoequalizer_inv_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A B : C} {f g : A ⟶ B}
  [inst_1 : CategoryTheory.IsReflexivePair f g] [h : CategoryTheory.Limits.HasCoequalizer f g] {Z : C}
  (h_1 : CategoryTheory.Limits.colimit (CategoryTheory.Limits.ofIsReflexivePair f g) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.coequalizer.π f g)
      (CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.colimitOfIsReflexivePairIsoCoequalizer.inv h_1) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.colimit.ι (CategoryTheory.Limits.ofIsReflexivePair f g)
        CategoryTheory.Limits.WalkingReflexivePair.zero)
      h_1

theorem CategoryTheory.Limits.hasReflexiveCoequalizers_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C],
  CategoryTheory.Limits.HasColimitsOfShape CategoryTheory.Limits.WalkingReflexivePair C ↔
    CategoryTheory.Limits.HasReflexiveCoequalizers C

A category has coequalizers of reflexive pairs if and only if it has all colimits indexed by the walking reflexive pair.