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 / V25. Higher structures in categories

Mathlib.CategoryTheory.Abelian.LeftDerived

47 declarations. Mathlib docs · Source

theorem CategoryTheory.Functor.leftDerivedZeroIsoSelf.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] (F : CategoryTheory.Functor C D) [inst_5 : F.Additive]
  [inst_6 : CategoryTheory.Limits.PreservesFiniteColimits F], F.leftDerivedZeroIsoSelf = F.leftDerivedZeroIsoSelf

def CategoryTheory.Functor.leftDerivedToHomotopyCategory E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {D : Type u_1} →
      [inst_1 : CategoryTheory.Category.{v_1, u_1} D] →
        [inst_2 : CategoryTheory.Abelian C] →
          [CategoryTheory.HasProjectiveResolutions C] →
            [inst_4 : CategoryTheory.Abelian D] →
              (F : CategoryTheory.Functor C D) →
                [F.Additive] → CategoryTheory.Functor C (HomotopyCategory D (ComplexShape.down ℕ))

When F : C ⥤ D is an additive functor, this is the functor C ⥤ HomotopyCategory D (ComplexShape.down ℕ) which sends X : C to F applied to a projective resolution of X.

def CategoryTheory.ProjectiveResolution.isoLeftDerivedToHomotopyCategoryObj E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {D : Type u_1} →
      [inst_1 : CategoryTheory.Category.{v_1, u_1} D] →
        [inst_2 : CategoryTheory.Abelian C] →
          [inst_3 : CategoryTheory.HasProjectiveResolutions C] →
            [inst_4 : CategoryTheory.Abelian D] →
              {X : C} →
                (P : CategoryTheory.ProjectiveResolution X) →
                  (F : CategoryTheory.Functor C D) →
                    [inst_5 : F.Additive] →
                      F.leftDerivedToHomotopyCategory.obj X ≅
                        ((F.mapHomologicalComplex (ComplexShape.down ℕ)).comp
                              (HomotopyCategory.quotient D (ComplexShape.down ℕ))).obj
                          P.complex

If P : ProjectiveResolution Z and F : C ⥤ D is an additive functor, this is an isomorphism between F.leftDerivedToHomotopyCategory.obj X and the complex obtained by applying F to P.complex.

theorem CategoryTheory.ProjectiveResolution.isoLeftDerivedToHomotopyCategoryObj_inv_naturality_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] {X Y : C} (f : X ⟶ Y) (P : CategoryTheory.ProjectiveResolution X)
  (Q : CategoryTheory.ProjectiveResolution Y) (φ : P.complex ⟶ Q.complex),
  CategoryTheory.CategoryStruct.comp (φ.f 0) (Q.π.f 0) = CategoryTheory.CategoryStruct.comp (P.π.f 0) f →
    ∀ (F : CategoryTheory.Functor C D) [inst_5 : F.Additive] {Z : HomotopyCategory D (ComplexShape.down ℕ)}
      (h : F.leftDerivedToHomotopyCategory.obj Y ⟶ Z),
      CategoryTheory.CategoryStruct.comp (P.isoLeftDerivedToHomotopyCategoryObj F).inv
          (CategoryTheory.CategoryStruct.comp (F.leftDerivedToHomotopyCategory.map f) h) =
        CategoryTheory.CategoryStruct.comp
          ((HomotopyCategory.quotient D (ComplexShape.down ℕ)).map
            ((F.mapHomologicalComplex (ComplexShape.down ℕ)).map φ))
          (CategoryTheory.CategoryStruct.comp (Q.isoLeftDerivedToHomotopyCategoryObj F).inv h)

theorem CategoryTheory.ProjectiveResolution.isoLeftDerivedToHomotopyCategoryObj_inv_naturality E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] {X Y : C} (f : X ⟶ Y) (P : CategoryTheory.ProjectiveResolution X)
  (Q : CategoryTheory.ProjectiveResolution Y) (φ : P.complex ⟶ Q.complex),
  CategoryTheory.CategoryStruct.comp (φ.f 0) (Q.π.f 0) = CategoryTheory.CategoryStruct.comp (P.π.f 0) f →
    ∀ (F : CategoryTheory.Functor C D) [inst_5 : F.Additive],
      CategoryTheory.CategoryStruct.comp (P.isoLeftDerivedToHomotopyCategoryObj F).inv
          (F.leftDerivedToHomotopyCategory.map f) =
        CategoryTheory.CategoryStruct.comp
          (((F.mapHomologicalComplex (ComplexShape.down ℕ)).comp
                (HomotopyCategory.quotient D (ComplexShape.down ℕ))).map
            φ)
          (Q.isoLeftDerivedToHomotopyCategoryObj F).inv

theorem CategoryTheory.ProjectiveResolution.isoLeftDerivedToHomotopyCategoryObj_hom_naturality_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] {X Y : C} (f : X ⟶ Y) (P : CategoryTheory.ProjectiveResolution X)
  (Q : CategoryTheory.ProjectiveResolution Y) (φ : P.complex ⟶ Q.complex),
  CategoryTheory.CategoryStruct.comp (φ.f 0) (Q.π.f 0) = CategoryTheory.CategoryStruct.comp (P.π.f 0) f →
    ∀ (F : CategoryTheory.Functor C D) [inst_5 : F.Additive] {Z : HomotopyCategory D (ComplexShape.down ℕ)}
      (h :
        (HomotopyCategory.quotient D (ComplexShape.down ℕ)).obj
            ((F.mapHomologicalComplex (ComplexShape.down ℕ)).obj Q.complex) ⟶
          Z),
      CategoryTheory.CategoryStruct.comp (F.leftDerivedToHomotopyCategory.map f)
          (CategoryTheory.CategoryStruct.comp (Q.isoLeftDerivedToHomotopyCategoryObj F).hom h) =
        CategoryTheory.CategoryStruct.comp (P.isoLeftDerivedToHomotopyCategoryObj F).hom
          (CategoryTheory.CategoryStruct.comp
            ((HomotopyCategory.quotient D (ComplexShape.down ℕ)).map
              ((F.mapHomologicalComplex (ComplexShape.down ℕ)).map φ))
            h)

theorem CategoryTheory.ProjectiveResolution.isoLeftDerivedToHomotopyCategoryObj_hom_naturality E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] {X Y : C} (f : X ⟶ Y) (P : CategoryTheory.ProjectiveResolution X)
  (Q : CategoryTheory.ProjectiveResolution Y) (φ : P.complex ⟶ Q.complex),
  CategoryTheory.CategoryStruct.comp (φ.f 0) (Q.π.f 0) = CategoryTheory.CategoryStruct.comp (P.π.f 0) f →
    ∀ (F : CategoryTheory.Functor C D) [inst_5 : F.Additive],
      CategoryTheory.CategoryStruct.comp (F.leftDerivedToHomotopyCategory.map f)
          (Q.isoLeftDerivedToHomotopyCategoryObj F).hom =
        CategoryTheory.CategoryStruct.comp (P.isoLeftDerivedToHomotopyCategoryObj F).hom
          (((F.mapHomologicalComplex (ComplexShape.down ℕ)).comp
                (HomotopyCategory.quotient D (ComplexShape.down ℕ))).map
            φ)

def CategoryTheory.Functor.leftDerived E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {D : Type u_1} →
      [inst_1 : CategoryTheory.Category.{v_1, u_1} D] →
        [inst_2 : CategoryTheory.Abelian C] →
          [CategoryTheory.HasProjectiveResolutions C] →
            [inst_4 : CategoryTheory.Abelian D] →
              (F : CategoryTheory.Functor C D) → [F.Additive] → ℕ → CategoryTheory.Functor C D

The left derived functors of an additive functor.

def CategoryTheory.ProjectiveResolution.isoLeftDerivedObj E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {D : Type u_1} →
      [inst_1 : CategoryTheory.Category.{v_1, u_1} D] →
        [inst_2 : CategoryTheory.Abelian C] →
          [inst_3 : CategoryTheory.HasProjectiveResolutions C] →
            [inst_4 : CategoryTheory.Abelian D] →
              {X : C} →
                (P : CategoryTheory.ProjectiveResolution X) →
                  (F : CategoryTheory.Functor C D) →
                    [inst_5 : F.Additive] →
                      (n : ℕ) →
                        (F.leftDerived n).obj X ≅
                          (HomologicalComplex.homologyFunctor D (ComplexShape.down ℕ) n).obj
                            ((F.mapHomologicalComplex (ComplexShape.down ℕ)).obj P.complex)

We can compute a left derived functor using a chosen projective resolution.

theorem CategoryTheory.ProjectiveResolution.isoLeftDerivedObj_hom_naturality_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] {X Y : C} (f : X ⟶ Y) (P : CategoryTheory.ProjectiveResolution X)
  (Q : CategoryTheory.ProjectiveResolution Y) (φ : P.complex ⟶ Q.complex),
  CategoryTheory.CategoryStruct.comp (φ.f 0) (Q.π.f 0) = CategoryTheory.CategoryStruct.comp (P.π.f 0) f →
    ∀ (F : CategoryTheory.Functor C D) [inst_5 : F.Additive] (n : ℕ) {Z : D}
      (h :
        (HomologicalComplex.homologyFunctor D (ComplexShape.down ℕ) n).obj
            ((F.mapHomologicalComplex (ComplexShape.down ℕ)).obj Q.complex) ⟶
          Z),
      CategoryTheory.CategoryStruct.comp ((F.leftDerived n).map f)
          (CategoryTheory.CategoryStruct.comp (Q.isoLeftDerivedObj F n).hom h) =
        CategoryTheory.CategoryStruct.comp (P.isoLeftDerivedObj F n).hom
          (CategoryTheory.CategoryStruct.comp
            ((HomologicalComplex.homologyFunctor D (ComplexShape.down ℕ) n).map
              ((F.mapHomologicalComplex (ComplexShape.down ℕ)).map φ))
            h)

theorem CategoryTheory.ProjectiveResolution.isoLeftDerivedObj_hom_naturality E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] {X Y : C} (f : X ⟶ Y) (P : CategoryTheory.ProjectiveResolution X)
  (Q : CategoryTheory.ProjectiveResolution Y) (φ : P.complex ⟶ Q.complex),
  CategoryTheory.CategoryStruct.comp (φ.f 0) (Q.π.f 0) = CategoryTheory.CategoryStruct.comp (P.π.f 0) f →
    ∀ (F : CategoryTheory.Functor C D) [inst_5 : F.Additive] (n : ℕ),
      CategoryTheory.CategoryStruct.comp ((F.leftDerived n).map f) (Q.isoLeftDerivedObj F n).hom =
        CategoryTheory.CategoryStruct.comp (P.isoLeftDerivedObj F n).hom
          (((F.mapHomologicalComplex (ComplexShape.down ℕ)).comp
                (HomologicalComplex.homologyFunctor D (ComplexShape.down ℕ) n)).map
            φ)

theorem CategoryTheory.ProjectiveResolution.isoLeftDerivedObj_inv_naturality_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] {X Y : C} (f : X ⟶ Y) (P : CategoryTheory.ProjectiveResolution X)
  (Q : CategoryTheory.ProjectiveResolution Y) (φ : P.complex ⟶ Q.complex),
  CategoryTheory.CategoryStruct.comp (φ.f 0) (Q.π.f 0) = CategoryTheory.CategoryStruct.comp (P.π.f 0) f →
    ∀ (F : CategoryTheory.Functor C D) [inst_5 : F.Additive] (n : ℕ) {Z : D} (h : (F.leftDerived n).obj Y ⟶ Z),
      CategoryTheory.CategoryStruct.comp (P.isoLeftDerivedObj F n).inv
          (CategoryTheory.CategoryStruct.comp ((F.leftDerived n).map f) h) =
        CategoryTheory.CategoryStruct.comp
          ((HomologicalComplex.homologyFunctor D (ComplexShape.down ℕ) n).map
            ((F.mapHomologicalComplex (ComplexShape.down ℕ)).map φ))
          (CategoryTheory.CategoryStruct.comp (Q.isoLeftDerivedObj F n).inv h)

theorem CategoryTheory.ProjectiveResolution.isoLeftDerivedObj_inv_naturality E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] {X Y : C} (f : X ⟶ Y) (P : CategoryTheory.ProjectiveResolution X)
  (Q : CategoryTheory.ProjectiveResolution Y) (φ : P.complex ⟶ Q.complex),
  CategoryTheory.CategoryStruct.comp (φ.f 0) (Q.π.f 0) = CategoryTheory.CategoryStruct.comp (P.π.f 0) f →
    ∀ (F : CategoryTheory.Functor C D) [inst_5 : F.Additive] (n : ℕ),
      CategoryTheory.CategoryStruct.comp (P.isoLeftDerivedObj F n).inv ((F.leftDerived n).map f) =
        CategoryTheory.CategoryStruct.comp
          (((F.mapHomologicalComplex (ComplexShape.down ℕ)).comp
                (HomologicalComplex.homologyFunctor D (ComplexShape.down ℕ) n)).map
            φ)
          (Q.isoLeftDerivedObj F n).inv

theorem CategoryTheory.Functor.isZero_leftDerived_obj_projective_succ E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] (F : CategoryTheory.Functor C D) [inst_5 : F.Additive] (n : ℕ) (X : C)
  [CategoryTheory.Projective X], CategoryTheory.Limits.IsZero ((F.leftDerived (n + 1)).obj X)

The higher derived functors vanish on projective objects.

theorem CategoryTheory.Functor.leftDerived_map_eq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] (F : CategoryTheory.Functor C D) [inst_5 : F.Additive] (n : ℕ) {X Y : C}
  (f : X ⟶ Y) {P : CategoryTheory.ProjectiveResolution X} {Q : CategoryTheory.ProjectiveResolution Y}
  (g : P.complex ⟶ Q.complex),
  CategoryTheory.CategoryStruct.comp g Q.π = CategoryTheory.CategoryStruct.comp P.π ((ChainComplex.single₀ C).map f) →
    (F.leftDerived n).map f =
      CategoryTheory.CategoryStruct.comp (P.isoLeftDerivedObj F n).hom
        (CategoryTheory.CategoryStruct.comp
          (((F.mapHomologicalComplex (ComplexShape.down ℕ)).comp
                (HomologicalComplex.homologyFunctor D (ComplexShape.down ℕ) n)).map
            g)
          (Q.isoLeftDerivedObj F n).inv)

We can compute a left derived functor on a morphism using a descent of that morphism to a chain map between chosen projective resolutions.

def CategoryTheory.NatTrans.leftDerivedToHomotopyCategory E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {D : Type u_1} →
      [inst_1 : CategoryTheory.Category.{v_1, u_1} D] →
        [inst_2 : CategoryTheory.Abelian C] →
          [inst_3 : CategoryTheory.HasProjectiveResolutions C] →
            [inst_4 : CategoryTheory.Abelian D] →
              {F G : CategoryTheory.Functor C D} →
                [inst_5 : F.Additive] →
                  [inst_6 : G.Additive] → (F ⟶ G) → (F.leftDerivedToHomotopyCategory ⟶ G.leftDerivedToHomotopyCategory)

The natural transformation F.leftDerivedToHomotopyCategory ⟶ G.leftDerivedToHomotopyCategory induced by a natural transformation F ⟶ G between additive functors.

theorem CategoryTheory.ProjectiveResolution.leftDerivedToHomotopyCategory_app_eq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] {F G : CategoryTheory.Functor C D} [inst_5 : F.Additive] [inst_6 : G.Additive]
  (α : F ⟶ G) {X : C} (P : CategoryTheory.ProjectiveResolution X),
  (CategoryTheory.NatTrans.leftDerivedToHomotopyCategory α).app X =
    CategoryTheory.CategoryStruct.comp (P.isoLeftDerivedToHomotopyCategoryObj F).hom
      (CategoryTheory.CategoryStruct.comp
        ((HomotopyCategory.quotient D (ComplexShape.down ℕ)).map
          ((CategoryTheory.NatTrans.mapHomologicalComplex α (ComplexShape.down ℕ)).app P.complex))
        (P.isoLeftDerivedToHomotopyCategoryObj G).inv)

theorem CategoryTheory.NatTrans.leftDerivedToHomotopyCategory_id E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] (F : CategoryTheory.Functor C D) [inst_5 : F.Additive],
  CategoryTheory.NatTrans.leftDerivedToHomotopyCategory (CategoryTheory.CategoryStruct.id F) =
    CategoryTheory.CategoryStruct.id F.leftDerivedToHomotopyCategory

theorem CategoryTheory.NatTrans.leftDerivedToHomotopyCategory_comp_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] {F G H : CategoryTheory.Functor C D} (α : F ⟶ G) (β : G ⟶ H) [inst_5 : F.Additive]
  [inst_6 : G.Additive] [inst_7 : H.Additive] {Z : CategoryTheory.Functor C (HomotopyCategory D (ComplexShape.down ℕ))}
  (h : H.leftDerivedToHomotopyCategory ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.NatTrans.leftDerivedToHomotopyCategory (CategoryTheory.CategoryStruct.comp α β)) h =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.NatTrans.leftDerivedToHomotopyCategory α)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.NatTrans.leftDerivedToHomotopyCategory β) h)

theorem CategoryTheory.NatTrans.leftDerivedToHomotopyCategory_comp E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] {F G H : CategoryTheory.Functor C D} (α : F ⟶ G) (β : G ⟶ H) [inst_5 : F.Additive]
  [inst_6 : G.Additive] [inst_7 : H.Additive],
  CategoryTheory.NatTrans.leftDerivedToHomotopyCategory (CategoryTheory.CategoryStruct.comp α β) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.NatTrans.leftDerivedToHomotopyCategory α)
      (CategoryTheory.NatTrans.leftDerivedToHomotopyCategory β)

def CategoryTheory.NatTrans.leftDerived E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {D : Type u_1} →
      [inst_1 : CategoryTheory.Category.{v_1, u_1} D] →
        [inst_2 : CategoryTheory.Abelian C] →
          [inst_3 : CategoryTheory.HasProjectiveResolutions C] →
            [inst_4 : CategoryTheory.Abelian D] →
              {F G : CategoryTheory.Functor C D} →
                [inst_5 : F.Additive] → [inst_6 : G.Additive] → (F ⟶ G) → (n : ℕ) → F.leftDerived n ⟶ G.leftDerived n

The natural transformation between left-derived functors induced by a natural transformation.

theorem CategoryTheory.NatTrans.leftDerived_id E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] (F : CategoryTheory.Functor C D) [inst_5 : F.Additive] (n : ℕ),
  CategoryTheory.NatTrans.leftDerived (CategoryTheory.CategoryStruct.id F) n =
    CategoryTheory.CategoryStruct.id (F.leftDerived n)

theorem CategoryTheory.NatTrans.leftDerived_comp_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] {F G H : CategoryTheory.Functor C D} [inst_5 : F.Additive] [inst_6 : G.Additive]
  [inst_7 : H.Additive] (α : F ⟶ G) (β : G ⟶ H) (n : ℕ) {Z : CategoryTheory.Functor C D} (h : H.leftDerived n ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.NatTrans.leftDerived (CategoryTheory.CategoryStruct.comp α β) n)
      h =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.NatTrans.leftDerived α n)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.NatTrans.leftDerived β n) h)

theorem CategoryTheory.NatTrans.leftDerived_comp E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] {F G H : CategoryTheory.Functor C D} [inst_5 : F.Additive] [inst_6 : G.Additive]
  [inst_7 : H.Additive] (α : F ⟶ G) (β : G ⟶ H) (n : ℕ),
  CategoryTheory.NatTrans.leftDerived (CategoryTheory.CategoryStruct.comp α β) n =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.NatTrans.leftDerived α n)
      (CategoryTheory.NatTrans.leftDerived β n)

theorem CategoryTheory.ProjectiveResolution.leftDerived_app_eq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] {F G : CategoryTheory.Functor C D} [inst_5 : F.Additive] [inst_6 : G.Additive]
  (α : F ⟶ G) {X : C} (P : CategoryTheory.ProjectiveResolution X) (n : ℕ),
  (CategoryTheory.NatTrans.leftDerived α n).app X =
    CategoryTheory.CategoryStruct.comp (P.isoLeftDerivedObj F n).hom
      (CategoryTheory.CategoryStruct.comp
        ((HomologicalComplex.homologyFunctor D (ComplexShape.down ℕ) n).map
          ((CategoryTheory.NatTrans.mapHomologicalComplex α (ComplexShape.down ℕ)).app P.complex))
        (P.isoLeftDerivedObj G n).inv)

A component of the natural transformation between left-derived functors can be computed using a chosen projective resolution.

def CategoryTheory.ProjectiveResolution.fromLeftDerivedZero' E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {D : Type u_1} →
      [inst_1 : CategoryTheory.Category.{v_1, u_1} D] →
        [inst_2 : CategoryTheory.Abelian C] →
          [inst_3 : CategoryTheory.Abelian D] →
            {X : C} →
              (P : CategoryTheory.ProjectiveResolution X) →
                (F : CategoryTheory.Functor C D) →
                  [inst_4 : F.Additive] →
                    ((F.mapHomologicalComplex (ComplexShape.down ℕ)).obj P.complex).opcycles 0 ⟶ F.obj X

If P : ProjectiveResolution X and F is an additive functor, this is the canonical morphism from the opcycles in degree 0 of (F.mapHomologicalComplex _).obj P.complex to F.obj X.

theorem CategoryTheory.ProjectiveResolution.pOpcycles_comp_fromLeftDerivedZero'_assoc E0 #

∀ {D : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} D] [inst_1 : CategoryTheory.Abelian D] {C : Type u_2}
  [inst_2 : CategoryTheory.Category.{v_2, u_2} C] [inst_3 : CategoryTheory.Abelian C] {X : C}
  (P : CategoryTheory.ProjectiveResolution X) (F : CategoryTheory.Functor C D) [inst_4 : F.Additive] {Z : D}
  (h : F.obj X ⟶ Z),
  CategoryTheory.CategoryStruct.comp (((F.mapHomologicalComplex (ComplexShape.down ℕ)).obj P.complex).pOpcycles 0)
      (CategoryTheory.CategoryStruct.comp (P.fromLeftDerivedZero' F) h) =
    CategoryTheory.CategoryStruct.comp (F.map (P.π.f 0)) h

theorem CategoryTheory.ProjectiveResolution.pOpcycles_comp_fromLeftDerivedZero' E0 #

∀ {D : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} D] [inst_1 : CategoryTheory.Abelian D] {C : Type u_2}
  [inst_2 : CategoryTheory.Category.{v_2, u_2} C] [inst_3 : CategoryTheory.Abelian C] {X : C}
  (P : CategoryTheory.ProjectiveResolution X) (F : CategoryTheory.Functor C D) [inst_4 : F.Additive],
  CategoryTheory.CategoryStruct.comp (((F.mapHomologicalComplex (ComplexShape.down ℕ)).obj P.complex).pOpcycles 0)
      (P.fromLeftDerivedZero' F) =
    F.map (P.π.f 0)

theorem CategoryTheory.ProjectiveResolution.fromLeftDerivedZero'_naturality E1 #

∀ {D : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} D] [inst_1 : CategoryTheory.Abelian D] {C : Type u_2}
  [inst_2 : CategoryTheory.Category.{v_2, u_2} C] [inst_3 : CategoryTheory.Abelian C] {X Y : C} (f : X ⟶ Y)
  (P : CategoryTheory.ProjectiveResolution X) (Q : CategoryTheory.ProjectiveResolution Y) (φ : P.complex ⟶ Q.complex),
  CategoryTheory.CategoryStruct.comp (φ.f 0) (Q.π.f 0) = CategoryTheory.CategoryStruct.comp (P.π.f 0) f →
    ∀ (F : CategoryTheory.Functor C D) [inst_4 : F.Additive],
      CategoryTheory.CategoryStruct.comp
          (HomologicalComplex.opcyclesMap ((F.mapHomologicalComplex (ComplexShape.down ℕ)).map φ) 0)
          (Q.fromLeftDerivedZero' F) =
        CategoryTheory.CategoryStruct.comp (P.fromLeftDerivedZero' F) (F.map f)

theorem CategoryTheory.ProjectiveResolution.fromLeftDerivedZero'_naturality_assoc E1 #

∀ {D : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} D] [inst_1 : CategoryTheory.Abelian D] {C : Type u_2}
  [inst_2 : CategoryTheory.Category.{v_2, u_2} C] [inst_3 : CategoryTheory.Abelian C] {X Y : C} (f : X ⟶ Y)
  (P : CategoryTheory.ProjectiveResolution X) (Q : CategoryTheory.ProjectiveResolution Y) (φ : P.complex ⟶ Q.complex),
  CategoryTheory.CategoryStruct.comp (φ.f 0) (Q.π.f 0) = CategoryTheory.CategoryStruct.comp (P.π.f 0) f →
    ∀ (F : CategoryTheory.Functor C D) [inst_4 : F.Additive] {Z : D} (h : F.obj Y ⟶ Z),
      CategoryTheory.CategoryStruct.comp
          (HomologicalComplex.opcyclesMap ((F.mapHomologicalComplex (ComplexShape.down ℕ)).map φ) 0)
          (CategoryTheory.CategoryStruct.comp (Q.fromLeftDerivedZero' F) h) =
        CategoryTheory.CategoryStruct.comp (P.fromLeftDerivedZero' F) (CategoryTheory.CategoryStruct.comp (F.map f) h)

instance CategoryTheory.ProjectiveResolution.instIsIsoFromLeftDerivedZero'Self E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.Abelian D] (F : CategoryTheory.Functor C D)
  [inst_4 : F.Additive] (X : C) [inst_5 : CategoryTheory.Projective X],
  CategoryTheory.IsIso ((CategoryTheory.ProjectiveResolution.self X).fromLeftDerivedZero' F)

def CategoryTheory.Functor.fromLeftDerivedZero E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {D : Type u_1} →
      [inst_1 : CategoryTheory.Category.{v_1, u_1} D] →
        [inst_2 : CategoryTheory.Abelian C] →
          [inst_3 : CategoryTheory.HasProjectiveResolutions C] →
            [inst_4 : CategoryTheory.Abelian D] →
              (F : CategoryTheory.Functor C D) → [inst_5 : F.Additive] → F.leftDerived 0 ⟶ F

The natural transformation F.leftDerived 0 ⟶ F.

theorem CategoryTheory.ProjectiveResolution.fromLeftDerivedZero_eq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] {X : C} (P : CategoryTheory.ProjectiveResolution X)
  (F : CategoryTheory.Functor C D) [inst_5 : F.Additive],
  F.fromLeftDerivedZero.app X =
    CategoryTheory.CategoryStruct.comp (P.isoLeftDerivedObj F 0).hom
      (CategoryTheory.CategoryStruct.comp
        (ChainComplex.isoHomologyι₀ ((F.mapHomologicalComplex (ComplexShape.down ℕ)).obj P.complex)).hom
        (P.fromLeftDerivedZero' F))

instance CategoryTheory.instIsIsoAppFromLeftDerivedZeroOfProjective E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] (F : CategoryTheory.Functor C D) [inst_5 : F.Additive] (X : C)
  [CategoryTheory.Projective X], CategoryTheory.IsIso (F.fromLeftDerivedZero.app X)

instance CategoryTheory.instIsIsoFromLeftDerivedZero' E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.Abelian D] (F : CategoryTheory.Functor C D)
  [inst_4 : F.Additive] [CategoryTheory.Limits.PreservesFiniteColimits F] {X : C}
  (P : CategoryTheory.ProjectiveResolution X), CategoryTheory.IsIso (P.fromLeftDerivedZero' F)

instance CategoryTheory.instIsIsoAppFromLeftDerivedZero E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] (F : CategoryTheory.Functor C D) [inst_5 : F.Additive]
  [CategoryTheory.Limits.PreservesFiniteColimits F] (X : C), CategoryTheory.IsIso (F.fromLeftDerivedZero.app X)

instance CategoryTheory.instIsIsoFunctorFromLeftDerivedZero E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] (F : CategoryTheory.Functor C D) [inst_5 : F.Additive]
  [CategoryTheory.Limits.PreservesFiniteColimits F], CategoryTheory.IsIso F.fromLeftDerivedZero

def CategoryTheory.Functor.leftDerivedZeroIsoSelf E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {D : Type u_1} →
      [inst_1 : CategoryTheory.Category.{v_1, u_1} D] →
        [inst_2 : CategoryTheory.Abelian C] →
          [inst_3 : CategoryTheory.HasProjectiveResolutions C] →
            [inst_4 : CategoryTheory.Abelian D] →
              (F : CategoryTheory.Functor C D) →
                [inst_5 : F.Additive] → [CategoryTheory.Limits.PreservesFiniteColimits F] → F.leftDerived 0 ≅ F

The canonical isomorphism F.leftDerived 0 ≅ F when F is right exact (i.e. preserves finite colimits).

theorem CategoryTheory.Functor.leftDerivedZeroIsoSelf_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] (F : CategoryTheory.Functor C D) [inst_5 : F.Additive]
  [inst_6 : CategoryTheory.Limits.PreservesFiniteColimits F], F.leftDerivedZeroIsoSelf.hom = F.fromLeftDerivedZero

theorem CategoryTheory.Functor.leftDerivedZeroIsoSelf_hom_inv_id E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] (F : CategoryTheory.Functor C D) [inst_5 : F.Additive]
  [inst_6 : CategoryTheory.Limits.PreservesFiniteColimits F],
  CategoryTheory.CategoryStruct.comp F.fromLeftDerivedZero F.leftDerivedZeroIsoSelf.inv =
    CategoryTheory.CategoryStruct.id (F.leftDerived 0)

theorem CategoryTheory.Functor.leftDerivedZeroIsoSelf_hom_inv_id_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] (F : CategoryTheory.Functor C D) [inst_5 : F.Additive]
  [inst_6 : CategoryTheory.Limits.PreservesFiniteColimits F] {Z : CategoryTheory.Functor C D} (h : F.leftDerived 0 ⟶ Z),
  CategoryTheory.CategoryStruct.comp F.fromLeftDerivedZero
      (CategoryTheory.CategoryStruct.comp F.leftDerivedZeroIsoSelf.inv h) =
    h

theorem CategoryTheory.Functor.leftDerivedZeroIsoSelf_inv_hom_id E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] (F : CategoryTheory.Functor C D) [inst_5 : F.Additive]
  [inst_6 : CategoryTheory.Limits.PreservesFiniteColimits F],
  CategoryTheory.CategoryStruct.comp F.leftDerivedZeroIsoSelf.inv F.fromLeftDerivedZero =
    CategoryTheory.CategoryStruct.id F

theorem CategoryTheory.Functor.leftDerivedZeroIsoSelf_inv_hom_id_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] (F : CategoryTheory.Functor C D) [inst_5 : F.Additive]
  [inst_6 : CategoryTheory.Limits.PreservesFiniteColimits F] {Z : CategoryTheory.Functor C D} (h : F ⟶ Z),
  CategoryTheory.CategoryStruct.comp F.leftDerivedZeroIsoSelf.inv
      (CategoryTheory.CategoryStruct.comp F.fromLeftDerivedZero h) =
    h

theorem CategoryTheory.Functor.leftDerivedZeroIsoSelf_hom_inv_id_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] (F : CategoryTheory.Functor C D) [inst_5 : F.Additive]
  [inst_6 : CategoryTheory.Limits.PreservesFiniteColimits F] (X : C),
  CategoryTheory.CategoryStruct.comp (F.fromLeftDerivedZero.app X) (F.leftDerivedZeroIsoSelf.inv.app X) =
    CategoryTheory.CategoryStruct.id ((F.leftDerived 0).obj X)

theorem CategoryTheory.Functor.leftDerivedZeroIsoSelf_hom_inv_id_app_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] (F : CategoryTheory.Functor C D) [inst_5 : F.Additive]
  [inst_6 : CategoryTheory.Limits.PreservesFiniteColimits F] (X : C) {Z : D} (h : (F.leftDerived 0).obj X ⟶ Z),
  CategoryTheory.CategoryStruct.comp (F.fromLeftDerivedZero.app X)
      (CategoryTheory.CategoryStruct.comp (F.leftDerivedZeroIsoSelf.inv.app X) h) =
    h

theorem CategoryTheory.Functor.leftDerivedZeroIsoSelf_inv_hom_id_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] (F : CategoryTheory.Functor C D) [inst_5 : F.Additive]
  [inst_6 : CategoryTheory.Limits.PreservesFiniteColimits F] (X : C),
  CategoryTheory.CategoryStruct.comp (F.leftDerivedZeroIsoSelf.inv.app X) (F.fromLeftDerivedZero.app X) =
    CategoryTheory.CategoryStruct.id (F.obj X)

theorem CategoryTheory.Functor.leftDerivedZeroIsoSelf_inv_hom_id_app_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  [inst_2 : CategoryTheory.Abelian C] [inst_3 : CategoryTheory.HasProjectiveResolutions C]
  [inst_4 : CategoryTheory.Abelian D] (F : CategoryTheory.Functor C D) [inst_5 : F.Additive]
  [inst_6 : CategoryTheory.Limits.PreservesFiniteColimits F] (X : C) {Z : D} (h : F.obj X ⟶ Z),
  CategoryTheory.CategoryStruct.comp (F.leftDerivedZeroIsoSelf.inv.app X)
      (CategoryTheory.CategoryStruct.comp (F.fromLeftDerivedZero.app X) h) =
    h