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

6 declarations. Mathlib docs · Source

The category of homological complexes is linear

In this file, we define the instance Linear R (HomologicalComplex C c) when the category C is R-linear.

TODO

  • show lemmas like HomologicalComplex.homologyMap_smul (after doing the same for short complexes in Mathlib/Algebra/Homology/ShortComplex/Linear.lean)

instance HomologicalComplex.instSMulHom E0 #

{R : Type u_1} →
  [inst : Semiring R] →
    {C : Type u_2} →
      [inst_1 : CategoryTheory.Category.{v_1, u_2} C] →
        [inst_2 : CategoryTheory.Preadditive C] →
          [CategoryTheory.Linear R C] →
            {ι : Type u_4} → {c : ComplexShape ι} → {X Y : HomologicalComplex C c} → SMul R (X ⟶ Y)

theorem HomologicalComplex.smul_f_apply E0 #

∀ {R : Type u_1} [inst : Semiring R] {C : Type u_2} [inst_1 : CategoryTheory.Category.{v_1, u_2} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Linear R C] {ι : Type u_4} {c : ComplexShape ι}
  {X Y : HomologicalComplex C c} (r : R) (f : X ⟶ Y) (n : ι), (r • f).f n = r • f.f n

theorem HomologicalComplex.units_smul_f_apply E0 #

∀ {R : Type u_1} [inst : Semiring R] {C : Type u_2} [inst_1 : CategoryTheory.Category.{v_1, u_2} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Linear R C] {ι : Type u_4} {c : ComplexShape ι}
  {X Y : HomologicalComplex C c} (r : Rˣ) (f : X ⟶ Y) (n : ι), (r • f).f n = r • f.f n

instance HomologicalComplex.instModuleHom E0 #

{R : Type u_1} →
  [inst : Semiring R] →
    {C : Type u_2} →
      [inst_1 : CategoryTheory.Category.{v_1, u_2} C] →
        [inst_2 : CategoryTheory.Preadditive C] →
          [CategoryTheory.Linear R C] →
            {ι : Type u_4} → {c : ComplexShape ι} → (X Y : HomologicalComplex C c) → Module R (X ⟶ Y)

instance HomologicalComplex.instLinear E0 #

{R : Type u_1} →
  [inst : Semiring R] →
    {C : Type u_2} →
      [inst_1 : CategoryTheory.Category.{v_1, u_2} C] →
        [inst_2 : CategoryTheory.Preadditive C] →
          [CategoryTheory.Linear R C] →
            {ι : Type u_4} → {c : ComplexShape ι} → CategoryTheory.Linear R (HomologicalComplex C c)

instance CategoryTheory.Functor.mapHomologicalComplex_linear E0 #

∀ {R : Type u_1} [inst : Semiring R] {C : Type u_2} {D : Type u_3} [inst_1 : CategoryTheory.Category.{v_1, u_2} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Category.{v_2, u_3} D]
  [inst_4 : CategoryTheory.Preadditive D] [inst_5 : CategoryTheory.Linear R C] [inst_6 : CategoryTheory.Linear R D]
  {ι : Type u_4} (F : CategoryTheory.Functor C D) [inst_7 : F.Additive] [CategoryTheory.Functor.Linear R F]
  (c : ComplexShape ι), CategoryTheory.Functor.Linear R (F.mapHomologicalComplex c)