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

5 declarations. Mathlib docs · Source

Homology of complexes in concrete categories

The homology of short complexes in concrete categories was studied in Mathlib/Algebra/Homology/ShortComplex/ConcreteCategory.lean. In this file, we introduce specific definitions and lemmas for the homology of homological complexes in concrete categories. In particular, we give a computation of the connecting homomorphism of the homology sequence in terms of (co)cycles.

def HomologicalComplex.cyclesMk E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {FC : C → C → Type u_1} →
      {CC : C → Type v} →
        [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] →
          [inst_2 : CategoryTheory.ConcreteCategory C FC] →
            [inst_3 : CategoryTheory.HasForget₂ C Ab] →
              [inst_4 : CategoryTheory.Abelian C] →
                [inst_5 : (CategoryTheory.forget₂ C Ab).Additive] →
                  [(CategoryTheory.forget₂ C Ab).PreservesHomology] →
                    {ι : Type u_2} →
                      {c : ComplexShape ι} →
                        (K : HomologicalComplex C c) →
                          {i : ι} →
                            (x : ↑((CategoryTheory.forget₂ C Ab).obj (K.X i))) →
                              (j : ι) →
                                c.next i = j →
                                  (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.forget₂ C Ab).map (K.d i j)))
                                        x =
                                      0 →
                                    ↑((CategoryTheory.forget₂ C Ab).obj (K.cycles i))

Constructor for cycles of a homological complex in a concrete category.

theorem HomologicalComplex.i_cyclesMk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type v}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC]
  [inst_3 : CategoryTheory.HasForget₂ C Ab] [inst_4 : CategoryTheory.Abelian C]
  [inst_5 : (CategoryTheory.forget₂ C Ab).Additive] [inst_6 : (CategoryTheory.forget₂ C Ab).PreservesHomology]
  {ι : Type u_2} {c : ComplexShape ι} (K : HomologicalComplex C c) {i : ι}
  (x : ↑((CategoryTheory.forget₂ C Ab).obj (K.X i))) (j : ι) (hj : c.next i = j)
  (hx : (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.forget₂ C Ab).map (K.d i j))) x = 0),
  (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.forget₂ C Ab).map (K.iCycles i))) (K.cyclesMk x j hj hx) = x

theorem CategoryTheory.ShortComplex.ShortExact.δ_apply' E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type v}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC]
  [inst_3 : CategoryTheory.HasForget₂ C Ab] [inst_4 : CategoryTheory.Abelian C]
  [inst_5 : (CategoryTheory.forget₂ C Ab).Additive] [(CategoryTheory.forget₂ C Ab).PreservesHomology] {ι : Type u_2}
  {c : ComplexShape ι} {S : CategoryTheory.ShortComplex (HomologicalComplex C c)} (hS : S.ShortExact) (i j : ι)
  (hij : c.Rel i j) (x₃ : ↑((CategoryTheory.forget₂ C Ab).obj (S.X₃.homology i)))
  (x₂ : ↑((CategoryTheory.forget₂ C Ab).obj (S.X₂.opcycles i)))
  (x₁ : ↑((CategoryTheory.forget₂ C Ab).obj (S.X₁.cycles j))),
  (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.forget₂ C Ab).map (HomologicalComplex.opcyclesMap S.g i))) x₂ =
      (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.forget₂ C Ab).map (S.X₃.homologyι i))) x₃ →
    (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.forget₂ C Ab).map (HomologicalComplex.cyclesMap S.f j))) x₁ =
        (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.forget₂ C Ab).map (S.X₂.opcyclesToCycles i j))) x₂ →
      (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.forget₂ C Ab).map (hS.δ i j hij))) x₃ =
        (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.forget₂ C Ab).map (S.X₁.homologyπ j))) x₁

theorem CategoryTheory.ShortComplex.ShortExact.d_eq_zero_of_f_eq_d_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type v}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC]
  [inst_3 : CategoryTheory.HasForget₂ C Ab] [inst_4 : CategoryTheory.Abelian C]
  [inst_5 : (CategoryTheory.forget₂ C Ab).Additive] [(CategoryTheory.forget₂ C Ab).PreservesHomology] {ι : Type u_2}
  {c : ComplexShape ι} {S : CategoryTheory.ShortComplex (HomologicalComplex C c)},
  S.ShortExact →
    ∀ (i j : ι) (x₂ : ↑((CategoryTheory.forget₂ C Ab).obj (S.X₂.X i)))
      (x₁ : ↑((CategoryTheory.forget₂ C Ab).obj (S.X₁.X j))),
      (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.forget₂ C Ab).map (S.f.f j))) x₁ =
          (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.forget₂ C Ab).map (S.X₂.d i j))) x₂ →
        ∀ (k : ι), (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.forget₂ C Ab).map (S.X₁.d j k))) x₁ = 0

In the short exact sequence of complexes

       0            0            0
       |            |            |
       v            v            v
...-> X_1,i -----> X_1,j --d--> X_1,k ->...
       |            |            |
       |          f |            |
       v            v            v
...-> X_2,i --d--> X_2,j -----> X_2,k ->...
       |            |            |
       v            v            v
...-> X_3,i -----> X_3,j -----> X_3,k ->...
       |            |            |
       v            v            v
       0            0            0

if x₁ ∈ X_1,j and x₂ ∈ X_2,i and if f(x₁) = d(x₂) then d(x₁) = 0.

theorem CategoryTheory.ShortComplex.ShortExact.δ_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type v}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC]
  [inst_3 : CategoryTheory.HasForget₂ C Ab] [inst_4 : CategoryTheory.Abelian C]
  [inst_5 : (CategoryTheory.forget₂ C Ab).Additive] [inst_6 : (CategoryTheory.forget₂ C Ab).PreservesHomology]
  {ι : Type u_2} {c : ComplexShape ι} {S : CategoryTheory.ShortComplex (HomologicalComplex C c)} (hS : S.ShortExact)
  (i j : ι) (hij : c.Rel i j) (x₃ : ↑((CategoryTheory.forget₂ C Ab).obj (S.X₃.X i)))
  (hx₃ : (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.forget₂ C Ab).map (S.X₃.d i j))) x₃ = 0)
  (x₂ : ↑((CategoryTheory.forget₂ C Ab).obj (S.X₂.X i))),
  (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.forget₂ C Ab).map (S.g.f i))) x₂ = x₃ →
    ∀ (x₁ : ↑((CategoryTheory.forget₂ C Ab).obj (S.X₁.X j)))
      (hx₁ :
        (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.forget₂ C Ab).map (S.f.f j))) x₁ =
          (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.forget₂ C Ab).map (S.X₂.d i j))) x₂)
      (k : ι) (hk : c.next j = k),
      (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.forget₂ C Ab).map (hS.δ i j hij)))
          ((CategoryTheory.ConcreteCategory.hom ((CategoryTheory.forget₂ C Ab).map (S.X₃.homologyπ i)))
            (S.X₃.cyclesMk x₃ j ⋯ hx₃)) =
        (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.forget₂ C Ab).map (S.X₁.homologyπ j)))
          (S.X₁.cyclesMk x₁ k hk ⋯)