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.Basic

19 declarations. Mathlib docs · Source

Model categories

We introduce a typeclass ModelCategory C expressing that C is equipped with classes of morphisms named "fibrations", "cofibrations" and "weak equivalences" which satisfy the axioms of (closed) model categories as they appear for example in Simplicial Homotopy Theory by Goerss and Jardine. We also provide an alternate constructor ModelCategory.mk' which uses a formulation of the axioms using weak factorization systems.

As a given category C may have several model category structures, it is advisable to define only local instances of ModelCategory, or to set these instances on type synonyms.

References

  • [Daniel G. Quillen, Homotopical algebra][Quillen1967]
  • [Paul G. Goerss, John F. Jardine, Simplicial Homotopy Theory][goerss-jardine-2009]
  • https://ncatlab.org/nlab/show/model+category

def HomotopicalAlgebra.ModelCategory.ctorIdx E1 #

{C : Type u} → {inst : CategoryTheory.Category.{v, u} C} → HomotopicalAlgebra.ModelCategory C → ℕ

class HomotopicalAlgebra.ModelCategory E1 #

(C : Type u) → [CategoryTheory.Category.{v, u} C] → Type (max u v)

A model category is a category equipped with classes of morphisms named cofibrations, fibrations and weak equivalences which satisfy the axioms CM1/CM2/CM3/CM4/CM5 of (closed) model categories.

ctor HomotopicalAlgebra.ModelCategory.mk E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (categoryWithFibrations :
        autoParam (HomotopicalAlgebra.CategoryWithFibrations C)
          HomotopicalAlgebra.ModelCategory.categoryWithFibrations._autoParam) →
      (categoryWithCofibrations :
          autoParam (HomotopicalAlgebra.CategoryWithCofibrations C)
            HomotopicalAlgebra.ModelCategory.categoryWithCofibrations._autoParam) →
        (categoryWithWeakEquivalences :
            autoParam (HomotopicalAlgebra.CategoryWithWeakEquivalences C)
              HomotopicalAlgebra.ModelCategory.categoryWithWeakEquivalences._autoParam) →
          autoParam (CategoryTheory.Limits.HasFiniteLimits C) HomotopicalAlgebra.ModelCategory.cm1a._autoParam →
            autoParam (CategoryTheory.Limits.HasFiniteColimits C) HomotopicalAlgebra.ModelCategory.cm1b._autoParam →
              autoParam (HomotopicalAlgebra.weakEquivalences C).HasTwoOutOfThreeProperty
                  HomotopicalAlgebra.ModelCategory.cm2._autoParam →
                autoParam (HomotopicalAlgebra.weakEquivalences C).IsStableUnderRetracts
                    HomotopicalAlgebra.ModelCategory.cm3a._autoParam →
                  autoParam (HomotopicalAlgebra.fibrations C).IsStableUnderRetracts
                      HomotopicalAlgebra.ModelCategory.cm3b._autoParam →
                    autoParam (HomotopicalAlgebra.cofibrations C).IsStableUnderRetracts
                        HomotopicalAlgebra.ModelCategory.cm3c._autoParam →
                      autoParam
                          (∀ {A B X Y : C} (i : A ⟶ B) (p : X ⟶ Y) [HomotopicalAlgebra.Cofibration i]
                            [HomotopicalAlgebra.WeakEquivalence i] [HomotopicalAlgebra.Fibration p],
                            CategoryTheory.HasLiftingProperty i p)
                          HomotopicalAlgebra.ModelCategory.cm4a._autoParam →
                        autoParam
                            (∀ {A B X Y : C} (i : A ⟶ B) (p : X ⟶ Y) [HomotopicalAlgebra.Cofibration i]
                              [HomotopicalAlgebra.Fibration p] [HomotopicalAlgebra.WeakEquivalence p],
                              CategoryTheory.HasLiftingProperty i p)
                            HomotopicalAlgebra.ModelCategory.cm4b._autoParam →
                          autoParam
                              ((HomotopicalAlgebra.trivialCofibrations C).HasFactorization
                                (HomotopicalAlgebra.fibrations C))
                              HomotopicalAlgebra.ModelCategory.cm5a._autoParam →
                            autoParam
                                ((HomotopicalAlgebra.cofibrations C).HasFactorization
                                  (HomotopicalAlgebra.trivialFibrations C))
                                HomotopicalAlgebra.ModelCategory.cm5b._autoParam →
                              HomotopicalAlgebra.ModelCategory C

instance HomotopicalAlgebra.ModelCategory.categoryWithFibrations E0 #

{C : Type u} →
  {inst : CategoryTheory.Category.{v, u} C} →
    [self : HomotopicalAlgebra.ModelCategory C] → HomotopicalAlgebra.CategoryWithFibrations C

instance HomotopicalAlgebra.ModelCategory.categoryWithCofibrations E0 #

{C : Type u} →
  {inst : CategoryTheory.Category.{v, u} C} →
    [self : HomotopicalAlgebra.ModelCategory C] → HomotopicalAlgebra.CategoryWithCofibrations C

instance HomotopicalAlgebra.ModelCategory.categoryWithWeakEquivalences E0 #

{C : Type u} →
  {inst : CategoryTheory.Category.{v, u} C} →
    [self : HomotopicalAlgebra.ModelCategory C] → HomotopicalAlgebra.CategoryWithWeakEquivalences C

instance HomotopicalAlgebra.ModelCategory.cm1a E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : HomotopicalAlgebra.ModelCategory C],
  CategoryTheory.Limits.HasFiniteLimits C

instance HomotopicalAlgebra.ModelCategory.cm1b E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : HomotopicalAlgebra.ModelCategory C],
  CategoryTheory.Limits.HasFiniteColimits C

instance HomotopicalAlgebra.ModelCategory.cm2 E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : HomotopicalAlgebra.ModelCategory C],
  (HomotopicalAlgebra.weakEquivalences C).HasTwoOutOfThreeProperty

instance HomotopicalAlgebra.ModelCategory.cm3a E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : HomotopicalAlgebra.ModelCategory C],
  (HomotopicalAlgebra.weakEquivalences C).IsStableUnderRetracts

instance HomotopicalAlgebra.ModelCategory.cm3b E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : HomotopicalAlgebra.ModelCategory C],
  (HomotopicalAlgebra.fibrations C).IsStableUnderRetracts

instance HomotopicalAlgebra.ModelCategory.cm3c E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : HomotopicalAlgebra.ModelCategory C],
  (HomotopicalAlgebra.cofibrations C).IsStableUnderRetracts

instance HomotopicalAlgebra.ModelCategory.cm4a E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : HomotopicalAlgebra.ModelCategory C] {A B X Y : C}
  (i : A ⟶ B) (p : X ⟶ Y) [HomotopicalAlgebra.Cofibration i] [HomotopicalAlgebra.WeakEquivalence i]
  [HomotopicalAlgebra.Fibration p], CategoryTheory.HasLiftingProperty i p

instance HomotopicalAlgebra.ModelCategory.cm4b E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : HomotopicalAlgebra.ModelCategory C] {A B X Y : C}
  (i : A ⟶ B) (p : X ⟶ Y) [HomotopicalAlgebra.Cofibration i] [HomotopicalAlgebra.Fibration p]
  [HomotopicalAlgebra.WeakEquivalence p], CategoryTheory.HasLiftingProperty i p

instance HomotopicalAlgebra.ModelCategory.cm5a E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : HomotopicalAlgebra.ModelCategory C],
  (HomotopicalAlgebra.trivialCofibrations C).HasFactorization (HomotopicalAlgebra.fibrations C)

instance HomotopicalAlgebra.ModelCategory.cm5b E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : HomotopicalAlgebra.ModelCategory C],
  (HomotopicalAlgebra.cofibrations C).HasFactorization (HomotopicalAlgebra.trivialFibrations C)

instance HomotopicalAlgebra.ModelCategory.instIsWeakFactorizationSystemTrivialCofibrationsFibrations E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C],
  (HomotopicalAlgebra.trivialCofibrations C).IsWeakFactorizationSystem (HomotopicalAlgebra.fibrations C)

instance HomotopicalAlgebra.ModelCategory.instIsWeakFactorizationSystemCofibrationsTrivialFibrations E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C],
  (HomotopicalAlgebra.cofibrations C).IsWeakFactorizationSystem (HomotopicalAlgebra.trivialFibrations C)

def HomotopicalAlgebra.ModelCategory.mk' E1 #

(C : Type u) →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : HomotopicalAlgebra.CategoryWithFibrations C] →
      [inst_2 : HomotopicalAlgebra.CategoryWithCofibrations C] →
        [inst_3 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] →
          [CategoryTheory.Limits.HasFiniteLimits C] →
            [CategoryTheory.Limits.HasFiniteColimits C] →
              [(HomotopicalAlgebra.weakEquivalences C).HasTwoOutOfThreeProperty] →
                [(HomotopicalAlgebra.cofibrations C).IsWeakFactorizationSystem
                      (HomotopicalAlgebra.trivialFibrations C)] →
                  [(HomotopicalAlgebra.trivialCofibrations C).IsWeakFactorizationSystem
                        (HomotopicalAlgebra.fibrations C)] →
                    HomotopicalAlgebra.ModelCategory C

Constructor for ModelCategory C which assumes a formulation of axioms using weak factorization systems.