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

253 declarations. Mathlib docs · Source

theorem HomologicalComplex.natIsoSc'.congr_simp E1 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k),
  HomologicalComplex.natIsoSc' C c i j k hi hk = HomologicalComplex.natIsoSc' C c i j k hi hk

theorem HomologicalComplex.isoSc'.congr_simp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k),
  K.isoSc' i j k hi hk = K.isoSc' i j k hi hk

theorem HomologicalComplex.cyclesIsoSc'.congr_simp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology],
  K.cyclesIsoSc' i j k hi hk = K.cyclesIsoSc' i j k hi hk

theorem HomologicalComplex.isoHomologyι.congr_simp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j j_1 : ι) (e_j : j = j_1) (hj : c.next i = j)
  (h : K.d i j = 0) [inst_2 : K.HasHomology i], K.isoHomologyι i j hj h = K.isoHomologyι i j_1 ⋯ ⋯

theorem HomologicalComplex.isoHomologyπ.congr_simp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i i_1 : ι) (e_i : i = i_1) (j : ι)
  (hi : c.prev j = i) (h : K.d i j = 0) [inst_2 : K.HasHomology j], K.isoHomologyπ i j hi h = K.isoHomologyπ i_1 j ⋯ ⋯

theorem HomologicalComplex.liftCycles.congr_simp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) {i : ι} [inst_2 : K.HasHomology i] {A : C}
  (k k_1 : A ⟶ K.X i) (e_k : k = k_1) (j j_1 : ι) (e_j : j = j_1) (hj : c.next i = j)
  (hk : CategoryTheory.CategoryStruct.comp k (K.d i j) = 0), K.liftCycles k j hj hk = K.liftCycles k_1 j_1 ⋯ ⋯

theorem CategoryTheory.ShortComplex.isoMk.congr_simp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (e₁ e₁_1 : S₁.X₁ ≅ S₂.X₁) (e_e₁ : e₁ = e₁_1) (e₂ e₂_1 : S₁.X₂ ≅ S₂.X₂)
  (e_e₂ : e₂ = e₂_1) (e₃ e₃_1 : S₁.X₃ ≅ S₂.X₃) (e_e₃ : e₃ = e₃_1)
  (comm₁₂ : CategoryTheory.CategoryStruct.comp e₁.hom S₂.f = CategoryTheory.CategoryStruct.comp S₁.f e₂.hom)
  (comm₂₃ : CategoryTheory.CategoryStruct.comp e₂.hom S₂.g = CategoryTheory.CategoryStruct.comp S₁.g e₃.hom),
  CategoryTheory.ShortComplex.isoMk e₁ e₂ e₃ comm₁₂ comm₂₃ = CategoryTheory.ShortComplex.isoMk e₁_1 e₂_1 e₃_1 ⋯ ⋯

theorem HomologicalComplex.homologyIsoSc'.congr_simp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology],
  K.homologyIsoSc' i j k hi hk = K.homologyIsoSc' i j k hi hk

theorem HomologicalComplex.opcyclesIsoSc'.congr_simp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology],
  K.opcyclesIsoSc' i j k hi hk = K.opcyclesIsoSc' i j k hi hk

theorem HomologicalComplex.pOpcyclesIso.congr_simp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i i_1 : ι) (e_i : i = i_1) (j : ι)
  (hi : c.prev j = i) (h : K.d i j = 0) [inst_2 : K.HasHomology j], K.pOpcyclesIso i j hi h = K.pOpcyclesIso i_1 j ⋯ ⋯

theorem HomologicalComplex.iCyclesIso.congr_simp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j j_1 : ι) (e_j : j = j_1) (hj : c.next i = j)
  (h : K.d i j = 0) [inst_2 : K.HasHomology i], K.iCyclesIso i j hj h = K.iCyclesIso i j_1 ⋯ ⋯

theorem HomologicalComplex.descOpcycles.congr_simp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) {i : ι} [inst_2 : K.HasHomology i] {A : C}
  (k k_1 : K.X i ⟶ A) (e_k : k = k_1) (j j_1 : ι) (e_j : j = j_1) (hj : c.prev i = j)
  (hk : CategoryTheory.CategoryStruct.comp (K.d j i) k = 0), K.descOpcycles k j hj hk = K.descOpcycles k_1 j_1 ⋯ ⋯

def HomologicalComplex.shortComplexFunctor' E1 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        (c : ComplexShape ι) →
          ι → ι → ι → CategoryTheory.Functor (HomologicalComplex C c) (CategoryTheory.ShortComplex C)

The functor HomologicalComplex C c ⥤ ShortComplex C which sends a homological complex K to the short complex K.X i ⟶ K.X j ⟶ K.X k for arbitrary indices i, j and k.

theorem HomologicalComplex.shortComplexFunctor'_obj_X₁ E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i j k : ι) (K : HomologicalComplex C c),
  ((HomologicalComplex.shortComplexFunctor' C c i j k).obj K).X₁ = K.X i

theorem HomologicalComplex.shortComplexFunctor'_map_τ₂ E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i j k : ι) {X Y : HomologicalComplex C c} (f : X ⟶ Y),
  ((HomologicalComplex.shortComplexFunctor' C c i j k).map f).τ₂ = f.f j

theorem HomologicalComplex.shortComplexFunctor'_obj_X₂ E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i j k : ι) (K : HomologicalComplex C c),
  ((HomologicalComplex.shortComplexFunctor' C c i j k).obj K).X₂ = K.X j

theorem HomologicalComplex.shortComplexFunctor'_obj_X₃ E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i j k : ι) (K : HomologicalComplex C c),
  ((HomologicalComplex.shortComplexFunctor' C c i j k).obj K).X₃ = K.X k

theorem HomologicalComplex.shortComplexFunctor'_obj_g E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i j k : ι) (K : HomologicalComplex C c),
  ((HomologicalComplex.shortComplexFunctor' C c i j k).obj K).g = K.d j k

theorem HomologicalComplex.shortComplexFunctor'_map_τ₁ E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i j k : ι) {X Y : HomologicalComplex C c} (f : X ⟶ Y),
  ((HomologicalComplex.shortComplexFunctor' C c i j k).map f).τ₁ = f.f i

theorem HomologicalComplex.shortComplexFunctor'_map_τ₃ E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i j k : ι) {X Y : HomologicalComplex C c} (f : X ⟶ Y),
  ((HomologicalComplex.shortComplexFunctor' C c i j k).map f).τ₃ = f.f k

theorem HomologicalComplex.shortComplexFunctor'_obj_f E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i j k : ι) (K : HomologicalComplex C c),
  ((HomologicalComplex.shortComplexFunctor' C c i j k).obj K).f = K.d i j

instance HomologicalComplex.instPreservesColimitsOfShapeShortComplexShortComplexFunctor'OfHasColimitsOfShape E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (J : Type u_3) [inst_2 : CategoryTheory.Category.{v_2, u_3} J]
  [CategoryTheory.Limits.HasColimitsOfShape J C] (i j k : ι),
  CategoryTheory.Limits.PreservesColimitsOfShape J (HomologicalComplex.shortComplexFunctor' C c i j k)

instance HomologicalComplex.instPreservesLimitsOfShapeShortComplexShortComplexFunctor'OfHasLimitsOfShape E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (J : Type u_3) [inst_2 : CategoryTheory.Category.{v_2, u_3} J]
  [CategoryTheory.Limits.HasLimitsOfShape J C] (i j k : ι),
  CategoryTheory.Limits.PreservesLimitsOfShape J (HomologicalComplex.shortComplexFunctor' C c i j k)

instance HomologicalComplex.instPreservesColimitsOfSizeShortComplexShortComplexFunctor'OfHasColimitsOfSize E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) [CategoryTheory.Limits.HasColimitsOfSize.{w₁, w₂, v_1, u_1} C] (i j k : ι),
  CategoryTheory.Limits.PreservesColimitsOfSize.{w₁, w₂, max u_2 v_1, v_1, max (max u_1 u_2) v_1, max u_1 v_1}
    (HomologicalComplex.shortComplexFunctor' C c i j k)

instance HomologicalComplex.instPreservesLimitsOfSizeShortComplexShortComplexFunctor'OfHasLimitsOfSize E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) [CategoryTheory.Limits.HasLimitsOfSize.{w₁, w₂, v_1, u_1} C] (i j k : ι),
  CategoryTheory.Limits.PreservesLimitsOfSize.{w₁, w₂, max u_2 v_1, v_1, max (max u_1 u_2) v_1, max u_1 v_1}
    (HomologicalComplex.shortComplexFunctor' C c i j k)

def HomologicalComplex.shortComplexFunctor E1 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        (c : ComplexShape ι) → ι → CategoryTheory.Functor (HomologicalComplex C c) (CategoryTheory.ShortComplex C)

The functor HomologicalComplex C c ⥤ ShortComplex C which sends a homological complex K to the short complex K.X (c.prev i) ⟶ K.X i ⟶ K.X (c.next i).

theorem HomologicalComplex.shortComplexFunctor_obj_X₂ E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i : ι) (K : HomologicalComplex C c),
  ((HomologicalComplex.shortComplexFunctor C c i).obj K).X₂ = K.X i

theorem HomologicalComplex.shortComplexFunctor_map_τ₁ E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i : ι) {X Y : HomologicalComplex C c} (f : X ⟶ Y),
  ((HomologicalComplex.shortComplexFunctor C c i).map f).τ₁ = f.f (c.prev i)

theorem HomologicalComplex.shortComplexFunctor_map_τ₃ E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i : ι) {X Y : HomologicalComplex C c} (f : X ⟶ Y),
  ((HomologicalComplex.shortComplexFunctor C c i).map f).τ₃ = f.f (c.next i)

theorem HomologicalComplex.shortComplexFunctor_obj_f E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i : ι) (K : HomologicalComplex C c),
  ((HomologicalComplex.shortComplexFunctor C c i).obj K).f = K.d (c.prev i) i

theorem HomologicalComplex.shortComplexFunctor_obj_X₁ E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i : ι) (K : HomologicalComplex C c),
  ((HomologicalComplex.shortComplexFunctor C c i).obj K).X₁ = K.X (c.prev i)

theorem HomologicalComplex.shortComplexFunctor_map_τ₂ E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i : ι) {X Y : HomologicalComplex C c} (f : X ⟶ Y),
  ((HomologicalComplex.shortComplexFunctor C c i).map f).τ₂ = f.f i

theorem HomologicalComplex.shortComplexFunctor_obj_g E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i : ι) (K : HomologicalComplex C c),
  ((HomologicalComplex.shortComplexFunctor C c i).obj K).g = K.d i (c.next i)

theorem HomologicalComplex.shortComplexFunctor_obj_X₃ E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i : ι) (K : HomologicalComplex C c),
  ((HomologicalComplex.shortComplexFunctor C c i).obj K).X₃ = K.X (c.next i)

instance HomologicalComplex.instPreservesColimitsOfShapeShortComplexShortComplexFunctorOfHasColimitsOfShape E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (J : Type u_3) [inst_2 : CategoryTheory.Category.{v_2, u_3} J]
  [CategoryTheory.Limits.HasColimitsOfShape J C] (i : ι),
  CategoryTheory.Limits.PreservesColimitsOfShape J (HomologicalComplex.shortComplexFunctor C c i)

instance HomologicalComplex.instPreservesLimitsOfShapeShortComplexShortComplexFunctorOfHasLimitsOfShape E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (J : Type u_3) [inst_2 : CategoryTheory.Category.{v_2, u_3} J]
  [CategoryTheory.Limits.HasLimitsOfShape J C] (i : ι),
  CategoryTheory.Limits.PreservesLimitsOfShape J (HomologicalComplex.shortComplexFunctor C c i)

instance HomologicalComplex.instPreservesColimitsOfSizeShortComplexShortComplexFunctorOfHasColimitsOfSize E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) [CategoryTheory.Limits.HasColimitsOfSize.{w₁, w₂, v_1, u_1} C] (i : ι),
  CategoryTheory.Limits.PreservesColimitsOfSize.{w₁, w₂, max u_2 v_1, v_1, max (max u_1 u_2) v_1, max u_1 v_1}
    (HomologicalComplex.shortComplexFunctor C c i)

instance HomologicalComplex.instPreservesLimitsOfSizeShortComplexShortComplexFunctorOfHasLimitsOfSize E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) [CategoryTheory.Limits.HasLimitsOfSize.{w₁, w₂, v_1, u_1} C] (i : ι),
  CategoryTheory.Limits.PreservesLimitsOfSize.{w₁, w₂, max u_2 v_1, v_1, max (max u_1 u_2) v_1, max u_1 v_1}
    (HomologicalComplex.shortComplexFunctor C c i)

def HomologicalComplex.natIsoSc' E1 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        (c : ComplexShape ι) →
          (i j k : ι) →
            c.prev j = i →
              c.next j = k →
                (HomologicalComplex.shortComplexFunctor C c j ≅ HomologicalComplex.shortComplexFunctor' C c i j k)

The natural isomorphism shortComplexFunctor C c j ≅ shortComplexFunctor' C c i j k when c.prev j = i and c.next j = k.

theorem HomologicalComplex.natIsoSc'_inv_app_τ₂ E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k) (X : HomologicalComplex C c),
  ((HomologicalComplex.natIsoSc' C c i j k hi hk).inv.app X).τ₂ = CategoryTheory.CategoryStruct.id (X.X j)

theorem HomologicalComplex.natIsoSc'_inv_app_τ₃ E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k) (X : HomologicalComplex C c),
  ((HomologicalComplex.natIsoSc' C c i j k hi hk).inv.app X).τ₃ = (X.XIsoOfEq hk).inv

theorem HomologicalComplex.natIsoSc'_hom_app_τ₃ E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k) (X : HomologicalComplex C c),
  ((HomologicalComplex.natIsoSc' C c i j k hi hk).hom.app X).τ₃ = (X.XIsoOfEq hk).hom

theorem HomologicalComplex.natIsoSc'_hom_app_τ₂ E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k) (X : HomologicalComplex C c),
  ((HomologicalComplex.natIsoSc' C c i j k hi hk).hom.app X).τ₂ = CategoryTheory.CategoryStruct.id (X.X j)

theorem HomologicalComplex.natIsoSc'_inv_app_τ₁ E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k) (X : HomologicalComplex C c),
  ((HomologicalComplex.natIsoSc' C c i j k hi hk).inv.app X).τ₁ = (X.XIsoOfEq hi).inv

theorem HomologicalComplex.natIsoSc'_hom_app_τ₁ E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k) (X : HomologicalComplex C c),
  ((HomologicalComplex.natIsoSc' C c i j k hi hk).hom.app X).τ₁ = (X.XIsoOfEq hi).hom

abbrev HomologicalComplex.sc' E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} → {c : ComplexShape ι} → HomologicalComplex C c → ι → ι → ι → CategoryTheory.ShortComplex C

The short complex K.X i ⟶ K.X j ⟶ K.X k for arbitrary indices i, j and k.

abbrev HomologicalComplex.sc E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} → {c : ComplexShape ι} → HomologicalComplex C c → ι → CategoryTheory.ShortComplex C

The short complex K.X (c.prev i) ⟶ K.X i ⟶ K.X (c.next i).

abbrev HomologicalComplex.isoSc' E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          (K : HomologicalComplex C c) → (i j k : ι) → c.prev j = i → c.next j = k → (K.sc j ≅ K.sc' i j k)

The canonical isomorphism K.sc j ≅ K.sc' i j k when c.prev j = i and c.next j = k.

abbrev HomologicalComplex.HasHomology E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} → {c : ComplexShape ι} → HomologicalComplex C c → ι → Prop

A homological complex K has homology in degree i if the associated short complex K.sc i has.

theorem HomologicalComplex.hasHomology_of_iso E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (iso : K ≅ L) (i : ι) [K.HasHomology i],
  L.HasHomology i

def HomologicalComplex.homology E3 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} → {c : ComplexShape ι} → (K : HomologicalComplex C c) → (i : ι) → [K.HasHomology i] → C

The homology in degree i of a homological complex.

def HomologicalComplex.cycles E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} → {c : ComplexShape ι} → (K : HomologicalComplex C c) → (i : ι) → [K.HasHomology i] → C

The cycles in degree i of a homological complex.

def HomologicalComplex.iCycles E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} → (K : HomologicalComplex C c) → (i : ι) → [inst_2 : K.HasHomology i] → K.cycles i ⟶ K.X i

The inclusion of the cycles of a homological complex.

def HomologicalComplex.homologyπ E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          (K : HomologicalComplex C c) → (i : ι) → [inst_2 : K.HasHomology i] → K.cycles i ⟶ K.homology i

The homology class map from cycles to the homology of a homological complex.

def HomologicalComplex.liftCycles E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          (K : HomologicalComplex C c) →
            {i : ι} →
              [inst_2 : K.HasHomology i] →
                {A : C} →
                  (k : A ⟶ K.X i) →
                    (j : ι) → c.next i = j → CategoryTheory.CategoryStruct.comp k (K.d i j) = 0 → (A ⟶ K.cycles i)

The morphism to K.cycles i that is induced by a "cycle", i.e. a morphism to K.X i whose postcomposition with the differential is zero.

abbrev HomologicalComplex.liftCycles' E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          (K : HomologicalComplex C c) →
            {i : ι} →
              [inst_2 : K.HasHomology i] →
                {A : C} →
                  (k : A ⟶ K.X i) →
                    (j : ι) → c.Rel i j → CategoryTheory.CategoryStruct.comp k (K.d i j) = 0 → (A ⟶ K.cycles i)

The morphism to K.cycles i that is induced by a "cycle", i.e. a morphism to K.X i whose postcomposition with the differential is zero.

theorem HomologicalComplex.liftCycles_i_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) {i : ι} [inst_2 : K.HasHomology i] {A : C}
  (k : A ⟶ K.X i) (j : ι) (hj : c.next i = j) (hk : CategoryTheory.CategoryStruct.comp k (K.d i j) = 0) {Z : C}
  (h : K.X i ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.liftCycles k j hj hk) (CategoryTheory.CategoryStruct.comp (K.iCycles i) h) =
    CategoryTheory.CategoryStruct.comp k h

theorem HomologicalComplex.liftCycles_i E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) {i : ι} [inst_2 : K.HasHomology i] {A : C}
  (k : A ⟶ K.X i) (j : ι) (hj : c.next i = j) (hk : CategoryTheory.CategoryStruct.comp k (K.d i j) = 0),
  CategoryTheory.CategoryStruct.comp (K.liftCycles k j hj hk) (K.iCycles i) = k

def HomologicalComplex.toCycles E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          (K : HomologicalComplex C c) → (i j : ι) → [inst_2 : K.HasHomology j] → K.X i ⟶ K.cycles j

The map K.X i ⟶ K.cycles j induced by the differential K.d i j.

theorem HomologicalComplex.iCycles_d E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) [inst_2 : K.HasHomology i],
  CategoryTheory.CategoryStruct.comp (K.iCycles i) (K.d i j) = 0

theorem HomologicalComplex.iCycles_d_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) [inst_2 : K.HasHomology i] {Z : C}
  (h : K.X j ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.iCycles i) (CategoryTheory.CategoryStruct.comp (K.d i j) h) =
    CategoryTheory.CategoryStruct.comp 0 h

def HomologicalComplex.cyclesIsKernel E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          (K : HomologicalComplex C c) →
            (i j : ι) →
              [inst_2 : K.HasHomology i] →
                c.next i = j → CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.KernelFork.ofι (K.iCycles i) ⋯)

K.cycles i is the kernel of K.d i j when c.next i = j.

theorem HomologicalComplex.toCycles_i E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) [inst_2 : K.HasHomology j],
  CategoryTheory.CategoryStruct.comp (K.toCycles i j) (K.iCycles j) = K.d i j

theorem HomologicalComplex.toCycles_i_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) [inst_2 : K.HasHomology j] {Z : C}
  (h : K.X j ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.toCycles i j) (CategoryTheory.CategoryStruct.comp (K.iCycles j) h) =
    CategoryTheory.CategoryStruct.comp (K.d i j) h

instance HomologicalComplex.instMonoICycles E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i : ι) [inst_2 : K.HasHomology i],
  CategoryTheory.Mono (K.iCycles i)

instance HomologicalComplex.instEpiHomologyπ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i : ι) [inst_2 : K.HasHomology i],
  CategoryTheory.Epi (K.homologyπ i)

theorem HomologicalComplex.d_toCycles_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) [inst_2 : K.HasHomology k] {Z : C}
  (h : K.cycles k ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.d i j) (CategoryTheory.CategoryStruct.comp (K.toCycles j k) h) =
    CategoryTheory.CategoryStruct.comp 0 h

theorem HomologicalComplex.d_toCycles E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) [inst_2 : K.HasHomology k],
  CategoryTheory.CategoryStruct.comp (K.d i j) (K.toCycles j k) = 0

theorem HomologicalComplex.toCycles_eq_zero E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) {i j : ι} [inst_2 : K.HasHomology j],
  ¬c.Rel i j → K.toCycles i j = 0

theorem HomologicalComplex.comp_liftCycles E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) {i : ι} [inst_2 : K.HasHomology i] {A' A : C}
  (k : A ⟶ K.X i) (j : ι) (hj : c.next i = j) (hk : CategoryTheory.CategoryStruct.comp k (K.d i j) = 0) (α : A' ⟶ A),
  CategoryTheory.CategoryStruct.comp α (K.liftCycles k j hj hk) =
    K.liftCycles (CategoryTheory.CategoryStruct.comp α k) j hj ⋯

theorem HomologicalComplex.comp_liftCycles_assoc E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) {i : ι} [inst_2 : K.HasHomology i] {A' A : C}
  (k : A ⟶ K.X i) (j : ι) (hj : c.next i = j) (hk : CategoryTheory.CategoryStruct.comp k (K.d i j) = 0) (α : A' ⟶ A)
  {Z : C} (h : K.cycles i ⟶ Z),
  CategoryTheory.CategoryStruct.comp α (CategoryTheory.CategoryStruct.comp (K.liftCycles k j hj hk) h) =
    CategoryTheory.CategoryStruct.comp (K.liftCycles (CategoryTheory.CategoryStruct.comp α k) j hj ⋯) h

theorem HomologicalComplex.liftCycles_homologyπ_eq_zero_of_boundary E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) {i : ι} [inst_2 : K.HasHomology i] {A : C}
  (k : A ⟶ K.X i) (j : ι) (hj : c.next i = j) {i' : ι} (x : A ⟶ K.X i')
  (hx : k = CategoryTheory.CategoryStruct.comp x (K.d i' i)),
  CategoryTheory.CategoryStruct.comp (K.liftCycles k j hj ⋯) (K.homologyπ i) = 0

theorem HomologicalComplex.liftCycles_homologyπ_eq_zero_of_boundary_assoc E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) {i : ι} [inst_2 : K.HasHomology i] {A : C}
  (k : A ⟶ K.X i) (j : ι) (hj : c.next i = j) {i' : ι} (x : A ⟶ K.X i')
  (hx : k = CategoryTheory.CategoryStruct.comp x (K.d i' i)) {Z : C} (h : K.homology i ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.liftCycles k j hj ⋯) (CategoryTheory.CategoryStruct.comp (K.homologyπ i) h) =
    CategoryTheory.CategoryStruct.comp 0 h

theorem HomologicalComplex.toCycles_comp_homologyπ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) [inst_2 : K.HasHomology j],
  CategoryTheory.CategoryStruct.comp (K.toCycles i j) (K.homologyπ j) = 0

theorem HomologicalComplex.toCycles_comp_homologyπ_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) [inst_2 : K.HasHomology j] {Z : C}
  (h : K.homology j ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.toCycles i j) (CategoryTheory.CategoryStruct.comp (K.homologyπ j) h) =
    CategoryTheory.CategoryStruct.comp 0 h

def HomologicalComplex.homologyIsCokernel E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          (K : HomologicalComplex C c) →
            (i j : ι) →
              c.prev j = i →
                [inst_2 : K.HasHomology j] →
                  CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.CokernelCofork.ofπ (K.homologyπ j) ⋯)

K.homology j is the cokernel of K.toCycles i j : K.X i ⟶ K.cycles j when c.prev j = i.

def HomologicalComplex.opcycles E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} → {c : ComplexShape ι} → (K : HomologicalComplex C c) → (i : ι) → [K.HasHomology i] → C

The opcycles in degree i of a homological complex.

def HomologicalComplex.pOpcycles E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          (K : HomologicalComplex C c) → (i : ι) → [inst_2 : K.HasHomology i] → K.X i ⟶ K.opcycles i

The projection to the opcycles of a homological complex.

def HomologicalComplex.homologyι E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          (K : HomologicalComplex C c) → (i : ι) → [inst_2 : K.HasHomology i] → K.homology i ⟶ K.opcycles i

The inclusion map of the homology of a homological complex into its opcycles.

def HomologicalComplex.descOpcycles E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          (K : HomologicalComplex C c) →
            {i : ι} →
              [inst_2 : K.HasHomology i] →
                {A : C} →
                  (k : K.X i ⟶ A) →
                    (j : ι) → c.prev i = j → CategoryTheory.CategoryStruct.comp (K.d j i) k = 0 → (K.opcycles i ⟶ A)

The morphism from K.opcycles i that is induced by an "opcycle", i.e. a morphism from K.X i whose precomposition with the differential is zero.

abbrev HomologicalComplex.descOpcycles' E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          (K : HomologicalComplex C c) →
            {i : ι} →
              [inst_2 : K.HasHomology i] →
                {A : C} →
                  (k : K.X i ⟶ A) →
                    (j : ι) → c.Rel j i → CategoryTheory.CategoryStruct.comp (K.d j i) k = 0 → (K.opcycles i ⟶ A)

The morphism from K.opcycles i that is induced by an "opcycle", i.e. a morphism from K.X i whose precomposition with the differential is zero.

theorem HomologicalComplex.p_descOpcycles_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) {i : ι} [inst_2 : K.HasHomology i] {A : C}
  (k : K.X i ⟶ A) (j : ι) (hj : c.prev i = j) (hk : CategoryTheory.CategoryStruct.comp (K.d j i) k = 0) {Z : C}
  (h : A ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.pOpcycles i) (CategoryTheory.CategoryStruct.comp (K.descOpcycles k j hj hk) h) =
    CategoryTheory.CategoryStruct.comp k h

theorem HomologicalComplex.p_descOpcycles E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) {i : ι} [inst_2 : K.HasHomology i] {A : C}
  (k : K.X i ⟶ A) (j : ι) (hj : c.prev i = j) (hk : CategoryTheory.CategoryStruct.comp (K.d j i) k = 0),
  CategoryTheory.CategoryStruct.comp (K.pOpcycles i) (K.descOpcycles k j hj hk) = k

def HomologicalComplex.fromOpcycles E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          (K : HomologicalComplex C c) → (i j : ι) → [inst_2 : K.HasHomology i] → K.opcycles i ⟶ K.X j

The map K.opcycles i ⟶ K.X j induced by the differential K.d i j.

theorem HomologicalComplex.d_pOpcycles E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) [inst_2 : K.HasHomology j],
  CategoryTheory.CategoryStruct.comp (K.d i j) (K.pOpcycles j) = 0

theorem HomologicalComplex.d_pOpcycles_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) [inst_2 : K.HasHomology j] {Z : C}
  (h : K.opcycles j ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.d i j) (CategoryTheory.CategoryStruct.comp (K.pOpcycles j) h) =
    CategoryTheory.CategoryStruct.comp 0 h

def HomologicalComplex.opcyclesIsCokernel E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          (K : HomologicalComplex C c) →
            (i j : ι) →
              [K.HasHomology i] →
                c.prev j = i →
                  [inst_3 : K.HasHomology j] →
                    CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.CokernelCofork.ofπ (K.pOpcycles j) ⋯)

K.opcycles j is the cokernel of K.d i j when c.prev j = i.

theorem HomologicalComplex.p_fromOpcycles E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) [inst_2 : K.HasHomology i],
  CategoryTheory.CategoryStruct.comp (K.pOpcycles i) (K.fromOpcycles i j) = K.d i j

theorem HomologicalComplex.p_fromOpcycles_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) [inst_2 : K.HasHomology i] {Z : C}
  (h : K.X j ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.pOpcycles i) (CategoryTheory.CategoryStruct.comp (K.fromOpcycles i j) h) =
    CategoryTheory.CategoryStruct.comp (K.d i j) h

instance HomologicalComplex.instEpiPOpcycles E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i : ι) [inst_2 : K.HasHomology i],
  CategoryTheory.Epi (K.pOpcycles i)

instance HomologicalComplex.instMonoHomologyι E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i : ι) [inst_2 : K.HasHomology i],
  CategoryTheory.Mono (K.homologyι i)

theorem HomologicalComplex.fromOpcycles_d_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) [inst_2 : K.HasHomology i] {Z : C}
  (h : K.X k ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.fromOpcycles i j) (CategoryTheory.CategoryStruct.comp (K.d j k) h) =
    CategoryTheory.CategoryStruct.comp 0 h

theorem HomologicalComplex.fromOpcycles_d E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) [inst_2 : K.HasHomology i],
  CategoryTheory.CategoryStruct.comp (K.fromOpcycles i j) (K.d j k) = 0

theorem HomologicalComplex.fromOpcycles_eq_zero E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) {i j : ι} [inst_2 : K.HasHomology i],
  ¬c.Rel i j → K.fromOpcycles i j = 0

theorem HomologicalComplex.descOpcycles_comp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) {i : ι} [inst_2 : K.HasHomology i] {A A' : C}
  (k : K.X i ⟶ A) (j : ι) (hj : c.prev i = j) (hk : CategoryTheory.CategoryStruct.comp (K.d j i) k = 0) (α : A ⟶ A'),
  CategoryTheory.CategoryStruct.comp (K.descOpcycles k j hj hk) α =
    K.descOpcycles (CategoryTheory.CategoryStruct.comp k α) j hj ⋯

theorem HomologicalComplex.descOpcycles_comp_assoc E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) {i : ι} [inst_2 : K.HasHomology i] {A A' : C}
  (k : K.X i ⟶ A) (j : ι) (hj : c.prev i = j) (hk : CategoryTheory.CategoryStruct.comp (K.d j i) k = 0) (α : A ⟶ A')
  {Z : C} (h : A' ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.descOpcycles k j hj hk) (CategoryTheory.CategoryStruct.comp α h) =
    CategoryTheory.CategoryStruct.comp (K.descOpcycles (CategoryTheory.CategoryStruct.comp k α) j hj ⋯) h

theorem HomologicalComplex.homologyι_descOpcycles_eq_zero_of_boundary_assoc E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) {i : ι} [inst_2 : K.HasHomology i] {A : C}
  (k : K.X i ⟶ A) (j : ι) (hj : c.prev i = j) {i' : ι} (x : K.X i' ⟶ A)
  (hx : k = CategoryTheory.CategoryStruct.comp (K.d i i') x) {Z : C} (h : A ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.homologyι i) (CategoryTheory.CategoryStruct.comp (K.descOpcycles k j hj ⋯) h) =
    CategoryTheory.CategoryStruct.comp 0 h

theorem HomologicalComplex.homologyι_descOpcycles_eq_zero_of_boundary E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) {i : ι} [inst_2 : K.HasHomology i] {A : C}
  (k : K.X i ⟶ A) (j : ι) (hj : c.prev i = j) {i' : ι} (x : K.X i' ⟶ A)
  (hx : k = CategoryTheory.CategoryStruct.comp (K.d i i') x),
  CategoryTheory.CategoryStruct.comp (K.homologyι i) (K.descOpcycles k j hj ⋯) = 0

theorem HomologicalComplex.homologyι_comp_fromOpcycles E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) [inst_2 : K.HasHomology i],
  CategoryTheory.CategoryStruct.comp (K.homologyι i) (K.fromOpcycles i j) = 0

theorem HomologicalComplex.homologyι_comp_fromOpcycles_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) [inst_2 : K.HasHomology i] {Z : C}
  (h : K.X j ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.homologyι i) (CategoryTheory.CategoryStruct.comp (K.fromOpcycles i j) h) =
    CategoryTheory.CategoryStruct.comp 0 h

def HomologicalComplex.homologyIsKernel E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          (K : HomologicalComplex C c) →
            (i j : ι) →
              [inst_2 : K.HasHomology i] →
                c.next i = j → CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.KernelFork.ofι (K.homologyι i) ⋯)

K.homology i is the kernel of K.fromOpcycles i j : K.opcycles i ⟶ K.X j when c.next i = j.

def HomologicalComplex.homologyMap E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          {K L : HomologicalComplex C c} →
            (K ⟶ L) → (i : ι) → [inst_2 : K.HasHomology i] → [inst_3 : L.HasHomology i] → K.homology i ⟶ L.homology i

The map K.homology i ⟶ L.homology i induced by a morphism in HomologicalComplex.

def HomologicalComplex.cyclesMap E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          {K L : HomologicalComplex C c} →
            (K ⟶ L) → (i : ι) → [inst_2 : K.HasHomology i] → [inst_3 : L.HasHomology i] → K.cycles i ⟶ L.cycles i

The map K.cycles i ⟶ L.cycles i induced by a morphism in HomologicalComplex.

def HomologicalComplex.opcyclesMap E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          {K L : HomologicalComplex C c} →
            (K ⟶ L) → (i : ι) → [inst_2 : K.HasHomology i] → [inst_3 : L.HasHomology i] → K.opcycles i ⟶ L.opcycles i

The map K.opcycles i ⟶ L.opcycles i induced by a morphism in HomologicalComplex.

theorem HomologicalComplex.cyclesMap_i_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (φ : K ⟶ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i] {Z : C} (h : L.X i ⟶ Z),
  CategoryTheory.CategoryStruct.comp (HomologicalComplex.cyclesMap φ i)
      (CategoryTheory.CategoryStruct.comp (L.iCycles i) h) =
    CategoryTheory.CategoryStruct.comp (K.iCycles i) (CategoryTheory.CategoryStruct.comp (φ.f i) h)

theorem HomologicalComplex.cyclesMap_i E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (φ : K ⟶ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i],
  CategoryTheory.CategoryStruct.comp (HomologicalComplex.cyclesMap φ i) (L.iCycles i) =
    CategoryTheory.CategoryStruct.comp (K.iCycles i) (φ.f i)

theorem HomologicalComplex.p_opcyclesMap E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (φ : K ⟶ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i],
  CategoryTheory.CategoryStruct.comp (K.pOpcycles i) (HomologicalComplex.opcyclesMap φ i) =
    CategoryTheory.CategoryStruct.comp (φ.f i) (L.pOpcycles i)

theorem HomologicalComplex.p_opcyclesMap_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (φ : K ⟶ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i] {Z : C} (h : L.opcycles i ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.pOpcycles i)
      (CategoryTheory.CategoryStruct.comp (HomologicalComplex.opcyclesMap φ i) h) =
    CategoryTheory.CategoryStruct.comp (φ.f i) (CategoryTheory.CategoryStruct.comp (L.pOpcycles i) h)

instance HomologicalComplex.instMonoCyclesMapOfF E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (φ : K ⟶ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i] [CategoryTheory.Mono (φ.f i)], CategoryTheory.Mono (HomologicalComplex.cyclesMap φ i)

instance HomologicalComplex.instEpiOpcyclesMapOfF E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (φ : K ⟶ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i] [CategoryTheory.Epi (φ.f i)], CategoryTheory.Epi (HomologicalComplex.opcyclesMap φ i)

theorem HomologicalComplex.homologyMap_id E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i : ι) [inst_2 : K.HasHomology i],
  HomologicalComplex.homologyMap (CategoryTheory.CategoryStruct.id K) i =
    CategoryTheory.CategoryStruct.id (K.homology i)

theorem HomologicalComplex.cyclesMap_id E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i : ι) [inst_2 : K.HasHomology i],
  HomologicalComplex.cyclesMap (CategoryTheory.CategoryStruct.id K) i = CategoryTheory.CategoryStruct.id (K.cycles i)

theorem HomologicalComplex.opcyclesMap_id E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i : ι) [inst_2 : K.HasHomology i],
  HomologicalComplex.opcyclesMap (CategoryTheory.CategoryStruct.id K) i =
    CategoryTheory.CategoryStruct.id (K.opcycles i)

theorem HomologicalComplex.homologyMap_comp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L M : HomologicalComplex C c} (φ : K ⟶ L) (ψ : L ⟶ M) (i : ι)
  [inst_2 : K.HasHomology i] [inst_3 : L.HasHomology i] [inst_4 : M.HasHomology i],
  HomologicalComplex.homologyMap (CategoryTheory.CategoryStruct.comp φ ψ) i =
    CategoryTheory.CategoryStruct.comp (HomologicalComplex.homologyMap φ i) (HomologicalComplex.homologyMap ψ i)

theorem HomologicalComplex.homologyMap_comp_assoc E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L M : HomologicalComplex C c} (φ : K ⟶ L) (ψ : L ⟶ M) (i : ι)
  [inst_2 : K.HasHomology i] [inst_3 : L.HasHomology i] [inst_4 : M.HasHomology i] {Z : C} (h : M.homology i ⟶ Z),
  CategoryTheory.CategoryStruct.comp (HomologicalComplex.homologyMap (CategoryTheory.CategoryStruct.comp φ ψ) i) h =
    CategoryTheory.CategoryStruct.comp (HomologicalComplex.homologyMap φ i)
      (CategoryTheory.CategoryStruct.comp (HomologicalComplex.homologyMap ψ i) h)

theorem HomologicalComplex.cyclesMap_comp_assoc E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L M : HomologicalComplex C c} (φ : K ⟶ L) (ψ : L ⟶ M) (i : ι)
  [inst_2 : K.HasHomology i] [inst_3 : L.HasHomology i] [inst_4 : M.HasHomology i] {Z : C} (h : M.cycles i ⟶ Z),
  CategoryTheory.CategoryStruct.comp (HomologicalComplex.cyclesMap (CategoryTheory.CategoryStruct.comp φ ψ) i) h =
    CategoryTheory.CategoryStruct.comp (HomologicalComplex.cyclesMap φ i)
      (CategoryTheory.CategoryStruct.comp (HomologicalComplex.cyclesMap ψ i) h)

theorem HomologicalComplex.cyclesMap_comp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L M : HomologicalComplex C c} (φ : K ⟶ L) (ψ : L ⟶ M) (i : ι)
  [inst_2 : K.HasHomology i] [inst_3 : L.HasHomology i] [inst_4 : M.HasHomology i],
  HomologicalComplex.cyclesMap (CategoryTheory.CategoryStruct.comp φ ψ) i =
    CategoryTheory.CategoryStruct.comp (HomologicalComplex.cyclesMap φ i) (HomologicalComplex.cyclesMap ψ i)

theorem HomologicalComplex.opcyclesMap_comp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L M : HomologicalComplex C c} (φ : K ⟶ L) (ψ : L ⟶ M) (i : ι)
  [inst_2 : K.HasHomology i] [inst_3 : L.HasHomology i] [inst_4 : M.HasHomology i],
  HomologicalComplex.opcyclesMap (CategoryTheory.CategoryStruct.comp φ ψ) i =
    CategoryTheory.CategoryStruct.comp (HomologicalComplex.opcyclesMap φ i) (HomologicalComplex.opcyclesMap ψ i)

theorem HomologicalComplex.opcyclesMap_comp_assoc E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L M : HomologicalComplex C c} (φ : K ⟶ L) (ψ : L ⟶ M) (i : ι)
  [inst_2 : K.HasHomology i] [inst_3 : L.HasHomology i] [inst_4 : M.HasHomology i] {Z : C} (h : M.opcycles i ⟶ Z),
  CategoryTheory.CategoryStruct.comp (HomologicalComplex.opcyclesMap (CategoryTheory.CategoryStruct.comp φ ψ) i) h =
    CategoryTheory.CategoryStruct.comp (HomologicalComplex.opcyclesMap φ i)
      (CategoryTheory.CategoryStruct.comp (HomologicalComplex.opcyclesMap ψ i) h)

instance HomologicalComplex.instIsIsoHomologyMap E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (φ : K ⟶ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i] [CategoryTheory.IsIso φ], CategoryTheory.IsIso (HomologicalComplex.homologyMap φ i)

instance HomologicalComplex.instIsIsoCyclesMap E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (φ : K ⟶ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i] [CategoryTheory.IsIso φ], CategoryTheory.IsIso (HomologicalComplex.cyclesMap φ i)

instance HomologicalComplex.instIsIsoOpcyclesMap E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (φ : K ⟶ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i] [CategoryTheory.IsIso φ], CategoryTheory.IsIso (HomologicalComplex.opcyclesMap φ i)

theorem HomologicalComplex.homologyMap_inv E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (φ : K ⟶ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i] [inst_4 : CategoryTheory.IsIso φ],
  CategoryTheory.inv (HomologicalComplex.homologyMap φ i) = HomologicalComplex.homologyMap (CategoryTheory.inv φ) i

theorem HomologicalComplex.cyclesMap_inv E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (φ : K ⟶ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i] [inst_4 : CategoryTheory.IsIso φ],
  CategoryTheory.inv (HomologicalComplex.cyclesMap φ i) = HomologicalComplex.cyclesMap (CategoryTheory.inv φ) i

theorem HomologicalComplex.opcyclesMap_inv E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (φ : K ⟶ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i] [inst_4 : CategoryTheory.IsIso φ],
  CategoryTheory.inv (HomologicalComplex.opcyclesMap φ i) = HomologicalComplex.opcyclesMap (CategoryTheory.inv φ) i

theorem HomologicalComplex.homologyMap_zero E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K L : HomologicalComplex C c) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i], HomologicalComplex.homologyMap 0 i = 0

theorem HomologicalComplex.cyclesMap_zero E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K L : HomologicalComplex C c) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i], HomologicalComplex.cyclesMap 0 i = 0

theorem HomologicalComplex.opcyclesMap_zero E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K L : HomologicalComplex C c) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i], HomologicalComplex.opcyclesMap 0 i = 0

theorem HomologicalComplex.homologyπ_naturality E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (φ : K ⟶ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i],
  CategoryTheory.CategoryStruct.comp (K.homologyπ i) (HomologicalComplex.homologyMap φ i) =
    CategoryTheory.CategoryStruct.comp (HomologicalComplex.cyclesMap φ i) (L.homologyπ i)

theorem HomologicalComplex.homologyπ_naturality_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (φ : K ⟶ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i] {Z : C} (h : L.homology i ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.homologyπ i)
      (CategoryTheory.CategoryStruct.comp (HomologicalComplex.homologyMap φ i) h) =
    CategoryTheory.CategoryStruct.comp (HomologicalComplex.cyclesMap φ i)
      (CategoryTheory.CategoryStruct.comp (L.homologyπ i) h)

theorem HomologicalComplex.homologyι_naturality E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (φ : K ⟶ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i],
  CategoryTheory.CategoryStruct.comp (HomologicalComplex.homologyMap φ i) (L.homologyι i) =
    CategoryTheory.CategoryStruct.comp (K.homologyι i) (HomologicalComplex.opcyclesMap φ i)

theorem HomologicalComplex.homologyι_naturality_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (φ : K ⟶ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i] {Z : C} (h : L.opcycles i ⟶ Z),
  CategoryTheory.CategoryStruct.comp (HomologicalComplex.homologyMap φ i)
      (CategoryTheory.CategoryStruct.comp (L.homologyι i) h) =
    CategoryTheory.CategoryStruct.comp (K.homologyι i)
      (CategoryTheory.CategoryStruct.comp (HomologicalComplex.opcyclesMap φ i) h)

theorem HomologicalComplex.homology_π_ι_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K : HomologicalComplex C c} (i : ι) [inst_2 : K.HasHomology i] {Z : C}
  (h : K.opcycles i ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.homologyπ i) (CategoryTheory.CategoryStruct.comp (K.homologyι i) h) =
    CategoryTheory.CategoryStruct.comp (K.iCycles i) (CategoryTheory.CategoryStruct.comp (K.pOpcycles i) h)

theorem HomologicalComplex.homology_π_ι E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K : HomologicalComplex C c} (i : ι) [inst_2 : K.HasHomology i],
  CategoryTheory.CategoryStruct.comp (K.homologyπ i) (K.homologyι i) =
    CategoryTheory.CategoryStruct.comp (K.iCycles i) (K.pOpcycles i)

def HomologicalComplex.homologyMapIso E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          {K L : HomologicalComplex C c} →
            (K ≅ L) → (i : ι) → [inst_2 : K.HasHomology i] → [inst_3 : L.HasHomology i] → K.homology i ≅ L.homology i

The isomorphism K.homology i ≅ L.homology i induced by an isomorphism in HomologicalComplex.

theorem HomologicalComplex.homologyMapIso_hom E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (iso : K ≅ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i], (HomologicalComplex.homologyMapIso iso i).hom = HomologicalComplex.homologyMap iso.hom i

theorem HomologicalComplex.homologyMapIso_inv E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (iso : K ≅ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i], (HomologicalComplex.homologyMapIso iso i).inv = HomologicalComplex.homologyMap iso.inv i

def HomologicalComplex.cyclesMapIso E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          {K L : HomologicalComplex C c} →
            (K ≅ L) → (i : ι) → [inst_2 : K.HasHomology i] → [inst_3 : L.HasHomology i] → K.cycles i ≅ L.cycles i

The isomorphism K.cycles i ≅ L.cycles i induced by an isomorphism in HomologicalComplex.

theorem HomologicalComplex.cyclesMapIso_inv E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (iso : K ≅ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i], (HomologicalComplex.cyclesMapIso iso i).inv = HomologicalComplex.cyclesMap iso.inv i

theorem HomologicalComplex.cyclesMapIso_hom E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (iso : K ≅ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i], (HomologicalComplex.cyclesMapIso iso i).hom = HomologicalComplex.cyclesMap iso.hom i

def HomologicalComplex.opcyclesMapIso E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          {K L : HomologicalComplex C c} →
            (K ≅ L) → (i : ι) → [inst_2 : K.HasHomology i] → [inst_3 : L.HasHomology i] → K.opcycles i ≅ L.opcycles i

The isomorphism K.opcycles i ≅ L.opcycles i induced by an isomorphism in HomologicalComplex.

theorem HomologicalComplex.opcyclesMapIso_inv E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (iso : K ≅ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i], (HomologicalComplex.opcyclesMapIso iso i).inv = HomologicalComplex.opcyclesMap iso.inv i

theorem HomologicalComplex.opcyclesMapIso_hom E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (iso : K ≅ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i], (HomologicalComplex.opcyclesMapIso iso i).hom = HomologicalComplex.opcyclesMap iso.hom i

theorem HomologicalComplex.opcyclesMap_comp_descOpcycles_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} {i : ι} [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i] {A : C} (k : L.X i ⟶ A) (j : ι) (hj : c.prev i = j)
  (hk : CategoryTheory.CategoryStruct.comp (L.d j i) k = 0) (φ : K ⟶ L) {Z : C} (h : A ⟶ Z),
  CategoryTheory.CategoryStruct.comp (HomologicalComplex.opcyclesMap φ i)
      (CategoryTheory.CategoryStruct.comp (L.descOpcycles k j hj hk) h) =
    CategoryTheory.CategoryStruct.comp (K.descOpcycles (CategoryTheory.CategoryStruct.comp (φ.f i) k) j hj ⋯) h

theorem HomologicalComplex.opcyclesMap_comp_descOpcycles E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} {i : ι} [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i] {A : C} (k : L.X i ⟶ A) (j : ι) (hj : c.prev i = j)
  (hk : CategoryTheory.CategoryStruct.comp (L.d j i) k = 0) (φ : K ⟶ L),
  CategoryTheory.CategoryStruct.comp (HomologicalComplex.opcyclesMap φ i) (L.descOpcycles k j hj hk) =
    K.descOpcycles (CategoryTheory.CategoryStruct.comp (φ.f i) k) j hj ⋯

theorem HomologicalComplex.liftCycles_comp_cyclesMap E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} {i : ι} [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i] {A : C} (k : A ⟶ K.X i) (j : ι) (hj : c.next i = j)
  (hk : CategoryTheory.CategoryStruct.comp k (K.d i j) = 0) (φ : K ⟶ L),
  CategoryTheory.CategoryStruct.comp (K.liftCycles k j hj hk) (HomologicalComplex.cyclesMap φ i) =
    L.liftCycles (CategoryTheory.CategoryStruct.comp k (φ.f i)) j hj ⋯

theorem HomologicalComplex.liftCycles_comp_cyclesMap_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} {i : ι} [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i] {A : C} (k : A ⟶ K.X i) (j : ι) (hj : c.next i = j)
  (hk : CategoryTheory.CategoryStruct.comp k (K.d i j) = 0) (φ : K ⟶ L) {Z : C} (h : L.cycles i ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.liftCycles k j hj hk)
      (CategoryTheory.CategoryStruct.comp (HomologicalComplex.cyclesMap φ i) h) =
    CategoryTheory.CategoryStruct.comp (L.liftCycles (CategoryTheory.CategoryStruct.comp k (φ.f i)) j hj ⋯) h

def HomologicalComplex.homologyFunctor E1 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        (c : ComplexShape ι) →
          ι → [CategoryTheory.CategoryWithHomology C] → CategoryTheory.Functor (HomologicalComplex C c) C

The ith homology functor HomologicalComplex C c ⥤ C.

theorem HomologicalComplex.homologyFunctor_map E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i : ι) [inst_2 : CategoryTheory.CategoryWithHomology C]
  {X Y : HomologicalComplex C c} (f : X ⟶ Y),
  (HomologicalComplex.homologyFunctor C c i).map f = HomologicalComplex.homologyMap f i

theorem HomologicalComplex.homologyFunctor_obj E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i : ι) [inst_2 : CategoryTheory.CategoryWithHomology C]
  (K : HomologicalComplex C c), (HomologicalComplex.homologyFunctor C c i).obj K = K.homology i

def HomologicalComplex.gradedHomologyFunctor E1 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        (c : ComplexShape ι) →
          [CategoryTheory.CategoryWithHomology C] →
            CategoryTheory.Functor (HomologicalComplex C c) (CategoryTheory.GradedObject ι C)

The homology functor to graded objects.

theorem HomologicalComplex.gradedHomologyFunctor_map E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) [inst_2 : CategoryTheory.CategoryWithHomology C] {X Y : HomologicalComplex C c}
  (f : X ⟶ Y) (i : ι), (HomologicalComplex.gradedHomologyFunctor C c).map f i = HomologicalComplex.homologyMap f i

theorem HomologicalComplex.gradedHomologyFunctor_obj E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) [inst_2 : CategoryTheory.CategoryWithHomology C] (K : HomologicalComplex C c)
  (i : ι), (HomologicalComplex.gradedHomologyFunctor C c).obj K i = K.homology i

def HomologicalComplex.cyclesFunctor E1 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        (c : ComplexShape ι) →
          ι → [CategoryTheory.CategoryWithHomology C] → CategoryTheory.Functor (HomologicalComplex C c) C

The ith cycles functor HomologicalComplex C c ⥤ C.

theorem HomologicalComplex.cyclesFunctor_map E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i : ι) [inst_2 : CategoryTheory.CategoryWithHomology C]
  {X Y : HomologicalComplex C c} (f : X ⟶ Y),
  (HomologicalComplex.cyclesFunctor C c i).map f = HomologicalComplex.cyclesMap f i

theorem HomologicalComplex.cyclesFunctor_obj E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i : ι) [inst_2 : CategoryTheory.CategoryWithHomology C]
  (K : HomologicalComplex C c), (HomologicalComplex.cyclesFunctor C c i).obj K = K.cycles i

def HomologicalComplex.opcyclesFunctor E1 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        (c : ComplexShape ι) →
          ι → [CategoryTheory.CategoryWithHomology C] → CategoryTheory.Functor (HomologicalComplex C c) C

The ith opcycles functor HomologicalComplex C c ⥤ C.

theorem HomologicalComplex.opcyclesFunctor_map E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i : ι) [inst_2 : CategoryTheory.CategoryWithHomology C]
  {X Y : HomologicalComplex C c} (f : X ⟶ Y),
  (HomologicalComplex.opcyclesFunctor C c i).map f = HomologicalComplex.opcyclesMap f i

theorem HomologicalComplex.opcyclesFunctor_obj E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i : ι) [inst_2 : CategoryTheory.CategoryWithHomology C]
  (K : HomologicalComplex C c), (HomologicalComplex.opcyclesFunctor C c i).obj K = K.opcycles i

def HomologicalComplex.natTransHomologyπ E1 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        (c : ComplexShape ι) →
          (i : ι) →
            [inst_2 : CategoryTheory.CategoryWithHomology C] →
              HomologicalComplex.cyclesFunctor C c i ⟶ HomologicalComplex.homologyFunctor C c i

The natural transformation K.homologyπ i : K.cycles i ⟶ K.homology i for all K : HomologicalComplex C c.

theorem HomologicalComplex.natTransHomologyπ_app E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i : ι) [inst_2 : CategoryTheory.CategoryWithHomology C]
  (K : HomologicalComplex C c), (HomologicalComplex.natTransHomologyπ C c i).app K = K.homologyπ i

def HomologicalComplex.natTransHomologyι E1 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        (c : ComplexShape ι) →
          (i : ι) →
            [inst_2 : CategoryTheory.CategoryWithHomology C] →
              HomologicalComplex.homologyFunctor C c i ⟶ HomologicalComplex.opcyclesFunctor C c i

The natural transformation K.homologyι i : K.homology i ⟶ K.opcycles i for all K : HomologicalComplex C c.

theorem HomologicalComplex.natTransHomologyι_app E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i : ι) [inst_2 : CategoryTheory.CategoryWithHomology C]
  (K : HomologicalComplex C c), (HomologicalComplex.natTransHomologyι C c i).app K = K.homologyι i

def HomologicalComplex.homologyFunctorIso E1 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        (c : ComplexShape ι) →
          (i : ι) →
            [inst_2 : CategoryTheory.CategoryWithHomology C] →
              HomologicalComplex.homologyFunctor C c i ≅
                (HomologicalComplex.shortComplexFunctor C c i).comp (CategoryTheory.ShortComplex.homologyFunctor C)

The natural isomorphism K.homology i ≅ (K.sc i).homology for all homological complexes K.

theorem HomologicalComplex.homologyFunctorIso_hom_app E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i : ι) [inst_2 : CategoryTheory.CategoryWithHomology C]
  (X : HomologicalComplex C c),
  (HomologicalComplex.homologyFunctorIso C c i).hom.app X = CategoryTheory.CategoryStruct.id (X.homology i)

theorem HomologicalComplex.homologyFunctorIso_inv_app E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i : ι) [inst_2 : CategoryTheory.CategoryWithHomology C]
  (X : HomologicalComplex C c),
  (HomologicalComplex.homologyFunctorIso C c i).inv.app X = CategoryTheory.CategoryStruct.id (X.homology i)

def HomologicalComplex.homologyFunctorIso' E1 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        (c : ComplexShape ι) →
          (i j k : ι) →
            [inst_2 : CategoryTheory.CategoryWithHomology C] →
              c.prev j = i →
                c.next j = k →
                  (HomologicalComplex.homologyFunctor C c j ≅
                    (HomologicalComplex.shortComplexFunctor' C c i j k).comp
                      (CategoryTheory.ShortComplex.homologyFunctor C))

The natural isomorphism K.homology j ≅ (K.sc' i j k).homology for all homological complexes K when c.prev j = i and c.next j = k.

instance HomologicalComplex.instPreservesZeroMorphismsHomologyFunctor E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i : ι) [inst_2 : CategoryTheory.CategoryWithHomology C],
  (HomologicalComplex.homologyFunctor C c i).PreservesZeroMorphisms

instance HomologicalComplex.instPreservesZeroMorphismsOpcyclesFunctor E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i : ι) [inst_2 : CategoryTheory.CategoryWithHomology C],
  (HomologicalComplex.opcyclesFunctor C c i).PreservesZeroMorphisms

instance HomologicalComplex.instPreservesZeroMorphismsCyclesFunctor E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} (c : ComplexShape ι) (i : ι) [inst_2 : CategoryTheory.CategoryWithHomology C],
  (HomologicalComplex.cyclesFunctor C c i).PreservesZeroMorphisms

theorem HomologicalComplex.isIso_iCycles E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι),
  c.next i = j → K.d i j = 0 → ∀ [inst_2 : K.HasHomology i], CategoryTheory.IsIso (K.iCycles i)

def HomologicalComplex.iCyclesIso E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          (K : HomologicalComplex C c) →
            (i j : ι) → c.next i = j → K.d i j = 0 → [inst_2 : K.HasHomology i] → K.cycles i ≅ K.X i

The canonical isomorphism K.cycles i ≅ K.X i when the differential from i is zero.

theorem HomologicalComplex.iCyclesIso_hom E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) (hj : c.next i = j) (h : K.d i j = 0)
  [inst_2 : K.HasHomology i], (K.iCyclesIso i j hj h).hom = K.iCycles i

theorem HomologicalComplex.iCyclesIso_hom_inv_id E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) (hj : c.next i = j) (h : K.d i j = 0)
  [inst_2 : K.HasHomology i],
  CategoryTheory.CategoryStruct.comp (K.iCycles i) (K.iCyclesIso i j hj h).inv =
    CategoryTheory.CategoryStruct.id (K.cycles i)

theorem HomologicalComplex.iCyclesIso_hom_inv_id_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) (hj : c.next i = j) (h : K.d i j = 0)
  [inst_2 : K.HasHomology i] {Z : C} (h_1 : K.cycles i ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.iCycles i)
      (CategoryTheory.CategoryStruct.comp (K.iCyclesIso i j hj h).inv h_1) =
    h_1

theorem HomologicalComplex.iCyclesIso_inv_hom_id E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) (hj : c.next i = j) (h : K.d i j = 0)
  [inst_2 : K.HasHomology i],
  CategoryTheory.CategoryStruct.comp (K.iCyclesIso i j hj h).inv (K.iCycles i) =
    CategoryTheory.CategoryStruct.id (K.X i)

theorem HomologicalComplex.iCyclesIso_inv_hom_id_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) (hj : c.next i = j) (h : K.d i j = 0)
  [inst_2 : K.HasHomology i] {Z : C} (h_1 : K.X i ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.iCyclesIso i j hj h).inv
      (CategoryTheory.CategoryStruct.comp (K.iCycles i) h_1) =
    h_1

theorem HomologicalComplex.isIso_homologyι E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι),
  c.next i = j → K.d i j = 0 → ∀ [inst_2 : K.HasHomology i], CategoryTheory.IsIso (K.homologyι i)

def HomologicalComplex.isoHomologyι E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          (K : HomologicalComplex C c) →
            (i j : ι) → c.next i = j → K.d i j = 0 → [inst_2 : K.HasHomology i] → K.homology i ≅ K.opcycles i

The canonical isomorphism K.homology i ≅ K.opcycles i when the differential from i is zero.

theorem HomologicalComplex.isoHomologyι_hom E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) (hj : c.next i = j) (h : K.d i j = 0)
  [inst_2 : K.HasHomology i], (K.isoHomologyι i j hj h).hom = K.homologyι i

theorem HomologicalComplex.isoHomologyι_hom_inv_id E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) (hj : c.next i = j) (h : K.d i j = 0)
  [inst_2 : K.HasHomology i],
  CategoryTheory.CategoryStruct.comp (K.homologyι i) (K.isoHomologyι i j hj h).inv =
    CategoryTheory.CategoryStruct.id (K.homology i)

theorem HomologicalComplex.isoHomologyι_hom_inv_id_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) (hj : c.next i = j) (h : K.d i j = 0)
  [inst_2 : K.HasHomology i] {Z : C} (h_1 : K.homology i ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.homologyι i)
      (CategoryTheory.CategoryStruct.comp (K.isoHomologyι i j hj h).inv h_1) =
    h_1

theorem HomologicalComplex.isoHomologyι_inv_hom_id E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) (hj : c.next i = j) (h : K.d i j = 0)
  [inst_2 : K.HasHomology i],
  CategoryTheory.CategoryStruct.comp (K.isoHomologyι i j hj h).inv (K.homologyι i) =
    CategoryTheory.CategoryStruct.id (K.opcycles i)

theorem HomologicalComplex.isoHomologyι_inv_hom_id_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) (hj : c.next i = j) (h : K.d i j = 0)
  [inst_2 : K.HasHomology i] {Z : C} (h_1 : K.opcycles i ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.isoHomologyι i j hj h).inv
      (CategoryTheory.CategoryStruct.comp (K.homologyι i) h_1) =
    h_1

theorem HomologicalComplex.isIso_pOpcycles E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι),
  c.prev j = i → K.d i j = 0 → ∀ [inst_2 : K.HasHomology j], CategoryTheory.IsIso (K.pOpcycles j)

def HomologicalComplex.pOpcyclesIso E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          (K : HomologicalComplex C c) →
            (i j : ι) → c.prev j = i → K.d i j = 0 → [inst_2 : K.HasHomology j] → K.X j ≅ K.opcycles j

The canonical isomorphism K.X j ≅ K.opCycles j when the differential to j is zero.

theorem HomologicalComplex.pOpcyclesIso_hom E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) (hi : c.prev j = i) (h : K.d i j = 0)
  [inst_2 : K.HasHomology j], (K.pOpcyclesIso i j hi h).hom = K.pOpcycles j

theorem HomologicalComplex.pOpcyclesIso_hom_inv_id_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) (hi : c.prev j = i) (h : K.d i j = 0)
  [inst_2 : K.HasHomology j] {Z : C} (h_1 : K.X j ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.pOpcycles j)
      (CategoryTheory.CategoryStruct.comp (K.pOpcyclesIso i j hi h).inv h_1) =
    h_1

theorem HomologicalComplex.pOpcyclesIso_hom_inv_id E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) (hi : c.prev j = i) (h : K.d i j = 0)
  [inst_2 : K.HasHomology j],
  CategoryTheory.CategoryStruct.comp (K.pOpcycles j) (K.pOpcyclesIso i j hi h).inv =
    CategoryTheory.CategoryStruct.id (K.X j)

theorem HomologicalComplex.pOpcyclesIso_inv_hom_id E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) (hi : c.prev j = i) (h : K.d i j = 0)
  [inst_2 : K.HasHomology j],
  CategoryTheory.CategoryStruct.comp (K.pOpcyclesIso i j hi h).inv (K.pOpcycles j) =
    CategoryTheory.CategoryStruct.id (K.opcycles j)

theorem HomologicalComplex.pOpcyclesIso_inv_hom_id_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) (hi : c.prev j = i) (h : K.d i j = 0)
  [inst_2 : K.HasHomology j] {Z : C} (h_1 : K.opcycles j ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.pOpcyclesIso i j hi h).inv
      (CategoryTheory.CategoryStruct.comp (K.pOpcycles j) h_1) =
    h_1

theorem HomologicalComplex.isIso_homologyπ E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι),
  c.prev j = i → K.d i j = 0 → ∀ [inst_2 : K.HasHomology j], CategoryTheory.IsIso (K.homologyπ j)

def HomologicalComplex.isoHomologyπ E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          (K : HomologicalComplex C c) →
            (i j : ι) → c.prev j = i → K.d i j = 0 → [inst_2 : K.HasHomology j] → K.cycles j ≅ K.homology j

The canonical isomorphism K.cycles j ≅ K.homology j when the differential to j is zero.

theorem HomologicalComplex.isoHomologyπ_hom E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) (hi : c.prev j = i) (h : K.d i j = 0)
  [inst_2 : K.HasHomology j], (K.isoHomologyπ i j hi h).hom = K.homologyπ j

theorem HomologicalComplex.isoHomologyπ_hom_inv_id E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) (hi : c.prev j = i) (h : K.d i j = 0)
  [inst_2 : K.HasHomology j],
  CategoryTheory.CategoryStruct.comp (K.homologyπ j) (K.isoHomologyπ i j hi h).inv =
    CategoryTheory.CategoryStruct.id (K.cycles j)

theorem HomologicalComplex.isoHomologyπ_hom_inv_id_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) (hi : c.prev j = i) (h : K.d i j = 0)
  [inst_2 : K.HasHomology j] {Z : C} (h_1 : K.cycles j ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.homologyπ j)
      (CategoryTheory.CategoryStruct.comp (K.isoHomologyπ i j hi h).inv h_1) =
    h_1

theorem HomologicalComplex.isoHomologyπ_inv_hom_id_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) (hi : c.prev j = i) (h : K.d i j = 0)
  [inst_2 : K.HasHomology j] {Z : C} (h_1 : K.homology j ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.isoHomologyπ i j hi h).inv
      (CategoryTheory.CategoryStruct.comp (K.homologyπ j) h_1) =
    h_1

theorem HomologicalComplex.isoHomologyπ_inv_hom_id E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j : ι) (hi : c.prev j = i) (h : K.d i j = 0)
  [inst_2 : K.HasHomology j],
  CategoryTheory.CategoryStruct.comp (K.isoHomologyπ i j hi h).inv (K.homologyπ j) =
    CategoryTheory.CategoryStruct.id (K.homology j)

theorem HomologicalComplex.epi_homologyMap_of_epi_of_not_rel E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (φ : K ⟶ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i] [CategoryTheory.Epi (φ.f i)],
  (∀ (j : ι), ¬c.Rel i j) → CategoryTheory.Epi (HomologicalComplex.homologyMap φ i)

theorem HomologicalComplex.mono_homologyMap_of_mono_of_not_rel E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K L : HomologicalComplex C c} (φ : K ⟶ L) (j : ι) [inst_2 : K.HasHomology j]
  [inst_3 : L.HasHomology j] [CategoryTheory.Mono (φ.f j)],
  (∀ (i : ι), ¬c.Rel i j) → CategoryTheory.Mono (HomologicalComplex.homologyMap φ j)

def HomologicalComplex.ExactAt E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} → {c : ComplexShape ι} → HomologicalComplex C c → ι → Prop

A homological complex K is exact at i if the short complex K.sc i is exact.

theorem HomologicalComplex.exactAt_iff E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i : ι), K.ExactAt i ↔ (K.sc i).Exact

theorem HomologicalComplex.ExactAt.of_iso E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K : HomologicalComplex C c} {i : ι},
  K.ExactAt i → ∀ {L : HomologicalComplex C c} (e : K ≅ L), L.ExactAt i

theorem HomologicalComplex.ExactAt.of_isZero E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K : HomologicalComplex C c} {i : ι},
  CategoryTheory.Limits.IsZero (K.X i) → K.ExactAt i

theorem HomologicalComplex.exactAt_iff' E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι),
  c.prev j = i → c.next j = k → (K.ExactAt j ↔ (K.sc' i j k).Exact)

theorem HomologicalComplex.exactAt_iff_isZero_homology E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i : ι) [inst_2 : K.HasHomology i],
  K.ExactAt i ↔ CategoryTheory.Limits.IsZero (K.homology i)

theorem HomologicalComplex.ExactAt.isZero_homology E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} {K : HomologicalComplex C c} {i : ι} [inst_2 : K.HasHomology i],
  K.ExactAt i → CategoryTheory.Limits.IsZero (K.homology i)

def HomologicalComplex.Acyclic E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} → {c : ComplexShape ι} → HomologicalComplex C c → Prop

A homological complex K is acyclic if it is exact at i for any i.

theorem HomologicalComplex.acyclic_iff E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c), K.Acyclic ↔ ∀ (i : ι), K.ExactAt i

theorem HomologicalComplex.acyclic_of_isZero E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c), CategoryTheory.Limits.IsZero K → K.Acyclic

instance ChainComplex.isIso_iCycles₀ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : ChainComplex C ℕ) [inst_2 : HomologicalComplex.HasHomology K 0],
  CategoryTheory.IsIso (HomologicalComplex.iCycles K 0)

abbrev ChainComplex.cycles₀Iso E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      (K : ChainComplex C ℕ) → [inst_2 : HomologicalComplex.HasHomology K 0] → HomologicalComplex.cycles K 0 ≅ K.X 0

The canonical isomorphism K.cycles 0 ≅ K.X 0 for a chain complex K indexed by ℕ.

instance ChainComplex.isIso_homologyι₀ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : ChainComplex C ℕ) [inst_2 : HomologicalComplex.HasHomology K 0],
  CategoryTheory.IsIso (HomologicalComplex.homologyι K 0)

abbrev ChainComplex.isoHomologyι₀ E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      (K : ChainComplex C ℕ) →
        [inst_2 : HomologicalComplex.HasHomology K 0] →
          HomologicalComplex.homology K 0 ≅ HomologicalComplex.opcycles K 0

The canonical isomorphism K.homology 0 ≅ K.opcycles 0 for a chain complex K indexed by ℕ.

theorem ChainComplex.isoHomologyι₀_inv_naturality_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {K L : ChainComplex C ℕ} (φ : K ⟶ L) [inst_2 : HomologicalComplex.HasHomology K 0]
  [inst_3 : HomologicalComplex.HasHomology L 0] {Z : C} (h : HomologicalComplex.homology L 0 ⟶ Z),
  CategoryTheory.CategoryStruct.comp K.isoHomologyι₀.inv
      (CategoryTheory.CategoryStruct.comp (HomologicalComplex.homologyMap φ 0) h) =
    CategoryTheory.CategoryStruct.comp (HomologicalComplex.opcyclesMap φ 0)
      (CategoryTheory.CategoryStruct.comp L.isoHomologyι₀.inv h)

theorem ChainComplex.isoHomologyι₀_inv_naturality E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {K L : ChainComplex C ℕ} (φ : K ⟶ L) [inst_2 : HomologicalComplex.HasHomology K 0]
  [inst_3 : HomologicalComplex.HasHomology L 0],
  CategoryTheory.CategoryStruct.comp K.isoHomologyι₀.inv (HomologicalComplex.homologyMap φ 0) =
    CategoryTheory.CategoryStruct.comp (HomologicalComplex.opcyclesMap φ 0) L.isoHomologyι₀.inv

instance CochainComplex.isIso_pOpcycles₀ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : CochainComplex C ℕ) [inst_2 : HomologicalComplex.HasHomology K 0],
  CategoryTheory.IsIso (HomologicalComplex.pOpcycles K 0)

abbrev CochainComplex.opcycles₀Iso E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      (K : CochainComplex C ℕ) → [inst_2 : HomologicalComplex.HasHomology K 0] → K.X 0 ≅ HomologicalComplex.opcycles K 0

The canonical isomorphism K.X 0 ≅ K.opcycles 0 for a cochain complex K indexed by ℕ.

instance CochainComplex.isIso_homologyπ₀ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : CochainComplex C ℕ) [inst_2 : HomologicalComplex.HasHomology K 0],
  CategoryTheory.IsIso (HomologicalComplex.homologyπ K 0)

abbrev CochainComplex.isoHomologyπ₀ E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      (K : CochainComplex C ℕ) →
        [inst_2 : HomologicalComplex.HasHomology K 0] → HomologicalComplex.cycles K 0 ≅ HomologicalComplex.homology K 0

The canonical isomorphism K.cycles 0 ≅ K.homology 0 for a cochain complex K indexed by ℕ.

theorem CochainComplex.isoHomologyπ₀_inv_naturality_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {K L : CochainComplex C ℕ} (φ : K ⟶ L) [inst_2 : HomologicalComplex.HasHomology K 0]
  [inst_3 : HomologicalComplex.HasHomology L 0] {Z : C} (h : HomologicalComplex.cycles L 0 ⟶ Z),
  CategoryTheory.CategoryStruct.comp (HomologicalComplex.homologyMap φ 0)
      (CategoryTheory.CategoryStruct.comp L.isoHomologyπ₀.inv h) =
    CategoryTheory.CategoryStruct.comp K.isoHomologyπ₀.inv
      (CategoryTheory.CategoryStruct.comp (HomologicalComplex.cyclesMap φ 0) h)

theorem CochainComplex.isoHomologyπ₀_inv_naturality E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {K L : CochainComplex C ℕ} (φ : K ⟶ L) [inst_2 : HomologicalComplex.HasHomology K 0]
  [inst_3 : HomologicalComplex.HasHomology L 0],
  CategoryTheory.CategoryStruct.comp (HomologicalComplex.homologyMap φ 0) L.isoHomologyπ₀.inv =
    CategoryTheory.CategoryStruct.comp K.isoHomologyπ₀.inv (HomologicalComplex.cyclesMap φ 0)

theorem HomologicalComplex.homologyMap_neg E0 #

∀ {C : Type u_1} {ι : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {c : ComplexShape ι} {K L : HomologicalComplex C c} (φ : K ⟶ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i], HomologicalComplex.homologyMap (-φ) i = -HomologicalComplex.homologyMap φ i

theorem HomologicalComplex.homologyMap_add E0 #

∀ {C : Type u_1} {ι : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {c : ComplexShape ι} {K L : HomologicalComplex C c} (φ ψ : K ⟶ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i],
  HomologicalComplex.homologyMap (φ + ψ) i = HomologicalComplex.homologyMap φ i + HomologicalComplex.homologyMap ψ i

theorem HomologicalComplex.homologyMap_sub E0 #

∀ {C : Type u_1} {ι : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {c : ComplexShape ι} {K L : HomologicalComplex C c} (φ ψ : K ⟶ L) (i : ι) [inst_2 : K.HasHomology i]
  [inst_3 : L.HasHomology i],
  HomologicalComplex.homologyMap (φ - ψ) i = HomologicalComplex.homologyMap φ i - HomologicalComplex.homologyMap ψ i

instance HomologicalComplex.instAdditiveHomologyFunctor E0 #

∀ {C : Type u_1} {ι : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
  {c : ComplexShape ι} (i : ι) [inst_2 : CategoryTheory.CategoryWithHomology C],
  (HomologicalComplex.homologyFunctor C c i).Additive

theorem CochainComplex.isIso_liftCycles_iff E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Abelian C]
  (K : CochainComplex C ℕ) {X : C} (φ : X ⟶ K.X 0) (hφ : CategoryTheory.CategoryStruct.comp φ (K.d 0 1) = 0),
  CategoryTheory.IsIso (HomologicalComplex.liftCycles K φ 1 CochainComplex.isIso_liftCycles_iff._proof_1 hφ) ↔
    { X₁ := X, X₂ := K.X 0, X₃ := K.X 1, f := φ, g := K.d 0 1, zero := hφ }.Exact ∧ CategoryTheory.Mono φ

theorem ChainComplex.isIso_descOpcycles_iff E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Abelian C]
  (K : ChainComplex C ℕ) {X : C} (φ : K.X 0 ⟶ X) (hφ : CategoryTheory.CategoryStruct.comp (K.d 1 0) φ = 0),
  CategoryTheory.IsIso (HomologicalComplex.descOpcycles K φ 1 ChainComplex.isIso_descOpcycles_iff._proof_1 hφ) ↔
    { X₁ := K.X 1, X₂ := K.X 0, X₃ := X, f := K.d 1 0, g := φ, zero := hφ }.Exact ∧ CategoryTheory.Epi φ

def HomologicalComplex.cyclesIsoSc' E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          (K : HomologicalComplex C c) →
            (i j k : ι) →
              c.prev j = i →
                c.next j = k →
                  [inst_2 : K.HasHomology j] → [inst_3 : (K.sc' i j k).HasHomology] → K.cycles j ≅ (K.sc' i j k).cycles

The cycles of a homological complex in degree j can be computed by specifying a choice of c.prev j and c.next j.

theorem HomologicalComplex.cyclesIsoSc'_hom_iCycles_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology] {Z : C} (h : (K.sc' i j k).X₂ ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.cyclesIsoSc' i j k hi hk).hom
      (CategoryTheory.CategoryStruct.comp (K.sc' i j k).iCycles h) =
    CategoryTheory.CategoryStruct.comp (K.iCycles j) h

theorem HomologicalComplex.cyclesIsoSc'_hom_iCycles E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology],
  CategoryTheory.CategoryStruct.comp (K.cyclesIsoSc' i j k hi hk).hom (K.sc' i j k).iCycles = K.iCycles j

theorem HomologicalComplex.cyclesIsoSc'_inv_iCycles_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology] {Z : C} (h : K.X j ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.cyclesIsoSc' i j k hi hk).inv
      (CategoryTheory.CategoryStruct.comp (K.iCycles j) h) =
    CategoryTheory.CategoryStruct.comp (K.sc' i j k).iCycles h

theorem HomologicalComplex.cyclesIsoSc'_inv_iCycles E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology],
  CategoryTheory.CategoryStruct.comp (K.cyclesIsoSc' i j k hi hk).inv (K.iCycles j) = (K.sc' i j k).iCycles

theorem HomologicalComplex.toCycles_cyclesIsoSc'_hom_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology] {Z : C} (h : (K.sc' i j k).cycles ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.toCycles i j)
      (CategoryTheory.CategoryStruct.comp (K.cyclesIsoSc' i j k hi hk).hom h) =
    CategoryTheory.CategoryStruct.comp (K.sc' i j k).toCycles h

theorem HomologicalComplex.toCycles_cyclesIsoSc'_hom E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology],
  CategoryTheory.CategoryStruct.comp (K.toCycles i j) (K.cyclesIsoSc' i j k hi hk).hom = (K.sc' i j k).toCycles

def HomologicalComplex.opcyclesIsoSc' E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          (K : HomologicalComplex C c) →
            (i j k : ι) →
              c.prev j = i →
                c.next j = k →
                  [inst_2 : K.HasHomology j] →
                    [inst_3 : (K.sc' i j k).HasHomology] → K.opcycles j ≅ (K.sc' i j k).opcycles

The homology of a homological complex in degree j can be computed by specifying a choice of c.prev j and c.next j.

theorem HomologicalComplex.pOpcycles_opcyclesIsoSc'_inv_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology] {Z : C} (h : K.opcycles j ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.sc' i j k).pOpcycles
      (CategoryTheory.CategoryStruct.comp (K.opcyclesIsoSc' i j k hi hk).inv h) =
    CategoryTheory.CategoryStruct.comp (K.pOpcycles j) h

theorem HomologicalComplex.pOpcycles_opcyclesIsoSc'_inv E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology],
  CategoryTheory.CategoryStruct.comp (K.sc' i j k).pOpcycles (K.opcyclesIsoSc' i j k hi hk).inv = K.pOpcycles j

theorem HomologicalComplex.pOpcycles_opcyclesIsoSc'_hom E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology],
  CategoryTheory.CategoryStruct.comp (K.pOpcycles j) (K.opcyclesIsoSc' i j k hi hk).hom = (K.sc' i j k).pOpcycles

theorem HomologicalComplex.pOpcycles_opcyclesIsoSc'_hom_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology] {Z : C} (h : (K.sc' i j k).opcycles ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.pOpcycles j)
      (CategoryTheory.CategoryStruct.comp (K.opcyclesIsoSc' i j k hi hk).hom h) =
    CategoryTheory.CategoryStruct.comp (K.sc' i j k).pOpcycles h

theorem HomologicalComplex.opcyclesIsoSc'_inv_fromOpcycles E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology],
  CategoryTheory.CategoryStruct.comp (K.opcyclesIsoSc' i j k hi hk).inv (K.fromOpcycles j k) =
    (K.sc' i j k).fromOpcycles

theorem HomologicalComplex.opcyclesIsoSc'_inv_fromOpcycles_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology] {Z : C} (h : K.X k ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.opcyclesIsoSc' i j k hi hk).inv
      (CategoryTheory.CategoryStruct.comp (K.fromOpcycles j k) h) =
    CategoryTheory.CategoryStruct.comp (K.sc' i j k).fromOpcycles h

def HomologicalComplex.homologyIsoSc' E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {ι : Type u_2} →
        {c : ComplexShape ι} →
          (K : HomologicalComplex C c) →
            (i j k : ι) →
              c.prev j = i →
                c.next j = k →
                  [inst_2 : K.HasHomology j] →
                    [inst_3 : (K.sc' i j k).HasHomology] → K.homology j ≅ (K.sc' i j k).homology

The opcycles of a homological complex in degree j can be computed by specifying a choice of c.prev j and c.next j.

theorem HomologicalComplex.homology_sc'_eq_homology E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (j : ι) [inst_2 : K.HasHomology j]
  [inst_3 : (K.sc' (c.prev j) j (c.next j)).HasHomology], (K.sc' (c.prev j) j (c.next j)).homology = K.homology j

theorem HomologicalComplex.homologyIsoSc'_eq_refl E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (j : ι) [inst_2 : K.HasHomology j]
  [inst_3 : (K.sc' (c.prev j) j (c.next j)).HasHomology],
  K.homologyIsoSc' (c.prev j) j (c.next j) ⋯ ⋯ = CategoryTheory.Iso.refl (K.homology j)

theorem HomologicalComplex.π_homologyIsoSc'_hom E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology],
  CategoryTheory.CategoryStruct.comp (K.homologyπ j) (K.homologyIsoSc' i j k hi hk).hom =
    CategoryTheory.CategoryStruct.comp (K.cyclesIsoSc' i j k hi hk).hom (K.sc' i j k).homologyπ

theorem HomologicalComplex.π_homologyIsoSc'_hom_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology] {Z : C} (h : (K.sc' i j k).homology ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.homologyπ j)
      (CategoryTheory.CategoryStruct.comp (K.homologyIsoSc' i j k hi hk).hom h) =
    CategoryTheory.CategoryStruct.comp (K.cyclesIsoSc' i j k hi hk).hom
      (CategoryTheory.CategoryStruct.comp (K.sc' i j k).homologyπ h)

theorem HomologicalComplex.π_homologyIsoSc'_inv_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology] {Z : C} (h : K.homology j ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.sc' i j k).homologyπ
      (CategoryTheory.CategoryStruct.comp (K.homologyIsoSc' i j k hi hk).inv h) =
    CategoryTheory.CategoryStruct.comp (K.cyclesIsoSc' i j k hi hk).inv
      (CategoryTheory.CategoryStruct.comp (K.homologyπ j) h)

theorem HomologicalComplex.π_homologyIsoSc'_inv E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology],
  CategoryTheory.CategoryStruct.comp (K.sc' i j k).homologyπ (K.homologyIsoSc' i j k hi hk).inv =
    CategoryTheory.CategoryStruct.comp (K.cyclesIsoSc' i j k hi hk).inv (K.homologyπ j)

theorem HomologicalComplex.homologyIsoSc'_hom_ι_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology] {Z : C} (h : (K.sc' i j k).opcycles ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.homologyIsoSc' i j k hi hk).hom
      (CategoryTheory.CategoryStruct.comp (K.sc' i j k).homologyι h) =
    CategoryTheory.CategoryStruct.comp (K.homologyι j)
      (CategoryTheory.CategoryStruct.comp (K.opcyclesIsoSc' i j k hi hk).hom h)

theorem HomologicalComplex.homologyIsoSc'_hom_ι E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology],
  CategoryTheory.CategoryStruct.comp (K.homologyIsoSc' i j k hi hk).hom (K.sc' i j k).homologyι =
    CategoryTheory.CategoryStruct.comp (K.homologyι j) (K.opcyclesIsoSc' i j k hi hk).hom

theorem HomologicalComplex.homologyIsoSc'_inv_ι E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology],
  CategoryTheory.CategoryStruct.comp (K.homologyIsoSc' i j k hi hk).inv (K.homologyι j) =
    CategoryTheory.CategoryStruct.comp (K.sc' i j k).homologyι (K.opcyclesIsoSc' i j k hi hk).inv

theorem HomologicalComplex.homologyIsoSc'_inv_ι_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) (i j k : ι) (hi : c.prev j = i) (hk : c.next j = k)
  [inst_2 : K.HasHomology j] [inst_3 : (K.sc' i j k).HasHomology] {Z : C} (h : K.opcycles j ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.homologyIsoSc' i j k hi hk).inv
      (CategoryTheory.CategoryStruct.comp (K.homologyι j) h) =
    CategoryTheory.CategoryStruct.comp (K.sc' i j k).homologyι
      (CategoryTheory.CategoryStruct.comp (K.opcyclesIsoSc' i j k hi hk).inv h)