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 / V26. Homological algebra

Mathlib.Algebra.Homology.ShortComplex.Preadditive

201 declarations. Mathlib docs · Source

theorem CategoryTheory.ShortComplex.Homotopy.mk.injEq E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h₀ : S₁.X₁ ⟶ S₂.X₁)
  (h₀_f :
    autoParam (CategoryTheory.CategoryStruct.comp h₀ S₂.f = 0) CategoryTheory.ShortComplex.Homotopy.h₀_f._autoParam)
  (h₁ : S₁.X₂ ⟶ S₂.X₁) (h₂ : S₁.X₃ ⟶ S₂.X₂) (h₃ : S₁.X₃ ⟶ S₂.X₃)
  (g_h₃ :
    autoParam (CategoryTheory.CategoryStruct.comp S₁.g h₃ = 0) CategoryTheory.ShortComplex.Homotopy.g_h₃._autoParam)
  (comm₁ :
    autoParam (φ₁.τ₁ = CategoryTheory.CategoryStruct.comp S₁.f h₁ + h₀ + φ₂.τ₁)
      CategoryTheory.ShortComplex.Homotopy.comm₁._autoParam)
  (comm₂ :
    autoParam (φ₁.τ₂ = CategoryTheory.CategoryStruct.comp S₁.g h₂ + CategoryTheory.CategoryStruct.comp h₁ S₂.f + φ₂.τ₂)
      CategoryTheory.ShortComplex.Homotopy.comm₂._autoParam)
  (comm₃ :
    autoParam (φ₁.τ₃ = h₃ + CategoryTheory.CategoryStruct.comp h₂ S₂.g + φ₂.τ₃)
      CategoryTheory.ShortComplex.Homotopy.comm₃._autoParam)
  (h₀_1 : S₁.X₁ ⟶ S₂.X₁)
  (h₀_f_1 :
    autoParam (CategoryTheory.CategoryStruct.comp h₀_1 S₂.f = 0) CategoryTheory.ShortComplex.Homotopy.h₀_f._autoParam)
  (h₁_1 : S₁.X₂ ⟶ S₂.X₁) (h₂_1 : S₁.X₃ ⟶ S₂.X₂) (h₃_1 : S₁.X₃ ⟶ S₂.X₃)
  (g_h₃_1 :
    autoParam (CategoryTheory.CategoryStruct.comp S₁.g h₃_1 = 0) CategoryTheory.ShortComplex.Homotopy.g_h₃._autoParam)
  (comm₁_1 :
    autoParam (φ₁.τ₁ = CategoryTheory.CategoryStruct.comp S₁.f h₁_1 + h₀_1 + φ₂.τ₁)
      CategoryTheory.ShortComplex.Homotopy.comm₁._autoParam)
  (comm₂_1 :
    autoParam
      (φ₁.τ₂ = CategoryTheory.CategoryStruct.comp S₁.g h₂_1 + CategoryTheory.CategoryStruct.comp h₁_1 S₂.f + φ₂.τ₂)
      CategoryTheory.ShortComplex.Homotopy.comm₂._autoParam)
  (comm₃_1 :
    autoParam (φ₁.τ₃ = h₃_1 + CategoryTheory.CategoryStruct.comp h₂_1 S₂.g + φ₂.τ₃)
      CategoryTheory.ShortComplex.Homotopy.comm₃._autoParam),
  ({ h₀ := h₀, h₀_f := h₀_f, h₁ := h₁, h₂ := h₂, h₃ := h₃, g_h₃ := g_h₃, comm₁ := comm₁, comm₂ := comm₂,
        comm₃ := comm₃ } =
      { h₀ := h₀_1, h₀_f := h₀_f_1, h₁ := h₁_1, h₂ := h₂_1, h₃ := h₃_1, g_h₃ := g_h₃_1, comm₁ := comm₁_1,
        comm₂ := comm₂_1, comm₃ := comm₃_1 }) =
    (h₀ = h₀_1 ∧ h₁ = h₁_1 ∧ h₂ = h₂_1 ∧ h₃ = h₃_1)

theorem CategoryTheory.ShortComplex.HomotopyEquiv.mk.inj E1 #

∀ {C : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} C} {inst_1 : CategoryTheory.Preadditive C}
  {S₁ S₂ : CategoryTheory.ShortComplex C} {hom : S₁ ⟶ S₂} {inv : S₂ ⟶ S₁}
  {homotopyHomInvId :
    CategoryTheory.ShortComplex.Homotopy (CategoryTheory.CategoryStruct.comp hom inv)
      (CategoryTheory.CategoryStruct.id S₁)}
  {homotopyInvHomId :
    CategoryTheory.ShortComplex.Homotopy (CategoryTheory.CategoryStruct.comp inv hom)
      (CategoryTheory.CategoryStruct.id S₂)}
  {hom_1 : S₁ ⟶ S₂} {inv_1 : S₂ ⟶ S₁}
  {homotopyHomInvId_1 :
    CategoryTheory.ShortComplex.Homotopy (CategoryTheory.CategoryStruct.comp hom_1 inv_1)
      (CategoryTheory.CategoryStruct.id S₁)}
  {homotopyInvHomId_1 :
    CategoryTheory.ShortComplex.Homotopy (CategoryTheory.CategoryStruct.comp inv_1 hom_1)
      (CategoryTheory.CategoryStruct.id S₂)},
  { hom := hom, inv := inv, homotopyHomInvId := homotopyHomInvId, homotopyInvHomId := homotopyInvHomId } =
      { hom := hom_1, inv := inv_1, homotopyHomInvId := homotopyHomInvId_1, homotopyInvHomId := homotopyInvHomId_1 } →
    hom = hom_1 ∧ inv = inv_1 ∧ homotopyHomInvId ≍ homotopyHomInvId_1 ∧ homotopyInvHomId ≍ homotopyInvHomId_1

def CategoryTheory.ShortComplex.Homotopy.ctorIdx E1 #

{C : Type u_1} →
  {inst : CategoryTheory.Category.{v_1, u_1} C} →
    {inst_1 : CategoryTheory.Preadditive C} →
      {S₁ S₂ : CategoryTheory.ShortComplex C} → {φ₁ φ₂ : S₁ ⟶ S₂} → CategoryTheory.ShortComplex.Homotopy φ₁ φ₂ → ℕ

theorem CategoryTheory.ShortComplex.HomotopyEquiv.mk.injEq E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (hom : S₁ ⟶ S₂) (inv : S₂ ⟶ S₁)
  (homotopyHomInvId :
    CategoryTheory.ShortComplex.Homotopy (CategoryTheory.CategoryStruct.comp hom inv)
      (CategoryTheory.CategoryStruct.id S₁))
  (homotopyInvHomId :
    CategoryTheory.ShortComplex.Homotopy (CategoryTheory.CategoryStruct.comp inv hom)
      (CategoryTheory.CategoryStruct.id S₂))
  (hom_1 : S₁ ⟶ S₂) (inv_1 : S₂ ⟶ S₁)
  (homotopyHomInvId_1 :
    CategoryTheory.ShortComplex.Homotopy (CategoryTheory.CategoryStruct.comp hom_1 inv_1)
      (CategoryTheory.CategoryStruct.id S₁))
  (homotopyInvHomId_1 :
    CategoryTheory.ShortComplex.Homotopy (CategoryTheory.CategoryStruct.comp inv_1 hom_1)
      (CategoryTheory.CategoryStruct.id S₂)),
  ({ hom := hom, inv := inv, homotopyHomInvId := homotopyHomInvId, homotopyInvHomId := homotopyInvHomId } =
      { hom := hom_1, inv := inv_1, homotopyHomInvId := homotopyHomInvId_1, homotopyInvHomId := homotopyInvHomId_1 }) =
    (hom = hom_1 ∧ inv = inv_1 ∧ homotopyHomInvId ≍ homotopyHomInvId_1 ∧ homotopyInvHomId ≍ homotopyInvHomId_1)

theorem CategoryTheory.ShortComplex.Homotopy.mk.inj E1 #

∀ {C : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} C} {inst_1 : CategoryTheory.Preadditive C}
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} {h₀ : S₁.X₁ ⟶ S₂.X₁}
  {h₀_f :
    autoParam (CategoryTheory.CategoryStruct.comp h₀ S₂.f = 0) CategoryTheory.ShortComplex.Homotopy.h₀_f._autoParam}
  {h₁ : S₁.X₂ ⟶ S₂.X₁} {h₂ : S₁.X₃ ⟶ S₂.X₂} {h₃ : S₁.X₃ ⟶ S₂.X₃}
  {g_h₃ :
    autoParam (CategoryTheory.CategoryStruct.comp S₁.g h₃ = 0) CategoryTheory.ShortComplex.Homotopy.g_h₃._autoParam}
  {comm₁ :
    autoParam (φ₁.τ₁ = CategoryTheory.CategoryStruct.comp S₁.f h₁ + h₀ + φ₂.τ₁)
      CategoryTheory.ShortComplex.Homotopy.comm₁._autoParam}
  {comm₂ :
    autoParam (φ₁.τ₂ = CategoryTheory.CategoryStruct.comp S₁.g h₂ + CategoryTheory.CategoryStruct.comp h₁ S₂.f + φ₂.τ₂)
      CategoryTheory.ShortComplex.Homotopy.comm₂._autoParam}
  {comm₃ :
    autoParam (φ₁.τ₃ = h₃ + CategoryTheory.CategoryStruct.comp h₂ S₂.g + φ₂.τ₃)
      CategoryTheory.ShortComplex.Homotopy.comm₃._autoParam}
  {h₀_1 : S₁.X₁ ⟶ S₂.X₁}
  {h₀_f_1 :
    autoParam (CategoryTheory.CategoryStruct.comp h₀_1 S₂.f = 0) CategoryTheory.ShortComplex.Homotopy.h₀_f._autoParam}
  {h₁_1 : S₁.X₂ ⟶ S₂.X₁} {h₂_1 : S₁.X₃ ⟶ S₂.X₂} {h₃_1 : S₁.X₃ ⟶ S₂.X₃}
  {g_h₃_1 :
    autoParam (CategoryTheory.CategoryStruct.comp S₁.g h₃_1 = 0) CategoryTheory.ShortComplex.Homotopy.g_h₃._autoParam}
  {comm₁_1 :
    autoParam (φ₁.τ₁ = CategoryTheory.CategoryStruct.comp S₁.f h₁_1 + h₀_1 + φ₂.τ₁)
      CategoryTheory.ShortComplex.Homotopy.comm₁._autoParam}
  {comm₂_1 :
    autoParam
      (φ₁.τ₂ = CategoryTheory.CategoryStruct.comp S₁.g h₂_1 + CategoryTheory.CategoryStruct.comp h₁_1 S₂.f + φ₂.τ₂)
      CategoryTheory.ShortComplex.Homotopy.comm₂._autoParam}
  {comm₃_1 :
    autoParam (φ₁.τ₃ = h₃_1 + CategoryTheory.CategoryStruct.comp h₂_1 S₂.g + φ₂.τ₃)
      CategoryTheory.ShortComplex.Homotopy.comm₃._autoParam},
  { h₀ := h₀, h₀_f := h₀_f, h₁ := h₁, h₂ := h₂, h₃ := h₃, g_h₃ := g_h₃, comm₁ := comm₁, comm₂ := comm₂,
        comm₃ := comm₃ } =
      { h₀ := h₀_1, h₀_f := h₀_f_1, h₁ := h₁_1, h₂ := h₂_1, h₃ := h₃_1, g_h₃ := g_h₃_1, comm₁ := comm₁_1,
        comm₂ := comm₂_1, comm₃ := comm₃_1 } →
    h₀ = h₀_1 ∧ h₁ = h₁_1 ∧ h₂ = h₂_1 ∧ h₃ = h₃_1

def CategoryTheory.ShortComplex.HomotopyEquiv.ctorIdx E1 #

{C : Type u_1} →
  {inst : CategoryTheory.Category.{v_1, u_1} C} →
    {inst_1 : CategoryTheory.Preadditive C} → {S₁ S₂ : CategoryTheory.ShortComplex C} → S₁.HomotopyEquiv S₂ → ℕ

theorem CategoryTheory.ShortComplex.nullHomotopic.congr_simp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  (S₁ S₂ : CategoryTheory.ShortComplex C) (h₀ h₀_1 : S₁.X₁ ⟶ S₂.X₁) (e_h₀ : h₀ = h₀_1)
  (h₀_f : CategoryTheory.CategoryStruct.comp h₀ S₂.f = 0) (h₁ h₁_1 : S₁.X₂ ⟶ S₂.X₁),
  h₁ = h₁_1 →
    ∀ (h₂ h₂_1 : S₁.X₃ ⟶ S₂.X₂),
      h₂ = h₂_1 →
        ∀ (h₃ h₃_1 : S₁.X₃ ⟶ S₂.X₃) (e_h₃ : h₃ = h₃_1) (g_h₃ : CategoryTheory.CategoryStruct.comp S₁.g h₃ = 0),
          S₁.nullHomotopic S₂ h₀ h₀_f h₁ h₂ h₃ g_h₃ = S₁.nullHomotopic S₂ h₀_1 ⋯ h₁_1 h₂_1 h₃_1 ⋯

theorem CategoryTheory.ShortComplex.Homotopy.ofEq.congr_simp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : φ₁ = φ₂),
  CategoryTheory.ShortComplex.Homotopy.ofEq h = CategoryTheory.ShortComplex.Homotopy.ofEq h

instance CategoryTheory.ShortComplex.instAddHom E0 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] → {S₁ S₂ : CategoryTheory.ShortComplex C} → Add (S₁ ⟶ S₂)

instance CategoryTheory.ShortComplex.instSubHom E0 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] → {S₁ S₂ : CategoryTheory.ShortComplex C} → Sub (S₁ ⟶ S₂)

instance CategoryTheory.ShortComplex.instNegHom E0 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] → {S₁ S₂ : CategoryTheory.ShortComplex C} → Neg (S₁ ⟶ S₂)

instance CategoryTheory.ShortComplex.instAddCommGroupHom E0 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] → {S₁ S₂ : CategoryTheory.ShortComplex C} → AddCommGroup (S₁ ⟶ S₂)

theorem CategoryTheory.ShortComplex.add_τ₁ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ φ' : S₁ ⟶ S₂), (φ + φ').τ₁ = φ.τ₁ + φ'.τ₁

theorem CategoryTheory.ShortComplex.add_τ₂ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ φ' : S₁ ⟶ S₂), (φ + φ').τ₂ = φ.τ₂ + φ'.τ₂

theorem CategoryTheory.ShortComplex.add_τ₃ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ φ' : S₁ ⟶ S₂), (φ + φ').τ₃ = φ.τ₃ + φ'.τ₃

theorem CategoryTheory.ShortComplex.sub_τ₁ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ φ' : S₁ ⟶ S₂), (φ - φ').τ₁ = φ.τ₁ - φ'.τ₁

theorem CategoryTheory.ShortComplex.sub_τ₂ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ φ' : S₁ ⟶ S₂), (φ - φ').τ₂ = φ.τ₂ - φ'.τ₂

theorem CategoryTheory.ShortComplex.sub_τ₃ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ φ' : S₁ ⟶ S₂), (φ - φ').τ₃ = φ.τ₃ - φ'.τ₃

theorem CategoryTheory.ShortComplex.neg_τ₁ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ : S₁ ⟶ S₂), (-φ).τ₁ = -φ.τ₁

theorem CategoryTheory.ShortComplex.neg_τ₂ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ : S₁ ⟶ S₂), (-φ).τ₂ = -φ.τ₂

theorem CategoryTheory.ShortComplex.neg_τ₃ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ : S₁ ⟶ S₂), (-φ).τ₃ = -φ.τ₃

instance CategoryTheory.ShortComplex.instPreadditive E0 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] → CategoryTheory.Preadditive (CategoryTheory.ShortComplex C)

def CategoryTheory.ShortComplex.LeftHomologyMapData.neg E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        {φ : S₁ ⟶ S₂} →
          {h₁ : S₁.LeftHomologyData} →
            {h₂ : S₂.LeftHomologyData} →
              CategoryTheory.ShortComplex.LeftHomologyMapData φ h₁ h₂ →
                CategoryTheory.ShortComplex.LeftHomologyMapData (-φ) h₁ h₂

Given a left homology map data for morphism φ, this is the induced left homology map data for -φ.

theorem CategoryTheory.ShortComplex.LeftHomologyMapData.neg_φH E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ : S₁ ⟶ S₂} {h₁ : S₁.LeftHomologyData} {h₂ : S₂.LeftHomologyData}
  (γ : CategoryTheory.ShortComplex.LeftHomologyMapData φ h₁ h₂), γ.neg.φH = -γ.φH

theorem CategoryTheory.ShortComplex.LeftHomologyMapData.neg_φK E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ : S₁ ⟶ S₂} {h₁ : S₁.LeftHomologyData} {h₂ : S₂.LeftHomologyData}
  (γ : CategoryTheory.ShortComplex.LeftHomologyMapData φ h₁ h₂), γ.neg.φK = -γ.φK

def CategoryTheory.ShortComplex.LeftHomologyMapData.add E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        {φ φ' : S₁ ⟶ S₂} →
          {h₁ : S₁.LeftHomologyData} →
            {h₂ : S₂.LeftHomologyData} →
              CategoryTheory.ShortComplex.LeftHomologyMapData φ h₁ h₂ →
                CategoryTheory.ShortComplex.LeftHomologyMapData φ' h₁ h₂ →
                  CategoryTheory.ShortComplex.LeftHomologyMapData (φ + φ') h₁ h₂

Given left homology map data for morphisms φ and φ', this is the induced left homology map data for φ + φ'.

theorem CategoryTheory.ShortComplex.LeftHomologyMapData.add_φH E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ φ' : S₁ ⟶ S₂} {h₁ : S₁.LeftHomologyData} {h₂ : S₂.LeftHomologyData}
  (γ : CategoryTheory.ShortComplex.LeftHomologyMapData φ h₁ h₂)
  (γ' : CategoryTheory.ShortComplex.LeftHomologyMapData φ' h₁ h₂), (γ.add γ').φH = γ.φH + γ'.φH

theorem CategoryTheory.ShortComplex.LeftHomologyMapData.add_φK E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ φ' : S₁ ⟶ S₂} {h₁ : S₁.LeftHomologyData} {h₂ : S₂.LeftHomologyData}
  (γ : CategoryTheory.ShortComplex.LeftHomologyMapData φ h₁ h₂)
  (γ' : CategoryTheory.ShortComplex.LeftHomologyMapData φ' h₁ h₂), (γ.add γ').φK = γ.φK + γ'.φK

theorem CategoryTheory.ShortComplex.leftHomologyMap'_neg E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ : S₁ ⟶ S₂} (h₁ : S₁.LeftHomologyData) (h₂ : S₂.LeftHomologyData),
  CategoryTheory.ShortComplex.leftHomologyMap' (-φ) h₁ h₂ = -CategoryTheory.ShortComplex.leftHomologyMap' φ h₁ h₂

theorem CategoryTheory.ShortComplex.cyclesMap'_neg E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ : S₁ ⟶ S₂} (h₁ : S₁.LeftHomologyData) (h₂ : S₂.LeftHomologyData),
  CategoryTheory.ShortComplex.cyclesMap' (-φ) h₁ h₂ = -CategoryTheory.ShortComplex.cyclesMap' φ h₁ h₂

theorem CategoryTheory.ShortComplex.leftHomologyMap'_add E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ φ' : S₁ ⟶ S₂} (h₁ : S₁.LeftHomologyData) (h₂ : S₂.LeftHomologyData),
  CategoryTheory.ShortComplex.leftHomologyMap' (φ + φ') h₁ h₂ =
    CategoryTheory.ShortComplex.leftHomologyMap' φ h₁ h₂ + CategoryTheory.ShortComplex.leftHomologyMap' φ' h₁ h₂

theorem CategoryTheory.ShortComplex.cyclesMap'_add E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ φ' : S₁ ⟶ S₂} (h₁ : S₁.LeftHomologyData) (h₂ : S₂.LeftHomologyData),
  CategoryTheory.ShortComplex.cyclesMap' (φ + φ') h₁ h₂ =
    CategoryTheory.ShortComplex.cyclesMap' φ h₁ h₂ + CategoryTheory.ShortComplex.cyclesMap' φ' h₁ h₂

theorem CategoryTheory.ShortComplex.leftHomologyMap'_sub E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ φ' : S₁ ⟶ S₂} (h₁ : S₁.LeftHomologyData) (h₂ : S₂.LeftHomologyData),
  CategoryTheory.ShortComplex.leftHomologyMap' (φ - φ') h₁ h₂ =
    CategoryTheory.ShortComplex.leftHomologyMap' φ h₁ h₂ - CategoryTheory.ShortComplex.leftHomologyMap' φ' h₁ h₂

theorem CategoryTheory.ShortComplex.cyclesMap'_sub E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ φ' : S₁ ⟶ S₂} (h₁ : S₁.LeftHomologyData) (h₂ : S₂.LeftHomologyData),
  CategoryTheory.ShortComplex.cyclesMap' (φ - φ') h₁ h₂ =
    CategoryTheory.ShortComplex.cyclesMap' φ h₁ h₂ - CategoryTheory.ShortComplex.cyclesMap' φ' h₁ h₂

theorem CategoryTheory.ShortComplex.leftHomologyMap_neg E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ : S₁ ⟶ S₂) [inst_2 : S₁.HasLeftHomology] [inst_3 : S₂.HasLeftHomology],
  CategoryTheory.ShortComplex.leftHomologyMap (-φ) = -CategoryTheory.ShortComplex.leftHomologyMap φ

theorem CategoryTheory.ShortComplex.cyclesMap_neg E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ : S₁ ⟶ S₂) [inst_2 : S₁.HasLeftHomology] [inst_3 : S₂.HasLeftHomology],
  CategoryTheory.ShortComplex.cyclesMap (-φ) = -CategoryTheory.ShortComplex.cyclesMap φ

theorem CategoryTheory.ShortComplex.leftHomologyMap_add E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ φ' : S₁ ⟶ S₂) [inst_2 : S₁.HasLeftHomology] [inst_3 : S₂.HasLeftHomology],
  CategoryTheory.ShortComplex.leftHomologyMap (φ + φ') =
    CategoryTheory.ShortComplex.leftHomologyMap φ + CategoryTheory.ShortComplex.leftHomologyMap φ'

theorem CategoryTheory.ShortComplex.cyclesMap_add E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ φ' : S₁ ⟶ S₂) [inst_2 : S₁.HasLeftHomology] [inst_3 : S₂.HasLeftHomology],
  CategoryTheory.ShortComplex.cyclesMap (φ + φ') =
    CategoryTheory.ShortComplex.cyclesMap φ + CategoryTheory.ShortComplex.cyclesMap φ'

theorem CategoryTheory.ShortComplex.leftHomologyMap_sub E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ φ' : S₁ ⟶ S₂) [inst_2 : S₁.HasLeftHomology] [inst_3 : S₂.HasLeftHomology],
  CategoryTheory.ShortComplex.leftHomologyMap (φ - φ') =
    CategoryTheory.ShortComplex.leftHomologyMap φ - CategoryTheory.ShortComplex.leftHomologyMap φ'

theorem CategoryTheory.ShortComplex.cyclesMap_sub E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ φ' : S₁ ⟶ S₂) [inst_2 : S₁.HasLeftHomology] [inst_3 : S₂.HasLeftHomology],
  CategoryTheory.ShortComplex.cyclesMap (φ - φ') =
    CategoryTheory.ShortComplex.cyclesMap φ - CategoryTheory.ShortComplex.cyclesMap φ'

instance CategoryTheory.ShortComplex.leftHomologyFunctor_additive E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  [inst_2 : CategoryTheory.Limits.HasKernels C] [inst_3 : CategoryTheory.Limits.HasCokernels C],
  (CategoryTheory.ShortComplex.leftHomologyFunctor C).Additive

instance CategoryTheory.ShortComplex.cyclesFunctor_additive E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  [inst_2 : CategoryTheory.Limits.HasKernels C] [inst_3 : CategoryTheory.Limits.HasCokernels C],
  (CategoryTheory.ShortComplex.cyclesFunctor C).Additive

def CategoryTheory.ShortComplex.RightHomologyMapData.neg E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        {φ : S₁ ⟶ S₂} →
          {h₁ : S₁.RightHomologyData} →
            {h₂ : S₂.RightHomologyData} →
              CategoryTheory.ShortComplex.RightHomologyMapData φ h₁ h₂ →
                CategoryTheory.ShortComplex.RightHomologyMapData (-φ) h₁ h₂

Given a right homology map data for morphism φ, this is the induced right homology map data for -φ.

theorem CategoryTheory.ShortComplex.RightHomologyMapData.neg_φH E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ : S₁ ⟶ S₂} {h₁ : S₁.RightHomologyData} {h₂ : S₂.RightHomologyData}
  (γ : CategoryTheory.ShortComplex.RightHomologyMapData φ h₁ h₂), γ.neg.φH = -γ.φH

theorem CategoryTheory.ShortComplex.RightHomologyMapData.neg_φQ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ : S₁ ⟶ S₂} {h₁ : S₁.RightHomologyData} {h₂ : S₂.RightHomologyData}
  (γ : CategoryTheory.ShortComplex.RightHomologyMapData φ h₁ h₂), γ.neg.φQ = -γ.φQ

def CategoryTheory.ShortComplex.RightHomologyMapData.add E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        {φ φ' : S₁ ⟶ S₂} →
          {h₁ : S₁.RightHomologyData} →
            {h₂ : S₂.RightHomologyData} →
              CategoryTheory.ShortComplex.RightHomologyMapData φ h₁ h₂ →
                CategoryTheory.ShortComplex.RightHomologyMapData φ' h₁ h₂ →
                  CategoryTheory.ShortComplex.RightHomologyMapData (φ + φ') h₁ h₂

Given right homology map data for morphisms φ and φ', this is the induced right homology map data for φ + φ'.

theorem CategoryTheory.ShortComplex.RightHomologyMapData.add_φH E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ φ' : S₁ ⟶ S₂} {h₁ : S₁.RightHomologyData} {h₂ : S₂.RightHomologyData}
  (γ : CategoryTheory.ShortComplex.RightHomologyMapData φ h₁ h₂)
  (γ' : CategoryTheory.ShortComplex.RightHomologyMapData φ' h₁ h₂), (γ.add γ').φH = γ.φH + γ'.φH

theorem CategoryTheory.ShortComplex.RightHomologyMapData.add_φQ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ φ' : S₁ ⟶ S₂} {h₁ : S₁.RightHomologyData} {h₂ : S₂.RightHomologyData}
  (γ : CategoryTheory.ShortComplex.RightHomologyMapData φ h₁ h₂)
  (γ' : CategoryTheory.ShortComplex.RightHomologyMapData φ' h₁ h₂), (γ.add γ').φQ = γ.φQ + γ'.φQ

theorem CategoryTheory.ShortComplex.rightHomologyMap'_neg E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ : S₁ ⟶ S₂} (h₁ : S₁.RightHomologyData) (h₂ : S₂.RightHomologyData),
  CategoryTheory.ShortComplex.rightHomologyMap' (-φ) h₁ h₂ = -CategoryTheory.ShortComplex.rightHomologyMap' φ h₁ h₂

theorem CategoryTheory.ShortComplex.opcyclesMap'_neg E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ : S₁ ⟶ S₂} (h₁ : S₁.RightHomologyData) (h₂ : S₂.RightHomologyData),
  CategoryTheory.ShortComplex.opcyclesMap' (-φ) h₁ h₂ = -CategoryTheory.ShortComplex.opcyclesMap' φ h₁ h₂

theorem CategoryTheory.ShortComplex.rightHomologyMap'_add E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ φ' : S₁ ⟶ S₂} (h₁ : S₁.RightHomologyData) (h₂ : S₂.RightHomologyData),
  CategoryTheory.ShortComplex.rightHomologyMap' (φ + φ') h₁ h₂ =
    CategoryTheory.ShortComplex.rightHomologyMap' φ h₁ h₂ + CategoryTheory.ShortComplex.rightHomologyMap' φ' h₁ h₂

theorem CategoryTheory.ShortComplex.opcyclesMap'_add E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ φ' : S₁ ⟶ S₂} (h₁ : S₁.RightHomologyData) (h₂ : S₂.RightHomologyData),
  CategoryTheory.ShortComplex.opcyclesMap' (φ + φ') h₁ h₂ =
    CategoryTheory.ShortComplex.opcyclesMap' φ h₁ h₂ + CategoryTheory.ShortComplex.opcyclesMap' φ' h₁ h₂

theorem CategoryTheory.ShortComplex.rightHomologyMap'_sub E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ φ' : S₁ ⟶ S₂} (h₁ : S₁.RightHomologyData) (h₂ : S₂.RightHomologyData),
  CategoryTheory.ShortComplex.rightHomologyMap' (φ - φ') h₁ h₂ =
    CategoryTheory.ShortComplex.rightHomologyMap' φ h₁ h₂ - CategoryTheory.ShortComplex.rightHomologyMap' φ' h₁ h₂

theorem CategoryTheory.ShortComplex.opcyclesMap'_sub E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ φ' : S₁ ⟶ S₂} (h₁ : S₁.RightHomologyData) (h₂ : S₂.RightHomologyData),
  CategoryTheory.ShortComplex.opcyclesMap' (φ - φ') h₁ h₂ =
    CategoryTheory.ShortComplex.opcyclesMap' φ h₁ h₂ - CategoryTheory.ShortComplex.opcyclesMap' φ' h₁ h₂

theorem CategoryTheory.ShortComplex.rightHomologyMap_neg E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ : S₁ ⟶ S₂) [inst_2 : S₁.HasRightHomology] [inst_3 : S₂.HasRightHomology],
  CategoryTheory.ShortComplex.rightHomologyMap (-φ) = -CategoryTheory.ShortComplex.rightHomologyMap φ

theorem CategoryTheory.ShortComplex.opcyclesMap_neg E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ : S₁ ⟶ S₂) [inst_2 : S₁.HasRightHomology] [inst_3 : S₂.HasRightHomology],
  CategoryTheory.ShortComplex.opcyclesMap (-φ) = -CategoryTheory.ShortComplex.opcyclesMap φ

theorem CategoryTheory.ShortComplex.rightHomologyMap_add E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ φ' : S₁ ⟶ S₂) [inst_2 : S₁.HasRightHomology]
  [inst_3 : S₂.HasRightHomology],
  CategoryTheory.ShortComplex.rightHomologyMap (φ + φ') =
    CategoryTheory.ShortComplex.rightHomologyMap φ + CategoryTheory.ShortComplex.rightHomologyMap φ'

theorem CategoryTheory.ShortComplex.opcyclesMap_add E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ φ' : S₁ ⟶ S₂) [inst_2 : S₁.HasRightHomology]
  [inst_3 : S₂.HasRightHomology],
  CategoryTheory.ShortComplex.opcyclesMap (φ + φ') =
    CategoryTheory.ShortComplex.opcyclesMap φ + CategoryTheory.ShortComplex.opcyclesMap φ'

theorem CategoryTheory.ShortComplex.rightHomologyMap_sub E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ φ' : S₁ ⟶ S₂) [inst_2 : S₁.HasRightHomology]
  [inst_3 : S₂.HasRightHomology],
  CategoryTheory.ShortComplex.rightHomologyMap (φ - φ') =
    CategoryTheory.ShortComplex.rightHomologyMap φ - CategoryTheory.ShortComplex.rightHomologyMap φ'

theorem CategoryTheory.ShortComplex.opcyclesMap_sub E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ φ' : S₁ ⟶ S₂) [inst_2 : S₁.HasRightHomology]
  [inst_3 : S₂.HasRightHomology],
  CategoryTheory.ShortComplex.opcyclesMap (φ - φ') =
    CategoryTheory.ShortComplex.opcyclesMap φ - CategoryTheory.ShortComplex.opcyclesMap φ'

instance CategoryTheory.ShortComplex.rightHomologyFunctor_additive E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  [inst_2 : CategoryTheory.Limits.HasKernels C] [inst_3 : CategoryTheory.Limits.HasCokernels C],
  (CategoryTheory.ShortComplex.rightHomologyFunctor C).Additive

instance CategoryTheory.ShortComplex.opcyclesFunctor_additive E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  [inst_2 : CategoryTheory.Limits.HasKernels C] [inst_3 : CategoryTheory.Limits.HasCokernels C],
  (CategoryTheory.ShortComplex.opcyclesFunctor C).Additive

def CategoryTheory.ShortComplex.HomologyMapData.neg E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        {φ : S₁ ⟶ S₂} →
          {h₁ : S₁.HomologyData} →
            {h₂ : S₂.HomologyData} →
              CategoryTheory.ShortComplex.HomologyMapData φ h₁ h₂ →
                CategoryTheory.ShortComplex.HomologyMapData (-φ) h₁ h₂

Given a homology map data for a morphism φ, this is the induced homology map data for -φ.

theorem CategoryTheory.ShortComplex.HomologyMapData.neg_left E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ : S₁ ⟶ S₂} {h₁ : S₁.HomologyData} {h₂ : S₂.HomologyData}
  (γ : CategoryTheory.ShortComplex.HomologyMapData φ h₁ h₂), γ.neg.left = γ.left.neg

theorem CategoryTheory.ShortComplex.HomologyMapData.neg_right E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ : S₁ ⟶ S₂} {h₁ : S₁.HomologyData} {h₂ : S₂.HomologyData}
  (γ : CategoryTheory.ShortComplex.HomologyMapData φ h₁ h₂), γ.neg.right = γ.right.neg

def CategoryTheory.ShortComplex.HomologyMapData.add E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        {φ φ' : S₁ ⟶ S₂} →
          {h₁ : S₁.HomologyData} →
            {h₂ : S₂.HomologyData} →
              CategoryTheory.ShortComplex.HomologyMapData φ h₁ h₂ →
                CategoryTheory.ShortComplex.HomologyMapData φ' h₁ h₂ →
                  CategoryTheory.ShortComplex.HomologyMapData (φ + φ') h₁ h₂

Given homology map data for morphisms φ and φ', this is the induced homology map data for φ + φ'.

theorem CategoryTheory.ShortComplex.HomologyMapData.add_left E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ φ' : S₁ ⟶ S₂} {h₁ : S₁.HomologyData} {h₂ : S₂.HomologyData}
  (γ : CategoryTheory.ShortComplex.HomologyMapData φ h₁ h₂) (γ' : CategoryTheory.ShortComplex.HomologyMapData φ' h₁ h₂),
  (γ.add γ').left = γ.left.add γ'.left

theorem CategoryTheory.ShortComplex.HomologyMapData.add_right E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ φ' : S₁ ⟶ S₂} {h₁ : S₁.HomologyData} {h₂ : S₂.HomologyData}
  (γ : CategoryTheory.ShortComplex.HomologyMapData φ h₁ h₂) (γ' : CategoryTheory.ShortComplex.HomologyMapData φ' h₁ h₂),
  (γ.add γ').right = γ.right.add γ'.right

theorem CategoryTheory.ShortComplex.homologyMap'_neg E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ : S₁ ⟶ S₂} (h₁ : S₁.HomologyData) (h₂ : S₂.HomologyData),
  CategoryTheory.ShortComplex.homologyMap' (-φ) h₁ h₂ = -CategoryTheory.ShortComplex.homologyMap' φ h₁ h₂

theorem CategoryTheory.ShortComplex.homologyMap'_add E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ φ' : S₁ ⟶ S₂} (h₁ : S₁.HomologyData) (h₂ : S₂.HomologyData),
  CategoryTheory.ShortComplex.homologyMap' (φ + φ') h₁ h₂ =
    CategoryTheory.ShortComplex.homologyMap' φ h₁ h₂ + CategoryTheory.ShortComplex.homologyMap' φ' h₁ h₂

theorem CategoryTheory.ShortComplex.homologyMap'_sub E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ φ' : S₁ ⟶ S₂} (h₁ : S₁.HomologyData) (h₂ : S₂.HomologyData),
  CategoryTheory.ShortComplex.homologyMap' (φ - φ') h₁ h₂ =
    CategoryTheory.ShortComplex.homologyMap' φ h₁ h₂ - CategoryTheory.ShortComplex.homologyMap' φ' h₁ h₂

theorem CategoryTheory.ShortComplex.homologyMap_neg E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ : S₁ ⟶ S₂) [inst_2 : S₁.HasHomology] [inst_3 : S₂.HasHomology],
  CategoryTheory.ShortComplex.homologyMap (-φ) = -CategoryTheory.ShortComplex.homologyMap φ

theorem CategoryTheory.ShortComplex.homologyMap_add E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ φ' : S₁ ⟶ S₂) [inst_2 : S₁.HasHomology] [inst_3 : S₂.HasHomology],
  CategoryTheory.ShortComplex.homologyMap (φ + φ') =
    CategoryTheory.ShortComplex.homologyMap φ + CategoryTheory.ShortComplex.homologyMap φ'

theorem CategoryTheory.ShortComplex.homologyMap_sub E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ φ' : S₁ ⟶ S₂) [inst_2 : S₁.HasHomology] [inst_3 : S₂.HasHomology],
  CategoryTheory.ShortComplex.homologyMap (φ - φ') =
    CategoryTheory.ShortComplex.homologyMap φ - CategoryTheory.ShortComplex.homologyMap φ'

instance CategoryTheory.ShortComplex.homologyFunctor_additive E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  [inst_2 : CategoryTheory.CategoryWithHomology C], (CategoryTheory.ShortComplex.homologyFunctor C).Additive

structure CategoryTheory.ShortComplex.Homotopy E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] → {S₁ S₂ : CategoryTheory.ShortComplex C} → (S₁ ⟶ S₂) → (S₁ ⟶ S₂) → Type v_1

A homotopy between two morphisms of short complexes S₁ ⟶ S₂ consists of various maps and conditions which will be sufficient to show that they induce the same morphism in homology.

theorem CategoryTheory.ShortComplex.Homotopy.ext E1 #

∀ {C : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} C} {inst_1 : CategoryTheory.Preadditive C}
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} {x y : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂},
  x.h₀ = y.h₀ → x.h₁ = y.h₁ → x.h₂ = y.h₂ → x.h₃ = y.h₃ → x = y

theorem CategoryTheory.ShortComplex.Homotopy.ext_iff E0 #

∀ {C : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} C} {inst_1 : CategoryTheory.Preadditive C}
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} {x y : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂},
  x = y ↔ x.h₀ = y.h₀ ∧ x.h₁ = y.h₁ ∧ x.h₂ = y.h₂ ∧ x.h₃ = y.h₃

ctor CategoryTheory.ShortComplex.Homotopy.mk E0 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        {φ₁ φ₂ : S₁ ⟶ S₂} →
          (h₀ : S₁.X₁ ⟶ S₂.X₁) →
            autoParam (CategoryTheory.CategoryStruct.comp h₀ S₂.f = 0)
                CategoryTheory.ShortComplex.Homotopy.h₀_f._autoParam →
              (h₁ : S₁.X₂ ⟶ S₂.X₁) →
                (h₂ : S₁.X₃ ⟶ S₂.X₂) →
                  (h₃ : S₁.X₃ ⟶ S₂.X₃) →
                    autoParam (CategoryTheory.CategoryStruct.comp S₁.g h₃ = 0)
                        CategoryTheory.ShortComplex.Homotopy.g_h₃._autoParam →
                      autoParam (φ₁.τ₁ = CategoryTheory.CategoryStruct.comp S₁.f h₁ + h₀ + φ₂.τ₁)
                          CategoryTheory.ShortComplex.Homotopy.comm₁._autoParam →
                        autoParam
                            (φ₁.τ₂ =
                              CategoryTheory.CategoryStruct.comp S₁.g h₂ + CategoryTheory.CategoryStruct.comp h₁ S₂.f +
                                φ₂.τ₂)
                            CategoryTheory.ShortComplex.Homotopy.comm₂._autoParam →
                          autoParam (φ₁.τ₃ = h₃ + CategoryTheory.CategoryStruct.comp h₂ S₂.g + φ₂.τ₃)
                              CategoryTheory.ShortComplex.Homotopy.comm₃._autoParam →
                            CategoryTheory.ShortComplex.Homotopy φ₁ φ₂

abbrev CategoryTheory.ShortComplex.Homotopy.h₀ E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        {φ₁ φ₂ : S₁ ⟶ S₂} → CategoryTheory.ShortComplex.Homotopy φ₁ φ₂ → (S₁.X₁ ⟶ S₂.X₁)

a morphism S₁.X₁ ⟶ S₂.X₁

theorem CategoryTheory.ShortComplex.Homotopy.h₀_f E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (self : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂),
  CategoryTheory.CategoryStruct.comp self.h₀ S₂.f = 0

abbrev CategoryTheory.ShortComplex.Homotopy.h₁ E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        {φ₁ φ₂ : S₁ ⟶ S₂} → CategoryTheory.ShortComplex.Homotopy φ₁ φ₂ → (S₁.X₂ ⟶ S₂.X₁)

a morphism S₁.X₂ ⟶ S₂.X₁

abbrev CategoryTheory.ShortComplex.Homotopy.h₂ E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        {φ₁ φ₂ : S₁ ⟶ S₂} → CategoryTheory.ShortComplex.Homotopy φ₁ φ₂ → (S₁.X₃ ⟶ S₂.X₂)

a morphism S₁.X₃ ⟶ S₂.X₂

abbrev CategoryTheory.ShortComplex.Homotopy.h₃ E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        {φ₁ φ₂ : S₁ ⟶ S₂} → CategoryTheory.ShortComplex.Homotopy φ₁ φ₂ → (S₁.X₃ ⟶ S₂.X₃)

a morphism S₁.X₃ ⟶ S₂.X₃

theorem CategoryTheory.ShortComplex.Homotopy.g_h₃ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (self : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂),
  CategoryTheory.CategoryStruct.comp S₁.g self.h₃ = 0

theorem CategoryTheory.ShortComplex.Homotopy.comm₁ E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (self : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂),
  φ₁.τ₁ = CategoryTheory.CategoryStruct.comp S₁.f self.h₁ + self.h₀ + φ₂.τ₁

theorem CategoryTheory.ShortComplex.Homotopy.comm₂ E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (self : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂),
  φ₁.τ₂ = CategoryTheory.CategoryStruct.comp S₁.g self.h₂ + CategoryTheory.CategoryStruct.comp self.h₁ S₂.f + φ₂.τ₂

theorem CategoryTheory.ShortComplex.Homotopy.comm₃ E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (self : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂),
  φ₁.τ₃ = self.h₃ + CategoryTheory.CategoryStruct.comp self.h₂ S₂.g + φ₂.τ₃

theorem CategoryTheory.ShortComplex.Homotopy.h₀_f_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (self : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂) {Z : C}
  (h : S₂.X₂ ⟶ Z),
  CategoryTheory.CategoryStruct.comp self.h₀ (CategoryTheory.CategoryStruct.comp S₂.f h) =
    CategoryTheory.CategoryStruct.comp 0 h

theorem CategoryTheory.ShortComplex.Homotopy.g_h₃_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (self : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂) {Z : C}
  (h : S₂.X₃ ⟶ Z),
  CategoryTheory.CategoryStruct.comp S₁.g (CategoryTheory.CategoryStruct.comp self.h₃ h) =
    CategoryTheory.CategoryStruct.comp 0 h

def CategoryTheory.ShortComplex.nullHomotopic E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      (S₁ S₂ : CategoryTheory.ShortComplex C) →
        (h₀ : S₁.X₁ ⟶ S₂.X₁) →
          CategoryTheory.CategoryStruct.comp h₀ S₂.f = 0 →
            (S₁.X₂ ⟶ S₂.X₁) →
              (S₁.X₃ ⟶ S₂.X₂) → (h₃ : S₁.X₃ ⟶ S₂.X₃) → CategoryTheory.CategoryStruct.comp S₁.g h₃ = 0 → (S₁ ⟶ S₂)

Constructor for null homotopic morphisms, see also Homotopy.ofNullHomotopic and Homotopy.eq_add_nullHomotopic.

theorem CategoryTheory.ShortComplex.nullHomotopic_τ₁ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  (S₁ S₂ : CategoryTheory.ShortComplex C) (h₀ : S₁.X₁ ⟶ S₂.X₁) (h₀_f : CategoryTheory.CategoryStruct.comp h₀ S₂.f = 0)
  (h₁ : S₁.X₂ ⟶ S₂.X₁) (h₂ : S₁.X₃ ⟶ S₂.X₂) (h₃ : S₁.X₃ ⟶ S₂.X₃)
  (g_h₃ : CategoryTheory.CategoryStruct.comp S₁.g h₃ = 0),
  (S₁.nullHomotopic S₂ h₀ h₀_f h₁ h₂ h₃ g_h₃).τ₁ = h₀ + CategoryTheory.CategoryStruct.comp S₁.f h₁

theorem CategoryTheory.ShortComplex.nullHomotopic_τ₂ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  (S₁ S₂ : CategoryTheory.ShortComplex C) (h₀ : S₁.X₁ ⟶ S₂.X₁) (h₀_f : CategoryTheory.CategoryStruct.comp h₀ S₂.f = 0)
  (h₁ : S₁.X₂ ⟶ S₂.X₁) (h₂ : S₁.X₃ ⟶ S₂.X₂) (h₃ : S₁.X₃ ⟶ S₂.X₃)
  (g_h₃ : CategoryTheory.CategoryStruct.comp S₁.g h₃ = 0),
  (S₁.nullHomotopic S₂ h₀ h₀_f h₁ h₂ h₃ g_h₃).τ₂ =
    CategoryTheory.CategoryStruct.comp h₁ S₂.f + CategoryTheory.CategoryStruct.comp S₁.g h₂

theorem CategoryTheory.ShortComplex.nullHomotopic_τ₃ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  (S₁ S₂ : CategoryTheory.ShortComplex C) (h₀ : S₁.X₁ ⟶ S₂.X₁) (h₀_f : CategoryTheory.CategoryStruct.comp h₀ S₂.f = 0)
  (h₁ : S₁.X₂ ⟶ S₂.X₁) (h₂ : S₁.X₃ ⟶ S₂.X₂) (h₃ : S₁.X₃ ⟶ S₂.X₃)
  (g_h₃ : CategoryTheory.CategoryStruct.comp S₁.g h₃ = 0),
  (S₁.nullHomotopic S₂ h₀ h₀_f h₁ h₂ h₃ g_h₃).τ₃ = CategoryTheory.CategoryStruct.comp h₂ S₂.g + h₃

def CategoryTheory.ShortComplex.Homotopy.ofEq E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} → {φ₁ φ₂ : S₁ ⟶ S₂} → φ₁ = φ₂ → CategoryTheory.ShortComplex.Homotopy φ₁ φ₂

The obvious homotopy between two equal morphisms of short complexes.

theorem CategoryTheory.ShortComplex.Homotopy.ofEq_h₂ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : φ₁ = φ₂),
  (CategoryTheory.ShortComplex.Homotopy.ofEq h).h₂ = 0

theorem CategoryTheory.ShortComplex.Homotopy.ofEq_h₀ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : φ₁ = φ₂),
  (CategoryTheory.ShortComplex.Homotopy.ofEq h).h₀ = 0

theorem CategoryTheory.ShortComplex.Homotopy.ofEq_h₁ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : φ₁ = φ₂),
  (CategoryTheory.ShortComplex.Homotopy.ofEq h).h₁ = 0

theorem CategoryTheory.ShortComplex.Homotopy.ofEq_h₃ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : φ₁ = φ₂),
  (CategoryTheory.ShortComplex.Homotopy.ofEq h).h₃ = 0

def CategoryTheory.ShortComplex.Homotopy.refl E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} → (φ : S₁ ⟶ S₂) → CategoryTheory.ShortComplex.Homotopy φ φ

The obvious homotopy between a morphism of short complexes and itself.

theorem CategoryTheory.ShortComplex.Homotopy.refl_h₀ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ : S₁ ⟶ S₂), (CategoryTheory.ShortComplex.Homotopy.refl φ).h₀ = 0

theorem CategoryTheory.ShortComplex.Homotopy.refl_h₃ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ : S₁ ⟶ S₂), (CategoryTheory.ShortComplex.Homotopy.refl φ).h₃ = 0

theorem CategoryTheory.ShortComplex.Homotopy.refl_h₂ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ : S₁ ⟶ S₂), (CategoryTheory.ShortComplex.Homotopy.refl φ).h₂ = 0

theorem CategoryTheory.ShortComplex.Homotopy.refl_h₁ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ : S₁ ⟶ S₂), (CategoryTheory.ShortComplex.Homotopy.refl φ).h₁ = 0

def CategoryTheory.ShortComplex.Homotopy.symm E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        {φ₁ φ₂ : S₁ ⟶ S₂} → CategoryTheory.ShortComplex.Homotopy φ₁ φ₂ → CategoryTheory.ShortComplex.Homotopy φ₂ φ₁

The symmetry of homotopy between morphisms of short complexes.

theorem CategoryTheory.ShortComplex.Homotopy.symm_h₀ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂),
  h.symm.h₀ = -h.h₀

theorem CategoryTheory.ShortComplex.Homotopy.symm_h₃ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂),
  h.symm.h₃ = -h.h₃

theorem CategoryTheory.ShortComplex.Homotopy.symm_h₂ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂),
  h.symm.h₂ = -h.h₂

theorem CategoryTheory.ShortComplex.Homotopy.symm_h₁ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂),
  h.symm.h₁ = -h.h₁

def CategoryTheory.ShortComplex.Homotopy.neg E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        {φ₁ φ₂ : S₁ ⟶ S₂} →
          CategoryTheory.ShortComplex.Homotopy φ₁ φ₂ → CategoryTheory.ShortComplex.Homotopy (-φ₁) (-φ₂)

If two maps of short complexes are homotopic, their opposites also are.

theorem CategoryTheory.ShortComplex.Homotopy.neg_h₁ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂),
  h.neg.h₁ = -h.h₁

theorem CategoryTheory.ShortComplex.Homotopy.neg_h₃ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂),
  h.neg.h₃ = -h.h₃

theorem CategoryTheory.ShortComplex.Homotopy.neg_h₀ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂),
  h.neg.h₀ = -h.h₀

theorem CategoryTheory.ShortComplex.Homotopy.neg_h₂ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂),
  h.neg.h₂ = -h.h₂

def CategoryTheory.ShortComplex.Homotopy.trans E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        {φ₁ φ₂ φ₃ : S₁ ⟶ S₂} →
          CategoryTheory.ShortComplex.Homotopy φ₁ φ₂ →
            CategoryTheory.ShortComplex.Homotopy φ₂ φ₃ → CategoryTheory.ShortComplex.Homotopy φ₁ φ₃

The transitivity of homotopy between morphisms of short complexes.

theorem CategoryTheory.ShortComplex.Homotopy.trans_h₂ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ φ₃ : S₁ ⟶ S₂} (h₁₂ : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (h₂₃ : CategoryTheory.ShortComplex.Homotopy φ₂ φ₃), (h₁₂.trans h₂₃).h₂ = h₁₂.h₂ + h₂₃.h₂

theorem CategoryTheory.ShortComplex.Homotopy.trans_h₃ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ φ₃ : S₁ ⟶ S₂} (h₁₂ : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (h₂₃ : CategoryTheory.ShortComplex.Homotopy φ₂ φ₃), (h₁₂.trans h₂₃).h₃ = h₁₂.h₃ + h₂₃.h₃

theorem CategoryTheory.ShortComplex.Homotopy.trans_h₀ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ φ₃ : S₁ ⟶ S₂} (h₁₂ : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (h₂₃ : CategoryTheory.ShortComplex.Homotopy φ₂ φ₃), (h₁₂.trans h₂₃).h₀ = h₁₂.h₀ + h₂₃.h₀

theorem CategoryTheory.ShortComplex.Homotopy.trans_h₁ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ φ₃ : S₁ ⟶ S₂} (h₁₂ : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (h₂₃ : CategoryTheory.ShortComplex.Homotopy φ₂ φ₃), (h₁₂.trans h₂₃).h₁ = h₁₂.h₁ + h₂₃.h₁

def CategoryTheory.ShortComplex.Homotopy.add E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        {φ₁ φ₂ φ₃ φ₄ : S₁ ⟶ S₂} →
          CategoryTheory.ShortComplex.Homotopy φ₁ φ₂ →
            CategoryTheory.ShortComplex.Homotopy φ₃ φ₄ → CategoryTheory.ShortComplex.Homotopy (φ₁ + φ₃) (φ₂ + φ₄)

Homotopy between morphisms of short complexes is compatible with addition.

theorem CategoryTheory.ShortComplex.Homotopy.add_h₁ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ φ₃ φ₄ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (h' : CategoryTheory.ShortComplex.Homotopy φ₃ φ₄), (h.add h').h₁ = h.h₁ + h'.h₁

theorem CategoryTheory.ShortComplex.Homotopy.add_h₀ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ φ₃ φ₄ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (h' : CategoryTheory.ShortComplex.Homotopy φ₃ φ₄), (h.add h').h₀ = h.h₀ + h'.h₀

theorem CategoryTheory.ShortComplex.Homotopy.add_h₂ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ φ₃ φ₄ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (h' : CategoryTheory.ShortComplex.Homotopy φ₃ φ₄), (h.add h').h₂ = h.h₂ + h'.h₂

theorem CategoryTheory.ShortComplex.Homotopy.add_h₃ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ φ₃ φ₄ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (h' : CategoryTheory.ShortComplex.Homotopy φ₃ φ₄), (h.add h').h₃ = h.h₃ + h'.h₃

def CategoryTheory.ShortComplex.Homotopy.sub E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        {φ₁ φ₂ φ₃ φ₄ : S₁ ⟶ S₂} →
          CategoryTheory.ShortComplex.Homotopy φ₁ φ₂ →
            CategoryTheory.ShortComplex.Homotopy φ₃ φ₄ → CategoryTheory.ShortComplex.Homotopy (φ₁ - φ₃) (φ₂ - φ₄)

Homotopy between morphisms of short complexes is compatible with subtraction.

theorem CategoryTheory.ShortComplex.Homotopy.sub_h₀ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ φ₃ φ₄ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (h' : CategoryTheory.ShortComplex.Homotopy φ₃ φ₄), (h.sub h').h₀ = h.h₀ - h'.h₀

theorem CategoryTheory.ShortComplex.Homotopy.sub_h₁ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ φ₃ φ₄ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (h' : CategoryTheory.ShortComplex.Homotopy φ₃ φ₄), (h.sub h').h₁ = h.h₁ - h'.h₁

theorem CategoryTheory.ShortComplex.Homotopy.sub_h₃ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ φ₃ φ₄ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (h' : CategoryTheory.ShortComplex.Homotopy φ₃ φ₄), (h.sub h').h₃ = h.h₃ - h'.h₃

theorem CategoryTheory.ShortComplex.Homotopy.sub_h₂ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ φ₃ φ₄ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (h' : CategoryTheory.ShortComplex.Homotopy φ₃ φ₄), (h.sub h').h₂ = h.h₂ - h'.h₂

def CategoryTheory.ShortComplex.Homotopy.compLeft E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ S₃ : CategoryTheory.ShortComplex C} →
        {φ₁ φ₂ : S₁ ⟶ S₂} →
          CategoryTheory.ShortComplex.Homotopy φ₁ φ₂ →
            (ψ : S₃ ⟶ S₁) →
              CategoryTheory.ShortComplex.Homotopy (CategoryTheory.CategoryStruct.comp ψ φ₁)
                (CategoryTheory.CategoryStruct.comp ψ φ₂)

Homotopy between morphisms of short complexes is compatible with precomposition.

theorem CategoryTheory.ShortComplex.Homotopy.compLeft_h₂ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ S₃ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (ψ : S₃ ⟶ S₁), (h.compLeft ψ).h₂ = CategoryTheory.CategoryStruct.comp ψ.τ₃ h.h₂

theorem CategoryTheory.ShortComplex.Homotopy.compLeft_h₃ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ S₃ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (ψ : S₃ ⟶ S₁), (h.compLeft ψ).h₃ = CategoryTheory.CategoryStruct.comp ψ.τ₃ h.h₃

theorem CategoryTheory.ShortComplex.Homotopy.compLeft_h₀ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ S₃ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (ψ : S₃ ⟶ S₁), (h.compLeft ψ).h₀ = CategoryTheory.CategoryStruct.comp ψ.τ₁ h.h₀

theorem CategoryTheory.ShortComplex.Homotopy.compLeft_h₁ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ S₃ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (ψ : S₃ ⟶ S₁), (h.compLeft ψ).h₁ = CategoryTheory.CategoryStruct.comp ψ.τ₂ h.h₁

def CategoryTheory.ShortComplex.Homotopy.compRight E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ S₃ : CategoryTheory.ShortComplex C} →
        {φ₁ φ₂ : S₁ ⟶ S₂} →
          CategoryTheory.ShortComplex.Homotopy φ₁ φ₂ →
            (ψ : S₂ ⟶ S₃) →
              CategoryTheory.ShortComplex.Homotopy (CategoryTheory.CategoryStruct.comp φ₁ ψ)
                (CategoryTheory.CategoryStruct.comp φ₂ ψ)

Homotopy between morphisms of short complexes is compatible with postcomposition.

theorem CategoryTheory.ShortComplex.Homotopy.compRight_h₀ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ S₃ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (ψ : S₂ ⟶ S₃), (h.compRight ψ).h₀ = CategoryTheory.CategoryStruct.comp h.h₀ ψ.τ₁

theorem CategoryTheory.ShortComplex.Homotopy.compRight_h₁ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ S₃ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (ψ : S₂ ⟶ S₃), (h.compRight ψ).h₁ = CategoryTheory.CategoryStruct.comp h.h₁ ψ.τ₁

theorem CategoryTheory.ShortComplex.Homotopy.compRight_h₂ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ S₃ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (ψ : S₂ ⟶ S₃), (h.compRight ψ).h₂ = CategoryTheory.CategoryStruct.comp h.h₂ ψ.τ₂

theorem CategoryTheory.ShortComplex.Homotopy.compRight_h₃ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ S₃ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (ψ : S₂ ⟶ S₃), (h.compRight ψ).h₃ = CategoryTheory.CategoryStruct.comp h.h₃ ψ.τ₃

def CategoryTheory.ShortComplex.Homotopy.comp E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ S₃ : CategoryTheory.ShortComplex C} →
        {φ₁ φ₂ : S₁ ⟶ S₂} →
          CategoryTheory.ShortComplex.Homotopy φ₁ φ₂ →
            {ψ₁ ψ₂ : S₂ ⟶ S₃} →
              CategoryTheory.ShortComplex.Homotopy ψ₁ ψ₂ →
                CategoryTheory.ShortComplex.Homotopy (CategoryTheory.CategoryStruct.comp φ₁ ψ₁)
                  (CategoryTheory.CategoryStruct.comp φ₂ ψ₂)

Homotopy between morphisms of short complexes is compatible with composition.

theorem CategoryTheory.ShortComplex.Homotopy.comp_h₃ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ S₃ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  {ψ₁ ψ₂ : S₂ ⟶ S₃} (h' : CategoryTheory.ShortComplex.Homotopy ψ₁ ψ₂),
  (h.comp h').h₃ = CategoryTheory.CategoryStruct.comp h.h₃ ψ₁.τ₃ + CategoryTheory.CategoryStruct.comp φ₂.τ₃ h'.h₃

theorem CategoryTheory.ShortComplex.Homotopy.comp_h₁ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ S₃ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  {ψ₁ ψ₂ : S₂ ⟶ S₃} (h' : CategoryTheory.ShortComplex.Homotopy ψ₁ ψ₂),
  (h.comp h').h₁ = CategoryTheory.CategoryStruct.comp h.h₁ ψ₁.τ₁ + CategoryTheory.CategoryStruct.comp φ₂.τ₂ h'.h₁

theorem CategoryTheory.ShortComplex.Homotopy.comp_h₀ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ S₃ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  {ψ₁ ψ₂ : S₂ ⟶ S₃} (h' : CategoryTheory.ShortComplex.Homotopy ψ₁ ψ₂),
  (h.comp h').h₀ = CategoryTheory.CategoryStruct.comp h.h₀ ψ₁.τ₁ + CategoryTheory.CategoryStruct.comp φ₂.τ₁ h'.h₀

theorem CategoryTheory.ShortComplex.Homotopy.comp_h₂ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ S₃ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  {ψ₁ ψ₂ : S₂ ⟶ S₃} (h' : CategoryTheory.ShortComplex.Homotopy ψ₁ ψ₂),
  (h.comp h').h₂ = CategoryTheory.CategoryStruct.comp h.h₂ ψ₁.τ₂ + CategoryTheory.CategoryStruct.comp φ₂.τ₃ h'.h₂

def CategoryTheory.ShortComplex.Homotopy.op E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        {φ₁ φ₂ : S₁ ⟶ S₂} →
          CategoryTheory.ShortComplex.Homotopy φ₁ φ₂ →
            CategoryTheory.ShortComplex.Homotopy (CategoryTheory.ShortComplex.opMap φ₁)
              (CategoryTheory.ShortComplex.opMap φ₂)

The homotopy between morphisms in ShortComplex Cᵒᵖ that is induced by a homotopy between morphisms in ShortComplex C.

theorem CategoryTheory.ShortComplex.Homotopy.op_h₀ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂),
  h.op.h₀ = h.h₃.op

theorem CategoryTheory.ShortComplex.Homotopy.op_h₂ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂),
  h.op.h₂ = h.h₁.op

theorem CategoryTheory.ShortComplex.Homotopy.op_h₃ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂),
  h.op.h₃ = h.h₀.op

theorem CategoryTheory.ShortComplex.Homotopy.op_h₁ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂),
  h.op.h₁ = h.h₂.op

def CategoryTheory.ShortComplex.Homotopy.unop E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex Cᵒᵖ} →
        {φ₁ φ₂ : S₁ ⟶ S₂} →
          CategoryTheory.ShortComplex.Homotopy φ₁ φ₂ →
            CategoryTheory.ShortComplex.Homotopy (CategoryTheory.ShortComplex.unopMap φ₁)
              (CategoryTheory.ShortComplex.unopMap φ₂)

The homotopy between morphisms in ShortComplex C that is induced by a homotopy between morphisms in ShortComplex Cᵒᵖ.

theorem CategoryTheory.ShortComplex.Homotopy.unop_h₂ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex Cᵒᵖ} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂),
  h.unop.h₂ = h.h₁.unop

theorem CategoryTheory.ShortComplex.Homotopy.unop_h₃ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex Cᵒᵖ} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂),
  h.unop.h₃ = h.h₀.unop

theorem CategoryTheory.ShortComplex.Homotopy.unop_h₁ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex Cᵒᵖ} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂),
  h.unop.h₁ = h.h₂.unop

theorem CategoryTheory.ShortComplex.Homotopy.unop_h₀ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex Cᵒᵖ} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂),
  h.unop.h₀ = h.h₃.unop

def CategoryTheory.ShortComplex.Homotopy.equivSubZero E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        (φ₁ φ₂ : S₁ ⟶ S₂) →
          CategoryTheory.ShortComplex.Homotopy φ₁ φ₂ ≃ CategoryTheory.ShortComplex.Homotopy (φ₁ - φ₂) 0

Equivalence expressing that two morphisms are homotopic iff their difference is homotopic to zero.

theorem CategoryTheory.ShortComplex.Homotopy.equivSubZero_symm_apply E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ₁ φ₂ : S₁ ⟶ S₂) (h : CategoryTheory.ShortComplex.Homotopy (φ₁ - φ₂) 0),
  (CategoryTheory.ShortComplex.Homotopy.equivSubZero φ₁ φ₂).symm h =
    ((CategoryTheory.ShortComplex.Homotopy.ofEq ⋯).trans (h.add (CategoryTheory.ShortComplex.Homotopy.refl φ₂))).trans
      (CategoryTheory.ShortComplex.Homotopy.ofEq ⋯)

theorem CategoryTheory.ShortComplex.Homotopy.equivSubZero_apply E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ₁ φ₂ : S₁ ⟶ S₂) (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂),
  (CategoryTheory.ShortComplex.Homotopy.equivSubZero φ₁ φ₂) h =
    (h.sub (CategoryTheory.ShortComplex.Homotopy.refl φ₂)).trans (CategoryTheory.ShortComplex.Homotopy.ofEq ⋯)

def CategoryTheory.ShortComplex.Homotopy.ofNullHomotopic E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      (S₁ S₂ : CategoryTheory.ShortComplex C) →
        (h₀ : S₁.X₁ ⟶ S₂.X₁) →
          (h₀_f : CategoryTheory.CategoryStruct.comp h₀ S₂.f = 0) →
            (h₁ : S₁.X₂ ⟶ S₂.X₁) →
              (h₂ : S₁.X₃ ⟶ S₂.X₂) →
                (h₃ : S₁.X₃ ⟶ S₂.X₃) →
                  (g_h₃ : CategoryTheory.CategoryStruct.comp S₁.g h₃ = 0) →
                    CategoryTheory.ShortComplex.Homotopy (S₁.nullHomotopic S₂ h₀ h₀_f h₁ h₂ h₃ g_h₃) 0

A morphism constructed with nullHomotopic is homotopic to zero.

theorem CategoryTheory.ShortComplex.Homotopy.ofNullHomotopic_h₀ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  (S₁ S₂ : CategoryTheory.ShortComplex C) (h₀ : S₁.X₁ ⟶ S₂.X₁) (h₀_f : CategoryTheory.CategoryStruct.comp h₀ S₂.f = 0)
  (h₁ : S₁.X₂ ⟶ S₂.X₁) (h₂ : S₁.X₃ ⟶ S₂.X₂) (h₃ : S₁.X₃ ⟶ S₂.X₃)
  (g_h₃ : CategoryTheory.CategoryStruct.comp S₁.g h₃ = 0),
  (CategoryTheory.ShortComplex.Homotopy.ofNullHomotopic S₁ S₂ h₀ h₀_f h₁ h₂ h₃ g_h₃).h₀ = h₀

theorem CategoryTheory.ShortComplex.Homotopy.ofNullHomotopic_h₁ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  (S₁ S₂ : CategoryTheory.ShortComplex C) (h₀ : S₁.X₁ ⟶ S₂.X₁) (h₀_f : CategoryTheory.CategoryStruct.comp h₀ S₂.f = 0)
  (h₁ : S₁.X₂ ⟶ S₂.X₁) (h₂ : S₁.X₃ ⟶ S₂.X₂) (h₃ : S₁.X₃ ⟶ S₂.X₃)
  (g_h₃ : CategoryTheory.CategoryStruct.comp S₁.g h₃ = 0),
  (CategoryTheory.ShortComplex.Homotopy.ofNullHomotopic S₁ S₂ h₀ h₀_f h₁ h₂ h₃ g_h₃).h₁ = h₁

theorem CategoryTheory.ShortComplex.Homotopy.ofNullHomotopic_h₂ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  (S₁ S₂ : CategoryTheory.ShortComplex C) (h₀ : S₁.X₁ ⟶ S₂.X₁) (h₀_f : CategoryTheory.CategoryStruct.comp h₀ S₂.f = 0)
  (h₁ : S₁.X₂ ⟶ S₂.X₁) (h₂ : S₁.X₃ ⟶ S₂.X₂) (h₃ : S₁.X₃ ⟶ S₂.X₃)
  (g_h₃ : CategoryTheory.CategoryStruct.comp S₁.g h₃ = 0),
  (CategoryTheory.ShortComplex.Homotopy.ofNullHomotopic S₁ S₂ h₀ h₀_f h₁ h₂ h₃ g_h₃).h₂ = h₂

theorem CategoryTheory.ShortComplex.Homotopy.ofNullHomotopic_h₃ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  (S₁ S₂ : CategoryTheory.ShortComplex C) (h₀ : S₁.X₁ ⟶ S₂.X₁) (h₀_f : CategoryTheory.CategoryStruct.comp h₀ S₂.f = 0)
  (h₁ : S₁.X₂ ⟶ S₂.X₁) (h₂ : S₁.X₃ ⟶ S₂.X₂) (h₃ : S₁.X₃ ⟶ S₂.X₃)
  (g_h₃ : CategoryTheory.CategoryStruct.comp S₁.g h₃ = 0),
  (CategoryTheory.ShortComplex.Homotopy.ofNullHomotopic S₁ S₂ h₀ h₀_f h₁ h₂ h₃ g_h₃).h₃ = h₃

def CategoryTheory.ShortComplex.LeftHomologyMapData.ofNullHomotopic E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        (H₁ : S₁.LeftHomologyData) →
          (H₂ : S₂.LeftHomologyData) →
            (h₀ : S₁.X₁ ⟶ S₂.X₁) →
              (h₀_f : CategoryTheory.CategoryStruct.comp h₀ S₂.f = 0) →
                (h₁ : S₁.X₂ ⟶ S₂.X₁) →
                  (h₂ : S₁.X₃ ⟶ S₂.X₂) →
                    (h₃ : S₁.X₃ ⟶ S₂.X₃) →
                      (g_h₃ : CategoryTheory.CategoryStruct.comp S₁.g h₃ = 0) →
                        CategoryTheory.ShortComplex.LeftHomologyMapData (S₁.nullHomotopic S₂ h₀ h₀_f h₁ h₂ h₃ g_h₃) H₁
                          H₂

The left homology map data expressing that null homotopic maps induce the zero morphism in left homology.

def CategoryTheory.ShortComplex.RightHomologyMapData.ofNullHomotopic E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        (H₁ : S₁.RightHomologyData) →
          (H₂ : S₂.RightHomologyData) →
            (h₀ : S₁.X₁ ⟶ S₂.X₁) →
              (h₀_f : CategoryTheory.CategoryStruct.comp h₀ S₂.f = 0) →
                (h₁ : S₁.X₂ ⟶ S₂.X₁) →
                  (h₂ : S₁.X₃ ⟶ S₂.X₂) →
                    (h₃ : S₁.X₃ ⟶ S₂.X₃) →
                      (g_h₃ : CategoryTheory.CategoryStruct.comp S₁.g h₃ = 0) →
                        CategoryTheory.ShortComplex.RightHomologyMapData (S₁.nullHomotopic S₂ h₀ h₀_f h₁ h₂ h₃ g_h₃) H₁
                          H₂

The right homology map data expressing that null homotopic maps induce the zero morphism in right homology.

theorem CategoryTheory.ShortComplex.leftHomologyMap'_nullHomotopic E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (H₁ : S₁.LeftHomologyData) (H₂ : S₂.LeftHomologyData) (h₀ : S₁.X₁ ⟶ S₂.X₁)
  (h₀_f : CategoryTheory.CategoryStruct.comp h₀ S₂.f = 0) (h₁ : S₁.X₂ ⟶ S₂.X₁) (h₂ : S₁.X₃ ⟶ S₂.X₂) (h₃ : S₁.X₃ ⟶ S₂.X₃)
  (g_h₃ : CategoryTheory.CategoryStruct.comp S₁.g h₃ = 0),
  CategoryTheory.ShortComplex.leftHomologyMap' (S₁.nullHomotopic S₂ h₀ h₀_f h₁ h₂ h₃ g_h₃) H₁ H₂ = 0

theorem CategoryTheory.ShortComplex.rightHomologyMap'_nullHomotopic E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (H₁ : S₁.RightHomologyData) (H₂ : S₂.RightHomologyData) (h₀ : S₁.X₁ ⟶ S₂.X₁)
  (h₀_f : CategoryTheory.CategoryStruct.comp h₀ S₂.f = 0) (h₁ : S₁.X₂ ⟶ S₂.X₁) (h₂ : S₁.X₃ ⟶ S₂.X₂) (h₃ : S₁.X₃ ⟶ S₂.X₃)
  (g_h₃ : CategoryTheory.CategoryStruct.comp S₁.g h₃ = 0),
  CategoryTheory.ShortComplex.rightHomologyMap' (S₁.nullHomotopic S₂ h₀ h₀_f h₁ h₂ h₃ g_h₃) H₁ H₂ = 0

theorem CategoryTheory.ShortComplex.homologyMap'_nullHomotopic E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (H₁ : S₁.HomologyData) (H₂ : S₂.HomologyData) (h₀ : S₁.X₁ ⟶ S₂.X₁)
  (h₀_f : CategoryTheory.CategoryStruct.comp h₀ S₂.f = 0) (h₁ : S₁.X₂ ⟶ S₂.X₁) (h₂ : S₁.X₃ ⟶ S₂.X₂) (h₃ : S₁.X₃ ⟶ S₂.X₃)
  (g_h₃ : CategoryTheory.CategoryStruct.comp S₁.g h₃ = 0),
  CategoryTheory.ShortComplex.homologyMap' (S₁.nullHomotopic S₂ h₀ h₀_f h₁ h₂ h₃ g_h₃) H₁ H₂ = 0

theorem CategoryTheory.ShortComplex.leftHomologyMap_nullHomotopic E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  (S₁ S₂ : CategoryTheory.ShortComplex C) [inst_2 : S₁.HasLeftHomology] [inst_3 : S₂.HasLeftHomology]
  (h₀ : S₁.X₁ ⟶ S₂.X₁) (h₀_f : CategoryTheory.CategoryStruct.comp h₀ S₂.f = 0) (h₁ : S₁.X₂ ⟶ S₂.X₁) (h₂ : S₁.X₃ ⟶ S₂.X₂)
  (h₃ : S₁.X₃ ⟶ S₂.X₃) (g_h₃ : CategoryTheory.CategoryStruct.comp S₁.g h₃ = 0),
  CategoryTheory.ShortComplex.leftHomologyMap (S₁.nullHomotopic S₂ h₀ h₀_f h₁ h₂ h₃ g_h₃) = 0

theorem CategoryTheory.ShortComplex.rightHomologyMap_nullHomotopic E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  (S₁ S₂ : CategoryTheory.ShortComplex C) [inst_2 : S₁.HasRightHomology] [inst_3 : S₂.HasRightHomology]
  (h₀ : S₁.X₁ ⟶ S₂.X₁) (h₀_f : CategoryTheory.CategoryStruct.comp h₀ S₂.f = 0) (h₁ : S₁.X₂ ⟶ S₂.X₁) (h₂ : S₁.X₃ ⟶ S₂.X₂)
  (h₃ : S₁.X₃ ⟶ S₂.X₃) (g_h₃ : CategoryTheory.CategoryStruct.comp S₁.g h₃ = 0),
  CategoryTheory.ShortComplex.rightHomologyMap (S₁.nullHomotopic S₂ h₀ h₀_f h₁ h₂ h₃ g_h₃) = 0

theorem CategoryTheory.ShortComplex.homologyMap_nullHomotopic E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  (S₁ S₂ : CategoryTheory.ShortComplex C) [inst_2 : S₁.HasHomology] [inst_3 : S₂.HasHomology] (h₀ : S₁.X₁ ⟶ S₂.X₁)
  (h₀_f : CategoryTheory.CategoryStruct.comp h₀ S₂.f = 0) (h₁ : S₁.X₂ ⟶ S₂.X₁) (h₂ : S₁.X₃ ⟶ S₂.X₂) (h₃ : S₁.X₃ ⟶ S₂.X₃)
  (g_h₃ : CategoryTheory.CategoryStruct.comp S₁.g h₃ = 0),
  CategoryTheory.ShortComplex.homologyMap (S₁.nullHomotopic S₂ h₀ h₀_f h₁ h₂ h₃ g_h₃) = 0

theorem CategoryTheory.ShortComplex.Homotopy.leftHomologyMap'_congr E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (h₁ : S₁.LeftHomologyData) (h₂ : S₂.LeftHomologyData),
  CategoryTheory.ShortComplex.leftHomologyMap' φ₁ h₁ h₂ = CategoryTheory.ShortComplex.leftHomologyMap' φ₂ h₁ h₂

theorem CategoryTheory.ShortComplex.Homotopy.rightHomologyMap'_congr E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (h₁ : S₁.RightHomologyData) (h₂ : S₂.RightHomologyData),
  CategoryTheory.ShortComplex.rightHomologyMap' φ₁ h₁ h₂ = CategoryTheory.ShortComplex.rightHomologyMap' φ₂ h₁ h₂

theorem CategoryTheory.ShortComplex.Homotopy.homologyMap'_congr E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  (h₁ : S₁.HomologyData) (h₂ : S₂.HomologyData),
  CategoryTheory.ShortComplex.homologyMap' φ₁ h₁ h₂ = CategoryTheory.ShortComplex.homologyMap' φ₂ h₁ h₂

theorem CategoryTheory.ShortComplex.Homotopy.leftHomologyMap_congr E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  [inst_2 : S₁.HasLeftHomology] [inst_3 : S₂.HasLeftHomology],
  CategoryTheory.ShortComplex.leftHomologyMap φ₁ = CategoryTheory.ShortComplex.leftHomologyMap φ₂

theorem CategoryTheory.ShortComplex.Homotopy.rightHomologyMap_congr E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  [inst_2 : S₁.HasRightHomology] [inst_3 : S₂.HasRightHomology],
  CategoryTheory.ShortComplex.rightHomologyMap φ₁ = CategoryTheory.ShortComplex.rightHomologyMap φ₂

theorem CategoryTheory.ShortComplex.Homotopy.homologyMap_congr E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} {φ₁ φ₂ : S₁ ⟶ S₂} (h : CategoryTheory.ShortComplex.Homotopy φ₁ φ₂)
  [inst_2 : S₁.HasHomology] [inst_3 : S₂.HasHomology],
  CategoryTheory.ShortComplex.homologyMap φ₁ = CategoryTheory.ShortComplex.homologyMap φ₂

structure CategoryTheory.ShortComplex.HomotopyEquiv E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] → CategoryTheory.ShortComplex C → CategoryTheory.ShortComplex C → Type v_1

A homotopy equivalence between two short complexes S₁ and S₂ consists of morphisms hom : S₁ ⟶ S₂ and inv : S₂ ⟶ S₁ such that both compositions hom ≫ inv and inv ≫ hom are homotopic to the identity.

theorem CategoryTheory.ShortComplex.HomotopyEquiv.ext_iff E0 #

∀ {C : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} C} {inst_1 : CategoryTheory.Preadditive C}
  {S₁ S₂ : CategoryTheory.ShortComplex C} {x y : S₁.HomotopyEquiv S₂},
  x = y ↔
    x.hom = y.hom ∧ x.inv = y.inv ∧ x.homotopyHomInvId ≍ y.homotopyHomInvId ∧ x.homotopyInvHomId ≍ y.homotopyInvHomId

theorem CategoryTheory.ShortComplex.HomotopyEquiv.ext E1 #

∀ {C : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} C} {inst_1 : CategoryTheory.Preadditive C}
  {S₁ S₂ : CategoryTheory.ShortComplex C} {x y : S₁.HomotopyEquiv S₂},
  x.hom = y.hom →
    x.inv = y.inv → x.homotopyHomInvId ≍ y.homotopyHomInvId → x.homotopyInvHomId ≍ y.homotopyInvHomId → x = y

ctor CategoryTheory.ShortComplex.HomotopyEquiv.mk E0 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        (hom : S₁ ⟶ S₂) →
          (inv : S₂ ⟶ S₁) →
            CategoryTheory.ShortComplex.Homotopy (CategoryTheory.CategoryStruct.comp hom inv)
                (CategoryTheory.CategoryStruct.id S₁) →
              CategoryTheory.ShortComplex.Homotopy (CategoryTheory.CategoryStruct.comp inv hom)
                  (CategoryTheory.CategoryStruct.id S₂) →
                S₁.HomotopyEquiv S₂

abbrev CategoryTheory.ShortComplex.HomotopyEquiv.hom E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] → {S₁ S₂ : CategoryTheory.ShortComplex C} → S₁.HomotopyEquiv S₂ → (S₁ ⟶ S₂)

the forward direction of a homotopy equivalence.

abbrev CategoryTheory.ShortComplex.HomotopyEquiv.inv E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] → {S₁ S₂ : CategoryTheory.ShortComplex C} → S₁.HomotopyEquiv S₂ → (S₂ ⟶ S₁)

the backwards direction of a homotopy equivalence.

abbrev CategoryTheory.ShortComplex.HomotopyEquiv.homotopyHomInvId E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        (self : S₁.HomotopyEquiv S₂) →
          CategoryTheory.ShortComplex.Homotopy (CategoryTheory.CategoryStruct.comp self.hom self.inv)
            (CategoryTheory.CategoryStruct.id S₁)

the composition of the two directions of a homotopy equivalence is homotopic to the identity of the source

abbrev CategoryTheory.ShortComplex.HomotopyEquiv.homotopyInvHomId E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} →
        (self : S₁.HomotopyEquiv S₂) →
          CategoryTheory.ShortComplex.Homotopy (CategoryTheory.CategoryStruct.comp self.inv self.hom)
            (CategoryTheory.CategoryStruct.id S₂)

the composition of the two directions of a homotopy equivalence is homotopic to the identity of the target

def CategoryTheory.ShortComplex.HomotopyEquiv.refl E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] → (S : CategoryTheory.ShortComplex C) → S.HomotopyEquiv S

The homotopy equivalence from a short complex to itself that is induced by the identity.

theorem CategoryTheory.ShortComplex.HomotopyEquiv.refl_homotopyHomInvId E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  (S : CategoryTheory.ShortComplex C),
  (CategoryTheory.ShortComplex.HomotopyEquiv.refl S).homotopyHomInvId = CategoryTheory.ShortComplex.Homotopy.ofEq ⋯

theorem CategoryTheory.ShortComplex.HomotopyEquiv.refl_hom E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  (S : CategoryTheory.ShortComplex C),
  (CategoryTheory.ShortComplex.HomotopyEquiv.refl S).hom = CategoryTheory.CategoryStruct.id S

theorem CategoryTheory.ShortComplex.HomotopyEquiv.refl_inv E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  (S : CategoryTheory.ShortComplex C),
  (CategoryTheory.ShortComplex.HomotopyEquiv.refl S).inv = CategoryTheory.CategoryStruct.id S

theorem CategoryTheory.ShortComplex.HomotopyEquiv.refl_homotopyInvHomId E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  (S : CategoryTheory.ShortComplex C),
  (CategoryTheory.ShortComplex.HomotopyEquiv.refl S).homotopyInvHomId = CategoryTheory.ShortComplex.Homotopy.ofEq ⋯

def CategoryTheory.ShortComplex.HomotopyEquiv.symm E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} → S₁.HomotopyEquiv S₂ → S₂.HomotopyEquiv S₁

The inverse of a homotopy equivalence.

theorem CategoryTheory.ShortComplex.HomotopyEquiv.symm_homotopyHomInvId E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (e : S₁.HomotopyEquiv S₂), e.symm.homotopyHomInvId = e.homotopyInvHomId

theorem CategoryTheory.ShortComplex.HomotopyEquiv.symm_homotopyInvHomId E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (e : S₁.HomotopyEquiv S₂), e.symm.homotopyInvHomId = e.homotopyHomInvId

theorem CategoryTheory.ShortComplex.HomotopyEquiv.symm_hom E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (e : S₁.HomotopyEquiv S₂), e.symm.hom = e.inv

theorem CategoryTheory.ShortComplex.HomotopyEquiv.symm_inv E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (e : S₁.HomotopyEquiv S₂), e.symm.inv = e.hom

def CategoryTheory.ShortComplex.HomotopyEquiv.trans E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {S₁ S₂ S₃ : CategoryTheory.ShortComplex C} → S₁.HomotopyEquiv S₂ → S₂.HomotopyEquiv S₃ → S₁.HomotopyEquiv S₃

The composition of homotopy equivalences.

theorem CategoryTheory.ShortComplex.HomotopyEquiv.trans_hom E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ S₃ : CategoryTheory.ShortComplex C} (e : S₁.HomotopyEquiv S₂) (e' : S₂.HomotopyEquiv S₃),
  (e.trans e').hom = CategoryTheory.CategoryStruct.comp e.hom e'.hom

theorem CategoryTheory.ShortComplex.HomotopyEquiv.trans_homotopyHomInvId E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ S₃ : CategoryTheory.ShortComplex C} (e : S₁.HomotopyEquiv S₂) (e' : S₂.HomotopyEquiv S₃),
  (e.trans e').homotopyHomInvId =
    (CategoryTheory.ShortComplex.Homotopy.ofEq ⋯).trans
      (((e'.homotopyHomInvId.compRight e.inv).compLeft e.hom).trans
        ((CategoryTheory.ShortComplex.Homotopy.ofEq ⋯).trans e.homotopyHomInvId))

theorem CategoryTheory.ShortComplex.HomotopyEquiv.trans_inv E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ S₃ : CategoryTheory.ShortComplex C} (e : S₁.HomotopyEquiv S₂) (e' : S₂.HomotopyEquiv S₃),
  (e.trans e').inv = CategoryTheory.CategoryStruct.comp e'.inv e.inv

theorem CategoryTheory.ShortComplex.HomotopyEquiv.trans_homotopyInvHomId E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {S₁ S₂ S₃ : CategoryTheory.ShortComplex C} (e : S₁.HomotopyEquiv S₂) (e' : S₂.HomotopyEquiv S₃),
  (e.trans e').homotopyInvHomId =
    (CategoryTheory.ShortComplex.Homotopy.ofEq ⋯).trans
      (((e.homotopyInvHomId.compRight e'.hom).compLeft e'.inv).trans
        ((CategoryTheory.ShortComplex.Homotopy.ofEq ⋯).trans e'.homotopyInvHomId))

theorem CategoryTheory.ShortComplex.add_liftCycles E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  (S : CategoryTheory.ShortComplex C) [inst_2 : S.HasLeftHomology] {A : C} (k k' : A ⟶ S.X₂)
  (hk : CategoryTheory.CategoryStruct.comp k S.g = 0) (hk' : CategoryTheory.CategoryStruct.comp k' S.g = 0),
  S.liftCycles k hk + S.liftCycles k' hk' = S.liftCycles (k + k') ⋯

theorem CategoryTheory.ShortComplex.sub_liftCycles E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  (S : CategoryTheory.ShortComplex C) [inst_2 : S.HasLeftHomology] {A : C} (k k' : A ⟶ S.X₂)
  (hk : CategoryTheory.CategoryStruct.comp k S.g = 0) (hk' : CategoryTheory.CategoryStruct.comp k' S.g = 0),
  S.liftCycles k hk - S.liftCycles k' hk' = S.liftCycles (k - k') ⋯