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.Embedding.RestrictionHomology

31 declarations. Mathlib docs · Source

The homology of a restriction

Under favourable circumstances, we may relate the homology of K : HomologicalComplex C c' in degree j' and that of K.restriction e in degree j when e : Embedding c c' is an embedding of complex shapes. See restriction.sc'Iso and restriction.hasHomology.

theorem HomologicalComplex.restrictionCyclesIso.congr_simp E1 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (j k k_1 : ι) (e_k : k = k_1)
  (hk : c.next j = k) {j' k' k'_1 : ι'} (e_k' : k' = k'_1) (hj' : e.f j = j') (hk' : e.f k = k')
  (hk'' : c'.next j' = k') [inst_3 : K.HasHomology j'] [inst_4 : (K.restriction e).HasHomology j],
  K.restrictionCyclesIso e j k hk hj' hk' hk'' = K.restrictionCyclesIso e j k_1 ⋯ hj' ⋯ ⋯

theorem HomologicalComplex.restrictionOpcyclesIso.congr_simp E1 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (i i_1 : ι) (e_i : i = i_1) (j : ι)
  (hi : c.prev j = i) {i' i'_1 : ι'} (e_i' : i' = i'_1) {j' : ι'} (hi' : e.f i = i') (hj' : e.f j = j')
  (hi'' : c'.prev j' = i') [inst_3 : K.HasHomology j'] [inst_4 : (K.restriction e).HasHomology j],
  K.restrictionOpcyclesIso e i j hi hi' hj' hi'' = K.restrictionOpcyclesIso e i_1 j ⋯ ⋯ hj' ⋯

theorem HomologicalComplex.restrictionHomologyIso.congr_simp E1 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (i i_1 : ι) (e_i : i = i_1) (j k k_1 : ι)
  (e_k : k = k_1) (hi : c.prev j = i) (hk : c.next j = k) {i' i'_1 : ι'} (e_i' : i' = i'_1) {j' k' k'_1 : ι'}
  (e_k' : k' = k'_1) (hi' : e.f i = i') (hj' : e.f j = j') (hk' : e.f k = k') (hi'' : c'.prev j' = i')
  (hk'' : c'.next j' = k') [inst_3 : K.HasHomology j'] [inst_4 : (K.restriction e).HasHomology j],
  K.restrictionHomologyIso e i j k hi hk hi' hj' hk' hi'' hk'' = K.restrictionHomologyIso e i_1 j k_1 ⋯ ⋯ ⋯ hj' ⋯ ⋯ ⋯

theorem HomologicalComplex.restriction.sc'Iso.congr_simp E1 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (i j k : ι) {i' j' k' : ι'}
  (hi' : e.f i = i') (hj' : e.f j = j') (hk' : e.f k = k') (hi'' : c'.prev j' = i') (hk'' : c'.next j' = k'),
  HomologicalComplex.restriction.sc'Iso K e i j k hi' hj' hk' hi'' hk'' =
    HomologicalComplex.restriction.sc'Iso K e i j k hi' hj' hk' hi'' hk''

def HomologicalComplex.restriction.sc'Iso E1 #

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

The isomorphism (K.restriction e).sc' i j k ≅ K.sc' i' j' k' when e is an embedding of complex shapes, i', j, k' are the respective images of i, j, k by e.f, j is the previous index of i, etc.

theorem HomologicalComplex.restriction.sc'Iso_inv_τ₃ E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (i j k : ι) {i' j' k' : ι'}
  (hi' : e.f i = i') (hj' : e.f j = j') (hk' : e.f k = k') (hi'' : c'.prev j' = i') (hk'' : c'.next j' = k'),
  (HomologicalComplex.restriction.sc'Iso K e i j k hi' hj' hk' hi'' hk'').inv.τ₃ = (K.restrictionXIso e hk').inv

theorem HomologicalComplex.restriction.sc'Iso_inv_τ₁ E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (i j k : ι) {i' j' k' : ι'}
  (hi' : e.f i = i') (hj' : e.f j = j') (hk' : e.f k = k') (hi'' : c'.prev j' = i') (hk'' : c'.next j' = k'),
  (HomologicalComplex.restriction.sc'Iso K e i j k hi' hj' hk' hi'' hk'').inv.τ₁ = (K.restrictionXIso e hi').inv

theorem HomologicalComplex.restriction.sc'Iso_hom_τ₂ E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (i j k : ι) {i' j' k' : ι'}
  (hi' : e.f i = i') (hj' : e.f j = j') (hk' : e.f k = k') (hi'' : c'.prev j' = i') (hk'' : c'.next j' = k'),
  (HomologicalComplex.restriction.sc'Iso K e i j k hi' hj' hk' hi'' hk'').hom.τ₂ = (K.restrictionXIso e hj').hom

theorem HomologicalComplex.restriction.sc'Iso_inv_τ₂ E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (i j k : ι) {i' j' k' : ι'}
  (hi' : e.f i = i') (hj' : e.f j = j') (hk' : e.f k = k') (hi'' : c'.prev j' = i') (hk'' : c'.next j' = k'),
  (HomologicalComplex.restriction.sc'Iso K e i j k hi' hj' hk' hi'' hk'').inv.τ₂ = (K.restrictionXIso e hj').inv

theorem HomologicalComplex.restriction.sc'Iso_hom_τ₃ E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (i j k : ι) {i' j' k' : ι'}
  (hi' : e.f i = i') (hj' : e.f j = j') (hk' : e.f k = k') (hi'' : c'.prev j' = i') (hk'' : c'.next j' = k'),
  (HomologicalComplex.restriction.sc'Iso K e i j k hi' hj' hk' hi'' hk'').hom.τ₃ = (K.restrictionXIso e hk').hom

theorem HomologicalComplex.restriction.sc'Iso_hom_τ₁ E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (i j k : ι) {i' j' k' : ι'}
  (hi' : e.f i = i') (hj' : e.f j = j') (hk' : e.f k = k') (hi'' : c'.prev j' = i') (hk'' : c'.next j' = k'),
  (HomologicalComplex.restriction.sc'Iso K e i j k hi' hj' hk' hi'' hk'').hom.τ₁ = (K.restrictionXIso e hi').hom

theorem HomologicalComplex.restriction.hasHomology E1 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (i j k : ι),
  c.prev j = i →
    c.next j = k →
      ∀ {i' j' k' : ι'},
        e.f i = i' →
          e.f j = j' →
            e.f k = k' → c'.prev j' = i' → c'.next j' = k' → ∀ [K.HasHomology j'], (K.restriction e).HasHomology j

def HomologicalComplex.restrictionCyclesIso E1 #

{ι : Type u_1} →
  {ι' : Type u_2} →
    {c : ComplexShape ι} →
      {c' : ComplexShape ι'} →
        {C : Type u_3} →
          [inst : CategoryTheory.Category.{v_1, u_3} C] →
            [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
              (K : HomologicalComplex C c') →
                (e : c.Embedding c') →
                  [inst_2 : e.IsRelIff] →
                    (j k : ι) →
                      c.next j = k →
                        {j' k' : ι'} →
                          e.f j = j' →
                            e.f k = k' →
                              c'.next j' = k' →
                                [inst_3 : K.HasHomology j'] →
                                  [inst_4 : (K.restriction e).HasHomology j] → (K.restriction e).cycles j ≅ K.cycles j'

The isomorphism (K.restriction e).cycles j ≅ K.cycles j' when e.f j = j' and the successors k and k' of j and j' satisfy e.f k = k'.

theorem HomologicalComplex.restrictionCyclesIso_hom_iCycles E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (j k : ι) (hk : c.next j = k) {j' k' : ι'}
  (hj' : e.f j = j') (hk' : e.f k = k') (hk'' : c'.next j' = k') [inst_3 : K.HasHomology j']
  [inst_4 : (K.restriction e).HasHomology j],
  CategoryTheory.CategoryStruct.comp (K.restrictionCyclesIso e j k hk hj' hk' hk'').hom (K.iCycles j') =
    CategoryTheory.CategoryStruct.comp ((K.restriction e).iCycles j) (K.restrictionXIso e hj').hom

theorem HomologicalComplex.restrictionCyclesIso_hom_iCycles_assoc E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (j k : ι) (hk : c.next j = k) {j' k' : ι'}
  (hj' : e.f j = j') (hk' : e.f k = k') (hk'' : c'.next j' = k') [inst_3 : K.HasHomology j']
  [inst_4 : (K.restriction e).HasHomology j] {Z : C} (h : K.X j' ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.restrictionCyclesIso e j k hk hj' hk' hk'').hom
      (CategoryTheory.CategoryStruct.comp (K.iCycles j') h) =
    CategoryTheory.CategoryStruct.comp ((K.restriction e).iCycles j)
      (CategoryTheory.CategoryStruct.comp (K.restrictionXIso e hj').hom h)

theorem HomologicalComplex.restrictionCyclesIso_inv_iCycles_assoc E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (j k : ι) (hk : c.next j = k) {j' k' : ι'}
  (hj' : e.f j = j') (hk' : e.f k = k') (hk'' : c'.next j' = k') [inst_3 : K.HasHomology j']
  [inst_4 : (K.restriction e).HasHomology j] {Z : C} (h : (K.restriction e).X j ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.restrictionCyclesIso e j k hk hj' hk' hk'').inv
      (CategoryTheory.CategoryStruct.comp ((K.restriction e).iCycles j) h) =
    CategoryTheory.CategoryStruct.comp (K.iCycles j')
      (CategoryTheory.CategoryStruct.comp (K.restrictionXIso e hj').inv h)

theorem HomologicalComplex.restrictionCyclesIso_inv_iCycles E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (j k : ι) (hk : c.next j = k) {j' k' : ι'}
  (hj' : e.f j = j') (hk' : e.f k = k') (hk'' : c'.next j' = k') [inst_3 : K.HasHomology j']
  [inst_4 : (K.restriction e).HasHomology j],
  CategoryTheory.CategoryStruct.comp (K.restrictionCyclesIso e j k hk hj' hk' hk'').inv ((K.restriction e).iCycles j) =
    CategoryTheory.CategoryStruct.comp (K.iCycles j') (K.restrictionXIso e hj').inv

def HomologicalComplex.restrictionOpcyclesIso E1 #

{ι : Type u_1} →
  {ι' : Type u_2} →
    {c : ComplexShape ι} →
      {c' : ComplexShape ι'} →
        {C : Type u_3} →
          [inst : CategoryTheory.Category.{v_1, u_3} C] →
            [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
              (K : HomologicalComplex C c') →
                (e : c.Embedding c') →
                  [inst_2 : e.IsRelIff] →
                    (i j : ι) →
                      c.prev j = i →
                        {i' j' : ι'} →
                          e.f i = i' →
                            e.f j = j' →
                              c'.prev j' = i' →
                                [inst_3 : K.HasHomology j'] →
                                  [inst_4 : (K.restriction e).HasHomology j] →
                                    (K.restriction e).opcycles j ≅ K.opcycles j'

The isomorphism (K.restriction e).opcycles j ≅ K.opcycles j' when e.f j = j' and the predecessors i and i' of j and j' satisfy e.f i = i'.

theorem HomologicalComplex.pOpcycles_restrictionOpcyclesIso_hom_assoc E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (i j : ι) (hi : c.prev j = i) {i' j' : ι'}
  (hi' : e.f i = i') (hj' : e.f j = j') (hi'' : c'.prev j' = i') [inst_3 : K.HasHomology j']
  [inst_4 : (K.restriction e).HasHomology j] {Z : C} (h : K.opcycles j' ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((K.restriction e).pOpcycles j)
      (CategoryTheory.CategoryStruct.comp (K.restrictionOpcyclesIso e i j hi hi' hj' hi'').hom h) =
    CategoryTheory.CategoryStruct.comp (K.restrictionXIso e hj').hom
      (CategoryTheory.CategoryStruct.comp (K.pOpcycles j') h)

theorem HomologicalComplex.pOpcycles_restrictionOpcyclesIso_hom E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (i j : ι) (hi : c.prev j = i) {i' j' : ι'}
  (hi' : e.f i = i') (hj' : e.f j = j') (hi'' : c'.prev j' = i') [inst_3 : K.HasHomology j']
  [inst_4 : (K.restriction e).HasHomology j],
  CategoryTheory.CategoryStruct.comp ((K.restriction e).pOpcycles j)
      (K.restrictionOpcyclesIso e i j hi hi' hj' hi'').hom =
    CategoryTheory.CategoryStruct.comp (K.restrictionXIso e hj').hom (K.pOpcycles j')

theorem HomologicalComplex.pOpcycles_restrictionOpcyclesIso_inv E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (i j : ι) (hi : c.prev j = i) {i' j' : ι'}
  (hi' : e.f i = i') (hj' : e.f j = j') (hi'' : c'.prev j' = i') [inst_3 : K.HasHomology j']
  [inst_4 : (K.restriction e).HasHomology j],
  CategoryTheory.CategoryStruct.comp (K.pOpcycles j') (K.restrictionOpcyclesIso e i j hi hi' hj' hi'').inv =
    CategoryTheory.CategoryStruct.comp (K.restrictionXIso e hj').inv ((K.restriction e).pOpcycles j)

theorem HomologicalComplex.pOpcycles_restrictionOpcyclesIso_inv_assoc E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (i j : ι) (hi : c.prev j = i) {i' j' : ι'}
  (hi' : e.f i = i') (hj' : e.f j = j') (hi'' : c'.prev j' = i') [inst_3 : K.HasHomology j']
  [inst_4 : (K.restriction e).HasHomology j] {Z : C} (h : (K.restriction e).opcycles j ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.pOpcycles j')
      (CategoryTheory.CategoryStruct.comp (K.restrictionOpcyclesIso e i j hi hi' hj' hi'').inv h) =
    CategoryTheory.CategoryStruct.comp (K.restrictionXIso e hj').inv
      (CategoryTheory.CategoryStruct.comp ((K.restriction e).pOpcycles j) h)

def HomologicalComplex.restrictionHomologyIso E1 #

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

The isomorphism (K.restriction e).homology j ≅ K.homology j' when e.f j = j', the predecessors i and i' of j and j' satisfy e.f i = i', and the successors k and k' of j and j' satisfy e.f k = k'

theorem HomologicalComplex.homologyπ_restrictionHomologyIso_hom E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (i j k : ι) (hi : c.prev j = i)
  (hk : c.next j = k) {i' j' k' : ι'} (hi' : e.f i = i') (hj' : e.f j = j') (hk' : e.f k = k') (hi'' : c'.prev j' = i')
  (hk'' : c'.next j' = k') [inst_3 : K.HasHomology j'] [inst_4 : (K.restriction e).HasHomology j],
  CategoryTheory.CategoryStruct.comp ((K.restriction e).homologyπ j)
      (K.restrictionHomologyIso e i j k hi hk hi' hj' hk' hi'' hk'').hom =
    CategoryTheory.CategoryStruct.comp (K.restrictionCyclesIso e j k hk hj' hk' hk'').hom (K.homologyπ j')

theorem HomologicalComplex.homologyπ_restrictionHomologyIso_hom_assoc E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (i j k : ι) (hi : c.prev j = i)
  (hk : c.next j = k) {i' j' k' : ι'} (hi' : e.f i = i') (hj' : e.f j = j') (hk' : e.f k = k') (hi'' : c'.prev j' = i')
  (hk'' : c'.next j' = k') [inst_3 : K.HasHomology j'] [inst_4 : (K.restriction e).HasHomology j] {Z : C}
  (h : K.homology j' ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((K.restriction e).homologyπ j)
      (CategoryTheory.CategoryStruct.comp (K.restrictionHomologyIso e i j k hi hk hi' hj' hk' hi'' hk'').hom h) =
    CategoryTheory.CategoryStruct.comp (K.restrictionCyclesIso e j k hk hj' hk' hk'').hom
      (CategoryTheory.CategoryStruct.comp (K.homologyπ j') h)

theorem HomologicalComplex.homologyπ_restrictionHomologyIso_inv_assoc E1 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (i j k : ι) (hi : c.prev j = i)
  (hk : c.next j = k) {i' j' k' : ι'} (hi' : e.f i = i') (hj' : e.f j = j') (hk' : e.f k = k') (hi'' : c'.prev j' = i')
  (hk'' : c'.next j' = k') [inst_3 : K.HasHomology j'] [inst_4 : (K.restriction e).HasHomology j] {Z : C}
  (h : (K.restriction e).homology j ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.homologyπ j')
      (CategoryTheory.CategoryStruct.comp (K.restrictionHomologyIso e i j k hi hk hi' hj' hk' hi'' hk'').inv h) =
    CategoryTheory.CategoryStruct.comp (K.restrictionCyclesIso e j k hk hj' hk' hk'').inv
      (CategoryTheory.CategoryStruct.comp ((K.restriction e).homologyπ j) h)

theorem HomologicalComplex.homologyπ_restrictionHomologyIso_inv E1 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (i j k : ι) (hi : c.prev j = i)
  (hk : c.next j = k) {i' j' k' : ι'} (hi' : e.f i = i') (hj' : e.f j = j') (hk' : e.f k = k') (hi'' : c'.prev j' = i')
  (hk'' : c'.next j' = k') [inst_3 : K.HasHomology j'] [inst_4 : (K.restriction e).HasHomology j],
  CategoryTheory.CategoryStruct.comp (K.homologyπ j')
      (K.restrictionHomologyIso e i j k hi hk hi' hj' hk' hi'' hk'').inv =
    CategoryTheory.CategoryStruct.comp (K.restrictionCyclesIso e j k hk hj' hk' hk'').inv
      ((K.restriction e).homologyπ j)

theorem HomologicalComplex.restrictionHomologyIso_inv_homologyι_assoc E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (i j k : ι) (hi : c.prev j = i)
  (hk : c.next j = k) {i' j' k' : ι'} (hi' : e.f i = i') (hj' : e.f j = j') (hk' : e.f k = k') (hi'' : c'.prev j' = i')
  (hk'' : c'.next j' = k') [inst_3 : K.HasHomology j'] [inst_4 : (K.restriction e).HasHomology j] {Z : C}
  (h : (K.restriction e).opcycles j ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.restrictionHomologyIso e i j k hi hk hi' hj' hk' hi'' hk'').inv
      (CategoryTheory.CategoryStruct.comp ((K.restriction e).homologyι j) h) =
    CategoryTheory.CategoryStruct.comp (K.homologyι j')
      (CategoryTheory.CategoryStruct.comp (K.restrictionOpcyclesIso e i j hi hi' hj' hi'').inv h)

theorem HomologicalComplex.restrictionHomologyIso_inv_homologyι E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (i j k : ι) (hi : c.prev j = i)
  (hk : c.next j = k) {i' j' k' : ι'} (hi' : e.f i = i') (hj' : e.f j = j') (hk' : e.f k = k') (hi'' : c'.prev j' = i')
  (hk'' : c'.next j' = k') [inst_3 : K.HasHomology j'] [inst_4 : (K.restriction e).HasHomology j],
  CategoryTheory.CategoryStruct.comp (K.restrictionHomologyIso e i j k hi hk hi' hj' hk' hi'' hk'').inv
      ((K.restriction e).homologyι j) =
    CategoryTheory.CategoryStruct.comp (K.homologyι j') (K.restrictionOpcyclesIso e i j hi hi' hj' hi'').inv

theorem HomologicalComplex.restrictionHomologyIso_hom_homologyι E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (i j k : ι) (hi : c.prev j = i)
  (hk : c.next j = k) {i' j' k' : ι'} (hi' : e.f i = i') (hj' : e.f j = j') (hk' : e.f k = k') (hi'' : c'.prev j' = i')
  (hk'' : c'.next j' = k') [inst_3 : K.HasHomology j'] [inst_4 : (K.restriction e).HasHomology j],
  CategoryTheory.CategoryStruct.comp (K.restrictionHomologyIso e i j k hi hk hi' hj' hk' hi'' hk'').hom
      (K.homologyι j') =
    CategoryTheory.CategoryStruct.comp ((K.restriction e).homologyι j)
      (K.restrictionOpcyclesIso e i j hi hi' hj' hi'').hom

theorem HomologicalComplex.restrictionHomologyIso_hom_homologyι_assoc E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {c : ComplexShape ι} {c' : ComplexShape ι'} {C : Type u_3}
  [inst : CategoryTheory.Category.{v_1, u_3} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (K : HomologicalComplex C c') (e : c.Embedding c') [inst_2 : e.IsRelIff] (i j k : ι) (hi : c.prev j = i)
  (hk : c.next j = k) {i' j' k' : ι'} (hi' : e.f i = i') (hj' : e.f j = j') (hk' : e.f k = k') (hi'' : c'.prev j' = i')
  (hk'' : c'.next j' = k') [inst_3 : K.HasHomology j'] [inst_4 : (K.restriction e).HasHomology j] {Z : C}
  (h : K.opcycles j' ⟶ Z),
  CategoryTheory.CategoryStruct.comp (K.restrictionHomologyIso e i j k hi hk hi' hj' hk' hi'' hk'').hom
      (CategoryTheory.CategoryStruct.comp (K.homologyι j') h) =
    CategoryTheory.CategoryStruct.comp ((K.restriction e).homologyι j)
      (CategoryTheory.CategoryStruct.comp (K.restrictionOpcyclesIso e i j hi hi' hj' hi'').hom h)