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

54 declarations. Mathlib docs · Source

Abelian categories with enough injectives have injective resolutions

Main results

When the underlying category is abelian:

  • CategoryTheory.InjectiveResolution.desc: Given I : InjectiveResolution X and J : InjectiveResolution Y, any morphism X ⟶ Y admits a descent to a cochain map J.cocomplex ⟶ I.cocomplex. It is a descent in the sense that I.ι intertwines the descent and the original morphism, see CategoryTheory.InjectiveResolution.desc_commutes.

  • CategoryTheory.InjectiveResolution.descHomotopy: Any two such descents are homotopic.

  • CategoryTheory.InjectiveResolution.homotopyEquiv: Any two injective resolutions of the same object are homotopy equivalent.

  • CategoryTheory.injectiveResolutions: If every object admits an injective resolution, we can construct a functor injectiveResolutions C : C ⥤ HomotopyCategory C.

  • CategoryTheory.exact_f_d: f and Injective.d f are exact.

  • CategoryTheory.InjectiveResolution.of: Hence, starting from a monomorphism X ⟶ J, where J is injective, we can apply Injective.d repeatedly to obtain an injective resolution of X.

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

theorem CategoryTheory.InjectiveResolution.descFSucc.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C}
  (I : CategoryTheory.InjectiveResolution Y) (J : CategoryTheory.InjectiveResolution Z) (n : ℕ)
  (g g_1 : J.cocomplex.X n ⟶ I.cocomplex.X n) (e_g : g = g_1) (g' : J.cocomplex.X (n + 1) ⟶ I.cocomplex.X (n + 1))
  (w :
    CategoryTheory.CategoryStruct.comp (J.cocomplex.d n (n + 1)) g' =
      CategoryTheory.CategoryStruct.comp g (I.cocomplex.d n (n + 1))),
  I.descFSucc J n g g' w = I.descFSucc J n g_1 g' ⋯

theorem CochainComplex.mkHom.congr_simp E1 #

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

theorem CategoryTheory.InjectiveResolution.descHomotopyZeroZero.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C}
  {I : CategoryTheory.InjectiveResolution Y} {J : CategoryTheory.InjectiveResolution Z}
  (f f_1 : I.cocomplex ⟶ J.cocomplex) (e_f : f = f_1) (comm : CategoryTheory.CategoryStruct.comp I.ι f = 0),
  CategoryTheory.InjectiveResolution.descHomotopyZeroZero f comm =
    CategoryTheory.InjectiveResolution.descHomotopyZeroZero f_1 ⋯

theorem CochainComplex.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 ⟶ X (n + 1)) (e_d : d = d_1)
  (sq : ∀ (n : α), CategoryTheory.CategoryStruct.comp (d n) (d (n + 1)) = 0),
  CochainComplex.of X d sq = CochainComplex.of X d_1 ⋯

theorem CategoryTheory.HasInjectiveResolutions.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.HasInjectiveResolutions C = CategoryTheory.HasInjectiveResolutions C

theorem CategoryTheory.InjectiveResolution.descHomotopyZeroOne.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C}
  {I : CategoryTheory.InjectiveResolution Y} {J : CategoryTheory.InjectiveResolution Z}
  (f f_1 : I.cocomplex ⟶ J.cocomplex) (e_f : f = f_1) (comm : CategoryTheory.CategoryStruct.comp I.ι f = 0),
  CategoryTheory.InjectiveResolution.descHomotopyZeroOne f comm =
    CategoryTheory.InjectiveResolution.descHomotopyZeroOne f_1 ⋯

theorem CategoryTheory.InjectiveResolution.descHomotopyZeroSucc.congr_simp E1 #

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

theorem CategoryTheory.InjectiveResolution.desc.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}
  (I : CategoryTheory.InjectiveResolution Y) (J : CategoryTheory.InjectiveResolution Z) (n : ℕ)
  (motive :
    (f : J.cocomplex.X n ⟶ I.cocomplex.X n) ×'
        (f' : J.cocomplex.X (n + 1) ⟶ I.cocomplex.X (n + 1)) ×'
          CategoryTheory.CategoryStruct.comp (J.cocomplex.d n (n + 1)) f' =
            CategoryTheory.CategoryStruct.comp f (I.cocomplex.d n (n + 1)) →
      Sort u_3)
  (x :
    (f : J.cocomplex.X n ⟶ I.cocomplex.X n) ×'
      (f' : J.cocomplex.X (n + 1) ⟶ I.cocomplex.X (n + 1)) ×'
        CategoryTheory.CategoryStruct.comp (J.cocomplex.d n (n + 1)) f' =
          CategoryTheory.CategoryStruct.comp f (I.cocomplex.d n (n + 1)))
  (h_1 :
    (g : J.cocomplex.X n ⟶ I.cocomplex.X n) →
      (g' : J.cocomplex.X (n + 1) ⟶ I.cocomplex.X (n + 1)) →
        (w :
            CategoryTheory.CategoryStruct.comp (J.cocomplex.d n (n + 1)) g' =
              CategoryTheory.CategoryStruct.comp g (I.cocomplex.d n (n + 1))) →
          motive ⟨g, ⟨g', w⟩⟩)
  (g : J.cocomplex.X n ⟶ I.cocomplex.X n) (g' : J.cocomplex.X (n + 1) ⟶ I.cocomplex.X (n + 1))
  (w :
    CategoryTheory.CategoryStruct.comp (J.cocomplex.d n (n + 1)) g' =
      CategoryTheory.CategoryStruct.comp g (I.cocomplex.d n (n + 1))),
  x = ⟨g, ⟨g', w⟩⟩ →
    (match x with
      | ⟨g, ⟨g', w⟩⟩ => h_1 g g' w) ≍
      h_1 g g' w

theorem CochainComplex.of.d.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 α} [inst_5 : DecidableEq α]
  (X : α → V) (d d_1 : (n : α) → X n ⟶ X (n + 1)),
  d = d_1 → ∀ (j i : α), CochainComplex.of.d X d j i = CochainComplex.of.d X d_1 j i

def CategoryTheory.InjectiveResolution.descFZero 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} →
          (Z ⟶ Y) →
            (I : CategoryTheory.InjectiveResolution Y) →
              (J : CategoryTheory.InjectiveResolution Z) → J.cocomplex.X 0 ⟶ I.cocomplex.X 0

Auxiliary construction for desc.

theorem CategoryTheory.InjectiveResolution.exact₀ E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Z : C}
  (I : CategoryTheory.InjectiveResolution Z),
  { X₁ := ((CochainComplex.single₀ C).obj Z).X 0, X₂ := I.cocomplex.X 0, X₃ := I.cocomplex.X 1, f := I.ι.f 0,
      g := I.cocomplex.d 0 1, zero := ⋯ }.Exact

def CategoryTheory.InjectiveResolution.descFOne E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {Y Z : C} →
        (Z ⟶ Y) →
          (I : CategoryTheory.InjectiveResolution Y) →
            (J : CategoryTheory.InjectiveResolution Z) → J.cocomplex.X 1 ⟶ I.cocomplex.X 1

Auxiliary construction for desc.

theorem CategoryTheory.InjectiveResolution.descFOne_zero_comm E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C} (f : Z ⟶ Y)
  (I : CategoryTheory.InjectiveResolution Y) (J : CategoryTheory.InjectiveResolution Z),
  CategoryTheory.CategoryStruct.comp (J.cocomplex.d 0 1) (CategoryTheory.InjectiveResolution.descFOne f I J) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.InjectiveResolution.descFZero f I J) (I.cocomplex.d 0 1)

def CategoryTheory.InjectiveResolution.descFSucc E1 #

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

Auxiliary construction for desc.

def CategoryTheory.InjectiveResolution.desc E3 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {Y Z : C} →
        (Z ⟶ Y) →
          (I : CategoryTheory.InjectiveResolution Y) →
            (J : CategoryTheory.InjectiveResolution Z) → J.cocomplex ⟶ I.cocomplex

A morphism in C descends to a cochain map between injective resolutions.

theorem CategoryTheory.InjectiveResolution.desc_commutes E3 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C} (f : Z ⟶ Y)
  (I : CategoryTheory.InjectiveResolution Y) (J : CategoryTheory.InjectiveResolution Z),
  CategoryTheory.CategoryStruct.comp J.ι (CategoryTheory.InjectiveResolution.desc f I J) =
    CategoryTheory.CategoryStruct.comp ((CochainComplex.single₀ C).map f) I.ι

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

theorem CategoryTheory.InjectiveResolution.desc_commutes_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C} (f : Z ⟶ Y)
  (I : CategoryTheory.InjectiveResolution Y) (J : CategoryTheory.InjectiveResolution Z) {Z_1 : CochainComplex C ℕ}
  (h : I.cocomplex ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp J.ι
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.InjectiveResolution.desc f I J) h) =
    CategoryTheory.CategoryStruct.comp ((CochainComplex.single₀ C).map f) (CategoryTheory.CategoryStruct.comp I.ι h)

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

theorem CategoryTheory.InjectiveResolution.desc_commutes_zero_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C} (f : Z ⟶ Y)
  (I : CategoryTheory.InjectiveResolution Y) (J : CategoryTheory.InjectiveResolution Z) {Z_1 : C}
  (h : I.cocomplex.X 0 ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (J.ι.f 0)
      (CategoryTheory.CategoryStruct.comp ((CategoryTheory.InjectiveResolution.desc f I J).f 0) h) =
    CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp (I.ι.f 0) h)

theorem CategoryTheory.InjectiveResolution.desc_commutes_zero E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C} (f : Z ⟶ Y)
  (I : CategoryTheory.InjectiveResolution Y) (J : CategoryTheory.InjectiveResolution Z),
  CategoryTheory.CategoryStruct.comp (J.ι.f 0) ((CategoryTheory.InjectiveResolution.desc f I J).f 0) =
    CategoryTheory.CategoryStruct.comp f (I.ι.f 0)

def CategoryTheory.InjectiveResolution.descHomotopyZeroZero E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {Y Z : C} →
        {I : CategoryTheory.InjectiveResolution Y} →
          {J : CategoryTheory.InjectiveResolution Z} →
            (f : I.cocomplex ⟶ J.cocomplex) →
              CategoryTheory.CategoryStruct.comp I.ι f = 0 → (I.cocomplex.X 1 ⟶ J.cocomplex.X 0)

An auxiliary definition for descHomotopyZero.

theorem CategoryTheory.InjectiveResolution.comp_descHomotopyZeroZero_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C}
  {I : CategoryTheory.InjectiveResolution Y} {J : CategoryTheory.InjectiveResolution Z} (f : I.cocomplex ⟶ J.cocomplex)
  (comm : CategoryTheory.CategoryStruct.comp I.ι f = 0) {Z_1 : C} (h : J.cocomplex.X 0 ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (I.cocomplex.d 0 1)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.InjectiveResolution.descHomotopyZeroZero f comm) h) =
    CategoryTheory.CategoryStruct.comp (f.f 0) h

theorem CategoryTheory.InjectiveResolution.comp_descHomotopyZeroZero E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C}
  {I : CategoryTheory.InjectiveResolution Y} {J : CategoryTheory.InjectiveResolution Z} (f : I.cocomplex ⟶ J.cocomplex)
  (comm : CategoryTheory.CategoryStruct.comp I.ι f = 0),
  CategoryTheory.CategoryStruct.comp (I.cocomplex.d 0 1)
      (CategoryTheory.InjectiveResolution.descHomotopyZeroZero f comm) =
    f.f 0

def CategoryTheory.InjectiveResolution.descHomotopyZeroOne E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {Y Z : C} →
        {I : CategoryTheory.InjectiveResolution Y} →
          {J : CategoryTheory.InjectiveResolution Z} →
            (f : I.cocomplex ⟶ J.cocomplex) →
              CategoryTheory.CategoryStruct.comp I.ι f = 0 → (I.cocomplex.X 2 ⟶ J.cocomplex.X 1)

An auxiliary definition for descHomotopyZero.

theorem CategoryTheory.InjectiveResolution.comp_descHomotopyZeroOne_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C}
  {I : CategoryTheory.InjectiveResolution Y} {J : CategoryTheory.InjectiveResolution Z} (f : I.cocomplex ⟶ J.cocomplex)
  (comm : CategoryTheory.CategoryStruct.comp I.ι f = 0) {Z_1 : C} (h : J.cocomplex.X 1 ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (I.cocomplex.d 1 2)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.InjectiveResolution.descHomotopyZeroOne f comm) h) =
    CategoryTheory.CategoryStruct.comp
      (f.f 1 -
        CategoryTheory.CategoryStruct.comp (CategoryTheory.InjectiveResolution.descHomotopyZeroZero f comm)
          (J.cocomplex.d 0 1))
      h

theorem CategoryTheory.InjectiveResolution.comp_descHomotopyZeroOne E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C}
  {I : CategoryTheory.InjectiveResolution Y} {J : CategoryTheory.InjectiveResolution Z} (f : I.cocomplex ⟶ J.cocomplex)
  (comm : CategoryTheory.CategoryStruct.comp I.ι f = 0),
  CategoryTheory.CategoryStruct.comp (I.cocomplex.d 1 2)
      (CategoryTheory.InjectiveResolution.descHomotopyZeroOne f comm) =
    f.f 1 -
      CategoryTheory.CategoryStruct.comp (CategoryTheory.InjectiveResolution.descHomotopyZeroZero f comm)
        (J.cocomplex.d 0 1)

def CategoryTheory.InjectiveResolution.descHomotopyZeroSucc E1 #

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

An auxiliary definition for descHomotopyZero.

theorem CategoryTheory.InjectiveResolution.comp_descHomotopyZeroSucc_assoc E0 #

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

theorem CategoryTheory.InjectiveResolution.comp_descHomotopyZeroSucc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {Y Z : C}
  {I : CategoryTheory.InjectiveResolution Y} {J : CategoryTheory.InjectiveResolution Z} (f : I.cocomplex ⟶ J.cocomplex)
  (n : ℕ) (g : I.cocomplex.X (n + 1) ⟶ J.cocomplex.X n) (g' : I.cocomplex.X (n + 2) ⟶ J.cocomplex.X (n + 1))
  (w :
    f.f (n + 1) =
      CategoryTheory.CategoryStruct.comp (I.cocomplex.d (n + 1) (n + 2)) g' +
        CategoryTheory.CategoryStruct.comp g (J.cocomplex.d n (n + 1))),
  CategoryTheory.CategoryStruct.comp (I.cocomplex.d (n + 2) (n + 3))
      (CategoryTheory.InjectiveResolution.descHomotopyZeroSucc f n g g' w) =
    f.f (n + 2) - CategoryTheory.CategoryStruct.comp g' (J.cocomplex.d (n + 1) (n + 2))

def CategoryTheory.InjectiveResolution.descHomotopyZero E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {Y Z : C} →
        {I : CategoryTheory.InjectiveResolution Y} →
          {J : CategoryTheory.InjectiveResolution Z} →
            (f : I.cocomplex ⟶ J.cocomplex) → CategoryTheory.CategoryStruct.comp I.ι f = 0 → Homotopy f 0

Any descent of the zero morphism is homotopic to zero.

def CategoryTheory.InjectiveResolution.descHomotopy E3 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {Y Z : C} →
        (f : Y ⟶ Z) →
          {I : CategoryTheory.InjectiveResolution Y} →
            {J : CategoryTheory.InjectiveResolution Z} →
              (g h : I.cocomplex ⟶ J.cocomplex) →
                CategoryTheory.CategoryStruct.comp I.ι g =
                    CategoryTheory.CategoryStruct.comp ((CochainComplex.single₀ C).map f) J.ι →
                  CategoryTheory.CategoryStruct.comp I.ι h =
                      CategoryTheory.CategoryStruct.comp ((CochainComplex.single₀ C).map f) J.ι →
                    Homotopy g h

Two descents of the same morphism are homotopic.

def CategoryTheory.InjectiveResolution.descIdHomotopy E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      (X : C) →
        (I : CategoryTheory.InjectiveResolution X) →
          Homotopy (CategoryTheory.InjectiveResolution.desc (CategoryTheory.CategoryStruct.id X) I I)
            (CategoryTheory.CategoryStruct.id I.cocomplex)

The descent of the identity morphism is homotopic to the identity cochain map.

def CategoryTheory.InjectiveResolution.descCompHomotopy 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) →
            (I : CategoryTheory.InjectiveResolution X) →
              (J : CategoryTheory.InjectiveResolution Y) →
                (K : CategoryTheory.InjectiveResolution Z) →
                  Homotopy (CategoryTheory.InjectiveResolution.desc (CategoryTheory.CategoryStruct.comp f g) K I)
                    (CategoryTheory.CategoryStruct.comp (CategoryTheory.InjectiveResolution.desc f J I)
                      (CategoryTheory.InjectiveResolution.desc g K J))

The descent of a composition is homotopic to the composition of the descents.

def CategoryTheory.InjectiveResolution.homotopyEquiv E3 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {X : C} → (I J : CategoryTheory.InjectiveResolution X) → HomotopyEquiv I.cocomplex J.cocomplex

Any two injective resolutions are homotopy equivalent.

theorem CategoryTheory.InjectiveResolution.homotopyEquiv_hom_ι_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X : C}
  (I J : CategoryTheory.InjectiveResolution X) {Z : CochainComplex C ℕ} (h : J.cocomplex ⟶ Z),
  CategoryTheory.CategoryStruct.comp I.ι (CategoryTheory.CategoryStruct.comp (I.homotopyEquiv J).hom h) =
    CategoryTheory.CategoryStruct.comp J.ι h

theorem CategoryTheory.InjectiveResolution.homotopyEquiv_hom_ι E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X : C}
  (I J : CategoryTheory.InjectiveResolution X), CategoryTheory.CategoryStruct.comp I.ι (I.homotopyEquiv J).hom = J.ι

theorem CategoryTheory.InjectiveResolution.homotopyEquiv_inv_ι E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X : C}
  (I J : CategoryTheory.InjectiveResolution X), CategoryTheory.CategoryStruct.comp J.ι (I.homotopyEquiv J).inv = I.ι

theorem CategoryTheory.InjectiveResolution.homotopyEquiv_inv_ι_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X : C}
  (I J : CategoryTheory.InjectiveResolution X) {Z : CochainComplex C ℕ} (h : I.cocomplex ⟶ Z),
  CategoryTheory.CategoryStruct.comp J.ι (CategoryTheory.CategoryStruct.comp (I.homotopyEquiv J).inv h) =
    CategoryTheory.CategoryStruct.comp I.ι h

abbrev CategoryTheory.injectiveResolution E1 #

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

An arbitrarily chosen injective resolution of an object.

def CategoryTheory.injectiveResolutions E3 #

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

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

def CategoryTheory.InjectiveResolution.iso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [inst_2 : CategoryTheory.HasInjectiveResolutions C] →
        {X : C} →
          (I : CategoryTheory.InjectiveResolution X) →
            (CategoryTheory.injectiveResolutions C).obj X ≅
              (HomotopyCategory.quotient C (ComplexShape.up ℕ)).obj I.cocomplex

If I : InjectiveResolution X, then the chosen (injectiveResolutions C).obj X is isomorphic (in the homotopy category) to I.cocomplex.

theorem CategoryTheory.InjectiveResolution.iso_hom_naturality E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasInjectiveResolutions C] {X Y : C} (f : X ⟶ Y) (I : CategoryTheory.InjectiveResolution X)
  (J : CategoryTheory.InjectiveResolution Y) (φ : I.cocomplex ⟶ J.cocomplex),
  CategoryTheory.CategoryStruct.comp (I.ι.f 0) (φ.f 0) = CategoryTheory.CategoryStruct.comp f (J.ι.f 0) →
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.injectiveResolutions C).map f) J.iso.hom =
      CategoryTheory.CategoryStruct.comp I.iso.hom ((HomotopyCategory.quotient C (ComplexShape.up ℕ)).map φ)

theorem CategoryTheory.InjectiveResolution.iso_hom_naturality_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasInjectiveResolutions C] {X Y : C} (f : X ⟶ Y) (I : CategoryTheory.InjectiveResolution X)
  (J : CategoryTheory.InjectiveResolution Y) (φ : I.cocomplex ⟶ J.cocomplex),
  CategoryTheory.CategoryStruct.comp (I.ι.f 0) (φ.f 0) = CategoryTheory.CategoryStruct.comp f (J.ι.f 0) →
    ∀ {Z : HomotopyCategory C (ComplexShape.up ℕ)}
      (h : (HomotopyCategory.quotient C (ComplexShape.up ℕ)).obj J.cocomplex ⟶ Z),
      CategoryTheory.CategoryStruct.comp ((CategoryTheory.injectiveResolutions C).map f)
          (CategoryTheory.CategoryStruct.comp J.iso.hom h) =
        CategoryTheory.CategoryStruct.comp I.iso.hom
          (CategoryTheory.CategoryStruct.comp ((HomotopyCategory.quotient C (ComplexShape.up ℕ)).map φ) h)

theorem CategoryTheory.InjectiveResolution.iso_inv_naturality_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasInjectiveResolutions C] {X Y : C} (f : X ⟶ Y) (I : CategoryTheory.InjectiveResolution X)
  (J : CategoryTheory.InjectiveResolution Y) (φ : I.cocomplex ⟶ J.cocomplex),
  CategoryTheory.CategoryStruct.comp (I.ι.f 0) (φ.f 0) = CategoryTheory.CategoryStruct.comp f (J.ι.f 0) →
    ∀ {Z : HomotopyCategory C (ComplexShape.up ℕ)} (h : (CategoryTheory.injectiveResolutions C).obj Y ⟶ Z),
      CategoryTheory.CategoryStruct.comp I.iso.inv
          (CategoryTheory.CategoryStruct.comp ((CategoryTheory.injectiveResolutions C).map f) h) =
        CategoryTheory.CategoryStruct.comp ((HomotopyCategory.quotient C (ComplexShape.up ℕ)).map φ)
          (CategoryTheory.CategoryStruct.comp J.iso.inv h)

theorem CategoryTheory.InjectiveResolution.iso_inv_naturality E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasInjectiveResolutions C] {X Y : C} (f : X ⟶ Y) (I : CategoryTheory.InjectiveResolution X)
  (J : CategoryTheory.InjectiveResolution Y) (φ : I.cocomplex ⟶ J.cocomplex),
  CategoryTheory.CategoryStruct.comp (I.ι.f 0) (φ.f 0) = CategoryTheory.CategoryStruct.comp f (J.ι.f 0) →
    CategoryTheory.CategoryStruct.comp I.iso.inv ((CategoryTheory.injectiveResolutions C).map f) =
      CategoryTheory.CategoryStruct.comp ((HomotopyCategory.quotient C (ComplexShape.up ℕ)).map φ) J.iso.inv

theorem CategoryTheory.exact_f_d E3 #

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

def CategoryTheory.InjectiveResolution.ofCocomplex E1 #

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

Auxiliary definition for InjectiveResolution.of.

theorem CategoryTheory.InjectiveResolution.ofCocomplex_d_0_1 E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.EnoughInjectives C] (Z : C),
  (CategoryTheory.InjectiveResolution.ofCocomplex Z).d 0 1 = CategoryTheory.Injective.d (CategoryTheory.Injective.ι Z)

theorem CategoryTheory.InjectiveResolution.ofCocomplex_exactAt_succ E1 #

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

instance CategoryTheory.InjectiveResolution.instInjectiveXNatOfCocomplex E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.EnoughInjectives C] (Z : C) (n : ℕ),
  CategoryTheory.Injective ((CategoryTheory.InjectiveResolution.ofCocomplex Z).X n)

def CategoryTheory.InjectiveResolution.of E3 #

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

In any abelian category with enough injectives, InjectiveResolution.of Z constructs an injective resolution of the object Z.

instance CategoryTheory.InjectiveResolution.instHasInjectiveResolution E0 #

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

instance CategoryTheory.InjectiveResolution.instHasInjectiveResolutions E0 #

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

abbrev CategoryTheory.InjectivePresentation.shortComplex E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {X : C} → CategoryTheory.InjectivePresentation X → CategoryTheory.ShortComplex C

Given an injective presentation M → I, the short complex 0 → M → I → N → 0.

theorem CategoryTheory.InjectivePresentation.shortExact_shortComplex E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X : C}
  (ip : CategoryTheory.InjectivePresentation X), ip.shortComplex.ShortExact