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 / V25. Higher structures in categories

Mathlib.CategoryTheory.Triangulated.Basic

206 declarations. Mathlib docs · Source

Triangles

This file contains the definition of triangles in an additive category with an additive shift. It also defines morphisms between these triangles.

TODO: generalise this to n-angles in n-angulated categories as in https://arxiv.org/abs/1006.4592

def CategoryTheory.Pretriangulated.Triangle.ctorIdx E1 #

{C : Type u} →
  {inst : CategoryTheory.Category.{v, u} C} →
    {inst_1 : CategoryTheory.HasShift C ℤ} → CategoryTheory.Pretriangulated.Triangle C → ℕ

theorem CategoryTheory.Pretriangulated.TriangleMorphism.mk.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} (hom₁ hom₁_1 : T₁.obj₁ ⟶ T₂.obj₁) (e_hom₁ : hom₁ = hom₁_1)
  (hom₂ hom₂_1 : T₁.obj₂ ⟶ T₂.obj₂) (e_hom₂ : hom₂ = hom₂_1) (hom₃ hom₃_1 : T₁.obj₃ ⟶ T₂.obj₃) (e_hom₃ : hom₃ = hom₃_1)
  (comm₁ : CategoryTheory.CategoryStruct.comp T₁.mor₁ hom₂ = CategoryTheory.CategoryStruct.comp hom₁ T₂.mor₁)
  (comm₂ : CategoryTheory.CategoryStruct.comp T₁.mor₂ hom₃ = CategoryTheory.CategoryStruct.comp hom₂ T₂.mor₂)
  (comm₃ : CategoryTheory.CategoryStruct.comp T₁.mor₃ (hom₁⟦1⟧') = CategoryTheory.CategoryStruct.comp hom₃ T₂.mor₃),
  { hom₁ := hom₁, hom₂ := hom₂, hom₃ := hom₃, comm₁ := comm₁, comm₂ := comm₂, comm₃ := comm₃ } =
    { hom₁ := hom₁_1, hom₂ := hom₂_1, hom₃ := hom₃_1, comm₁ := ⋯, comm₂ := ⋯, comm₃ := ⋯ }

theorem CategoryTheory.Pretriangulated.TriangleMorphism.mk.injEq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} (hom₁ : T₁.obj₁ ⟶ T₂.obj₁) (hom₂ : T₁.obj₂ ⟶ T₂.obj₂)
  (hom₃ : T₁.obj₃ ⟶ T₂.obj₃)
  (comm₁ :
    autoParam (CategoryTheory.CategoryStruct.comp T₁.mor₁ hom₂ = CategoryTheory.CategoryStruct.comp hom₁ T₂.mor₁)
      CategoryTheory.Pretriangulated.TriangleMorphism.comm₁._autoParam)
  (comm₂ :
    autoParam (CategoryTheory.CategoryStruct.comp T₁.mor₂ hom₃ = CategoryTheory.CategoryStruct.comp hom₂ T₂.mor₂)
      CategoryTheory.Pretriangulated.TriangleMorphism.comm₂._autoParam)
  (comm₃ :
    autoParam (CategoryTheory.CategoryStruct.comp T₁.mor₃ (hom₁⟦1⟧') = CategoryTheory.CategoryStruct.comp hom₃ T₂.mor₃)
      CategoryTheory.Pretriangulated.TriangleMorphism.comm₃._autoParam)
  (hom₁_1 : T₁.obj₁ ⟶ T₂.obj₁) (hom₂_1 : T₁.obj₂ ⟶ T₂.obj₂) (hom₃_1 : T₁.obj₃ ⟶ T₂.obj₃)
  (comm₁_1 :
    autoParam (CategoryTheory.CategoryStruct.comp T₁.mor₁ hom₂_1 = CategoryTheory.CategoryStruct.comp hom₁_1 T₂.mor₁)
      CategoryTheory.Pretriangulated.TriangleMorphism.comm₁._autoParam)
  (comm₂_1 :
    autoParam (CategoryTheory.CategoryStruct.comp T₁.mor₂ hom₃_1 = CategoryTheory.CategoryStruct.comp hom₂_1 T₂.mor₂)
      CategoryTheory.Pretriangulated.TriangleMorphism.comm₂._autoParam)
  (comm₃_1 :
    autoParam
      (CategoryTheory.CategoryStruct.comp T₁.mor₃ (hom₁_1⟦1⟧') = CategoryTheory.CategoryStruct.comp hom₃_1 T₂.mor₃)
      CategoryTheory.Pretriangulated.TriangleMorphism.comm₃._autoParam),
  ({ hom₁ := hom₁, hom₂ := hom₂, hom₃ := hom₃, comm₁ := comm₁, comm₂ := comm₂, comm₃ := comm₃ } =
      { hom₁ := hom₁_1, hom₂ := hom₂_1, hom₃ := hom₃_1, comm₁ := comm₁_1, comm₂ := comm₂_1, comm₃ := comm₃_1 }) =
    (hom₁ = hom₁_1 ∧ hom₂ = hom₂_1 ∧ hom₃ = hom₃_1)

theorem CategoryTheory.Pretriangulated.TriangleMorphism.mk.inj E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {inst_1 : CategoryTheory.HasShift C ℤ}
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} {hom₁ : T₁.obj₁ ⟶ T₂.obj₁} {hom₂ : T₁.obj₂ ⟶ T₂.obj₂}
  {hom₃ : T₁.obj₃ ⟶ T₂.obj₃}
  {comm₁ :
    autoParam (CategoryTheory.CategoryStruct.comp T₁.mor₁ hom₂ = CategoryTheory.CategoryStruct.comp hom₁ T₂.mor₁)
      CategoryTheory.Pretriangulated.TriangleMorphism.comm₁._autoParam}
  {comm₂ :
    autoParam (CategoryTheory.CategoryStruct.comp T₁.mor₂ hom₃ = CategoryTheory.CategoryStruct.comp hom₂ T₂.mor₂)
      CategoryTheory.Pretriangulated.TriangleMorphism.comm₂._autoParam}
  {comm₃ :
    autoParam (CategoryTheory.CategoryStruct.comp T₁.mor₃ (hom₁⟦1⟧') = CategoryTheory.CategoryStruct.comp hom₃ T₂.mor₃)
      CategoryTheory.Pretriangulated.TriangleMorphism.comm₃._autoParam}
  {hom₁_1 : T₁.obj₁ ⟶ T₂.obj₁} {hom₂_1 : T₁.obj₂ ⟶ T₂.obj₂} {hom₃_1 : T₁.obj₃ ⟶ T₂.obj₃}
  {comm₁_1 :
    autoParam (CategoryTheory.CategoryStruct.comp T₁.mor₁ hom₂_1 = CategoryTheory.CategoryStruct.comp hom₁_1 T₂.mor₁)
      CategoryTheory.Pretriangulated.TriangleMorphism.comm₁._autoParam}
  {comm₂_1 :
    autoParam (CategoryTheory.CategoryStruct.comp T₁.mor₂ hom₃_1 = CategoryTheory.CategoryStruct.comp hom₂_1 T₂.mor₂)
      CategoryTheory.Pretriangulated.TriangleMorphism.comm₂._autoParam}
  {comm₃_1 :
    autoParam
      (CategoryTheory.CategoryStruct.comp T₁.mor₃ (hom₁_1⟦1⟧') = CategoryTheory.CategoryStruct.comp hom₃_1 T₂.mor₃)
      CategoryTheory.Pretriangulated.TriangleMorphism.comm₃._autoParam},
  { hom₁ := hom₁, hom₂ := hom₂, hom₃ := hom₃, comm₁ := comm₁, comm₂ := comm₂, comm₃ := comm₃ } =
      { hom₁ := hom₁_1, hom₂ := hom₂_1, hom₃ := hom₃_1, comm₁ := comm₁_1, comm₂ := comm₂_1, comm₃ := comm₃_1 } →
    hom₁ = hom₁_1 ∧ hom₂ = hom₂_1 ∧ hom₃ = hom₃_1

theorem CategoryTheory.Pretriangulated.Triangle.functorHomMk.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  [inst_2 : CategoryTheory.Category.{v_1, u_1} J]
  (A B : CategoryTheory.Functor J (CategoryTheory.Pretriangulated.Triangle C))
  (hom₁ hom₁_1 : A.comp CategoryTheory.Pretriangulated.Triangle.π₁ ⟶ B.comp CategoryTheory.Pretriangulated.Triangle.π₁)
  (e_hom₁ : hom₁ = hom₁_1)
  (hom₂ hom₂_1 : A.comp CategoryTheory.Pretriangulated.Triangle.π₂ ⟶ B.comp CategoryTheory.Pretriangulated.Triangle.π₂)
  (e_hom₂ : hom₂ = hom₂_1)
  (hom₃ hom₃_1 : A.comp CategoryTheory.Pretriangulated.Triangle.π₃ ⟶ B.comp CategoryTheory.Pretriangulated.Triangle.π₃)
  (e_hom₃ : hom₃ = hom₃_1)
  (comm₁ :
    CategoryTheory.CategoryStruct.comp (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₁Toπ₂) hom₂ =
      CategoryTheory.CategoryStruct.comp hom₁ (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₁Toπ₂))
  (comm₂ :
    CategoryTheory.CategoryStruct.comp (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₂Toπ₃) hom₃ =
      CategoryTheory.CategoryStruct.comp hom₂ (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₂Toπ₃))
  (comm₃ :
    CategoryTheory.CategoryStruct.comp (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₃Toπ₁)
        (CategoryTheory.Functor.whiskerRight hom₁ (CategoryTheory.shiftFunctor C 1)) =
      CategoryTheory.CategoryStruct.comp hom₃ (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₃Toπ₁)),
  CategoryTheory.Pretriangulated.Triangle.functorHomMk A B hom₁ hom₂ hom₃ comm₁ comm₂ comm₃ =
    CategoryTheory.Pretriangulated.Triangle.functorHomMk A B hom₁_1 hom₂_1 hom₃_1 ⋯ ⋯ ⋯

theorem CategoryTheory.Pretriangulated.Triangle.homMk.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  (A B : CategoryTheory.Pretriangulated.Triangle C) (hom₁ hom₁_1 : A.obj₁ ⟶ B.obj₁) (e_hom₁ : hom₁ = hom₁_1)
  (hom₂ hom₂_1 : A.obj₂ ⟶ B.obj₂) (e_hom₂ : hom₂ = hom₂_1) (hom₃ hom₃_1 : A.obj₃ ⟶ B.obj₃) (e_hom₃ : hom₃ = hom₃_1)
  (comm₁ : CategoryTheory.CategoryStruct.comp A.mor₁ hom₂ = CategoryTheory.CategoryStruct.comp hom₁ B.mor₁)
  (comm₂ : CategoryTheory.CategoryStruct.comp A.mor₂ hom₃ = CategoryTheory.CategoryStruct.comp hom₂ B.mor₂)
  (comm₃ : CategoryTheory.CategoryStruct.comp A.mor₃ (hom₁⟦1⟧') = CategoryTheory.CategoryStruct.comp hom₃ B.mor₃),
  A.homMk B hom₁ hom₂ hom₃ comm₁ comm₂ comm₃ = A.homMk B hom₁_1 hom₂_1 hom₃_1 ⋯ ⋯ ⋯

theorem CategoryTheory.Pretriangulated.Triangle.mk'.inj E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {inst_1 : CategoryTheory.HasShift C ℤ} {obj₁ obj₂ obj₃ : C}
  {mor₁ : obj₁ ⟶ obj₂} {mor₂ : obj₂ ⟶ obj₃} {mor₃ : obj₃ ⟶ obj₁⟦1⟧} {obj₁_1 obj₂_1 obj₃_1 : C}
  {mor₁_1 : obj₁_1 ⟶ obj₂_1} {mor₂_1 : obj₂_1 ⟶ obj₃_1} {mor₃_1 : obj₃_1 ⟶ obj₁_1⟦1⟧},
  { obj₁ := obj₁, obj₂ := obj₂, obj₃ := obj₃, mor₁ := mor₁, mor₂ := mor₂, mor₃ := mor₃ } =
      { obj₁ := obj₁_1, obj₂ := obj₂_1, obj₃ := obj₃_1, mor₁ := mor₁_1, mor₂ := mor₂_1, mor₃ := mor₃_1 } →
    obj₁ = obj₁_1 ∧ obj₂ = obj₂_1 ∧ obj₃ = obj₃_1 ∧ mor₁ ≍ mor₁_1 ∧ mor₂ ≍ mor₂_1 ∧ mor₃ ≍ mor₃_1

def CategoryTheory.Pretriangulated.TriangleMorphism.ctorIdx E1 #

{C : Type u} →
  {inst : CategoryTheory.Category.{v, u} C} →
    {inst_1 : CategoryTheory.HasShift C ℤ} →
      {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} → CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂ → ℕ

theorem CategoryTheory.Pretriangulated.Triangle.mk'.injEq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] (obj₁ obj₂ obj₃ : C)
  (mor₁ : obj₁ ⟶ obj₂) (mor₂ : obj₂ ⟶ obj₃) (mor₃ : obj₃ ⟶ obj₁⟦1⟧) (obj₁_1 obj₂_1 obj₃_1 : C)
  (mor₁_1 : obj₁_1 ⟶ obj₂_1) (mor₂_1 : obj₂_1 ⟶ obj₃_1) (mor₃_1 : obj₃_1 ⟶ obj₁_1⟦1⟧),
  ({ obj₁ := obj₁, obj₂ := obj₂, obj₃ := obj₃, mor₁ := mor₁, mor₂ := mor₂, mor₃ := mor₃ } =
      { obj₁ := obj₁_1, obj₂ := obj₂_1, obj₃ := obj₃_1, mor₁ := mor₁_1, mor₂ := mor₂_1, mor₃ := mor₃_1 }) =
    (obj₁ = obj₁_1 ∧ obj₂ = obj₂_1 ∧ obj₃ = obj₃_1 ∧ mor₁ ≍ mor₁_1 ∧ mor₂ ≍ mor₂_1 ∧ mor₃ ≍ mor₃_1)

structure CategoryTheory.Pretriangulated.Triangle E1 #

(C : Type u) → [inst : CategoryTheory.Category.{v, u} C] → [CategoryTheory.HasShift C ℤ] → Type (max u v)

A triangle in C is a sextuple (X,Y,Z,f,g,h) where X,Y,Z are objects of C, and f : X ⟶ Y, g : Y ⟶ Z, h : Z ⟶ X⟦1⟧ are morphisms in C.

ctor CategoryTheory.Pretriangulated.Triangle.mk' E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      (obj₁ obj₂ obj₃ : C) →
        (obj₁ ⟶ obj₂) → (obj₂ ⟶ obj₃) → (obj₃ ⟶ obj₁⟦1⟧) → CategoryTheory.Pretriangulated.Triangle C

abbrev CategoryTheory.Pretriangulated.Triangle.obj₁ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] → CategoryTheory.Pretriangulated.Triangle C → C

the first object of a triangle

abbrev CategoryTheory.Pretriangulated.Triangle.obj₂ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] → CategoryTheory.Pretriangulated.Triangle C → C

the second object of a triangle

abbrev CategoryTheory.Pretriangulated.Triangle.obj₃ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] → CategoryTheory.Pretriangulated.Triangle C → C

the third object of a triangle

abbrev CategoryTheory.Pretriangulated.Triangle.mor₁ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] → (self : CategoryTheory.Pretriangulated.Triangle C) → self.obj₁ ⟶ self.obj₂

the first morphism of a triangle

abbrev CategoryTheory.Pretriangulated.Triangle.mor₂ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] → (self : CategoryTheory.Pretriangulated.Triangle C) → self.obj₂ ⟶ self.obj₃

the second morphism of a triangle

abbrev CategoryTheory.Pretriangulated.Triangle.mor₃ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      (self : CategoryTheory.Pretriangulated.Triangle C) → self.obj₃ ⟶ self.obj₁⟦1⟧

the third morphism of a triangle

def CategoryTheory.Pretriangulated.Triangle.mk E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {X Y Z : C} → (X ⟶ Y) → (Y ⟶ Z) → (Z ⟶ X⟦1⟧) → CategoryTheory.Pretriangulated.Triangle C

A triangle (X,Y,Z,f,g,h) in C is defined by the morphisms f : X ⟶ Y, g : Y ⟶ Z and h : Z ⟶ X⟦1⟧.

theorem CategoryTheory.Pretriangulated.Triangle.mk_mor₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z) (h : Z ⟶ X⟦1⟧), (CategoryTheory.Pretriangulated.Triangle.mk f g h).mor₁ = f

theorem CategoryTheory.Pretriangulated.Triangle.mk_mor₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z) (h : Z ⟶ X⟦1⟧), (CategoryTheory.Pretriangulated.Triangle.mk f g h).mor₂ = g

theorem CategoryTheory.Pretriangulated.Triangle.mk_obj₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z) (h : Z ⟶ X⟦1⟧), (CategoryTheory.Pretriangulated.Triangle.mk f g h).obj₂ = Y

theorem CategoryTheory.Pretriangulated.Triangle.mk_mor₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z) (h : Z ⟶ X⟦1⟧), (CategoryTheory.Pretriangulated.Triangle.mk f g h).mor₃ = h

theorem CategoryTheory.Pretriangulated.Triangle.mk_obj₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z) (h : Z ⟶ X⟦1⟧), (CategoryTheory.Pretriangulated.Triangle.mk f g h).obj₃ = Z

theorem CategoryTheory.Pretriangulated.Triangle.mk_obj₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z) (h : Z ⟶ X⟦1⟧), (CategoryTheory.Pretriangulated.Triangle.mk f g h).obj₁ = X

instance CategoryTheory.Pretriangulated.instInhabitedTriangle E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      [CategoryTheory.Limits.HasZeroObject C] →
        [CategoryTheory.Limits.HasZeroMorphisms C] → Inhabited (CategoryTheory.Pretriangulated.Triangle C)

def CategoryTheory.Pretriangulated.contractibleTriangle E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      [CategoryTheory.Limits.HasZeroObject C] →
        [CategoryTheory.Limits.HasZeroMorphisms C] → C → CategoryTheory.Pretriangulated.Triangle C

For each object in C, there is a triangle of the form (X,X,0,𝟙 X,0,0)

theorem CategoryTheory.Pretriangulated.contractibleTriangle_obj₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  [inst_2 : CategoryTheory.Limits.HasZeroObject C] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms C] (X : C),
  (CategoryTheory.Pretriangulated.contractibleTriangle X).obj₂ = X

theorem CategoryTheory.Pretriangulated.contractibleTriangle_mor₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  [inst_2 : CategoryTheory.Limits.HasZeroObject C] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms C] (X : C),
  (CategoryTheory.Pretriangulated.contractibleTriangle X).mor₂ = 0

theorem CategoryTheory.Pretriangulated.contractibleTriangle_obj₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  [inst_2 : CategoryTheory.Limits.HasZeroObject C] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms C] (X : C),
  (CategoryTheory.Pretriangulated.contractibleTriangle X).obj₃ = 0

theorem CategoryTheory.Pretriangulated.contractibleTriangle_mor₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  [inst_2 : CategoryTheory.Limits.HasZeroObject C] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms C] (X : C),
  (CategoryTheory.Pretriangulated.contractibleTriangle X).mor₁ = CategoryTheory.CategoryStruct.id X

theorem CategoryTheory.Pretriangulated.contractibleTriangle_obj₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  [inst_2 : CategoryTheory.Limits.HasZeroObject C] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms C] (X : C),
  (CategoryTheory.Pretriangulated.contractibleTriangle X).obj₁ = X

theorem CategoryTheory.Pretriangulated.contractibleTriangle_mor₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  [inst_2 : CategoryTheory.Limits.HasZeroObject C] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms C] (X : C),
  (CategoryTheory.Pretriangulated.contractibleTriangle X).mor₃ = 0

structure CategoryTheory.Pretriangulated.TriangleMorphism E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      CategoryTheory.Pretriangulated.Triangle C → CategoryTheory.Pretriangulated.Triangle C → Type v

A morphism of triangles (X,Y,Z,f,g,h) ⟶ (X',Y',Z',f',g',h') in C is a triple of morphisms a : X ⟶ X', b : Y ⟶ Y', c : Z ⟶ Z' such that a ≫ f' = f ≫ b, b ≫ g' = g ≫ c, and a⟦1⟧' ≫ h = h' ≫ c. In other words, we have a commutative diagram:

     f      g      h
  X  ───> Y  ───> Z  ───> X⟦1⟧
  │       │       │        │
  │a      │b      │c       │a⟦1⟧'
  V       V       V        V
  X' ───> Y' ───> Z' ───> X'⟦1⟧
     f'     g'     h'

theorem CategoryTheory.Pretriangulated.TriangleMorphism.ext_iff E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {inst_1 : CategoryTheory.HasShift C ℤ}
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} {x y : CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂},
  x = y ↔ x.hom₁ = y.hom₁ ∧ x.hom₂ = y.hom₂ ∧ x.hom₃ = y.hom₃

theorem CategoryTheory.Pretriangulated.TriangleMorphism.ext E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {inst_1 : CategoryTheory.HasShift C ℤ}
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} {x y : CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂},
  x.hom₁ = y.hom₁ → x.hom₂ = y.hom₂ → x.hom₃ = y.hom₃ → x = y

ctor CategoryTheory.Pretriangulated.TriangleMorphism.mk E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} →
        (hom₁ : T₁.obj₁ ⟶ T₂.obj₁) →
          (hom₂ : T₁.obj₂ ⟶ T₂.obj₂) →
            (hom₃ : T₁.obj₃ ⟶ T₂.obj₃) →
              autoParam
                  (CategoryTheory.CategoryStruct.comp T₁.mor₁ hom₂ = CategoryTheory.CategoryStruct.comp hom₁ T₂.mor₁)
                  CategoryTheory.Pretriangulated.TriangleMorphism.comm₁._autoParam →
                autoParam
                    (CategoryTheory.CategoryStruct.comp T₁.mor₂ hom₃ = CategoryTheory.CategoryStruct.comp hom₂ T₂.mor₂)
                    CategoryTheory.Pretriangulated.TriangleMorphism.comm₂._autoParam →
                  autoParam
                      (CategoryTheory.CategoryStruct.comp T₁.mor₃ (hom₁⟦1⟧') =
                        CategoryTheory.CategoryStruct.comp hom₃ T₂.mor₃)
                      CategoryTheory.Pretriangulated.TriangleMorphism.comm₃._autoParam →
                    CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂

abbrev CategoryTheory.Pretriangulated.TriangleMorphism.hom₁ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} →
        CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂ → (T₁.obj₁ ⟶ T₂.obj₁)

the first morphism in a triangle morphism

abbrev CategoryTheory.Pretriangulated.TriangleMorphism.hom₂ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} →
        CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂ → (T₁.obj₂ ⟶ T₂.obj₂)

the second morphism in a triangle morphism

abbrev CategoryTheory.Pretriangulated.TriangleMorphism.hom₃ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} →
        CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂ → (T₁.obj₃ ⟶ T₂.obj₃)

the third morphism in a triangle morphism

theorem CategoryTheory.Pretriangulated.TriangleMorphism.comm₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} (self : CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂),
  CategoryTheory.CategoryStruct.comp T₁.mor₁ self.hom₂ = CategoryTheory.CategoryStruct.comp self.hom₁ T₂.mor₁

the first commutative square of a triangle morphism

theorem CategoryTheory.Pretriangulated.TriangleMorphism.comm₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} (self : CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂),
  CategoryTheory.CategoryStruct.comp T₁.mor₂ self.hom₃ = CategoryTheory.CategoryStruct.comp self.hom₂ T₂.mor₂

the second commutative square of a triangle morphism

theorem CategoryTheory.Pretriangulated.TriangleMorphism.comm₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} (self : CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂),
  CategoryTheory.CategoryStruct.comp T₁.mor₃ (self.hom₁⟦1⟧') = CategoryTheory.CategoryStruct.comp self.hom₃ T₂.mor₃

the third commutative square of a triangle morphism

theorem CategoryTheory.Pretriangulated.TriangleMorphism.comm₁_map E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} (self : CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂)
  {D : Type u_1} [_instD : CategoryTheory.Category.{u_2, u_1} D] (F : CategoryTheory.Functor C D),
  CategoryTheory.CategoryStruct.comp (F.map T₁.mor₁) (F.map self.hom₂) =
    CategoryTheory.CategoryStruct.comp (F.map self.hom₁) (F.map T₂.mor₁)

the first commutative square of a triangle morphism

theorem CategoryTheory.Pretriangulated.TriangleMorphism.comm₂_map_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} (self : CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂)
  {D : Type u_1} [_instD : CategoryTheory.Category.{u_2, u_1} D] (F : CategoryTheory.Functor C D) {Z : D}
  (h : F.obj T₂.obj₃ ⟶ Z),
  CategoryTheory.CategoryStruct.comp (F.map T₁.mor₂) (CategoryTheory.CategoryStruct.comp (F.map self.hom₃) h) =
    CategoryTheory.CategoryStruct.comp (F.map self.hom₂) (CategoryTheory.CategoryStruct.comp (F.map T₂.mor₂) h)

the second commutative square of a triangle morphism

theorem CategoryTheory.Pretriangulated.TriangleMorphism.comm₁_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} (self : CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂)
  {Z : C} (h : T₂.obj₂ ⟶ Z),
  CategoryTheory.CategoryStruct.comp T₁.mor₁ (CategoryTheory.CategoryStruct.comp self.hom₂ h) =
    CategoryTheory.CategoryStruct.comp self.hom₁ (CategoryTheory.CategoryStruct.comp T₂.mor₁ h)

the first commutative square of a triangle morphism

theorem CategoryTheory.Pretriangulated.TriangleMorphism.comm₃_map_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} (self : CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂)
  {D : Type u_1} [_instD : CategoryTheory.Category.{u_2, u_1} D] (F : CategoryTheory.Functor C D) {Z : D}
  (h : F.obj (T₂.obj₁⟦1⟧) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (F.map T₁.mor₃) (CategoryTheory.CategoryStruct.comp (F.map (self.hom₁⟦1⟧')) h) =
    CategoryTheory.CategoryStruct.comp (F.map self.hom₃) (CategoryTheory.CategoryStruct.comp (F.map T₂.mor₃) h)

the third commutative square of a triangle morphism

theorem CategoryTheory.Pretriangulated.TriangleMorphism.comm₃_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} (self : CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂)
  {Z : C} (h : T₂.obj₁⟦1⟧ ⟶ Z),
  CategoryTheory.CategoryStruct.comp T₁.mor₃ (CategoryTheory.CategoryStruct.comp (self.hom₁⟦1⟧') h) =
    CategoryTheory.CategoryStruct.comp self.hom₃ (CategoryTheory.CategoryStruct.comp T₂.mor₃ h)

the third commutative square of a triangle morphism

theorem CategoryTheory.Pretriangulated.TriangleMorphism.comm₁_map_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} (self : CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂)
  {D : Type u_1} [_instD : CategoryTheory.Category.{u_2, u_1} D] (F : CategoryTheory.Functor C D) {Z : D}
  (h : F.obj T₂.obj₂ ⟶ Z),
  CategoryTheory.CategoryStruct.comp (F.map T₁.mor₁) (CategoryTheory.CategoryStruct.comp (F.map self.hom₂) h) =
    CategoryTheory.CategoryStruct.comp (F.map self.hom₁) (CategoryTheory.CategoryStruct.comp (F.map T₂.mor₁) h)

the first commutative square of a triangle morphism

theorem CategoryTheory.Pretriangulated.TriangleMorphism.comm₂_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} (self : CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂)
  {Z : C} (h : T₂.obj₃ ⟶ Z),
  CategoryTheory.CategoryStruct.comp T₁.mor₂ (CategoryTheory.CategoryStruct.comp self.hom₃ h) =
    CategoryTheory.CategoryStruct.comp self.hom₂ (CategoryTheory.CategoryStruct.comp T₂.mor₂ h)

the second commutative square of a triangle morphism

theorem CategoryTheory.Pretriangulated.TriangleMorphism.comm₂_map E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} (self : CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂)
  {D : Type u_1} [_instD : CategoryTheory.Category.{u_2, u_1} D] (F : CategoryTheory.Functor C D),
  CategoryTheory.CategoryStruct.comp (F.map T₁.mor₂) (F.map self.hom₃) =
    CategoryTheory.CategoryStruct.comp (F.map self.hom₂) (F.map T₂.mor₂)

the second commutative square of a triangle morphism

theorem CategoryTheory.Pretriangulated.TriangleMorphism.comm₃_map E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} (self : CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂)
  {D : Type u_1} [_instD : CategoryTheory.Category.{u_2, u_1} D] (F : CategoryTheory.Functor C D),
  CategoryTheory.CategoryStruct.comp (F.map T₁.mor₃) (F.map (self.hom₁⟦1⟧')) =
    CategoryTheory.CategoryStruct.comp (F.map self.hom₃) (F.map T₂.mor₃)

the third commutative square of a triangle morphism

def CategoryTheory.Pretriangulated.triangleMorphismId E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      (T : CategoryTheory.Pretriangulated.Triangle C) → CategoryTheory.Pretriangulated.TriangleMorphism T T

The identity triangle morphism.

theorem CategoryTheory.Pretriangulated.triangleMorphismId_hom₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  (T : CategoryTheory.Pretriangulated.Triangle C),
  (CategoryTheory.Pretriangulated.triangleMorphismId T).hom₃ = CategoryTheory.CategoryStruct.id T.obj₃

theorem CategoryTheory.Pretriangulated.triangleMorphismId_hom₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  (T : CategoryTheory.Pretriangulated.Triangle C),
  (CategoryTheory.Pretriangulated.triangleMorphismId T).hom₂ = CategoryTheory.CategoryStruct.id T.obj₂

theorem CategoryTheory.Pretriangulated.triangleMorphismId_hom₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  (T : CategoryTheory.Pretriangulated.Triangle C),
  (CategoryTheory.Pretriangulated.triangleMorphismId T).hom₁ = CategoryTheory.CategoryStruct.id T.obj₁

instance CategoryTheory.Pretriangulated.instInhabitedTriangleMorphism E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      (T : CategoryTheory.Pretriangulated.Triangle C) → Inhabited (CategoryTheory.Pretriangulated.TriangleMorphism T T)

def CategoryTheory.Pretriangulated.TriangleMorphism.comp E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {T₁ T₂ T₃ : CategoryTheory.Pretriangulated.Triangle C} →
        CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂ →
          CategoryTheory.Pretriangulated.TriangleMorphism T₂ T₃ → CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₃

Composition of triangle morphisms gives a triangle morphism.

theorem CategoryTheory.Pretriangulated.TriangleMorphism.comp_hom₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ T₃ : CategoryTheory.Pretriangulated.Triangle C} (f : CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂)
  (g : CategoryTheory.Pretriangulated.TriangleMorphism T₂ T₃),
  (f.comp g).hom₂ = CategoryTheory.CategoryStruct.comp f.hom₂ g.hom₂

theorem CategoryTheory.Pretriangulated.TriangleMorphism.comp_hom₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ T₃ : CategoryTheory.Pretriangulated.Triangle C} (f : CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂)
  (g : CategoryTheory.Pretriangulated.TriangleMorphism T₂ T₃),
  (f.comp g).hom₁ = CategoryTheory.CategoryStruct.comp f.hom₁ g.hom₁

theorem CategoryTheory.Pretriangulated.TriangleMorphism.comp_hom₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ T₃ : CategoryTheory.Pretriangulated.Triangle C} (f : CategoryTheory.Pretriangulated.TriangleMorphism T₁ T₂)
  (g : CategoryTheory.Pretriangulated.TriangleMorphism T₂ T₃),
  (f.comp g).hom₃ = CategoryTheory.CategoryStruct.comp f.hom₃ g.hom₃

instance CategoryTheory.Pretriangulated.triangleCategory E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      CategoryTheory.Category.{v, max u v} (CategoryTheory.Pretriangulated.Triangle C)

Triangles with triangle morphisms form a category.

theorem CategoryTheory.Pretriangulated.triangleCategory_id E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  (A : CategoryTheory.Pretriangulated.Triangle C),
  CategoryTheory.CategoryStruct.id A = CategoryTheory.Pretriangulated.triangleMorphismId A

theorem CategoryTheory.Pretriangulated.triangleCategory_comp E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {X Y Z : CategoryTheory.Pretriangulated.Triangle C} (f : CategoryTheory.Pretriangulated.TriangleMorphism X Y)
  (g : CategoryTheory.Pretriangulated.TriangleMorphism Y Z), CategoryTheory.CategoryStruct.comp f g = f.comp g

theorem CategoryTheory.Pretriangulated.Triangle.hom_ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {A B : CategoryTheory.Pretriangulated.Triangle C} (f g : A ⟶ B),
  f.hom₁ = g.hom₁ → f.hom₂ = g.hom₂ → f.hom₃ = g.hom₃ → f = g

theorem CategoryTheory.Pretriangulated.Triangle.hom_ext_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {A B : CategoryTheory.Pretriangulated.Triangle C} {f g : A ⟶ B},
  f = g ↔ f.hom₁ = g.hom₁ ∧ f.hom₂ = g.hom₂ ∧ f.hom₃ = g.hom₃

theorem CategoryTheory.Pretriangulated.id_hom₁ E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  (A : CategoryTheory.Pretriangulated.Triangle C),
  (CategoryTheory.CategoryStruct.id A).hom₁ = CategoryTheory.CategoryStruct.id A.obj₁

theorem CategoryTheory.Pretriangulated.id_hom₂ E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  (A : CategoryTheory.Pretriangulated.Triangle C),
  (CategoryTheory.CategoryStruct.id A).hom₂ = CategoryTheory.CategoryStruct.id A.obj₂

theorem CategoryTheory.Pretriangulated.id_hom₃ E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  (A : CategoryTheory.Pretriangulated.Triangle C),
  (CategoryTheory.CategoryStruct.id A).hom₃ = CategoryTheory.CategoryStruct.id A.obj₃

theorem CategoryTheory.Pretriangulated.comp_hom₁_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {X Y Z : CategoryTheory.Pretriangulated.Triangle C} (f : X ⟶ Y) (g : Y ⟶ Z) {Z_1 : C} (h : Z.obj₁ ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g).hom₁ h =
    CategoryTheory.CategoryStruct.comp f.hom₁ (CategoryTheory.CategoryStruct.comp g.hom₁ h)

theorem CategoryTheory.Pretriangulated.comp_hom₁ E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {X Y Z : CategoryTheory.Pretriangulated.Triangle C} (f : X ⟶ Y) (g : Y ⟶ Z),
  (CategoryTheory.CategoryStruct.comp f g).hom₁ = CategoryTheory.CategoryStruct.comp f.hom₁ g.hom₁

theorem CategoryTheory.Pretriangulated.comp_hom₂_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {X Y Z : CategoryTheory.Pretriangulated.Triangle C} (f : X ⟶ Y) (g : Y ⟶ Z) {Z_1 : C} (h : Z.obj₂ ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g).hom₂ h =
    CategoryTheory.CategoryStruct.comp f.hom₂ (CategoryTheory.CategoryStruct.comp g.hom₂ h)

theorem CategoryTheory.Pretriangulated.comp_hom₂ E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {X Y Z : CategoryTheory.Pretriangulated.Triangle C} (f : X ⟶ Y) (g : Y ⟶ Z),
  (CategoryTheory.CategoryStruct.comp f g).hom₂ = CategoryTheory.CategoryStruct.comp f.hom₂ g.hom₂

theorem CategoryTheory.Pretriangulated.comp_hom₃_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {X Y Z : CategoryTheory.Pretriangulated.Triangle C} (f : X ⟶ Y) (g : Y ⟶ Z) {Z_1 : C} (h : Z.obj₃ ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g).hom₃ h =
    CategoryTheory.CategoryStruct.comp f.hom₃ (CategoryTheory.CategoryStruct.comp g.hom₃ h)

theorem CategoryTheory.Pretriangulated.comp_hom₃ E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {X Y Z : CategoryTheory.Pretriangulated.Triangle C} (f : X ⟶ Y) (g : Y ⟶ Z),
  (CategoryTheory.CategoryStruct.comp f g).hom₃ = CategoryTheory.CategoryStruct.comp f.hom₃ g.hom₃

def CategoryTheory.Pretriangulated.Triangle.homMk E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      (A B : CategoryTheory.Pretriangulated.Triangle C) →
        (hom₁ : A.obj₁ ⟶ B.obj₁) →
          (hom₂ : A.obj₂ ⟶ B.obj₂) →
            (hom₃ : A.obj₃ ⟶ B.obj₃) →
              autoParam
                  (CategoryTheory.CategoryStruct.comp A.mor₁ hom₂ = CategoryTheory.CategoryStruct.comp hom₁ B.mor₁)
                  CategoryTheory.Pretriangulated.Triangle.homMk._auto_1 →
                autoParam
                    (CategoryTheory.CategoryStruct.comp A.mor₂ hom₃ = CategoryTheory.CategoryStruct.comp hom₂ B.mor₂)
                    CategoryTheory.Pretriangulated.Triangle.homMk._auto_3 →
                  autoParam
                      (CategoryTheory.CategoryStruct.comp A.mor₃ (hom₁⟦1⟧') =
                        CategoryTheory.CategoryStruct.comp hom₃ B.mor₃)
                      CategoryTheory.Pretriangulated.Triangle.homMk._auto_5 →
                    (A ⟶ B)

Make a morphism between triangles from the required data.

theorem CategoryTheory.Pretriangulated.Triangle.homMk_hom₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  (A B : CategoryTheory.Pretriangulated.Triangle C) (hom₁ : A.obj₁ ⟶ B.obj₁) (hom₂ : A.obj₂ ⟶ B.obj₂)
  (hom₃ : A.obj₃ ⟶ B.obj₃)
  (comm₁ :
    autoParam (CategoryTheory.CategoryStruct.comp A.mor₁ hom₂ = CategoryTheory.CategoryStruct.comp hom₁ B.mor₁)
      CategoryTheory.Pretriangulated.Triangle.homMk._auto_1)
  (comm₂ :
    autoParam (CategoryTheory.CategoryStruct.comp A.mor₂ hom₃ = CategoryTheory.CategoryStruct.comp hom₂ B.mor₂)
      CategoryTheory.Pretriangulated.Triangle.homMk._auto_3)
  (comm₃ :
    autoParam (CategoryTheory.CategoryStruct.comp A.mor₃ (hom₁⟦1⟧') = CategoryTheory.CategoryStruct.comp hom₃ B.mor₃)
      CategoryTheory.Pretriangulated.Triangle.homMk._auto_5),
  (A.homMk B hom₁ hom₂ hom₃ comm₁ comm₂ comm₃).hom₃ = hom₃

theorem CategoryTheory.Pretriangulated.Triangle.homMk_hom₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  (A B : CategoryTheory.Pretriangulated.Triangle C) (hom₁ : A.obj₁ ⟶ B.obj₁) (hom₂ : A.obj₂ ⟶ B.obj₂)
  (hom₃ : A.obj₃ ⟶ B.obj₃)
  (comm₁ :
    autoParam (CategoryTheory.CategoryStruct.comp A.mor₁ hom₂ = CategoryTheory.CategoryStruct.comp hom₁ B.mor₁)
      CategoryTheory.Pretriangulated.Triangle.homMk._auto_1)
  (comm₂ :
    autoParam (CategoryTheory.CategoryStruct.comp A.mor₂ hom₃ = CategoryTheory.CategoryStruct.comp hom₂ B.mor₂)
      CategoryTheory.Pretriangulated.Triangle.homMk._auto_3)
  (comm₃ :
    autoParam (CategoryTheory.CategoryStruct.comp A.mor₃ (hom₁⟦1⟧') = CategoryTheory.CategoryStruct.comp hom₃ B.mor₃)
      CategoryTheory.Pretriangulated.Triangle.homMk._auto_5),
  (A.homMk B hom₁ hom₂ hom₃ comm₁ comm₂ comm₃).hom₁ = hom₁

theorem CategoryTheory.Pretriangulated.Triangle.homMk_hom₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  (A B : CategoryTheory.Pretriangulated.Triangle C) (hom₁ : A.obj₁ ⟶ B.obj₁) (hom₂ : A.obj₂ ⟶ B.obj₂)
  (hom₃ : A.obj₃ ⟶ B.obj₃)
  (comm₁ :
    autoParam (CategoryTheory.CategoryStruct.comp A.mor₁ hom₂ = CategoryTheory.CategoryStruct.comp hom₁ B.mor₁)
      CategoryTheory.Pretriangulated.Triangle.homMk._auto_1)
  (comm₂ :
    autoParam (CategoryTheory.CategoryStruct.comp A.mor₂ hom₃ = CategoryTheory.CategoryStruct.comp hom₂ B.mor₂)
      CategoryTheory.Pretriangulated.Triangle.homMk._auto_3)
  (comm₃ :
    autoParam (CategoryTheory.CategoryStruct.comp A.mor₃ (hom₁⟦1⟧') = CategoryTheory.CategoryStruct.comp hom₃ B.mor₃)
      CategoryTheory.Pretriangulated.Triangle.homMk._auto_5),
  (A.homMk B hom₁ hom₂ hom₃ comm₁ comm₂ comm₃).hom₂ = hom₂

def CategoryTheory.Pretriangulated.Triangle.isoMk E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      (A B : CategoryTheory.Pretriangulated.Triangle C) →
        (iso₁ : A.obj₁ ≅ B.obj₁) →
          (iso₂ : A.obj₂ ≅ B.obj₂) →
            (iso₃ : A.obj₃ ≅ B.obj₃) →
              autoParam
                  (CategoryTheory.CategoryStruct.comp A.mor₁ iso₂.hom =
                    CategoryTheory.CategoryStruct.comp iso₁.hom B.mor₁)
                  CategoryTheory.Pretriangulated.Triangle.isoMk._auto_1 →
                autoParam
                    (CategoryTheory.CategoryStruct.comp A.mor₂ iso₃.hom =
                      CategoryTheory.CategoryStruct.comp iso₂.hom B.mor₂)
                    CategoryTheory.Pretriangulated.Triangle.isoMk._auto_3 →
                  autoParam
                      (CategoryTheory.CategoryStruct.comp A.mor₃ (iso₁.hom⟦1⟧') =
                        CategoryTheory.CategoryStruct.comp iso₃.hom B.mor₃)
                      CategoryTheory.Pretriangulated.Triangle.isoMk._auto_5 →
                    (A ≅ B)

Make an isomorphism between triangles from the required data.

theorem CategoryTheory.Pretriangulated.Triangle.isoMk_inv E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  (A B : CategoryTheory.Pretriangulated.Triangle C) (iso₁ : A.obj₁ ≅ B.obj₁) (iso₂ : A.obj₂ ≅ B.obj₂)
  (iso₃ : A.obj₃ ≅ B.obj₃)
  (comm₁ :
    autoParam (CategoryTheory.CategoryStruct.comp A.mor₁ iso₂.hom = CategoryTheory.CategoryStruct.comp iso₁.hom B.mor₁)
      CategoryTheory.Pretriangulated.Triangle.isoMk._auto_1)
  (comm₂ :
    autoParam (CategoryTheory.CategoryStruct.comp A.mor₂ iso₃.hom = CategoryTheory.CategoryStruct.comp iso₂.hom B.mor₂)
      CategoryTheory.Pretriangulated.Triangle.isoMk._auto_3)
  (comm₃ :
    autoParam
      (CategoryTheory.CategoryStruct.comp A.mor₃ (iso₁.hom⟦1⟧') = CategoryTheory.CategoryStruct.comp iso₃.hom B.mor₃)
      CategoryTheory.Pretriangulated.Triangle.isoMk._auto_5),
  (A.isoMk B iso₁ iso₂ iso₃ comm₁ comm₂ comm₃).inv = B.homMk A iso₁.inv iso₂.inv iso₃.inv ⋯ ⋯ ⋯

theorem CategoryTheory.Pretriangulated.Triangle.isoMk_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  (A B : CategoryTheory.Pretriangulated.Triangle C) (iso₁ : A.obj₁ ≅ B.obj₁) (iso₂ : A.obj₂ ≅ B.obj₂)
  (iso₃ : A.obj₃ ≅ B.obj₃)
  (comm₁ :
    autoParam (CategoryTheory.CategoryStruct.comp A.mor₁ iso₂.hom = CategoryTheory.CategoryStruct.comp iso₁.hom B.mor₁)
      CategoryTheory.Pretriangulated.Triangle.isoMk._auto_1)
  (comm₂ :
    autoParam (CategoryTheory.CategoryStruct.comp A.mor₂ iso₃.hom = CategoryTheory.CategoryStruct.comp iso₂.hom B.mor₂)
      CategoryTheory.Pretriangulated.Triangle.isoMk._auto_3)
  (comm₃ :
    autoParam
      (CategoryTheory.CategoryStruct.comp A.mor₃ (iso₁.hom⟦1⟧') = CategoryTheory.CategoryStruct.comp iso₃.hom B.mor₃)
      CategoryTheory.Pretriangulated.Triangle.isoMk._auto_5),
  (A.isoMk B iso₁ iso₂ iso₃ comm₁ comm₂ comm₃).hom = A.homMk B iso₁.hom iso₂.hom iso₃.hom comm₁ comm₂ comm₃

theorem CategoryTheory.Pretriangulated.Triangle.isIso_of_isIsos E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {A B : CategoryTheory.Pretriangulated.Triangle C} (f : A ⟶ B),
  CategoryTheory.IsIso f.hom₁ → CategoryTheory.IsIso f.hom₂ → CategoryTheory.IsIso f.hom₃ → CategoryTheory.IsIso f

theorem CategoryTheory.Iso.hom_inv_id_triangle_hom₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {A B : CategoryTheory.Pretriangulated.Triangle C} (e : A ≅ B),
  CategoryTheory.CategoryStruct.comp e.hom.hom₁ e.inv.hom₁ = CategoryTheory.CategoryStruct.id A.obj₁

theorem CategoryTheory.Iso.hom_inv_id_triangle_hom₁_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {A B : CategoryTheory.Pretriangulated.Triangle C} (e : A ≅ B) {Z : C} (h : A.obj₁ ⟶ Z),
  CategoryTheory.CategoryStruct.comp e.hom.hom₁ (CategoryTheory.CategoryStruct.comp e.inv.hom₁ h) = h

theorem CategoryTheory.Iso.hom_inv_id_triangle_hom₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {A B : CategoryTheory.Pretriangulated.Triangle C} (e : A ≅ B),
  CategoryTheory.CategoryStruct.comp e.hom.hom₂ e.inv.hom₂ = CategoryTheory.CategoryStruct.id A.obj₂

theorem CategoryTheory.Iso.hom_inv_id_triangle_hom₂_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {A B : CategoryTheory.Pretriangulated.Triangle C} (e : A ≅ B) {Z : C} (h : A.obj₂ ⟶ Z),
  CategoryTheory.CategoryStruct.comp e.hom.hom₂ (CategoryTheory.CategoryStruct.comp e.inv.hom₂ h) = h

theorem CategoryTheory.Iso.hom_inv_id_triangle_hom₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {A B : CategoryTheory.Pretriangulated.Triangle C} (e : A ≅ B),
  CategoryTheory.CategoryStruct.comp e.hom.hom₃ e.inv.hom₃ = CategoryTheory.CategoryStruct.id A.obj₃

theorem CategoryTheory.Iso.hom_inv_id_triangle_hom₃_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {A B : CategoryTheory.Pretriangulated.Triangle C} (e : A ≅ B) {Z : C} (h : A.obj₃ ⟶ Z),
  CategoryTheory.CategoryStruct.comp e.hom.hom₃ (CategoryTheory.CategoryStruct.comp e.inv.hom₃ h) = h

theorem CategoryTheory.Iso.inv_hom_id_triangle_hom₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {A B : CategoryTheory.Pretriangulated.Triangle C} (e : A ≅ B),
  CategoryTheory.CategoryStruct.comp e.inv.hom₁ e.hom.hom₁ = CategoryTheory.CategoryStruct.id B.obj₁

theorem CategoryTheory.Iso.inv_hom_id_triangle_hom₁_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {A B : CategoryTheory.Pretriangulated.Triangle C} (e : A ≅ B) {Z : C} (h : B.obj₁ ⟶ Z),
  CategoryTheory.CategoryStruct.comp e.inv.hom₁ (CategoryTheory.CategoryStruct.comp e.hom.hom₁ h) = h

theorem CategoryTheory.Iso.inv_hom_id_triangle_hom₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {A B : CategoryTheory.Pretriangulated.Triangle C} (e : A ≅ B),
  CategoryTheory.CategoryStruct.comp e.inv.hom₂ e.hom.hom₂ = CategoryTheory.CategoryStruct.id B.obj₂

theorem CategoryTheory.Iso.inv_hom_id_triangle_hom₂_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {A B : CategoryTheory.Pretriangulated.Triangle C} (e : A ≅ B) {Z : C} (h : B.obj₂ ⟶ Z),
  CategoryTheory.CategoryStruct.comp e.inv.hom₂ (CategoryTheory.CategoryStruct.comp e.hom.hom₂ h) = h

theorem CategoryTheory.Iso.inv_hom_id_triangle_hom₃_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {A B : CategoryTheory.Pretriangulated.Triangle C} (e : A ≅ B) {Z : C} (h : B.obj₃ ⟶ Z),
  CategoryTheory.CategoryStruct.comp e.inv.hom₃ (CategoryTheory.CategoryStruct.comp e.hom.hom₃ h) = h

theorem CategoryTheory.Iso.inv_hom_id_triangle_hom₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {A B : CategoryTheory.Pretriangulated.Triangle C} (e : A ≅ B),
  CategoryTheory.CategoryStruct.comp e.inv.hom₃ e.hom.hom₃ = CategoryTheory.CategoryStruct.id B.obj₃

theorem CategoryTheory.Pretriangulated.Triangle.eqToHom_hom₁ E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {A B : CategoryTheory.Pretriangulated.Triangle C} (h : A = B),
  (CategoryTheory.eqToHom h).hom₁ = CategoryTheory.eqToHom ⋯

theorem CategoryTheory.Pretriangulated.Triangle.eqToHom_hom₂ E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {A B : CategoryTheory.Pretriangulated.Triangle C} (h : A = B),
  (CategoryTheory.eqToHom h).hom₂ = CategoryTheory.eqToHom ⋯

theorem CategoryTheory.Pretriangulated.Triangle.eqToHom_hom₃ E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {A B : CategoryTheory.Pretriangulated.Triangle C} (h : A = B),
  (CategoryTheory.eqToHom h).hom₃ = CategoryTheory.eqToHom ⋯

instance CategoryTheory.Pretriangulated.Triangle.instZeroHom E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} →
        [inst_2 : CategoryTheory.Preadditive C] →
          [∀ (n : ℤ), (CategoryTheory.shiftFunctor C n).Additive] → Zero (T₁ ⟶ T₂)

theorem CategoryTheory.Pretriangulated.Triangle.zero_hom₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} [inst_2 : CategoryTheory.Preadditive C]
  [inst_3 : ∀ (n : ℤ), (CategoryTheory.shiftFunctor C n).Additive],
  CategoryTheory.Pretriangulated.TriangleMorphism.hom₁ 0 = 0

theorem CategoryTheory.Pretriangulated.Triangle.zero_hom₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} [inst_2 : CategoryTheory.Preadditive C]
  [inst_3 : ∀ (n : ℤ), (CategoryTheory.shiftFunctor C n).Additive],
  CategoryTheory.Pretriangulated.TriangleMorphism.hom₃ 0 = 0

theorem CategoryTheory.Pretriangulated.Triangle.zero_hom₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} [inst_2 : CategoryTheory.Preadditive C]
  [inst_3 : ∀ (n : ℤ), (CategoryTheory.shiftFunctor C n).Additive],
  CategoryTheory.Pretriangulated.TriangleMorphism.hom₂ 0 = 0

instance CategoryTheory.Pretriangulated.Triangle.instAddHom E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} →
        [inst_2 : CategoryTheory.Preadditive C] →
          [∀ (n : ℤ), (CategoryTheory.shiftFunctor C n).Additive] → Add (T₁ ⟶ T₂)

theorem CategoryTheory.Pretriangulated.Triangle.add_hom₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} [inst_2 : CategoryTheory.Preadditive C]
  [inst_3 : ∀ (n : ℤ), (CategoryTheory.shiftFunctor C n).Additive] (f g : T₁ ⟶ T₂), (f + g).hom₂ = f.hom₂ + g.hom₂

theorem CategoryTheory.Pretriangulated.Triangle.add_hom₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} [inst_2 : CategoryTheory.Preadditive C]
  [inst_3 : ∀ (n : ℤ), (CategoryTheory.shiftFunctor C n).Additive] (f g : T₁ ⟶ T₂), (f + g).hom₃ = f.hom₃ + g.hom₃

theorem CategoryTheory.Pretriangulated.Triangle.add_hom₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} [inst_2 : CategoryTheory.Preadditive C]
  [inst_3 : ∀ (n : ℤ), (CategoryTheory.shiftFunctor C n).Additive] (f g : T₁ ⟶ T₂), (f + g).hom₁ = f.hom₁ + g.hom₁

instance CategoryTheory.Pretriangulated.Triangle.instNegHom E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} →
        [inst_2 : CategoryTheory.Preadditive C] →
          [∀ (n : ℤ), (CategoryTheory.shiftFunctor C n).Additive] → Neg (T₁ ⟶ T₂)

theorem CategoryTheory.Pretriangulated.Triangle.neg_hom₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} [inst_2 : CategoryTheory.Preadditive C]
  [inst_3 : ∀ (n : ℤ), (CategoryTheory.shiftFunctor C n).Additive] (f : T₁ ⟶ T₂), (-f).hom₁ = -f.hom₁

theorem CategoryTheory.Pretriangulated.Triangle.neg_hom₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} [inst_2 : CategoryTheory.Preadditive C]
  [inst_3 : ∀ (n : ℤ), (CategoryTheory.shiftFunctor C n).Additive] (f : T₁ ⟶ T₂), (-f).hom₃ = -f.hom₃

theorem CategoryTheory.Pretriangulated.Triangle.neg_hom₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} [inst_2 : CategoryTheory.Preadditive C]
  [inst_3 : ∀ (n : ℤ), (CategoryTheory.shiftFunctor C n).Additive] (f : T₁ ⟶ T₂), (-f).hom₂ = -f.hom₂

theorem CategoryTheory.Pretriangulated.Triangle.sub_hom₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} [inst_2 : CategoryTheory.Preadditive C]
  [inst_3 : ∀ (n : ℤ), (CategoryTheory.shiftFunctor C n).Additive] (f g : T₁ ⟶ T₂), (f - g).hom₁ = f.hom₁ - g.hom₁

instance CategoryTheory.Pretriangulated.Triangle.instSubHom E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} →
        [inst_2 : CategoryTheory.Preadditive C] →
          [∀ (n : ℤ), (CategoryTheory.shiftFunctor C n).Additive] → Sub (T₁ ⟶ T₂)

theorem CategoryTheory.Pretriangulated.Triangle.sub_hom₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} [inst_2 : CategoryTheory.Preadditive C]
  [inst_3 : ∀ (n : ℤ), (CategoryTheory.shiftFunctor C n).Additive] (f g : T₁ ⟶ T₂), (f - g).hom₃ = f.hom₃ - g.hom₃

theorem CategoryTheory.Pretriangulated.Triangle.sub_hom₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} [inst_2 : CategoryTheory.Preadditive C]
  [inst_3 : ∀ (n : ℤ), (CategoryTheory.shiftFunctor C n).Additive] (f g : T₁ ⟶ T₂), (f - g).hom₂ = f.hom₂ - g.hom₂

theorem CategoryTheory.Pretriangulated.Triangle.smul_hom₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} [inst_2 : CategoryTheory.Preadditive C] {R : Type u_1}
  [inst_3 : Semiring R] [inst_4 : CategoryTheory.Linear R C]
  [inst_5 : ∀ (n : ℤ), CategoryTheory.Functor.Linear R (CategoryTheory.shiftFunctor C n)] (n : R) (f : T₁ ⟶ T₂),
  (n • f).hom₂ = n • f.hom₂

theorem CategoryTheory.Pretriangulated.Triangle.smul_hom₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} [inst_2 : CategoryTheory.Preadditive C] {R : Type u_1}
  [inst_3 : Semiring R] [inst_4 : CategoryTheory.Linear R C]
  [inst_5 : ∀ (n : ℤ), CategoryTheory.Functor.Linear R (CategoryTheory.shiftFunctor C n)] (n : R) (f : T₁ ⟶ T₂),
  (n • f).hom₃ = n • f.hom₃

theorem CategoryTheory.Pretriangulated.Triangle.smul_hom₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} [inst_2 : CategoryTheory.Preadditive C] {R : Type u_1}
  [inst_3 : Semiring R] [inst_4 : CategoryTheory.Linear R C]
  [inst_5 : ∀ (n : ℤ), CategoryTheory.Functor.Linear R (CategoryTheory.shiftFunctor C n)] (n : R) (f : T₁ ⟶ T₂),
  (n • f).hom₁ = n • f.hom₁

instance CategoryTheory.Pretriangulated.Triangle.instSMulHom E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} →
        [inst_2 : CategoryTheory.Preadditive C] →
          {R : Type u_1} →
            [inst_3 : Semiring R] →
              [inst_4 : CategoryTheory.Linear R C] →
                [∀ (n : ℤ), CategoryTheory.Functor.Linear R (CategoryTheory.shiftFunctor C n)] → SMul R (T₁ ⟶ T₂)

instance CategoryTheory.Pretriangulated.Triangle.instAddCommGroupHom E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} →
        [inst_2 : CategoryTheory.Preadditive C] →
          [∀ (n : ℤ), (CategoryTheory.shiftFunctor C n).Additive] → AddCommGroup (T₁ ⟶ T₂)

instance CategoryTheory.Pretriangulated.Triangle.instPreadditive E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      [inst_2 : CategoryTheory.Preadditive C] →
        [∀ (n : ℤ), (CategoryTheory.shiftFunctor C n).Additive] →
          CategoryTheory.Preadditive (CategoryTheory.Pretriangulated.Triangle C)

instance CategoryTheory.Pretriangulated.Triangle.instModuleHom E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {T₁ T₂ : CategoryTheory.Pretriangulated.Triangle C} →
        [inst_2 : CategoryTheory.Preadditive C] →
          {R : Type u_1} →
            [inst_3 : Semiring R] →
              [inst_4 : CategoryTheory.Linear R C] →
                [inst_5 : ∀ (n : ℤ), (CategoryTheory.shiftFunctor C n).Additive] →
                  [∀ (n : ℤ), CategoryTheory.Functor.Linear R (CategoryTheory.shiftFunctor C n)] → Module R (T₁ ⟶ T₂)

instance CategoryTheory.Pretriangulated.Triangle.instLinear E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      [inst_2 : CategoryTheory.Preadditive C] →
        {R : Type u_1} →
          [inst_3 : Semiring R] →
            [inst_4 : CategoryTheory.Linear R C] →
              [inst_5 : ∀ (n : ℤ), (CategoryTheory.shiftFunctor C n).Additive] →
                [∀ (n : ℤ), CategoryTheory.Functor.Linear R (CategoryTheory.shiftFunctor C n)] →
                  CategoryTheory.Linear R (CategoryTheory.Pretriangulated.Triangle C)

def CategoryTheory.Pretriangulated.binaryBiproductTriangle E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      (X₁ X₂ : C) →
        [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] →
          [CategoryTheory.Limits.HasBinaryBiproduct X₁ X₂] → CategoryTheory.Pretriangulated.Triangle C

The obvious triangle X₁ ⟶ X₁ ⊞ X₂ ⟶ X₂ ⟶ X₁⟦1⟧.

theorem CategoryTheory.Pretriangulated.binaryBiproductTriangle_mor₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] (X₁ X₂ : C)
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasBinaryBiproduct X₁ X₂],
  (CategoryTheory.Pretriangulated.binaryBiproductTriangle X₁ X₂).mor₁ = CategoryTheory.Limits.biprod.inl

theorem CategoryTheory.Pretriangulated.binaryBiproductTriangle_mor₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] (X₁ X₂ : C)
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasBinaryBiproduct X₁ X₂],
  (CategoryTheory.Pretriangulated.binaryBiproductTriangle X₁ X₂).mor₂ = CategoryTheory.Limits.biprod.snd

theorem CategoryTheory.Pretriangulated.binaryBiproductTriangle_obj₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] (X₁ X₂ : C)
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasBinaryBiproduct X₁ X₂],
  (CategoryTheory.Pretriangulated.binaryBiproductTriangle X₁ X₂).obj₃ = X₂

theorem CategoryTheory.Pretriangulated.binaryBiproductTriangle_obj₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] (X₁ X₂ : C)
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasBinaryBiproduct X₁ X₂],
  (CategoryTheory.Pretriangulated.binaryBiproductTriangle X₁ X₂).obj₂ = (X₁ ⊞ X₂)

theorem CategoryTheory.Pretriangulated.binaryBiproductTriangle_obj₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] (X₁ X₂ : C)
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasBinaryBiproduct X₁ X₂],
  (CategoryTheory.Pretriangulated.binaryBiproductTriangle X₁ X₂).obj₁ = X₁

theorem CategoryTheory.Pretriangulated.binaryBiproductTriangle_mor₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] (X₁ X₂ : C)
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasBinaryBiproduct X₁ X₂],
  (CategoryTheory.Pretriangulated.binaryBiproductTriangle X₁ X₂).mor₃ = 0

def CategoryTheory.Pretriangulated.binaryProductTriangle E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      (X₁ X₂ : C) →
        [CategoryTheory.Limits.HasZeroMorphisms C] →
          [CategoryTheory.Limits.HasBinaryProduct X₁ X₂] → CategoryTheory.Pretriangulated.Triangle C

The obvious triangle X₁ ⟶ X₁ ⨯ X₂ ⟶ X₂ ⟶ X₁⟦1⟧.

theorem CategoryTheory.Pretriangulated.binaryProductTriangle_obj₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] (X₁ X₂ : C)
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasBinaryProduct X₁ X₂],
  (CategoryTheory.Pretriangulated.binaryProductTriangle X₁ X₂).obj₂ = (X₁ ⨯ X₂)

theorem CategoryTheory.Pretriangulated.binaryProductTriangle_mor₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] (X₁ X₂ : C)
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasBinaryProduct X₁ X₂],
  (CategoryTheory.Pretriangulated.binaryProductTriangle X₁ X₂).mor₂ = CategoryTheory.Limits.prod.snd

theorem CategoryTheory.Pretriangulated.binaryProductTriangle_mor₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] (X₁ X₂ : C)
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasBinaryProduct X₁ X₂],
  (CategoryTheory.Pretriangulated.binaryProductTriangle X₁ X₂).mor₁ =
    CategoryTheory.Limits.prod.lift (CategoryTheory.CategoryStruct.id X₁) 0

theorem CategoryTheory.Pretriangulated.binaryProductTriangle_mor₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] (X₁ X₂ : C)
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasBinaryProduct X₁ X₂],
  (CategoryTheory.Pretriangulated.binaryProductTriangle X₁ X₂).mor₃ = 0

theorem CategoryTheory.Pretriangulated.binaryProductTriangle_obj₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] (X₁ X₂ : C)
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasBinaryProduct X₁ X₂],
  (CategoryTheory.Pretriangulated.binaryProductTriangle X₁ X₂).obj₃ = X₂

theorem CategoryTheory.Pretriangulated.binaryProductTriangle_obj₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] (X₁ X₂ : C)
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasBinaryProduct X₁ X₂],
  (CategoryTheory.Pretriangulated.binaryProductTriangle X₁ X₂).obj₁ = X₁

def CategoryTheory.Pretriangulated.binaryProductTriangleIsoBinaryBiproductTriangle E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      (X₁ X₂ : C) →
        [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] →
          [inst_3 : CategoryTheory.Limits.HasBinaryBiproduct X₁ X₂] →
            CategoryTheory.Pretriangulated.binaryProductTriangle X₁ X₂ ≅
              CategoryTheory.Pretriangulated.binaryBiproductTriangle X₁ X₂

The canonical isomorphism of triangles binaryProductTriangle X₁ X₂ ≅ binaryBiproductTriangle X₁ X₂.

theorem CategoryTheory.Pretriangulated.binaryProductTriangleIsoBinaryBiproductTriangle_hom_hom₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] (X₁ X₂ : C)
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasBinaryBiproduct X₁ X₂],
  (CategoryTheory.Pretriangulated.binaryProductTriangleIsoBinaryBiproductTriangle X₁ X₂).hom.hom₂ =
    CategoryTheory.Limits.biprod.lift CategoryTheory.Limits.prod.fst CategoryTheory.Limits.prod.snd

theorem CategoryTheory.Pretriangulated.binaryProductTriangleIsoBinaryBiproductTriangle_inv_hom₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] (X₁ X₂ : C)
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasBinaryBiproduct X₁ X₂],
  (CategoryTheory.Pretriangulated.binaryProductTriangleIsoBinaryBiproductTriangle X₁ X₂).inv.hom₂ =
    CategoryTheory.Limits.prod.lift CategoryTheory.Limits.biprod.fst CategoryTheory.Limits.biprod.snd

theorem CategoryTheory.Pretriangulated.binaryProductTriangleIsoBinaryBiproductTriangle_inv_hom₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] (X₁ X₂ : C)
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasBinaryBiproduct X₁ X₂],
  (CategoryTheory.Pretriangulated.binaryProductTriangleIsoBinaryBiproductTriangle X₁ X₂).inv.hom₃ =
    CategoryTheory.CategoryStruct.id X₂

theorem CategoryTheory.Pretriangulated.binaryProductTriangleIsoBinaryBiproductTriangle_inv_hom₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] (X₁ X₂ : C)
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasBinaryBiproduct X₁ X₂],
  (CategoryTheory.Pretriangulated.binaryProductTriangleIsoBinaryBiproductTriangle X₁ X₂).inv.hom₁ =
    CategoryTheory.CategoryStruct.id X₁

theorem CategoryTheory.Pretriangulated.binaryProductTriangleIsoBinaryBiproductTriangle_hom_hom₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] (X₁ X₂ : C)
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasBinaryBiproduct X₁ X₂],
  (CategoryTheory.Pretriangulated.binaryProductTriangleIsoBinaryBiproductTriangle X₁ X₂).hom.hom₃ =
    CategoryTheory.CategoryStruct.id X₂

theorem CategoryTheory.Pretriangulated.binaryProductTriangleIsoBinaryBiproductTriangle_hom_hom₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] (X₁ X₂ : C)
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasBinaryBiproduct X₁ X₂],
  (CategoryTheory.Pretriangulated.binaryProductTriangleIsoBinaryBiproductTriangle X₁ X₂).hom.hom₁ =
    CategoryTheory.CategoryStruct.id X₁

def CategoryTheory.Pretriangulated.productTriangle E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {J : Type u_1} →
        (T : J → CategoryTheory.Pretriangulated.Triangle C) →
          [CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁] →
            [CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₂] →
              [CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₃] →
                [CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁⟦1⟧] → CategoryTheory.Pretriangulated.Triangle C

The product of a family of triangles.

theorem CategoryTheory.Pretriangulated.productTriangle_mor₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  (T : J → CategoryTheory.Pretriangulated.Triangle C) [inst_2 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁]
  [inst_3 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₂]
  [inst_4 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₃]
  [inst_5 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁⟦1⟧],
  (CategoryTheory.Pretriangulated.productTriangle T).mor₂ = CategoryTheory.Limits.Pi.map fun j ↦ (T j).mor₂

theorem CategoryTheory.Pretriangulated.productTriangle_obj₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  (T : J → CategoryTheory.Pretriangulated.Triangle C) [inst_2 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁]
  [inst_3 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₂]
  [inst_4 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₃]
  [inst_5 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁⟦1⟧],
  (CategoryTheory.Pretriangulated.productTriangle T).obj₃ = ∏ᶜ fun j ↦ (T j).obj₃

theorem CategoryTheory.Pretriangulated.productTriangle_mor₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  (T : J → CategoryTheory.Pretriangulated.Triangle C) [inst_2 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁]
  [inst_3 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₂]
  [inst_4 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₃]
  [inst_5 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁⟦1⟧],
  (CategoryTheory.Pretriangulated.productTriangle T).mor₃ =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.map fun j ↦ (T j).mor₃)
      (CategoryTheory.inv (CategoryTheory.Limits.piComparison (CategoryTheory.shiftFunctor C 1) fun j ↦ (T j).obj₁))

theorem CategoryTheory.Pretriangulated.productTriangle_mor₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  (T : J → CategoryTheory.Pretriangulated.Triangle C) [inst_2 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁]
  [inst_3 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₂]
  [inst_4 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₃]
  [inst_5 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁⟦1⟧],
  (CategoryTheory.Pretriangulated.productTriangle T).mor₁ = CategoryTheory.Limits.Pi.map fun j ↦ (T j).mor₁

theorem CategoryTheory.Pretriangulated.productTriangle_obj₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  (T : J → CategoryTheory.Pretriangulated.Triangle C) [inst_2 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁]
  [inst_3 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₂]
  [inst_4 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₃]
  [inst_5 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁⟦1⟧],
  (CategoryTheory.Pretriangulated.productTriangle T).obj₁ = ∏ᶜ fun j ↦ (T j).obj₁

theorem CategoryTheory.Pretriangulated.productTriangle_obj₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  (T : J → CategoryTheory.Pretriangulated.Triangle C) [inst_2 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁]
  [inst_3 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₂]
  [inst_4 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₃]
  [inst_5 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁⟦1⟧],
  (CategoryTheory.Pretriangulated.productTriangle T).obj₂ = ∏ᶜ fun j ↦ (T j).obj₂

def CategoryTheory.Pretriangulated.productTriangle.π E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {J : Type u_1} →
        (T : J → CategoryTheory.Pretriangulated.Triangle C) →
          [inst_2 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁] →
            [inst_3 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₂] →
              [inst_4 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₃] →
                [inst_5 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁⟦1⟧] →
                  (j : J) → CategoryTheory.Pretriangulated.productTriangle T ⟶ T j

A projection from the product of a family of triangles.

theorem CategoryTheory.Pretriangulated.productTriangle.π_hom₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  (T : J → CategoryTheory.Pretriangulated.Triangle C) [inst_2 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁]
  [inst_3 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₂]
  [inst_4 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₃]
  [inst_5 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁⟦1⟧] (j : J),
  (CategoryTheory.Pretriangulated.productTriangle.π T j).hom₁ = CategoryTheory.Limits.Pi.π (fun j ↦ (T j).obj₁) j

theorem CategoryTheory.Pretriangulated.productTriangle.π_hom₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  (T : J → CategoryTheory.Pretriangulated.Triangle C) [inst_2 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁]
  [inst_3 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₂]
  [inst_4 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₃]
  [inst_5 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁⟦1⟧] (j : J),
  (CategoryTheory.Pretriangulated.productTriangle.π T j).hom₃ = CategoryTheory.Limits.Pi.π (fun j ↦ (T j).obj₃) j

theorem CategoryTheory.Pretriangulated.productTriangle.π_hom₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  (T : J → CategoryTheory.Pretriangulated.Triangle C) [inst_2 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁]
  [inst_3 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₂]
  [inst_4 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₃]
  [inst_5 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁⟦1⟧] (j : J),
  (CategoryTheory.Pretriangulated.productTriangle.π T j).hom₂ = CategoryTheory.Limits.Pi.π (fun j ↦ (T j).obj₂) j

abbrev CategoryTheory.Pretriangulated.productTriangle.fan E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {J : Type u_1} →
        (T : J → CategoryTheory.Pretriangulated.Triangle C) →
          [CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁] →
            [CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₂] →
              [CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₃] →
                [CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁⟦1⟧] → CategoryTheory.Limits.Fan T

The fan given by productTriangle T.

def CategoryTheory.Pretriangulated.productTriangle.lift E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {J : Type u_1} →
        (T : J → CategoryTheory.Pretriangulated.Triangle C) →
          [inst_2 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁] →
            [inst_3 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₂] →
              [inst_4 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₃] →
                [inst_5 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁⟦1⟧] →
                  {T' : CategoryTheory.Pretriangulated.Triangle C} →
                    ((j : J) → T' ⟶ T j) → (T' ⟶ CategoryTheory.Pretriangulated.productTriangle T)

A family of morphisms T' ⟶ T j lifts to a morphism T' ⟶ productTriangle T.

theorem CategoryTheory.Pretriangulated.productTriangle.lift_hom₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  (T : J → CategoryTheory.Pretriangulated.Triangle C) [inst_2 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁]
  [inst_3 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₂]
  [inst_4 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₃]
  [inst_5 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁⟦1⟧] {T' : CategoryTheory.Pretriangulated.Triangle C}
  (φ : (j : J) → T' ⟶ T j),
  (CategoryTheory.Pretriangulated.productTriangle.lift T φ).hom₁ = CategoryTheory.Limits.Pi.lift fun j ↦ (φ j).hom₁

theorem CategoryTheory.Pretriangulated.productTriangle.lift_hom₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  (T : J → CategoryTheory.Pretriangulated.Triangle C) [inst_2 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁]
  [inst_3 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₂]
  [inst_4 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₃]
  [inst_5 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁⟦1⟧] {T' : CategoryTheory.Pretriangulated.Triangle C}
  (φ : (j : J) → T' ⟶ T j),
  (CategoryTheory.Pretriangulated.productTriangle.lift T φ).hom₃ = CategoryTheory.Limits.Pi.lift fun j ↦ (φ j).hom₃

theorem CategoryTheory.Pretriangulated.productTriangle.lift_hom₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  (T : J → CategoryTheory.Pretriangulated.Triangle C) [inst_2 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁]
  [inst_3 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₂]
  [inst_4 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₃]
  [inst_5 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁⟦1⟧] {T' : CategoryTheory.Pretriangulated.Triangle C}
  (φ : (j : J) → T' ⟶ T j),
  (CategoryTheory.Pretriangulated.productTriangle.lift T φ).hom₂ = CategoryTheory.Limits.Pi.lift fun j ↦ (φ j).hom₂

def CategoryTheory.Pretriangulated.productTriangle.isLimitFan E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {J : Type u_1} →
        (T : J → CategoryTheory.Pretriangulated.Triangle C) →
          [inst_2 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁] →
            [inst_3 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₂] →
              [inst_4 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₃] →
                [inst_5 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁⟦1⟧] →
                  CategoryTheory.Limits.IsLimit (CategoryTheory.Pretriangulated.productTriangle.fan T)

The triangle productTriangle T satisfies the universal property of the categorical product of the triangles T.

theorem CategoryTheory.Pretriangulated.productTriangle.zero₃₁ E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  (T : J → CategoryTheory.Pretriangulated.Triangle C) [inst_2 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁]
  [inst_3 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₂]
  [inst_4 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₃]
  [inst_5 : CategoryTheory.Limits.HasProduct fun j ↦ (T j).obj₁⟦1⟧] [inst_6 : CategoryTheory.Limits.HasZeroMorphisms C],
  (∀ (j : J), CategoryTheory.CategoryStruct.comp (T j).mor₃ ((T j).mor₁⟦1⟧') = 0) →
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Pretriangulated.productTriangle T).mor₃
        ((CategoryTheory.Pretriangulated.productTriangle T).mor₁⟦1⟧') =
      0

def CategoryTheory.Pretriangulated.contractibleTriangleFunctor E1 #

(C : Type u) →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      [CategoryTheory.Limits.HasZeroObject C] →
        [CategoryTheory.Limits.HasZeroMorphisms C] →
          CategoryTheory.Functor C (CategoryTheory.Pretriangulated.Triangle C)

The functor C ⥤ Triangle C which sends X to contractibleTriangle X.

theorem CategoryTheory.Pretriangulated.contractibleTriangleFunctor_map_hom₂ E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  [inst_2 : CategoryTheory.Limits.HasZeroObject C] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms C] {X Y : C}
  (f : X ⟶ Y), ((CategoryTheory.Pretriangulated.contractibleTriangleFunctor C).map f).hom₂ = f

theorem CategoryTheory.Pretriangulated.contractibleTriangleFunctor_map_hom₁ E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  [inst_2 : CategoryTheory.Limits.HasZeroObject C] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms C] {X Y : C}
  (f : X ⟶ Y), ((CategoryTheory.Pretriangulated.contractibleTriangleFunctor C).map f).hom₁ = f

theorem CategoryTheory.Pretriangulated.contractibleTriangleFunctor_obj E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  [inst_2 : CategoryTheory.Limits.HasZeroObject C] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms C] (X : C),
  (CategoryTheory.Pretriangulated.contractibleTriangleFunctor C).obj X =
    CategoryTheory.Pretriangulated.contractibleTriangle X

theorem CategoryTheory.Pretriangulated.contractibleTriangleFunctor_map_hom₃ E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  [inst_2 : CategoryTheory.Limits.HasZeroObject C] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms C] {X Y : C}
  (f : X ⟶ Y), ((CategoryTheory.Pretriangulated.contractibleTriangleFunctor C).map f).hom₃ = 0

def CategoryTheory.Pretriangulated.Triangle.π₁ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] → CategoryTheory.Functor (CategoryTheory.Pretriangulated.Triangle C) C

The first projection Triangle C ⥤ C.

theorem CategoryTheory.Pretriangulated.Triangle.π₁_map E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {X Y : CategoryTheory.Pretriangulated.Triangle C} (f : X ⟶ Y),
  CategoryTheory.Pretriangulated.Triangle.π₁.map f = f.hom₁

theorem CategoryTheory.Pretriangulated.Triangle.π₁_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  (T : CategoryTheory.Pretriangulated.Triangle C), CategoryTheory.Pretriangulated.Triangle.π₁.obj T = T.obj₁

def CategoryTheory.Pretriangulated.Triangle.π₂ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] → CategoryTheory.Functor (CategoryTheory.Pretriangulated.Triangle C) C

The second projection Triangle C ⥤ C.

theorem CategoryTheory.Pretriangulated.Triangle.π₂_map E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {X Y : CategoryTheory.Pretriangulated.Triangle C} (f : X ⟶ Y),
  CategoryTheory.Pretriangulated.Triangle.π₂.map f = f.hom₂

theorem CategoryTheory.Pretriangulated.Triangle.π₂_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  (T : CategoryTheory.Pretriangulated.Triangle C), CategoryTheory.Pretriangulated.Triangle.π₂.obj T = T.obj₂

def CategoryTheory.Pretriangulated.Triangle.π₃ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] → CategoryTheory.Functor (CategoryTheory.Pretriangulated.Triangle C) C

The third projection Triangle C ⥤ C.

theorem CategoryTheory.Pretriangulated.Triangle.π₃_map E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {X Y : CategoryTheory.Pretriangulated.Triangle C} (f : X ⟶ Y),
  CategoryTheory.Pretriangulated.Triangle.π₃.map f = f.hom₃

theorem CategoryTheory.Pretriangulated.Triangle.π₃_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  (T : CategoryTheory.Pretriangulated.Triangle C), CategoryTheory.Pretriangulated.Triangle.π₃.obj T = T.obj₃

def CategoryTheory.Pretriangulated.Triangle.π₁Toπ₂ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      CategoryTheory.Pretriangulated.Triangle.π₁ ⟶ CategoryTheory.Pretriangulated.Triangle.π₂

The first morphism of a triangle, as a natural transformation π₁ ⟶ π₂.

theorem CategoryTheory.Pretriangulated.Triangle.π₁Toπ₂_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  (T : CategoryTheory.Pretriangulated.Triangle C), CategoryTheory.Pretriangulated.Triangle.π₁Toπ₂.app T = T.mor₁

def CategoryTheory.Pretriangulated.Triangle.π₂Toπ₃ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      CategoryTheory.Pretriangulated.Triangle.π₂ ⟶ CategoryTheory.Pretriangulated.Triangle.π₃

The second morphism of a triangle, as a natural transformation π₂ ⟶ π₃.

theorem CategoryTheory.Pretriangulated.Triangle.π₂Toπ₃_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  (T : CategoryTheory.Pretriangulated.Triangle C), CategoryTheory.Pretriangulated.Triangle.π₂Toπ₃.app T = T.mor₂

def CategoryTheory.Pretriangulated.Triangle.π₃Toπ₁ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      CategoryTheory.Pretriangulated.Triangle.π₃ ⟶
        CategoryTheory.Pretriangulated.Triangle.π₁.comp (CategoryTheory.shiftFunctor C 1)

The third morphism of a triangle, as a natural transformation π₃ ⟶ π₁ ⋙ shiftFunctor _ 1.

theorem CategoryTheory.Pretriangulated.Triangle.π₃Toπ₁_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  (T : CategoryTheory.Pretriangulated.Triangle C), CategoryTheory.Pretriangulated.Triangle.π₃Toπ₁.app T = T.mor₃

instance CategoryTheory.Pretriangulated.Triangle.instIsIsoHom₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {A B : CategoryTheory.Pretriangulated.Triangle C} (φ : A ⟶ B) [CategoryTheory.IsIso φ], CategoryTheory.IsIso φ.hom₁

instance CategoryTheory.Pretriangulated.Triangle.instIsIsoHom₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {A B : CategoryTheory.Pretriangulated.Triangle C} (φ : A ⟶ B) [CategoryTheory.IsIso φ], CategoryTheory.IsIso φ.hom₂

instance CategoryTheory.Pretriangulated.Triangle.instIsIsoHom₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ]
  {A B : CategoryTheory.Pretriangulated.Triangle C} (φ : A ⟶ B) [CategoryTheory.IsIso φ], CategoryTheory.IsIso φ.hom₃

def CategoryTheory.Pretriangulated.Triangle.functorMk E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {J : Type u_1} →
        [inst_2 : CategoryTheory.Category.{v_1, u_1} J] →
          {obj₁ obj₂ obj₃ : CategoryTheory.Functor J C} →
            (obj₁ ⟶ obj₂) →
              (obj₂ ⟶ obj₃) →
                (obj₃ ⟶ obj₁.comp (CategoryTheory.shiftFunctor C 1)) →
                  CategoryTheory.Functor J (CategoryTheory.Pretriangulated.Triangle C)

Constructor for functors to the category of triangles.

theorem CategoryTheory.Pretriangulated.Triangle.functorMk_map_hom₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  [inst_2 : CategoryTheory.Category.{v_1, u_1} J] {obj₁ obj₂ obj₃ : CategoryTheory.Functor J C} (mor₁ : obj₁ ⟶ obj₂)
  (mor₂ : obj₂ ⟶ obj₃) (mor₃ : obj₃ ⟶ obj₁.comp (CategoryTheory.shiftFunctor C 1)) {X Y : J} (φ : X ⟶ Y),
  ((CategoryTheory.Pretriangulated.Triangle.functorMk mor₁ mor₂ mor₃).map φ).hom₃ = obj₃.map φ

theorem CategoryTheory.Pretriangulated.Triangle.functorMk_map_hom₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  [inst_2 : CategoryTheory.Category.{v_1, u_1} J] {obj₁ obj₂ obj₃ : CategoryTheory.Functor J C} (mor₁ : obj₁ ⟶ obj₂)
  (mor₂ : obj₂ ⟶ obj₃) (mor₃ : obj₃ ⟶ obj₁.comp (CategoryTheory.shiftFunctor C 1)) {X Y : J} (φ : X ⟶ Y),
  ((CategoryTheory.Pretriangulated.Triangle.functorMk mor₁ mor₂ mor₃).map φ).hom₁ = obj₁.map φ

theorem CategoryTheory.Pretriangulated.Triangle.functorMk_map_hom₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  [inst_2 : CategoryTheory.Category.{v_1, u_1} J] {obj₁ obj₂ obj₃ : CategoryTheory.Functor J C} (mor₁ : obj₁ ⟶ obj₂)
  (mor₂ : obj₂ ⟶ obj₃) (mor₃ : obj₃ ⟶ obj₁.comp (CategoryTheory.shiftFunctor C 1)) {X Y : J} (φ : X ⟶ Y),
  ((CategoryTheory.Pretriangulated.Triangle.functorMk mor₁ mor₂ mor₃).map φ).hom₂ = obj₂.map φ

theorem CategoryTheory.Pretriangulated.Triangle.functorMk_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  [inst_2 : CategoryTheory.Category.{v_1, u_1} J] {obj₁ obj₂ obj₃ : CategoryTheory.Functor J C} (mor₁ : obj₁ ⟶ obj₂)
  (mor₂ : obj₂ ⟶ obj₃) (mor₃ : obj₃ ⟶ obj₁.comp (CategoryTheory.shiftFunctor C 1)) (j : J),
  (CategoryTheory.Pretriangulated.Triangle.functorMk mor₁ mor₂ mor₃).obj j =
    CategoryTheory.Pretriangulated.Triangle.mk (mor₁.app j) (mor₂.app j) (mor₃.app j)

def CategoryTheory.Pretriangulated.Triangle.functorHomMk E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {J : Type u_1} →
        [inst_2 : CategoryTheory.Category.{v_1, u_1} J] →
          (A B : CategoryTheory.Functor J (CategoryTheory.Pretriangulated.Triangle C)) →
            (hom₁ :
                A.comp CategoryTheory.Pretriangulated.Triangle.π₁ ⟶ B.comp CategoryTheory.Pretriangulated.Triangle.π₁) →
              (hom₂ :
                  A.comp CategoryTheory.Pretriangulated.Triangle.π₂ ⟶
                    B.comp CategoryTheory.Pretriangulated.Triangle.π₂) →
                (hom₃ :
                    A.comp CategoryTheory.Pretriangulated.Triangle.π₃ ⟶
                      B.comp CategoryTheory.Pretriangulated.Triangle.π₃) →
                  autoParam
                      (CategoryTheory.CategoryStruct.comp (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₁Toπ₂)
                          hom₂ =
                        CategoryTheory.CategoryStruct.comp hom₁
                          (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₁Toπ₂))
                      CategoryTheory.Pretriangulated.Triangle.functorHomMk._auto_1 →
                    autoParam
                        (CategoryTheory.CategoryStruct.comp
                            (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₂Toπ₃) hom₃ =
                          CategoryTheory.CategoryStruct.comp hom₂
                            (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₂Toπ₃))
                        CategoryTheory.Pretriangulated.Triangle.functorHomMk._auto_3 →
                      autoParam
                          (CategoryTheory.CategoryStruct.comp
                              (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₃Toπ₁)
                              (CategoryTheory.Functor.whiskerRight hom₁ (CategoryTheory.shiftFunctor C 1)) =
                            CategoryTheory.CategoryStruct.comp hom₃
                              (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₃Toπ₁))
                          CategoryTheory.Pretriangulated.Triangle.functorHomMk._auto_5 →
                        (A ⟶ B)

Constructor for natural transformations between functors to the category of triangles.

theorem CategoryTheory.Pretriangulated.Triangle.functorHomMk_app_hom₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  [inst_2 : CategoryTheory.Category.{v_1, u_1} J]
  (A B : CategoryTheory.Functor J (CategoryTheory.Pretriangulated.Triangle C))
  (hom₁ : A.comp CategoryTheory.Pretriangulated.Triangle.π₁ ⟶ B.comp CategoryTheory.Pretriangulated.Triangle.π₁)
  (hom₂ : A.comp CategoryTheory.Pretriangulated.Triangle.π₂ ⟶ B.comp CategoryTheory.Pretriangulated.Triangle.π₂)
  (hom₃ : A.comp CategoryTheory.Pretriangulated.Triangle.π₃ ⟶ B.comp CategoryTheory.Pretriangulated.Triangle.π₃)
  (comm₁ :
    autoParam
      (CategoryTheory.CategoryStruct.comp (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₁Toπ₂) hom₂ =
        CategoryTheory.CategoryStruct.comp hom₁ (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₁Toπ₂))
      CategoryTheory.Pretriangulated.Triangle.functorHomMk._auto_1)
  (comm₂ :
    autoParam
      (CategoryTheory.CategoryStruct.comp (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₂Toπ₃) hom₃ =
        CategoryTheory.CategoryStruct.comp hom₂ (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₂Toπ₃))
      CategoryTheory.Pretriangulated.Triangle.functorHomMk._auto_3)
  (comm₃ :
    autoParam
      (CategoryTheory.CategoryStruct.comp (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₃Toπ₁)
          (CategoryTheory.Functor.whiskerRight hom₁ (CategoryTheory.shiftFunctor C 1)) =
        CategoryTheory.CategoryStruct.comp hom₃ (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₃Toπ₁))
      CategoryTheory.Pretriangulated.Triangle.functorHomMk._auto_5)
  (j : J),
  ((CategoryTheory.Pretriangulated.Triangle.functorHomMk A B hom₁ hom₂ hom₃ comm₁ comm₂ comm₃).app j).hom₂ = hom₂.app j

theorem CategoryTheory.Pretriangulated.Triangle.functorHomMk_app_hom₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  [inst_2 : CategoryTheory.Category.{v_1, u_1} J]
  (A B : CategoryTheory.Functor J (CategoryTheory.Pretriangulated.Triangle C))
  (hom₁ : A.comp CategoryTheory.Pretriangulated.Triangle.π₁ ⟶ B.comp CategoryTheory.Pretriangulated.Triangle.π₁)
  (hom₂ : A.comp CategoryTheory.Pretriangulated.Triangle.π₂ ⟶ B.comp CategoryTheory.Pretriangulated.Triangle.π₂)
  (hom₃ : A.comp CategoryTheory.Pretriangulated.Triangle.π₃ ⟶ B.comp CategoryTheory.Pretriangulated.Triangle.π₃)
  (comm₁ :
    autoParam
      (CategoryTheory.CategoryStruct.comp (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₁Toπ₂) hom₂ =
        CategoryTheory.CategoryStruct.comp hom₁ (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₁Toπ₂))
      CategoryTheory.Pretriangulated.Triangle.functorHomMk._auto_1)
  (comm₂ :
    autoParam
      (CategoryTheory.CategoryStruct.comp (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₂Toπ₃) hom₃ =
        CategoryTheory.CategoryStruct.comp hom₂ (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₂Toπ₃))
      CategoryTheory.Pretriangulated.Triangle.functorHomMk._auto_3)
  (comm₃ :
    autoParam
      (CategoryTheory.CategoryStruct.comp (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₃Toπ₁)
          (CategoryTheory.Functor.whiskerRight hom₁ (CategoryTheory.shiftFunctor C 1)) =
        CategoryTheory.CategoryStruct.comp hom₃ (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₃Toπ₁))
      CategoryTheory.Pretriangulated.Triangle.functorHomMk._auto_5)
  (j : J),
  ((CategoryTheory.Pretriangulated.Triangle.functorHomMk A B hom₁ hom₂ hom₃ comm₁ comm₂ comm₃).app j).hom₃ = hom₃.app j

theorem CategoryTheory.Pretriangulated.Triangle.functorHomMk_app_hom₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  [inst_2 : CategoryTheory.Category.{v_1, u_1} J]
  (A B : CategoryTheory.Functor J (CategoryTheory.Pretriangulated.Triangle C))
  (hom₁ : A.comp CategoryTheory.Pretriangulated.Triangle.π₁ ⟶ B.comp CategoryTheory.Pretriangulated.Triangle.π₁)
  (hom₂ : A.comp CategoryTheory.Pretriangulated.Triangle.π₂ ⟶ B.comp CategoryTheory.Pretriangulated.Triangle.π₂)
  (hom₃ : A.comp CategoryTheory.Pretriangulated.Triangle.π₃ ⟶ B.comp CategoryTheory.Pretriangulated.Triangle.π₃)
  (comm₁ :
    autoParam
      (CategoryTheory.CategoryStruct.comp (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₁Toπ₂) hom₂ =
        CategoryTheory.CategoryStruct.comp hom₁ (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₁Toπ₂))
      CategoryTheory.Pretriangulated.Triangle.functorHomMk._auto_1)
  (comm₂ :
    autoParam
      (CategoryTheory.CategoryStruct.comp (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₂Toπ₃) hom₃ =
        CategoryTheory.CategoryStruct.comp hom₂ (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₂Toπ₃))
      CategoryTheory.Pretriangulated.Triangle.functorHomMk._auto_3)
  (comm₃ :
    autoParam
      (CategoryTheory.CategoryStruct.comp (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₃Toπ₁)
          (CategoryTheory.Functor.whiskerRight hom₁ (CategoryTheory.shiftFunctor C 1)) =
        CategoryTheory.CategoryStruct.comp hom₃ (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₃Toπ₁))
      CategoryTheory.Pretriangulated.Triangle.functorHomMk._auto_5)
  (j : J),
  ((CategoryTheory.Pretriangulated.Triangle.functorHomMk A B hom₁ hom₂ hom₃ comm₁ comm₂ comm₃).app j).hom₁ = hom₁.app j

def CategoryTheory.Pretriangulated.Triangle.functorHomMk' E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {J : Type u_1} →
        [inst_2 : CategoryTheory.Category.{v_1, u_1} J] →
          {obj₁ obj₂ obj₃ : CategoryTheory.Functor J C} →
            {mor₁ : obj₁ ⟶ obj₂} →
              {mor₂ : obj₂ ⟶ obj₃} →
                {mor₃ : obj₃ ⟶ obj₁.comp (CategoryTheory.shiftFunctor C 1)} →
                  {obj₁' obj₂' obj₃' : CategoryTheory.Functor J C} →
                    {mor₁' : obj₁' ⟶ obj₂'} →
                      {mor₂' : obj₂' ⟶ obj₃'} →
                        {mor₃' : obj₃' ⟶ obj₁'.comp (CategoryTheory.shiftFunctor C 1)} →
                          (hom₁ : obj₁ ⟶ obj₁') →
                            (hom₂ : obj₂ ⟶ obj₂') →
                              (hom₃ : obj₃ ⟶ obj₃') →
                                CategoryTheory.CategoryStruct.comp mor₁ hom₂ =
                                    CategoryTheory.CategoryStruct.comp hom₁ mor₁' →
                                  CategoryTheory.CategoryStruct.comp mor₂ hom₃ =
                                      CategoryTheory.CategoryStruct.comp hom₂ mor₂' →
                                    CategoryTheory.CategoryStruct.comp mor₃
                                          (CategoryTheory.Functor.whiskerRight hom₁ (CategoryTheory.shiftFunctor C 1)) =
                                        CategoryTheory.CategoryStruct.comp hom₃ mor₃' →
                                      (CategoryTheory.Pretriangulated.Triangle.functorMk mor₁ mor₂ mor₃ ⟶
                                        CategoryTheory.Pretriangulated.Triangle.functorMk mor₁' mor₂' mor₃')

Constructor for natural transformations between functors constructed with functorMk.

theorem CategoryTheory.Pretriangulated.Triangle.functorHomMk'_app_hom₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  [inst_2 : CategoryTheory.Category.{v_1, u_1} J] {obj₁ obj₂ obj₃ : CategoryTheory.Functor J C} {mor₁ : obj₁ ⟶ obj₂}
  {mor₂ : obj₂ ⟶ obj₃} {mor₃ : obj₃ ⟶ obj₁.comp (CategoryTheory.shiftFunctor C 1)}
  {obj₁' obj₂' obj₃' : CategoryTheory.Functor J C} {mor₁' : obj₁' ⟶ obj₂'} {mor₂' : obj₂' ⟶ obj₃'}
  {mor₃' : obj₃' ⟶ obj₁'.comp (CategoryTheory.shiftFunctor C 1)} (hom₁ : obj₁ ⟶ obj₁') (hom₂ : obj₂ ⟶ obj₂')
  (hom₃ : obj₃ ⟶ obj₃')
  (comm₁ : CategoryTheory.CategoryStruct.comp mor₁ hom₂ = CategoryTheory.CategoryStruct.comp hom₁ mor₁')
  (comm₂ : CategoryTheory.CategoryStruct.comp mor₂ hom₃ = CategoryTheory.CategoryStruct.comp hom₂ mor₂')
  (comm₃ :
    CategoryTheory.CategoryStruct.comp mor₃
        (CategoryTheory.Functor.whiskerRight hom₁ (CategoryTheory.shiftFunctor C 1)) =
      CategoryTheory.CategoryStruct.comp hom₃ mor₃')
  (j : J),
  ((CategoryTheory.Pretriangulated.Triangle.functorHomMk' hom₁ hom₂ hom₃ comm₁ comm₂ comm₃).app j).hom₁ = hom₁.app j

theorem CategoryTheory.Pretriangulated.Triangle.functorHomMk'_app_hom₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  [inst_2 : CategoryTheory.Category.{v_1, u_1} J] {obj₁ obj₂ obj₃ : CategoryTheory.Functor J C} {mor₁ : obj₁ ⟶ obj₂}
  {mor₂ : obj₂ ⟶ obj₃} {mor₃ : obj₃ ⟶ obj₁.comp (CategoryTheory.shiftFunctor C 1)}
  {obj₁' obj₂' obj₃' : CategoryTheory.Functor J C} {mor₁' : obj₁' ⟶ obj₂'} {mor₂' : obj₂' ⟶ obj₃'}
  {mor₃' : obj₃' ⟶ obj₁'.comp (CategoryTheory.shiftFunctor C 1)} (hom₁ : obj₁ ⟶ obj₁') (hom₂ : obj₂ ⟶ obj₂')
  (hom₃ : obj₃ ⟶ obj₃')
  (comm₁ : CategoryTheory.CategoryStruct.comp mor₁ hom₂ = CategoryTheory.CategoryStruct.comp hom₁ mor₁')
  (comm₂ : CategoryTheory.CategoryStruct.comp mor₂ hom₃ = CategoryTheory.CategoryStruct.comp hom₂ mor₂')
  (comm₃ :
    CategoryTheory.CategoryStruct.comp mor₃
        (CategoryTheory.Functor.whiskerRight hom₁ (CategoryTheory.shiftFunctor C 1)) =
      CategoryTheory.CategoryStruct.comp hom₃ mor₃')
  (j : J),
  ((CategoryTheory.Pretriangulated.Triangle.functorHomMk' hom₁ hom₂ hom₃ comm₁ comm₂ comm₃).app j).hom₃ = hom₃.app j

theorem CategoryTheory.Pretriangulated.Triangle.functorHomMk'_app_hom₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  [inst_2 : CategoryTheory.Category.{v_1, u_1} J] {obj₁ obj₂ obj₃ : CategoryTheory.Functor J C} {mor₁ : obj₁ ⟶ obj₂}
  {mor₂ : obj₂ ⟶ obj₃} {mor₃ : obj₃ ⟶ obj₁.comp (CategoryTheory.shiftFunctor C 1)}
  {obj₁' obj₂' obj₃' : CategoryTheory.Functor J C} {mor₁' : obj₁' ⟶ obj₂'} {mor₂' : obj₂' ⟶ obj₃'}
  {mor₃' : obj₃' ⟶ obj₁'.comp (CategoryTheory.shiftFunctor C 1)} (hom₁ : obj₁ ⟶ obj₁') (hom₂ : obj₂ ⟶ obj₂')
  (hom₃ : obj₃ ⟶ obj₃')
  (comm₁ : CategoryTheory.CategoryStruct.comp mor₁ hom₂ = CategoryTheory.CategoryStruct.comp hom₁ mor₁')
  (comm₂ : CategoryTheory.CategoryStruct.comp mor₂ hom₃ = CategoryTheory.CategoryStruct.comp hom₂ mor₂')
  (comm₃ :
    CategoryTheory.CategoryStruct.comp mor₃
        (CategoryTheory.Functor.whiskerRight hom₁ (CategoryTheory.shiftFunctor C 1)) =
      CategoryTheory.CategoryStruct.comp hom₃ mor₃')
  (j : J),
  ((CategoryTheory.Pretriangulated.Triangle.functorHomMk' hom₁ hom₂ hom₃ comm₁ comm₂ comm₃).app j).hom₂ = hom₂.app j

def CategoryTheory.Pretriangulated.Triangle.functorIsoMk E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {J : Type u_1} →
        [inst_2 : CategoryTheory.Category.{v_1, u_1} J] →
          (A B : CategoryTheory.Functor J (CategoryTheory.Pretriangulated.Triangle C)) →
            (iso₁ :
                A.comp CategoryTheory.Pretriangulated.Triangle.π₁ ≅ B.comp CategoryTheory.Pretriangulated.Triangle.π₁) →
              (iso₂ :
                  A.comp CategoryTheory.Pretriangulated.Triangle.π₂ ≅
                    B.comp CategoryTheory.Pretriangulated.Triangle.π₂) →
                (iso₃ :
                    A.comp CategoryTheory.Pretriangulated.Triangle.π₃ ≅
                      B.comp CategoryTheory.Pretriangulated.Triangle.π₃) →
                  CategoryTheory.CategoryStruct.comp (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₁Toπ₂)
                        iso₂.hom =
                      CategoryTheory.CategoryStruct.comp iso₁.hom
                        (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₁Toπ₂) →
                    CategoryTheory.CategoryStruct.comp (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₂Toπ₃)
                          iso₃.hom =
                        CategoryTheory.CategoryStruct.comp iso₂.hom
                          (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₂Toπ₃) →
                      CategoryTheory.CategoryStruct.comp (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₃Toπ₁)
                            (CategoryTheory.Functor.whiskerRight iso₁.hom (CategoryTheory.shiftFunctor C 1)) =
                          CategoryTheory.CategoryStruct.comp iso₃.hom
                            (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₃Toπ₁) →
                        (A ≅ B)

Constructor for natural isomorphisms between functors to the category of triangles.

theorem CategoryTheory.Pretriangulated.Triangle.functorIsoMk_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  [inst_2 : CategoryTheory.Category.{v_1, u_1} J]
  (A B : CategoryTheory.Functor J (CategoryTheory.Pretriangulated.Triangle C))
  (iso₁ : A.comp CategoryTheory.Pretriangulated.Triangle.π₁ ≅ B.comp CategoryTheory.Pretriangulated.Triangle.π₁)
  (iso₂ : A.comp CategoryTheory.Pretriangulated.Triangle.π₂ ≅ B.comp CategoryTheory.Pretriangulated.Triangle.π₂)
  (iso₃ : A.comp CategoryTheory.Pretriangulated.Triangle.π₃ ≅ B.comp CategoryTheory.Pretriangulated.Triangle.π₃)
  (comm₁ :
    CategoryTheory.CategoryStruct.comp (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₁Toπ₂) iso₂.hom =
      CategoryTheory.CategoryStruct.comp iso₁.hom (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₁Toπ₂))
  (comm₂ :
    CategoryTheory.CategoryStruct.comp (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₂Toπ₃) iso₃.hom =
      CategoryTheory.CategoryStruct.comp iso₂.hom (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₂Toπ₃))
  (comm₃ :
    CategoryTheory.CategoryStruct.comp (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₃Toπ₁)
        (CategoryTheory.Functor.whiskerRight iso₁.hom (CategoryTheory.shiftFunctor C 1)) =
      CategoryTheory.CategoryStruct.comp iso₃.hom (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₃Toπ₁)),
  (CategoryTheory.Pretriangulated.Triangle.functorIsoMk A B iso₁ iso₂ iso₃ comm₁ comm₂ comm₃).hom =
    CategoryTheory.Pretriangulated.Triangle.functorHomMk A B iso₁.hom iso₂.hom iso₃.hom comm₁ comm₂ comm₃

theorem CategoryTheory.Pretriangulated.Triangle.functorIsoMk_inv E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  [inst_2 : CategoryTheory.Category.{v_1, u_1} J]
  (A B : CategoryTheory.Functor J (CategoryTheory.Pretriangulated.Triangle C))
  (iso₁ : A.comp CategoryTheory.Pretriangulated.Triangle.π₁ ≅ B.comp CategoryTheory.Pretriangulated.Triangle.π₁)
  (iso₂ : A.comp CategoryTheory.Pretriangulated.Triangle.π₂ ≅ B.comp CategoryTheory.Pretriangulated.Triangle.π₂)
  (iso₃ : A.comp CategoryTheory.Pretriangulated.Triangle.π₃ ≅ B.comp CategoryTheory.Pretriangulated.Triangle.π₃)
  (comm₁ :
    CategoryTheory.CategoryStruct.comp (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₁Toπ₂) iso₂.hom =
      CategoryTheory.CategoryStruct.comp iso₁.hom (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₁Toπ₂))
  (comm₂ :
    CategoryTheory.CategoryStruct.comp (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₂Toπ₃) iso₃.hom =
      CategoryTheory.CategoryStruct.comp iso₂.hom (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₂Toπ₃))
  (comm₃ :
    CategoryTheory.CategoryStruct.comp (A.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₃Toπ₁)
        (CategoryTheory.Functor.whiskerRight iso₁.hom (CategoryTheory.shiftFunctor C 1)) =
      CategoryTheory.CategoryStruct.comp iso₃.hom (B.whiskerLeft CategoryTheory.Pretriangulated.Triangle.π₃Toπ₁)),
  (CategoryTheory.Pretriangulated.Triangle.functorIsoMk A B iso₁ iso₂ iso₃ comm₁ comm₂ comm₃).inv =
    CategoryTheory.Pretriangulated.Triangle.functorHomMk B A iso₁.inv iso₂.inv iso₃.inv ⋯ ⋯ ⋯

def CategoryTheory.Pretriangulated.Triangle.functorIsoMk' E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasShift C ℤ] →
      {J : Type u_1} →
        [inst_2 : CategoryTheory.Category.{v_1, u_1} J] →
          {obj₁ obj₂ obj₃ : CategoryTheory.Functor J C} →
            {mor₁ : obj₁ ⟶ obj₂} →
              {mor₂ : obj₂ ⟶ obj₃} →
                {mor₃ : obj₃ ⟶ obj₁.comp (CategoryTheory.shiftFunctor C 1)} →
                  {obj₁' obj₂' obj₃' : CategoryTheory.Functor J C} →
                    {mor₁' : obj₁' ⟶ obj₂'} →
                      {mor₂' : obj₂' ⟶ obj₃'} →
                        {mor₃' : obj₃' ⟶ obj₁'.comp (CategoryTheory.shiftFunctor C 1)} →
                          (iso₁ : obj₁ ≅ obj₁') →
                            (iso₂ : obj₂ ≅ obj₂') →
                              (iso₃ : obj₃ ≅ obj₃') →
                                CategoryTheory.CategoryStruct.comp mor₁ iso₂.hom =
                                    CategoryTheory.CategoryStruct.comp iso₁.hom mor₁' →
                                  CategoryTheory.CategoryStruct.comp mor₂ iso₃.hom =
                                      CategoryTheory.CategoryStruct.comp iso₂.hom mor₂' →
                                    CategoryTheory.CategoryStruct.comp mor₃
                                          (CategoryTheory.Functor.whiskerRight iso₁.hom
                                            (CategoryTheory.shiftFunctor C 1)) =
                                        CategoryTheory.CategoryStruct.comp iso₃.hom mor₃' →
                                      (CategoryTheory.Pretriangulated.Triangle.functorMk mor₁ mor₂ mor₃ ≅
                                        CategoryTheory.Pretriangulated.Triangle.functorMk mor₁' mor₂' mor₃')

Constructor for natural isomorphisms between functors constructed with functorMk.

theorem CategoryTheory.Pretriangulated.Triangle.functorIsoMk'_inv_app_hom₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  [inst_2 : CategoryTheory.Category.{v_1, u_1} J] {obj₁ obj₂ obj₃ : CategoryTheory.Functor J C} {mor₁ : obj₁ ⟶ obj₂}
  {mor₂ : obj₂ ⟶ obj₃} {mor₃ : obj₃ ⟶ obj₁.comp (CategoryTheory.shiftFunctor C 1)}
  {obj₁' obj₂' obj₃' : CategoryTheory.Functor J C} {mor₁' : obj₁' ⟶ obj₂'} {mor₂' : obj₂' ⟶ obj₃'}
  {mor₃' : obj₃' ⟶ obj₁'.comp (CategoryTheory.shiftFunctor C 1)} (iso₁ : obj₁ ≅ obj₁') (iso₂ : obj₂ ≅ obj₂')
  (iso₃ : obj₃ ≅ obj₃')
  (comm₁ : CategoryTheory.CategoryStruct.comp mor₁ iso₂.hom = CategoryTheory.CategoryStruct.comp iso₁.hom mor₁')
  (comm₂ : CategoryTheory.CategoryStruct.comp mor₂ iso₃.hom = CategoryTheory.CategoryStruct.comp iso₂.hom mor₂')
  (comm₃ :
    CategoryTheory.CategoryStruct.comp mor₃
        (CategoryTheory.Functor.whiskerRight iso₁.hom (CategoryTheory.shiftFunctor C 1)) =
      CategoryTheory.CategoryStruct.comp iso₃.hom mor₃')
  (j : J),
  ((CategoryTheory.Pretriangulated.Triangle.functorIsoMk' iso₁ iso₂ iso₃ comm₁ comm₂ comm₃).inv.app j).hom₂ =
    iso₂.inv.app j

theorem CategoryTheory.Pretriangulated.Triangle.functorIsoMk'_hom_app_hom₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  [inst_2 : CategoryTheory.Category.{v_1, u_1} J] {obj₁ obj₂ obj₃ : CategoryTheory.Functor J C} {mor₁ : obj₁ ⟶ obj₂}
  {mor₂ : obj₂ ⟶ obj₃} {mor₃ : obj₃ ⟶ obj₁.comp (CategoryTheory.shiftFunctor C 1)}
  {obj₁' obj₂' obj₃' : CategoryTheory.Functor J C} {mor₁' : obj₁' ⟶ obj₂'} {mor₂' : obj₂' ⟶ obj₃'}
  {mor₃' : obj₃' ⟶ obj₁'.comp (CategoryTheory.shiftFunctor C 1)} (iso₁ : obj₁ ≅ obj₁') (iso₂ : obj₂ ≅ obj₂')
  (iso₃ : obj₃ ≅ obj₃')
  (comm₁ : CategoryTheory.CategoryStruct.comp mor₁ iso₂.hom = CategoryTheory.CategoryStruct.comp iso₁.hom mor₁')
  (comm₂ : CategoryTheory.CategoryStruct.comp mor₂ iso₃.hom = CategoryTheory.CategoryStruct.comp iso₂.hom mor₂')
  (comm₃ :
    CategoryTheory.CategoryStruct.comp mor₃
        (CategoryTheory.Functor.whiskerRight iso₁.hom (CategoryTheory.shiftFunctor C 1)) =
      CategoryTheory.CategoryStruct.comp iso₃.hom mor₃')
  (j : J),
  ((CategoryTheory.Pretriangulated.Triangle.functorIsoMk' iso₁ iso₂ iso₃ comm₁ comm₂ comm₃).hom.app j).hom₃ =
    iso₃.hom.app j

theorem CategoryTheory.Pretriangulated.Triangle.functorIsoMk'_hom_app_hom₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  [inst_2 : CategoryTheory.Category.{v_1, u_1} J] {obj₁ obj₂ obj₃ : CategoryTheory.Functor J C} {mor₁ : obj₁ ⟶ obj₂}
  {mor₂ : obj₂ ⟶ obj₃} {mor₃ : obj₃ ⟶ obj₁.comp (CategoryTheory.shiftFunctor C 1)}
  {obj₁' obj₂' obj₃' : CategoryTheory.Functor J C} {mor₁' : obj₁' ⟶ obj₂'} {mor₂' : obj₂' ⟶ obj₃'}
  {mor₃' : obj₃' ⟶ obj₁'.comp (CategoryTheory.shiftFunctor C 1)} (iso₁ : obj₁ ≅ obj₁') (iso₂ : obj₂ ≅ obj₂')
  (iso₃ : obj₃ ≅ obj₃')
  (comm₁ : CategoryTheory.CategoryStruct.comp mor₁ iso₂.hom = CategoryTheory.CategoryStruct.comp iso₁.hom mor₁')
  (comm₂ : CategoryTheory.CategoryStruct.comp mor₂ iso₃.hom = CategoryTheory.CategoryStruct.comp iso₂.hom mor₂')
  (comm₃ :
    CategoryTheory.CategoryStruct.comp mor₃
        (CategoryTheory.Functor.whiskerRight iso₁.hom (CategoryTheory.shiftFunctor C 1)) =
      CategoryTheory.CategoryStruct.comp iso₃.hom mor₃')
  (j : J),
  ((CategoryTheory.Pretriangulated.Triangle.functorIsoMk' iso₁ iso₂ iso₃ comm₁ comm₂ comm₃).hom.app j).hom₁ =
    iso₁.hom.app j

theorem CategoryTheory.Pretriangulated.Triangle.functorIsoMk'_hom_app_hom₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  [inst_2 : CategoryTheory.Category.{v_1, u_1} J] {obj₁ obj₂ obj₃ : CategoryTheory.Functor J C} {mor₁ : obj₁ ⟶ obj₂}
  {mor₂ : obj₂ ⟶ obj₃} {mor₃ : obj₃ ⟶ obj₁.comp (CategoryTheory.shiftFunctor C 1)}
  {obj₁' obj₂' obj₃' : CategoryTheory.Functor J C} {mor₁' : obj₁' ⟶ obj₂'} {mor₂' : obj₂' ⟶ obj₃'}
  {mor₃' : obj₃' ⟶ obj₁'.comp (CategoryTheory.shiftFunctor C 1)} (iso₁ : obj₁ ≅ obj₁') (iso₂ : obj₂ ≅ obj₂')
  (iso₃ : obj₃ ≅ obj₃')
  (comm₁ : CategoryTheory.CategoryStruct.comp mor₁ iso₂.hom = CategoryTheory.CategoryStruct.comp iso₁.hom mor₁')
  (comm₂ : CategoryTheory.CategoryStruct.comp mor₂ iso₃.hom = CategoryTheory.CategoryStruct.comp iso₂.hom mor₂')
  (comm₃ :
    CategoryTheory.CategoryStruct.comp mor₃
        (CategoryTheory.Functor.whiskerRight iso₁.hom (CategoryTheory.shiftFunctor C 1)) =
      CategoryTheory.CategoryStruct.comp iso₃.hom mor₃')
  (j : J),
  ((CategoryTheory.Pretriangulated.Triangle.functorIsoMk' iso₁ iso₂ iso₃ comm₁ comm₂ comm₃).hom.app j).hom₂ =
    iso₂.hom.app j

theorem CategoryTheory.Pretriangulated.Triangle.functorIsoMk'_inv_app_hom₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  [inst_2 : CategoryTheory.Category.{v_1, u_1} J] {obj₁ obj₂ obj₃ : CategoryTheory.Functor J C} {mor₁ : obj₁ ⟶ obj₂}
  {mor₂ : obj₂ ⟶ obj₃} {mor₃ : obj₃ ⟶ obj₁.comp (CategoryTheory.shiftFunctor C 1)}
  {obj₁' obj₂' obj₃' : CategoryTheory.Functor J C} {mor₁' : obj₁' ⟶ obj₂'} {mor₂' : obj₂' ⟶ obj₃'}
  {mor₃' : obj₃' ⟶ obj₁'.comp (CategoryTheory.shiftFunctor C 1)} (iso₁ : obj₁ ≅ obj₁') (iso₂ : obj₂ ≅ obj₂')
  (iso₃ : obj₃ ≅ obj₃')
  (comm₁ : CategoryTheory.CategoryStruct.comp mor₁ iso₂.hom = CategoryTheory.CategoryStruct.comp iso₁.hom mor₁')
  (comm₂ : CategoryTheory.CategoryStruct.comp mor₂ iso₃.hom = CategoryTheory.CategoryStruct.comp iso₂.hom mor₂')
  (comm₃ :
    CategoryTheory.CategoryStruct.comp mor₃
        (CategoryTheory.Functor.whiskerRight iso₁.hom (CategoryTheory.shiftFunctor C 1)) =
      CategoryTheory.CategoryStruct.comp iso₃.hom mor₃')
  (j : J),
  ((CategoryTheory.Pretriangulated.Triangle.functorIsoMk' iso₁ iso₂ iso₃ comm₁ comm₂ comm₃).inv.app j).hom₁ =
    iso₁.inv.app j

theorem CategoryTheory.Pretriangulated.Triangle.functorIsoMk'_inv_app_hom₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasShift C ℤ] {J : Type u_1}
  [inst_2 : CategoryTheory.Category.{v_1, u_1} J] {obj₁ obj₂ obj₃ : CategoryTheory.Functor J C} {mor₁ : obj₁ ⟶ obj₂}
  {mor₂ : obj₂ ⟶ obj₃} {mor₃ : obj₃ ⟶ obj₁.comp (CategoryTheory.shiftFunctor C 1)}
  {obj₁' obj₂' obj₃' : CategoryTheory.Functor J C} {mor₁' : obj₁' ⟶ obj₂'} {mor₂' : obj₂' ⟶ obj₃'}
  {mor₃' : obj₃' ⟶ obj₁'.comp (CategoryTheory.shiftFunctor C 1)} (iso₁ : obj₁ ≅ obj₁') (iso₂ : obj₂ ≅ obj₂')
  (iso₃ : obj₃ ≅ obj₃')
  (comm₁ : CategoryTheory.CategoryStruct.comp mor₁ iso₂.hom = CategoryTheory.CategoryStruct.comp iso₁.hom mor₁')
  (comm₂ : CategoryTheory.CategoryStruct.comp mor₂ iso₃.hom = CategoryTheory.CategoryStruct.comp iso₂.hom mor₂')
  (comm₃ :
    CategoryTheory.CategoryStruct.comp mor₃
        (CategoryTheory.Functor.whiskerRight iso₁.hom (CategoryTheory.shiftFunctor C 1)) =
      CategoryTheory.CategoryStruct.comp iso₃.hom mor₃')
  (j : J),
  ((CategoryTheory.Pretriangulated.Triangle.functorIsoMk' iso₁ iso₂ iso₃ comm₁ comm₂ comm₃).inv.app j).hom₃ =
    iso₃.inv.app j