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

10 declarations. Mathlib docs · Source

Complexes in functor categories

We can view a complex valued in a functor category T ⥤ V as a functor from T to complexes valued in V.

When V is abelian, a morphism of short complexes or homological complexes in the category T ⥤ V is a quasi-isomorphism iff it is so after evaluation at any t : T.

TODO

In fact there is an equivalence of categories HomologicalComplex (T ⥤ V) c ≌ T ⥤ HomologicalComplex V c.

def HomologicalComplex.asFunctor E1 #

{T : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} T] →
    {V : Type u_2} →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} V] →
        [inst_2 : CategoryTheory.Limits.HasZeroMorphisms V] →
          {ι : Type u_3} →
            {c : ComplexShape ι} →
              HomologicalComplex (CategoryTheory.Functor T V) c → CategoryTheory.Functor T (HomologicalComplex V c)

A complex of functors gives a functor to complexes.

theorem HomologicalComplex.asFunctor_obj_X E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {V : Type u_2}
  [inst_1 : CategoryTheory.Category.{v_2, u_2} V] [inst_2 : CategoryTheory.Limits.HasZeroMorphisms V] {ι : Type u_3}
  {c : ComplexShape ι} (C : HomologicalComplex (CategoryTheory.Functor T V) c) (t : T) (i : ι),
  (C.asFunctor.obj t).X i = (C.X i).obj t

theorem HomologicalComplex.asFunctor_obj_d E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {V : Type u_2}
  [inst_1 : CategoryTheory.Category.{v_2, u_2} V] [inst_2 : CategoryTheory.Limits.HasZeroMorphisms V] {ι : Type u_3}
  {c : ComplexShape ι} (C : HomologicalComplex (CategoryTheory.Functor T V) c) (t : T) (i j : ι),
  (C.asFunctor.obj t).d i j = (C.d i j).app t

theorem HomologicalComplex.asFunctor_map_f E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {V : Type u_2}
  [inst_1 : CategoryTheory.Category.{v_2, u_2} V] [inst_2 : CategoryTheory.Limits.HasZeroMorphisms V] {ι : Type u_3}
  {c : ComplexShape ι} (C : HomologicalComplex (CategoryTheory.Functor T V) c) {X Y : T} (h : X ⟶ Y) (i : ι),
  (C.asFunctor.map h).f i = (C.X i).map h

def HomologicalComplex.complexOfFunctorsToFunctorToComplex E1 #

{T : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} T] →
    {V : Type u_2} →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} V] →
        [inst_2 : CategoryTheory.Limits.HasZeroMorphisms V] →
          {ι : Type u_3} →
            {c : ComplexShape ι} →
              CategoryTheory.Functor (HomologicalComplex (CategoryTheory.Functor T V) c)
                (CategoryTheory.Functor T (HomologicalComplex V c))

The functorial version of HomologicalComplex.asFunctor.

theorem HomologicalComplex.complexOfFunctorsToFunctorToComplex_obj E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {V : Type u_2}
  [inst_1 : CategoryTheory.Category.{v_2, u_2} V] [inst_2 : CategoryTheory.Limits.HasZeroMorphisms V] {ι : Type u_3}
  {c : ComplexShape ι} (C : HomologicalComplex (CategoryTheory.Functor T V) c),
  HomologicalComplex.complexOfFunctorsToFunctorToComplex.obj C = C.asFunctor

theorem HomologicalComplex.complexOfFunctorsToFunctorToComplex_map_app_f E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {V : Type u_2}
  [inst_1 : CategoryTheory.Category.{v_2, u_2} V] [inst_2 : CategoryTheory.Limits.HasZeroMorphisms V] {ι : Type u_3}
  {c : ComplexShape ι} {X Y : HomologicalComplex (CategoryTheory.Functor T V) c} (f : X ⟶ Y) (t : T) (i : ι),
  ((HomologicalComplex.complexOfFunctorsToFunctorToComplex.map f).app t).f i = (f.f i).app t

theorem CategoryTheory.ShortComplex.quasiIso_iff_evaluation E1 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {V : Type u_2}
  [inst_1 : CategoryTheory.Category.{v_2, u_2} V] [inst_2 : CategoryTheory.Abelian V]
  {S₁ S₂ : CategoryTheory.ShortComplex (CategoryTheory.Functor T V)} (f : S₁ ⟶ S₂),
  CategoryTheory.ShortComplex.QuasiIso f ↔
    ∀ (j : T), CategoryTheory.ShortComplex.QuasiIso (((CategoryTheory.evaluation T V).obj j).mapShortComplex.map f)

theorem HomologicalComplex.quasiIsoAt_iff_evaluation E1 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {V : Type u_2}
  [inst_1 : CategoryTheory.Category.{v_2, u_2} V] [inst_2 : CategoryTheory.Abelian V] {ι : Type u_3}
  {c : ComplexShape ι} {K₁ K₂ : HomologicalComplex (CategoryTheory.Functor T V) c} (f : K₁ ⟶ K₂) (i : ι),
  QuasiIsoAt f i ↔ ∀ (t : T), QuasiIsoAt ((((CategoryTheory.evaluation T V).obj t).mapHomologicalComplex c).map f) i

theorem HomologicalComplex.quasiIso_iff_evaluation E1 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {V : Type u_2}
  [inst_1 : CategoryTheory.Category.{v_2, u_2} V] [inst_2 : CategoryTheory.Abelian V] {ι : Type u_3}
  {c : ComplexShape ι} {K₁ K₂ : HomologicalComplex (CategoryTheory.Functor T V) c} (f : K₁ ⟶ K₂),
  QuasiIso f ↔ ∀ (t : T), QuasiIso ((((CategoryTheory.evaluation T V).obj t).mapHomologicalComplex c).map f)