The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V26. Homological algebra

Mathlib.Algebra.Homology.ModelCategory.Lifting

14 declarations and 2 deprecated aliases. Mathlib docs · Source

Lifting properties in cochain complexes

Let C be an abelian category. Consider a commutative diagram in the category CochainComplex C ℤ.

   t
 A ⟶ X
i|   |p
 v   v
 B ⟶ Y
   b

Assume that there exists a degreewise lifting B.X n ⟶ X.X n for any n : ℤ, that Q is a cokernel of i, and K is a kernel of p. In this situation, we construct a cocycle in Cocycle Q K 1 and show that there exists a lifting B ⟶ X if this cocycle is a coboundary.

theorem CategoryTheory.Limits.KernelFork.map.congr_simp E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {D : Type u₂} [inst_2 : CategoryTheory.Category.{v₂, u₂} D] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms D]
  {X Y : C} {f : X ⟶ Y} (c c_1 : CategoryTheory.Limits.KernelFork f),
  c = c_1 → ∀ (G : CategoryTheory.Functor C D) [inst_4 : G.PreservesZeroMorphisms], c.map G = c_1.map G

abbrev CochainComplex.Lifting.cochain₀ E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {A B X Y : CochainComplex C ℤ} →
        {t : A ⟶ X} →
          {i : A ⟶ B} →
            {p : X ⟶ Y} →
              {b : B ⟶ Y} →
                (sq : CategoryTheory.CommSq t i p b) →
                  ((n : ℤ) → ⋯.LiftStruct) → CochainComplex.HomComplex.Cochain B X 0

The 0-cochain from B to X given by the degreewise liftings.

def CochainComplex.Lifting.cocycle₁' E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {A B X Y : CochainComplex C ℤ} →
        {t : A ⟶ X} →
          {i : A ⟶ B} →
            {p : X ⟶ Y} →
              {b : B ⟶ Y} →
                (sq : CategoryTheory.CommSq t i p b) →
                  ((n : ℤ) → ⋯.LiftStruct) → CochainComplex.HomComplex.Cocycle B X 1

A 1-cocycle from B to X obtained as the boundary of the 0-cochain cochain₀ sq hsq consisting of the degreewise liftings. This is refined below as a 1-cocycle from Q to K where Q is a cokernel of i : A ⟶ B and K a kernel of p : X ⟶ Y (see cocycle₁).

theorem CochainComplex.Lifting.coe_cocycle₁'_v_comp_eq_zero E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Abelian C]
  {A B X Y : CochainComplex C ℤ} {t : A ⟶ X} {i : A ⟶ B} {p : X ⟶ Y} {b : B ⟶ Y} (sq : CategoryTheory.CommSq t i p b)
  (hsq : (n : ℤ) → ⋯.LiftStruct) (n m : ℤ)
  (hnm : autoParam (n + 1 = m) CochainComplex.Lifting.coe_cocycle₁'_v_comp_eq_zero._auto_1),
  CategoryTheory.CategoryStruct.comp ((↑(CochainComplex.Lifting.cocycle₁' sq hsq)).v n m hnm) (p.f m) = 0

theorem CochainComplex.Lifting.coe_cocycle₁'_v_comp_eq_zero_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Abelian C]
  {A B X Y : CochainComplex C ℤ} {t : A ⟶ X} {i : A ⟶ B} {p : X ⟶ Y} {b : B ⟶ Y} (sq : CategoryTheory.CommSq t i p b)
  (hsq : (n : ℤ) → ⋯.LiftStruct) (n m : ℤ)
  (hnm : autoParam (n + 1 = m) CochainComplex.Lifting.coe_cocycle₁'_v_comp_eq_zero._auto_1) {Z : C} (h : Y.X m ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((↑(CochainComplex.Lifting.cocycle₁' sq hsq)).v n m hnm)
      (CategoryTheory.CategoryStruct.comp (p.f m) h) =
    CategoryTheory.CategoryStruct.comp 0 h

theorem CochainComplex.Lifting.comp_coe_cocycle₁'_v_eq_zero E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Abelian C]
  {A B X Y : CochainComplex C ℤ} {t : A ⟶ X} {i : A ⟶ B} {p : X ⟶ Y} {b : B ⟶ Y} (sq : CategoryTheory.CommSq t i p b)
  (hsq : (n : ℤ) → ⋯.LiftStruct) (n m : ℤ)
  (hnm : autoParam (n + 1 = m) CochainComplex.Lifting.comp_coe_cocycle₁'_v_eq_zero._auto_1),
  CategoryTheory.CategoryStruct.comp (i.f n) ((↑(CochainComplex.Lifting.cocycle₁' sq hsq)).v n m hnm) = 0

theorem CochainComplex.Lifting.comp_coe_cocycle₁'_v_eq_zero_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Abelian C]
  {A B X Y : CochainComplex C ℤ} {t : A ⟶ X} {i : A ⟶ B} {p : X ⟶ Y} {b : B ⟶ Y} (sq : CategoryTheory.CommSq t i p b)
  (hsq : (n : ℤ) → ⋯.LiftStruct) (n m : ℤ)
  (hnm : autoParam (n + 1 = m) CochainComplex.Lifting.comp_coe_cocycle₁'_v_eq_zero._auto_1) {Z : C} (h : X.X m ⟶ Z),
  CategoryTheory.CategoryStruct.comp (i.f n)
      (CategoryTheory.CategoryStruct.comp ((↑(CochainComplex.Lifting.cocycle₁' sq hsq)).v n m hnm) h) =
    CategoryTheory.CategoryStruct.comp 0 h

theorem CochainComplex.Lifting.exists_hom E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Abelian C]
  {A B X Y : CochainComplex C ℤ} {t : A ⟶ X} {i : A ⟶ B} {p : X ⟶ Y} {b : B ⟶ Y} (sq : CategoryTheory.CommSq t i p b)
  (hsq : (n : ℤ) → ⋯.LiftStruct) {Q : CochainComplex C ℤ} {π : B ⟶ Q} {hπ : CategoryTheory.CategoryStruct.comp i π = 0}
  (hQ : CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.CokernelCofork.ofπ π hπ)) {K : CochainComplex C ℤ}
  {ι : K ⟶ X} {hι : CategoryTheory.CategoryStruct.comp ι p = 0}
  (hK : CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.KernelFork.ofι ι hι)) (n m : ℤ)
  (hnm : autoParam (n + 1 = m) CochainComplex.Lifting.exists_hom._auto_1),
  ∃ φ,
    CategoryTheory.CategoryStruct.comp (π.f n) (CategoryTheory.CategoryStruct.comp φ (ι.f m)) =
      (↑(CochainComplex.Lifting.cocycle₁' sq hsq)).v n m hnm

def CochainComplex.Lifting.cochain₁ E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {A B X Y : CochainComplex C ℤ} →
        {t : A ⟶ X} →
          {i : A ⟶ B} →
            {p : X ⟶ Y} →
              {b : B ⟶ Y} →
                (sq : CategoryTheory.CommSq t i p b) →
                  ((n : ℤ) → ⋯.LiftStruct) →
                    {Q : CochainComplex C ℤ} →
                      {π : B ⟶ Q} →
                        {hπ : CategoryTheory.CategoryStruct.comp i π = 0} →
                          CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.CokernelCofork.ofπ π hπ) →
                            {K : CochainComplex C ℤ} →
                              {ι : K ⟶ X} →
                                {hι : CategoryTheory.CategoryStruct.comp ι p = 0} →
                                  CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.KernelFork.ofι ι hι) →
                                    CochainComplex.HomComplex.Cochain Q K 1

The 1-cochain from Q to K which refines cocycle₁'.

theorem CochainComplex.Lifting.π_f_cochain₁_v_ι_f E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Abelian C]
  {A B X Y : CochainComplex C ℤ} {t : A ⟶ X} {i : A ⟶ B} {p : X ⟶ Y} {b : B ⟶ Y} (sq : CategoryTheory.CommSq t i p b)
  (hsq : (n : ℤ) → ⋯.LiftStruct) {Q : CochainComplex C ℤ} {π : B ⟶ Q} {hπ : CategoryTheory.CategoryStruct.comp i π = 0}
  (hQ : CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.CokernelCofork.ofπ π hπ)) {K : CochainComplex C ℤ}
  {ι : K ⟶ X} {hι : CategoryTheory.CategoryStruct.comp ι p = 0}
  (hK : CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.KernelFork.ofι ι hι)) (n m : ℤ) (hnm : n + 1 = m),
  CategoryTheory.CategoryStruct.comp (π.f n)
      (CategoryTheory.CategoryStruct.comp ((CochainComplex.Lifting.cochain₁ sq hsq hQ hK).v n m hnm) (ι.f m)) =
    (↑(CochainComplex.Lifting.cocycle₁' sq hsq)).v n m hnm

theorem CochainComplex.Lifting.π_f_cochain₁_v_ι_f_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Abelian C]
  {A B X Y : CochainComplex C ℤ} {t : A ⟶ X} {i : A ⟶ B} {p : X ⟶ Y} {b : B ⟶ Y} (sq : CategoryTheory.CommSq t i p b)
  (hsq : (n : ℤ) → ⋯.LiftStruct) {Q : CochainComplex C ℤ} {π : B ⟶ Q} {hπ : CategoryTheory.CategoryStruct.comp i π = 0}
  (hQ : CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.CokernelCofork.ofπ π hπ)) {K : CochainComplex C ℤ}
  {ι : K ⟶ X} {hι : CategoryTheory.CategoryStruct.comp ι p = 0}
  (hK : CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.KernelFork.ofι ι hι)) (n m : ℤ) (hnm : n + 1 = m) {Z : C}
  (h : X.X m ⟶ Z),
  CategoryTheory.CategoryStruct.comp (π.f n)
      (CategoryTheory.CategoryStruct.comp ((CochainComplex.Lifting.cochain₁ sq hsq hQ hK).v n m hnm)
        (CategoryTheory.CategoryStruct.comp (ι.f m) h)) =
    CategoryTheory.CategoryStruct.comp ((↑(CochainComplex.Lifting.cocycle₁' sq hsq)).v n m hnm) h

def CochainComplex.Lifting.cocycle₁ E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {A B X Y : CochainComplex C ℤ} →
        {t : A ⟶ X} →
          {i : A ⟶ B} →
            {p : X ⟶ Y} →
              {b : B ⟶ Y} →
                (sq : CategoryTheory.CommSq t i p b) →
                  ((n : ℤ) → ⋯.LiftStruct) →
                    {Q : CochainComplex C ℤ} →
                      {π : B ⟶ Q} →
                        {hπ : CategoryTheory.CategoryStruct.comp i π = 0} →
                          CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.CokernelCofork.ofπ π hπ) →
                            {K : CochainComplex C ℤ} →
                              {ι : K ⟶ X} →
                                {hι : CategoryTheory.CategoryStruct.comp ι p = 0} →
                                  CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.KernelFork.ofι ι hι) →
                                    CochainComplex.HomComplex.Cocycle Q K 1

A 1-cocycle from a cokernel Q of i : A ⟶ B to a kernel K of p : X ⟶ Y. If this is a coboundary, then the square in CochainComplex C ℤ has a lifting, see the lemma hasLift below.

theorem CochainComplex.Lifting.comp_coe_cocycle₁_comp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Abelian C]
  {A B X Y : CochainComplex C ℤ} {t : A ⟶ X} {i : A ⟶ B} {p : X ⟶ Y} {b : B ⟶ Y} (sq : CategoryTheory.CommSq t i p b)
  (hsq : (n : ℤ) → ⋯.LiftStruct) {Q : CochainComplex C ℤ} {π : B ⟶ Q} {hπ : CategoryTheory.CategoryStruct.comp i π = 0}
  (hQ : CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.CokernelCofork.ofπ π hπ)) {K : CochainComplex C ℤ}
  {ι : K ⟶ X} {hι : CategoryTheory.CategoryStruct.comp ι p = 0}
  (hK : CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.KernelFork.ofι ι hι)),
  (CochainComplex.HomComplex.Cochain.ofHom π).comp
      ((↑(CochainComplex.Lifting.cocycle₁ sq hsq hQ hK)).comp (CochainComplex.HomComplex.Cochain.ofHom ι) ⋯) ⋯ =
    ↑(CochainComplex.Lifting.cocycle₁' sq hsq)

theorem CochainComplex.Lifting.hasLift E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Abelian C]
  {A B X Y : CochainComplex C ℤ} {t : A ⟶ X} {i : A ⟶ B} {p : X ⟶ Y} {b : B ⟶ Y} (sq : CategoryTheory.CommSq t i p b)
  (hsq : (n : ℤ) → ⋯.LiftStruct) {Q : CochainComplex C ℤ} {π : B ⟶ Q} {hπ : CategoryTheory.CategoryStruct.comp i π = 0}
  (hQ : CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.CokernelCofork.ofπ π hπ)) {K : CochainComplex C ℤ}
  {ι : K ⟶ X} {hι : CategoryTheory.CategoryStruct.comp ι p = 0}
  (hK : CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.KernelFork.ofι ι hι))
  (α : CochainComplex.HomComplex.Cochain Q K 0),
  CochainComplex.HomComplex.δ 0 1 α = ↑(CochainComplex.Lifting.cocycle₁ sq hsq hQ hK) → sq.HasLift

Consider a commutative square in the category CochainComplex C ℤ where C is an abelian category.

   t
 A ⟶ X
i|   |p
 v   v
 B ⟶ Y
   b

Assume that there exists a degreewise lifting B.X n ⟶ X.X n for any n : ℤ, that Q is a cokernel of i, and K is a kernel of p. If the cocycle cocycle₁ sq hsq hQ hK : Cocycle Q K 1 is a coboundary, we show that the square admits a lifting B ⟶ X.

Deprecated aliases

NameNew nameSince
CochainComplex.Lifting.comp_coe_cocyle₁'_v_eq_zeroCochainComplex.Lifting.comp_coe_cocycle₁'_v_eq_zero2026-10-13
CochainComplex.Lifting.comp_coe_cocyle₁'_v_eq_zero_assocCochainComplex.Lifting.comp_coe_cocycle₁'_v_eq_zero_assoc2026-10-13