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.Projective.Resolution

51 declarations. Mathlib docs · Source

Abelian categories with enough projectives have projective resolutions

Main results

When the underlying category is abelian:

  • CategoryTheory.ProjectiveResolution.lift: Given P : ProjectiveResolution X and Q : ProjectiveResolution Y, any morphism X ⟶ Y admits a lifting to a chain map P.complex ⟶ Q.complex. It is a lifting in the sense that P.ι intertwines the lift and the original morphism, see CategoryTheory.ProjectiveResolution.lift_commutes.

  • CategoryTheory.ProjectiveResolution.liftHomotopy: Any two such lifts are homotopic.

  • CategoryTheory.ProjectiveResolution.homotopyEquiv: Any two projective resolutions of the same object are homotopy equivalent.

  • CategoryTheory.projectiveResolutions: If every object admits a projective resolution, we can construct a functor projectiveResolutions C : C ⥤ HomotopyCategory C (ComplexShape.down ℕ).

  • CategoryTheory.exact_d_f: Projective.d f and f are exact.

  • CategoryTheory.ProjectiveResolution.of: Hence, starting from an epimorphism P ⟶ X, where P is projective, we can apply Projective.d repeatedly to obtain a projective resolution of X.

Our goal is to define ProjectiveResolution.of Z : ProjectiveResolution Z. The 0-th object in this resolution will just be Projective.over Z, i.e. an arbitrarily chosen projective object with a map to Z. After that, we build the n+1-st object as Projective.syzygies applied to the previously constructed morphism, and the map from the n-th object as Projective.d.

theorem CategoryTheory.ProjectiveResolution.lift.match_1.congr_eq_1 E1 #

∀ {C : Type u_2} [inst : CategoryTheory.Category.{u_1, u_2} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C}
  (P : CategoryTheory.ProjectiveResolution Y) (Q : CategoryTheory.ProjectiveResolution Z) (n : ℕ)
  (motive :
    (f : P.complex.X n ⟶ Q.complex.X n) ×'
        (f' : P.complex.X (n + 1) ⟶ Q.complex.X (n + 1)) ×'
          CategoryTheory.CategoryStruct.comp f' (Q.complex.d (n + 1) n) =
            CategoryTheory.CategoryStruct.comp (P.complex.d (n + 1) n) f →
      Sort u_3)
  (x :
    (f : P.complex.X n ⟶ Q.complex.X n) ×'
      (f' : P.complex.X (n + 1) ⟶ Q.complex.X (n + 1)) ×'
        CategoryTheory.CategoryStruct.comp f' (Q.complex.d (n + 1) n) =
          CategoryTheory.CategoryStruct.comp (P.complex.d (n + 1) n) f)
  (h_1 :
    (g : P.complex.X n ⟶ Q.complex.X n) →
      (g' : P.complex.X (n + 1) ⟶ Q.complex.X (n + 1)) →
        (w :
            CategoryTheory.CategoryStruct.comp g' (Q.complex.d (n + 1) n) =
              CategoryTheory.CategoryStruct.comp (P.complex.d (n + 1) n) g) →
          motive ⟨g, ⟨g', w⟩⟩)
  (g : P.complex.X n ⟶ Q.complex.X n) (g' : P.complex.X (n + 1) ⟶ Q.complex.X (n + 1))
  (w :
    CategoryTheory.CategoryStruct.comp g' (Q.complex.d (n + 1) n) =
      CategoryTheory.CategoryStruct.comp (P.complex.d (n + 1) n) g),
  x = ⟨g, ⟨g', w⟩⟩ →
    (match x with
      | ⟨g, ⟨g', w⟩⟩ => h_1 g g' w) ≍
      h_1 g g' w

theorem CategoryTheory.ProjectiveResolution.liftHomotopyZeroZero.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C}
  {P : CategoryTheory.ProjectiveResolution Y} {Q : CategoryTheory.ProjectiveResolution Z}
  (f f_1 : P.complex ⟶ Q.complex) (e_f : f = f_1) (comm : CategoryTheory.CategoryStruct.comp f Q.π = 0),
  CategoryTheory.ProjectiveResolution.liftHomotopyZeroZero f comm =
    CategoryTheory.ProjectiveResolution.liftHomotopyZeroZero f_1 ⋯

theorem CategoryTheory.HasProjectiveResolutions.congr_simp E1 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasZeroObject C]
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C],
  CategoryTheory.HasProjectiveResolutions C = CategoryTheory.HasProjectiveResolutions C

theorem CategoryTheory.ProjectiveResolution.liftHomotopyZeroOne.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C}
  {P : CategoryTheory.ProjectiveResolution Y} {Q : CategoryTheory.ProjectiveResolution Z}
  (f f_1 : P.complex ⟶ Q.complex) (e_f : f = f_1) (comm : CategoryTheory.CategoryStruct.comp f Q.π = 0),
  CategoryTheory.ProjectiveResolution.liftHomotopyZeroOne f comm =
    CategoryTheory.ProjectiveResolution.liftHomotopyZeroOne f_1 ⋯

theorem CategoryTheory.ProjectiveResolution.liftHomotopyZeroSucc.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C}
  {P : CategoryTheory.ProjectiveResolution Y} {Q : CategoryTheory.ProjectiveResolution Z}
  (f f_1 : P.complex ⟶ Q.complex) (e_f : f = f_1) (n : ℕ) (g g_1 : P.complex.X n ⟶ Q.complex.X (n + 1)) (e_g : g = g_1)
  (g' g'_1 : P.complex.X (n + 1) ⟶ Q.complex.X (n + 2)) (e_g' : g' = g'_1)
  (w :
    f.f (n + 1) =
      CategoryTheory.CategoryStruct.comp (P.complex.d (n + 1) n) g +
        CategoryTheory.CategoryStruct.comp g' (Q.complex.d (n + 2) (n + 1))),
  CategoryTheory.ProjectiveResolution.liftHomotopyZeroSucc f n g g' w =
    CategoryTheory.ProjectiveResolution.liftHomotopyZeroSucc f_1 n g_1 g'_1 ⋯

theorem ChainComplex.mkHom.congr_simp E1 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (P Q : ChainComplex V ℕ) (zero zero_1 : P.X 0 ⟶ Q.X 0) (e_zero : zero = zero_1) (one one_1 : P.X 1 ⟶ Q.X 1)
  (e_one : one = one_1)
  (one_zero_comm : CategoryTheory.CategoryStruct.comp one (Q.d 1 0) = CategoryTheory.CategoryStruct.comp (P.d 1 0) zero)
  (succ succ_1 :
    (n : ℕ) →
      (p :
          (f : P.X n ⟶ Q.X n) ×'
            (f' : P.X (n + 1) ⟶ Q.X (n + 1)) ×'
              CategoryTheory.CategoryStruct.comp f' (Q.d (n + 1) n) =
                CategoryTheory.CategoryStruct.comp (P.d (n + 1) n) f) →
        (f'' : P.X (n + 2) ⟶ Q.X (n + 2)) ×'
          CategoryTheory.CategoryStruct.comp f'' (Q.d (n + 2) (n + 1)) =
            CategoryTheory.CategoryStruct.comp (P.d (n + 2) (n + 1)) p.snd.fst),
  succ = succ_1 → P.mkHom Q zero one one_zero_comm succ = P.mkHom Q zero_1 one_1 ⋯ succ_1

theorem CategoryTheory.ProjectiveResolution.liftFSucc.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C}
  (P : CategoryTheory.ProjectiveResolution Y) (Q : CategoryTheory.ProjectiveResolution Z) (n : ℕ)
  (g g_1 : P.complex.X n ⟶ Q.complex.X n) (e_g : g = g_1) (g' : P.complex.X (n + 1) ⟶ Q.complex.X (n + 1))
  (w :
    CategoryTheory.CategoryStruct.comp g' (Q.complex.d (n + 1) n) =
      CategoryTheory.CategoryStruct.comp (P.complex.d (n + 1) n) g),
  P.liftFSucc Q n g g' w = P.liftFSucc Q n g_1 g' ⋯

theorem ChainComplex.of.congr_simp E1 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  {α : Type u_2} [inst_2 : AddRightCancelSemigroup α] [inst_3 : One α] [inst_4 : DecidableEq α] (X : α → V)
  (d d_1 : (n : α) → X (n + 1) ⟶ X n) (e_d : d = d_1)
  (sq : ∀ (n : α), CategoryTheory.CategoryStruct.comp (d (n + 1)) (d n) = 0),
  ChainComplex.of X d sq = ChainComplex.of X d_1 ⋯

def CategoryTheory.ProjectiveResolution.liftFZero E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroObject C] →
      [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] →
        {Y Z : C} →
          (Y ⟶ Z) →
            (P : CategoryTheory.ProjectiveResolution Y) →
              (Q : CategoryTheory.ProjectiveResolution Z) → P.complex.X 0 ⟶ Q.complex.X 0

Auxiliary construction for lift.

theorem CategoryTheory.ProjectiveResolution.exact₀ E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Z : C}
  (P : CategoryTheory.ProjectiveResolution Z),
  { X₁ := P.complex.X 1, X₂ := P.complex.X 0, X₃ := ((ChainComplex.single₀ C).obj Z).X 0, f := P.complex.d 1 0,
      g := P.π.f 0, zero := ⋯ }.Exact

def CategoryTheory.ProjectiveResolution.liftFOne E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {Y Z : C} →
        (Y ⟶ Z) →
          (P : CategoryTheory.ProjectiveResolution Y) →
            (Q : CategoryTheory.ProjectiveResolution Z) → P.complex.X 1 ⟶ Q.complex.X 1

Auxiliary construction for lift.

theorem CategoryTheory.ProjectiveResolution.liftFOne_zero_comm E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C} (f : Y ⟶ Z)
  (P : CategoryTheory.ProjectiveResolution Y) (Q : CategoryTheory.ProjectiveResolution Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.ProjectiveResolution.liftFOne f P Q) (Q.complex.d 1 0) =
    CategoryTheory.CategoryStruct.comp (P.complex.d 1 0) (CategoryTheory.ProjectiveResolution.liftFZero f P Q)

def CategoryTheory.ProjectiveResolution.liftFSucc E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {Y Z : C} →
        (P : CategoryTheory.ProjectiveResolution Y) →
          (Q : CategoryTheory.ProjectiveResolution Z) →
            (n : ℕ) →
              (g : P.complex.X n ⟶ Q.complex.X n) →
                (g' : P.complex.X (n + 1) ⟶ Q.complex.X (n + 1)) →
                  CategoryTheory.CategoryStruct.comp g' (Q.complex.d (n + 1) n) =
                      CategoryTheory.CategoryStruct.comp (P.complex.d (n + 1) n) g →
                    (g'' : P.complex.X (n + 2) ⟶ Q.complex.X (n + 2)) ×'
                      CategoryTheory.CategoryStruct.comp g'' (Q.complex.d (n + 2) (n + 1)) =
                        CategoryTheory.CategoryStruct.comp (P.complex.d (n + 2) (n + 1)) g'

Auxiliary construction for lift.

def CategoryTheory.ProjectiveResolution.lift E3 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {Y Z : C} →
        (Y ⟶ Z) →
          (P : CategoryTheory.ProjectiveResolution Y) →
            (Q : CategoryTheory.ProjectiveResolution Z) → P.complex ⟶ Q.complex

A morphism in C lifts to a chain map between projective resolutions.

theorem CategoryTheory.ProjectiveResolution.lift_commutes E3 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C} (f : Y ⟶ Z)
  (P : CategoryTheory.ProjectiveResolution Y) (Q : CategoryTheory.ProjectiveResolution Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.ProjectiveResolution.lift f P Q) Q.π =
    CategoryTheory.CategoryStruct.comp P.π ((ChainComplex.single₀ C).map f)

The resolution maps intertwine the lift of a morphism and that morphism.

theorem CategoryTheory.ProjectiveResolution.lift_commutes_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C} (f : Y ⟶ Z)
  (P : CategoryTheory.ProjectiveResolution Y) (Q : CategoryTheory.ProjectiveResolution Z) {Z_1 : ChainComplex C ℕ}
  (h : (ChainComplex.single₀ C).obj Z ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.ProjectiveResolution.lift f P Q)
      (CategoryTheory.CategoryStruct.comp Q.π h) =
    CategoryTheory.CategoryStruct.comp P.π (CategoryTheory.CategoryStruct.comp ((ChainComplex.single₀ C).map f) h)

The resolution maps intertwine the lift of a morphism and that morphism.

theorem CategoryTheory.ProjectiveResolution.lift_commutes_zero_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C} (f : Y ⟶ Z)
  (P : CategoryTheory.ProjectiveResolution Y) (Q : CategoryTheory.ProjectiveResolution Z) {Z_1 : C}
  (h : ((ChainComplex.single₀ C).obj Z).X 0 ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.ProjectiveResolution.lift f P Q).f 0)
      (CategoryTheory.CategoryStruct.comp (Q.π.f 0) h) =
    CategoryTheory.CategoryStruct.comp (P.π.f 0) (CategoryTheory.CategoryStruct.comp f h)

theorem CategoryTheory.ProjectiveResolution.lift_commutes_zero E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C} (f : Y ⟶ Z)
  (P : CategoryTheory.ProjectiveResolution Y) (Q : CategoryTheory.ProjectiveResolution Z),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.ProjectiveResolution.lift f P Q).f 0) (Q.π.f 0) =
    CategoryTheory.CategoryStruct.comp (P.π.f 0) f

def CategoryTheory.ProjectiveResolution.liftHomotopyZeroZero E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {Y Z : C} →
        {P : CategoryTheory.ProjectiveResolution Y} →
          {Q : CategoryTheory.ProjectiveResolution Z} →
            (f : P.complex ⟶ Q.complex) → CategoryTheory.CategoryStruct.comp f Q.π = 0 → (P.complex.X 0 ⟶ Q.complex.X 1)

An auxiliary definition for liftHomotopyZero.

theorem CategoryTheory.ProjectiveResolution.liftHomotopyZeroZero_comp E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C}
  {P : CategoryTheory.ProjectiveResolution Y} {Q : CategoryTheory.ProjectiveResolution Z} (f : P.complex ⟶ Q.complex)
  (comm : CategoryTheory.CategoryStruct.comp f Q.π = 0),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.ProjectiveResolution.liftHomotopyZeroZero f comm)
      (Q.complex.d 1 0) =
    f.f 0

theorem CategoryTheory.ProjectiveResolution.liftHomotopyZeroZero_comp_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C}
  {P : CategoryTheory.ProjectiveResolution Y} {Q : CategoryTheory.ProjectiveResolution Z} (f : P.complex ⟶ Q.complex)
  (comm : CategoryTheory.CategoryStruct.comp f Q.π = 0) {Z_1 : C} (h : Q.complex.X 0 ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.ProjectiveResolution.liftHomotopyZeroZero f comm)
      (CategoryTheory.CategoryStruct.comp (Q.complex.d 1 0) h) =
    CategoryTheory.CategoryStruct.comp (f.f 0) h

def CategoryTheory.ProjectiveResolution.liftHomotopyZeroOne E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {Y Z : C} →
        {P : CategoryTheory.ProjectiveResolution Y} →
          {Q : CategoryTheory.ProjectiveResolution Z} →
            (f : P.complex ⟶ Q.complex) → CategoryTheory.CategoryStruct.comp f Q.π = 0 → (P.complex.X 1 ⟶ Q.complex.X 2)

An auxiliary definition for liftHomotopyZero.

theorem CategoryTheory.ProjectiveResolution.liftHomotopyZeroOne_comp_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C}
  {P : CategoryTheory.ProjectiveResolution Y} {Q : CategoryTheory.ProjectiveResolution Z} (f : P.complex ⟶ Q.complex)
  (comm : CategoryTheory.CategoryStruct.comp f Q.π = 0) {Z_1 : C} (h : Q.complex.X 1 ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.ProjectiveResolution.liftHomotopyZeroOne f comm)
      (CategoryTheory.CategoryStruct.comp (Q.complex.d 2 1) h) =
    CategoryTheory.CategoryStruct.comp
      (f.f 1 -
        CategoryTheory.CategoryStruct.comp (P.complex.d 1 0)
          (CategoryTheory.ProjectiveResolution.liftHomotopyZeroZero f comm))
      h

theorem CategoryTheory.ProjectiveResolution.liftHomotopyZeroOne_comp E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C}
  {P : CategoryTheory.ProjectiveResolution Y} {Q : CategoryTheory.ProjectiveResolution Z} (f : P.complex ⟶ Q.complex)
  (comm : CategoryTheory.CategoryStruct.comp f Q.π = 0),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.ProjectiveResolution.liftHomotopyZeroOne f comm)
      (Q.complex.d 2 1) =
    f.f 1 -
      CategoryTheory.CategoryStruct.comp (P.complex.d 1 0)
        (CategoryTheory.ProjectiveResolution.liftHomotopyZeroZero f comm)

def CategoryTheory.ProjectiveResolution.liftHomotopyZeroSucc E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {Y Z : C} →
        {P : CategoryTheory.ProjectiveResolution Y} →
          {Q : CategoryTheory.ProjectiveResolution Z} →
            (f : P.complex ⟶ Q.complex) →
              (n : ℕ) →
                (g : P.complex.X n ⟶ Q.complex.X (n + 1)) →
                  (g' : P.complex.X (n + 1) ⟶ Q.complex.X (n + 2)) →
                    f.f (n + 1) =
                        CategoryTheory.CategoryStruct.comp (P.complex.d (n + 1) n) g +
                          CategoryTheory.CategoryStruct.comp g' (Q.complex.d (n + 2) (n + 1)) →
                      (P.complex.X (n + 2) ⟶ Q.complex.X (n + 3))

An auxiliary definition for liftHomotopyZero.

theorem CategoryTheory.ProjectiveResolution.liftHomotopyZeroSucc_comp E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C}
  {P : CategoryTheory.ProjectiveResolution Y} {Q : CategoryTheory.ProjectiveResolution Z} (f : P.complex ⟶ Q.complex)
  (n : ℕ) (g : P.complex.X n ⟶ Q.complex.X (n + 1)) (g' : P.complex.X (n + 1) ⟶ Q.complex.X (n + 2))
  (w :
    f.f (n + 1) =
      CategoryTheory.CategoryStruct.comp (P.complex.d (n + 1) n) g +
        CategoryTheory.CategoryStruct.comp g' (Q.complex.d (n + 2) (n + 1))),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.ProjectiveResolution.liftHomotopyZeroSucc f n g g' w)
      (Q.complex.d (n + 3) (n + 2)) =
    f.f (n + 2) - CategoryTheory.CategoryStruct.comp (P.complex.d (n + 2) (n + 1)) g'

theorem CategoryTheory.ProjectiveResolution.liftHomotopyZeroSucc_comp_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C}
  {P : CategoryTheory.ProjectiveResolution Y} {Q : CategoryTheory.ProjectiveResolution Z} (f : P.complex ⟶ Q.complex)
  (n : ℕ) (g : P.complex.X n ⟶ Q.complex.X (n + 1)) (g' : P.complex.X (n + 1) ⟶ Q.complex.X (n + 2))
  (w :
    f.f (n + 1) =
      CategoryTheory.CategoryStruct.comp (P.complex.d (n + 1) n) g +
        CategoryTheory.CategoryStruct.comp g' (Q.complex.d (n + 2) (n + 1)))
  {Z_1 : C} (h : Q.complex.X (n + 2) ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.ProjectiveResolution.liftHomotopyZeroSucc f n g g' w)
      (CategoryTheory.CategoryStruct.comp (Q.complex.d (n + 3) (n + 2)) h) =
    CategoryTheory.CategoryStruct.comp
      (f.f (n + 2) - CategoryTheory.CategoryStruct.comp (P.complex.d (n + 2) (n + 1)) g') h

def CategoryTheory.ProjectiveResolution.liftHomotopyZero E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {Y Z : C} →
        {P : CategoryTheory.ProjectiveResolution Y} →
          {Q : CategoryTheory.ProjectiveResolution Z} →
            (f : P.complex ⟶ Q.complex) → CategoryTheory.CategoryStruct.comp f Q.π = 0 → Homotopy f 0

Any lift of the zero morphism is homotopic to zero.

def CategoryTheory.ProjectiveResolution.liftHomotopy E3 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {Y Z : C} →
        (f : Y ⟶ Z) →
          {P : CategoryTheory.ProjectiveResolution Y} →
            {Q : CategoryTheory.ProjectiveResolution Z} →
              (g h : P.complex ⟶ Q.complex) →
                CategoryTheory.CategoryStruct.comp g Q.π =
                    CategoryTheory.CategoryStruct.comp P.π ((ChainComplex.single₀ C).map f) →
                  CategoryTheory.CategoryStruct.comp h Q.π =
                      CategoryTheory.CategoryStruct.comp P.π ((ChainComplex.single₀ C).map f) →
                    Homotopy g h

Two lifts of the same morphism are homotopic.

def CategoryTheory.ProjectiveResolution.liftIdHomotopy E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      (X : C) →
        (P : CategoryTheory.ProjectiveResolution X) →
          Homotopy (CategoryTheory.ProjectiveResolution.lift (CategoryTheory.CategoryStruct.id X) P P)
            (CategoryTheory.CategoryStruct.id P.complex)

The lift of the identity morphism is homotopic to the identity chain map.

def CategoryTheory.ProjectiveResolution.liftCompHomotopy E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {X Y Z : C} →
        (f : X ⟶ Y) →
          (g : Y ⟶ Z) →
            (P : CategoryTheory.ProjectiveResolution X) →
              (Q : CategoryTheory.ProjectiveResolution Y) →
                (R : CategoryTheory.ProjectiveResolution Z) →
                  Homotopy (CategoryTheory.ProjectiveResolution.lift (CategoryTheory.CategoryStruct.comp f g) P R)
                    (CategoryTheory.CategoryStruct.comp (CategoryTheory.ProjectiveResolution.lift f P Q)
                      (CategoryTheory.ProjectiveResolution.lift g Q R))

The lift of a composition is homotopic to the composition of the lifts.

def CategoryTheory.ProjectiveResolution.homotopyEquiv E3 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {X : C} → (P Q : CategoryTheory.ProjectiveResolution X) → HomotopyEquiv P.complex Q.complex

Any two projective resolutions are homotopy equivalent.

theorem CategoryTheory.ProjectiveResolution.homotopyEquiv_hom_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X : C}
  (P Q : CategoryTheory.ProjectiveResolution X), CategoryTheory.CategoryStruct.comp (P.homotopyEquiv Q).hom Q.π = P.π

theorem CategoryTheory.ProjectiveResolution.homotopyEquiv_hom_π_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X : C}
  (P Q : CategoryTheory.ProjectiveResolution X) {Z : HomologicalComplex C (ComplexShape.down ℕ)}
  (h : (ChainComplex.single₀ C).obj X ⟶ Z),
  CategoryTheory.CategoryStruct.comp (P.homotopyEquiv Q).hom (CategoryTheory.CategoryStruct.comp Q.π h) =
    CategoryTheory.CategoryStruct.comp P.π h

theorem CategoryTheory.ProjectiveResolution.homotopyEquiv_inv_π_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X : C}
  (P Q : CategoryTheory.ProjectiveResolution X) {Z : HomologicalComplex C (ComplexShape.down ℕ)}
  (h : (ChainComplex.single₀ C).obj X ⟶ Z),
  CategoryTheory.CategoryStruct.comp (P.homotopyEquiv Q).inv (CategoryTheory.CategoryStruct.comp P.π h) =
    CategoryTheory.CategoryStruct.comp Q.π h

theorem CategoryTheory.ProjectiveResolution.homotopyEquiv_inv_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X : C}
  (P Q : CategoryTheory.ProjectiveResolution X), CategoryTheory.CategoryStruct.comp (P.homotopyEquiv Q).inv P.π = Q.π

abbrev CategoryTheory.projectiveResolution E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (Z : C) →
      [inst_1 : CategoryTheory.Limits.HasZeroObject C] →
        [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] →
          [CategoryTheory.HasProjectiveResolution Z] → CategoryTheory.ProjectiveResolution Z

An arbitrarily chosen projective resolution of an object.

def CategoryTheory.projectiveResolutions E3 #

(C : Type u) →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [CategoryTheory.HasProjectiveResolutions C] → CategoryTheory.Functor C (HomotopyCategory C (ComplexShape.down ℕ))

Taking projective resolutions is functorial, if considered with target the homotopy category (ℕ-indexed chain complexes and chain maps up to homotopy).

def CategoryTheory.ProjectiveResolution.iso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [inst_2 : CategoryTheory.HasProjectiveResolutions C] →
        {X : C} →
          (P : CategoryTheory.ProjectiveResolution X) →
            (CategoryTheory.projectiveResolutions C).obj X ≅
              (HomotopyCategory.quotient C (ComplexShape.down ℕ)).obj P.complex

If P : ProjectiveResolution X, then the chosen (projectiveResolutions C).obj X is isomorphic (in the homotopy category) to P.complex.

theorem CategoryTheory.ProjectiveResolution.iso_inv_naturality E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasProjectiveResolutions 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 →
    CategoryTheory.CategoryStruct.comp P.iso.inv ((CategoryTheory.projectiveResolutions C).map f) =
      CategoryTheory.CategoryStruct.comp ((HomotopyCategory.quotient C (ComplexShape.down ℕ)).map φ) Q.iso.inv

theorem CategoryTheory.ProjectiveResolution.iso_inv_naturality_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasProjectiveResolutions 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 →
    ∀ {Z : HomotopyCategory C (ComplexShape.down ℕ)} (h : (CategoryTheory.projectiveResolutions C).obj Y ⟶ Z),
      CategoryTheory.CategoryStruct.comp P.iso.inv
          (CategoryTheory.CategoryStruct.comp ((CategoryTheory.projectiveResolutions C).map f) h) =
        CategoryTheory.CategoryStruct.comp ((HomotopyCategory.quotient C (ComplexShape.down ℕ)).map φ)
          (CategoryTheory.CategoryStruct.comp Q.iso.inv h)

theorem CategoryTheory.ProjectiveResolution.iso_hom_naturality_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasProjectiveResolutions 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 →
    ∀ {Z : HomotopyCategory C (ComplexShape.down ℕ)}
      (h : (HomotopyCategory.quotient C (ComplexShape.down ℕ)).obj Q.complex ⟶ Z),
      CategoryTheory.CategoryStruct.comp ((CategoryTheory.projectiveResolutions C).map f)
          (CategoryTheory.CategoryStruct.comp Q.iso.hom h) =
        CategoryTheory.CategoryStruct.comp P.iso.hom
          (CategoryTheory.CategoryStruct.comp ((HomotopyCategory.quotient C (ComplexShape.down ℕ)).map φ) h)

theorem CategoryTheory.ProjectiveResolution.iso_hom_naturality E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasProjectiveResolutions 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 →
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.projectiveResolutions C).map f) Q.iso.hom =
      CategoryTheory.CategoryStruct.comp P.iso.hom ((HomotopyCategory.quotient C (ComplexShape.down ℕ)).map φ)

theorem CategoryTheory.exact_d_f E3 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.EnoughProjectives C] {X Y : C} (f : X ⟶ Y),
  { X₁ := CategoryTheory.Projective.syzygies f, X₂ := X, X₃ := Y, f := CategoryTheory.Projective.d f, g := f,
      zero := ⋯ }.Exact

def CategoryTheory.ProjectiveResolution.ofComplex E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] → [CategoryTheory.EnoughProjectives C] → C → ChainComplex C ℕ

Auxiliary definition for ProjectiveResolution.of.

theorem CategoryTheory.ProjectiveResolution.ofComplex_d_1_0 E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.EnoughProjectives C] (Z : C),
  (CategoryTheory.ProjectiveResolution.ofComplex Z).d 1 0 = CategoryTheory.Projective.d (CategoryTheory.Projective.π Z)

theorem CategoryTheory.ProjectiveResolution.ofComplex_exactAt_succ E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.EnoughProjectives C] (Z : C) (n : ℕ),
  HomologicalComplex.ExactAt (CategoryTheory.ProjectiveResolution.ofComplex Z) (n + 1)

instance CategoryTheory.ProjectiveResolution.instProjectiveXNatOfComplex E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.EnoughProjectives C] (Z : C) (n : ℕ),
  CategoryTheory.Projective ((CategoryTheory.ProjectiveResolution.ofComplex Z).X n)

def CategoryTheory.ProjectiveResolution.of E3 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [CategoryTheory.EnoughProjectives C] → (Z : C) → CategoryTheory.ProjectiveResolution Z

In any abelian category with enough projectives, ProjectiveResolution.of Z constructs a projective resolution of the object Z.

instance CategoryTheory.ProjectiveResolution.instHasProjectiveResolution E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [CategoryTheory.EnoughProjectives C] (Z : C), CategoryTheory.HasProjectiveResolution Z

instance CategoryTheory.ProjectiveResolution.instHasProjectiveResolutions E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [CategoryTheory.EnoughProjectives C], CategoryTheory.HasProjectiveResolutions C