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 / V27. Algebraic topology and condensed mathematics

Mathlib.AlgebraicTopology.ModelCategory.Homotopy

16 declarations. Mathlib docs · Source

Homotopies in model categories

In this file, we relate left and right homotopies between morphisms X ⟶ Y in model categories. In particular, if X is cofibrant and Y is fibrant, these notions coincide (for arbitrary choices of good cylinders or good path objects).

Using the factorization lemma by K. S. Brown, we deduce versions of the Whitehead theorem (LeftHomotopyClass.whitehead and RightHomotopyClass.whitehead) which assert that when both X and Y are fibrant and cofibrant, then any weak equivalence X ⟶ Y is a homotopy equivalence.

References

  • [Daniel G. Quillen, Homotopical algebra, section I.1][Quillen1967]

def HomotopicalAlgebra.LeftHomotopyRel.rightHomotopy E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : HomotopicalAlgebra.ModelCategory C] →
      {X Y : C} →
        {f g : X ⟶ Y} →
          [HomotopicalAlgebra.IsCofibrant X] →
            HomotopicalAlgebra.LeftHomotopyRel f g →
              (Q : HomotopicalAlgebra.PathObject Y) → [Q.IsGood] → Q.RightHomotopy f g

When two morphisms X ⟶ Y with X cofibrant are related by a left homotopy, this is a choice of a right homotopy relative to any good path object for Y.

theorem HomotopicalAlgebra.LeftHomotopyRel.rightHomotopyRel E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {X Y : C}
  {f g : X ⟶ Y} [HomotopicalAlgebra.IsCofibrant X],
  HomotopicalAlgebra.LeftHomotopyRel f g → HomotopicalAlgebra.RightHomotopyRel f g

def HomotopicalAlgebra.RightHomotopyRel.leftHomotopy E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : HomotopicalAlgebra.ModelCategory C] →
      {X Y : C} →
        {f g : X ⟶ Y} →
          [HomotopicalAlgebra.IsFibrant Y] →
            HomotopicalAlgebra.RightHomotopyRel f g →
              (Q : HomotopicalAlgebra.Cylinder X) → [Q.IsGood] → Q.LeftHomotopy f g

When two morphisms X ⟶ Y with Y fibrant are related by a right homotopy, this is a choice of a left homotopy relative to any good cylinder object for X.

theorem HomotopicalAlgebra.RightHomotopyRel.leftHomotopyRel E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {X Y : C}
  {f g : X ⟶ Y} [HomotopicalAlgebra.IsFibrant Y],
  HomotopicalAlgebra.RightHomotopyRel f g → HomotopicalAlgebra.LeftHomotopyRel f g

theorem HomotopicalAlgebra.leftHomotopyRel_iff_rightHomotopyRel E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {X Y : C}
  {f g : X ⟶ Y} [HomotopicalAlgebra.IsCofibrant X] [HomotopicalAlgebra.IsFibrant Y],
  HomotopicalAlgebra.LeftHomotopyRel f g ↔ HomotopicalAlgebra.RightHomotopyRel f g

def HomotopicalAlgebra.LeftHomotopyRel.leftHomotopy E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : HomotopicalAlgebra.ModelCategory C] →
      {X Y : C} →
        {f g : X ⟶ Y} →
          [HomotopicalAlgebra.IsCofibrant X] →
            [HomotopicalAlgebra.IsFibrant Y] →
              HomotopicalAlgebra.LeftHomotopyRel f g →
                (Q : HomotopicalAlgebra.Cylinder X) → [Q.IsGood] → Q.LeftHomotopy f g

When two morphisms X ⟶ Y with X cofibrant and Y fibrant are related by a left homotopy, this is a choice of a left homotopy relative to any good cylinder object for X.

def HomotopicalAlgebra.RightHomotopyRel.rightHomotopy E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : HomotopicalAlgebra.ModelCategory C] →
      {X Y : C} →
        {f g : X ⟶ Y} →
          [HomotopicalAlgebra.IsCofibrant X] →
            [HomotopicalAlgebra.IsFibrant Y] →
              HomotopicalAlgebra.RightHomotopyRel f g →
                (P : HomotopicalAlgebra.PathObject Y) → [P.IsGood] → P.RightHomotopy f g

When two morphisms X ⟶ Y with X cofibrant and Y fibrant are related by a right homotopy, this is a choice of a right homotopy relative to any good path object for Y.

theorem HomotopicalAlgebra.LeftHomotopyClass.postcomp_bijective_of_fibration_of_weakEquivalence E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] (X : C) {Y Z : C}
  [HomotopicalAlgebra.IsCofibrant X] (g : Y ⟶ Z) [HomotopicalAlgebra.Fibration g]
  [HomotopicalAlgebra.WeakEquivalence g], Function.Bijective fun f ↦ f.postcomp g

theorem HomotopicalAlgebra.LeftHomotopyClass.postcomp_bijective_of_weakEquivalence E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] (X : C) {Y Z : C}
  [HomotopicalAlgebra.IsCofibrant X] (g : Y ⟶ Z) [HomotopicalAlgebra.IsFibrant Y] [HomotopicalAlgebra.IsFibrant Z]
  [HomotopicalAlgebra.WeakEquivalence g], Function.Bijective fun f ↦ f.postcomp g

theorem HomotopicalAlgebra.RightHomotopyClass.precomp_bijective_of_cofibration_of_weakEquivalence E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {X Y : C} (Z : C)
  [HomotopicalAlgebra.IsFibrant Z] (f : X ⟶ Y) [HomotopicalAlgebra.Cofibration f]
  [HomotopicalAlgebra.WeakEquivalence f], Function.Bijective fun g ↦ g.precomp f

theorem HomotopicalAlgebra.RightHomotopyClass.precomp_bijective_of_weakEquivalence E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {X Y : C} (Z : C)
  [HomotopicalAlgebra.IsFibrant Z] (f : X ⟶ Y) [HomotopicalAlgebra.IsCofibrant X] [HomotopicalAlgebra.IsCofibrant Y]
  [HomotopicalAlgebra.WeakEquivalence f], Function.Bijective fun g ↦ g.precomp f

theorem HomotopicalAlgebra.RightHomotopyClass.whitehead E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {X Y : C}
  [HomotopicalAlgebra.IsCofibrant X] [HomotopicalAlgebra.IsCofibrant Y] [HomotopicalAlgebra.IsFibrant X]
  [HomotopicalAlgebra.IsFibrant Y] (f : X ⟶ Y) [HomotopicalAlgebra.WeakEquivalence f],
  ∃ g,
    HomotopicalAlgebra.RightHomotopyRel (CategoryTheory.CategoryStruct.comp f g) (CategoryTheory.CategoryStruct.id X) ∧
      HomotopicalAlgebra.RightHomotopyRel (CategoryTheory.CategoryStruct.comp g f) (CategoryTheory.CategoryStruct.id Y)

theorem HomotopicalAlgebra.LeftHomotopyClass.whitehead E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {X Y : C}
  [HomotopicalAlgebra.IsCofibrant X] [HomotopicalAlgebra.IsCofibrant Y] [HomotopicalAlgebra.IsFibrant X]
  [HomotopicalAlgebra.IsFibrant Y] (f : X ⟶ Y) [HomotopicalAlgebra.WeakEquivalence f],
  ∃ g,
    HomotopicalAlgebra.LeftHomotopyRel (CategoryTheory.CategoryStruct.comp f g) (CategoryTheory.CategoryStruct.id X) ∧
      HomotopicalAlgebra.LeftHomotopyRel (CategoryTheory.CategoryStruct.comp g f) (CategoryTheory.CategoryStruct.id Y)

def HomotopicalAlgebra.leftHomotopyClassEquivRightHomotopyClass E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : HomotopicalAlgebra.ModelCategory C] →
      {X Y : C} →
        [HomotopicalAlgebra.IsCofibrant X] →
          [HomotopicalAlgebra.IsFibrant Y] →
            HomotopicalAlgebra.LeftHomotopyClass X Y ≃ HomotopicalAlgebra.RightHomotopyClass X Y

Left homotopy classes of maps X ⟶ Y identify to right homotopy classes when X is cofibrant and Y is fibrant.

theorem HomotopicalAlgebra.leftHomotopyClassEquivRightHomotopyClass_mk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {X Y : C}
  [inst_2 : HomotopicalAlgebra.IsCofibrant X] [inst_3 : HomotopicalAlgebra.IsFibrant Y] (f : X ⟶ Y),
  HomotopicalAlgebra.leftHomotopyClassEquivRightHomotopyClass (HomotopicalAlgebra.LeftHomotopyClass.mk f) =
    HomotopicalAlgebra.RightHomotopyClass.mk f

theorem HomotopicalAlgebra.leftHomotopyClassEquivRightHomotopyClass_symm_mk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {X Y : C}
  [inst_2 : HomotopicalAlgebra.IsCofibrant X] [inst_3 : HomotopicalAlgebra.IsFibrant Y] (f : X ⟶ Y),
  HomotopicalAlgebra.leftHomotopyClassEquivRightHomotopyClass.symm (HomotopicalAlgebra.RightHomotopyClass.mk f) =
    HomotopicalAlgebra.LeftHomotopyClass.mk f