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

86 declarations. Mathlib docs · Source

Cylinders

We introduce a notion of cylinder for an object A : C in a model category. It consists of an object I, a weak equivalence π : I ⟶ A equipped with two sections i₀ and i₁. This notion shall be important in the definition of "left homotopies" in model categories.

Implementation notes

The most important definition in this file is Cylinder A. This structure extends another structure Precylinder A (which does not assume that C has a notion of weak equivalences, which can be interesting in situations where we have not yet obtained the model category axioms).

The good properties of cylinders are stated as typeclasses Cylinder.IsGood and Cylinder.IsVeryGood.

The existence of very good cylinder objects in model categories is stated in the lemma Cylinder.exists_very_good.

References

  • [Daniel G. Quillen, Homotopical algebra][Quillen1967]
  • https://ncatlab.org/nlab/show/cylinder+object

def HomotopicalAlgebra.Precylinder.ctorIdx E1 #

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

theorem HomotopicalAlgebra.Precylinder.mk.inj E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {A I : C} {i₀ i₁ : A ⟶ I} {π : I ⟶ A}
  {i₀_π :
    autoParam (CategoryTheory.CategoryStruct.comp i₀ π = CategoryTheory.CategoryStruct.id A)
      HomotopicalAlgebra.Precylinder.i₀_π._autoParam}
  {i₁_π :
    autoParam (CategoryTheory.CategoryStruct.comp i₁ π = CategoryTheory.CategoryStruct.id A)
      HomotopicalAlgebra.Precylinder.i₁_π._autoParam}
  {I_1 : C} {i₀_1 i₁_1 : A ⟶ I_1} {π_1 : I_1 ⟶ A}
  {i₀_π_1 :
    autoParam (CategoryTheory.CategoryStruct.comp i₀_1 π_1 = CategoryTheory.CategoryStruct.id A)
      HomotopicalAlgebra.Precylinder.i₀_π._autoParam}
  {i₁_π_1 :
    autoParam (CategoryTheory.CategoryStruct.comp i₁_1 π_1 = CategoryTheory.CategoryStruct.id A)
      HomotopicalAlgebra.Precylinder.i₁_π._autoParam},
  { I := I, i₀ := i₀, i₁ := i₁, π := π, i₀_π := i₀_π, i₁_π := i₁_π } =
      { I := I_1, i₀ := i₀_1, i₁ := i₁_1, π := π_1, i₀_π := i₀_π_1, i₁_π := i₁_π_1 } →
    I = I_1 ∧ i₀ ≍ i₀_1 ∧ i₁ ≍ i₁_1 ∧ π ≍ π_1

def HomotopicalAlgebra.Cylinder.ctorIdx E1 #

{C : Type u} →
  {inst : CategoryTheory.Category.{v, u} C} →
    {inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C} → {A : C} → HomotopicalAlgebra.Cylinder A → ℕ

theorem HomotopicalAlgebra.Cylinder.IsGood.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] (P P_1 : HomotopicalAlgebra.Cylinder A),
  P = P_1 →
    ∀ [inst_2 : CategoryTheory.Limits.HasBinaryCoproduct A A] [inst_3 : HomotopicalAlgebra.CategoryWithCofibrations C],
      P.IsGood = P_1.IsGood

theorem HomotopicalAlgebra.Cylinder.mk.injEq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C]
  {A : C} (toPrecylinder : HomotopicalAlgebra.Precylinder A)
  (weakEquivalence_π :
    autoParam (HomotopicalAlgebra.WeakEquivalence toPrecylinder.π)
      HomotopicalAlgebra.Cylinder.weakEquivalence_π._autoParam)
  (toPrecylinder_1 : HomotopicalAlgebra.Precylinder A)
  (weakEquivalence_π_1 :
    autoParam (HomotopicalAlgebra.WeakEquivalence toPrecylinder_1.π)
      HomotopicalAlgebra.Cylinder.weakEquivalence_π._autoParam),
  ({ toPrecylinder := toPrecylinder, weakEquivalence_π := weakEquivalence_π } =
      { toPrecylinder := toPrecylinder_1, weakEquivalence_π := weakEquivalence_π_1 }) =
    (toPrecylinder = toPrecylinder_1)

theorem HomotopicalAlgebra.Precylinder.mk.injEq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C} (I : C) (i₀ i₁ : A ⟶ I) (π : I ⟶ A)
  (i₀_π :
    autoParam (CategoryTheory.CategoryStruct.comp i₀ π = CategoryTheory.CategoryStruct.id A)
      HomotopicalAlgebra.Precylinder.i₀_π._autoParam)
  (i₁_π :
    autoParam (CategoryTheory.CategoryStruct.comp i₁ π = CategoryTheory.CategoryStruct.id A)
      HomotopicalAlgebra.Precylinder.i₁_π._autoParam)
  (I_1 : C) (i₀_1 i₁_1 : A ⟶ I_1) (π_1 : I_1 ⟶ A)
  (i₀_π_1 :
    autoParam (CategoryTheory.CategoryStruct.comp i₀_1 π_1 = CategoryTheory.CategoryStruct.id A)
      HomotopicalAlgebra.Precylinder.i₀_π._autoParam)
  (i₁_π_1 :
    autoParam (CategoryTheory.CategoryStruct.comp i₁_1 π_1 = CategoryTheory.CategoryStruct.id A)
      HomotopicalAlgebra.Precylinder.i₁_π._autoParam),
  ({ I := I, i₀ := i₀, i₁ := i₁, π := π, i₀_π := i₀_π, i₁_π := i₁_π } =
      { I := I_1, i₀ := i₀_1, i₁ := i₁_1, π := π_1, i₀_π := i₀_π_1, i₁_π := i₁_π_1 }) =
    (I = I_1 ∧ i₀ ≍ i₀_1 ∧ i₁ ≍ i₁_1 ∧ π ≍ π_1)

theorem HomotopicalAlgebra.Cylinder.mk.inj E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C}
  {A : C} {toPrecylinder : HomotopicalAlgebra.Precylinder A}
  {weakEquivalence_π :
    autoParam (HomotopicalAlgebra.WeakEquivalence toPrecylinder.π)
      HomotopicalAlgebra.Cylinder.weakEquivalence_π._autoParam}
  {toPrecylinder_1 : HomotopicalAlgebra.Precylinder A}
  {weakEquivalence_π_1 :
    autoParam (HomotopicalAlgebra.WeakEquivalence toPrecylinder_1.π)
      HomotopicalAlgebra.Cylinder.weakEquivalence_π._autoParam},
  { toPrecylinder := toPrecylinder, weakEquivalence_π := weakEquivalence_π } =
      { toPrecylinder := toPrecylinder_1, weakEquivalence_π := weakEquivalence_π_1 } →
    toPrecylinder = toPrecylinder_1

structure HomotopicalAlgebra.Precylinder E1 #

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

A precylinder for A : C is the data of a morphism π : I ⟶ A equipped with two sections.

ctor HomotopicalAlgebra.Precylinder.mk E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : C} →
      (I : C) →
        (i₀ i₁ : A ⟶ I) →
          (π : I ⟶ A) →
            autoParam (CategoryTheory.CategoryStruct.comp i₀ π = CategoryTheory.CategoryStruct.id A)
                HomotopicalAlgebra.Precylinder.i₀_π._autoParam →
              autoParam (CategoryTheory.CategoryStruct.comp i₁ π = CategoryTheory.CategoryStruct.id A)
                  HomotopicalAlgebra.Precylinder.i₁_π._autoParam →
                HomotopicalAlgebra.Precylinder A

abbrev HomotopicalAlgebra.Precylinder.I E1 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {A : C} → HomotopicalAlgebra.Precylinder A → C

the underlying object of a (pre)cylinder

abbrev HomotopicalAlgebra.Precylinder.i₀ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] → {A : C} → (self : HomotopicalAlgebra.Precylinder A) → A ⟶ self.I

the first "inclusion" in the (pre)cylinder

abbrev HomotopicalAlgebra.Precylinder.i₁ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] → {A : C} → (self : HomotopicalAlgebra.Precylinder A) → A ⟶ self.I

the second "inclusion" in the (pre)cylinder

abbrev HomotopicalAlgebra.Precylinder.π E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] → {A : C} → (self : HomotopicalAlgebra.Precylinder A) → self.I ⟶ A

the codiagonal of the (pre)cylinder

theorem HomotopicalAlgebra.Precylinder.i₀_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C} (self : HomotopicalAlgebra.Precylinder A),
  CategoryTheory.CategoryStruct.comp self.i₀ self.π = CategoryTheory.CategoryStruct.id A

theorem HomotopicalAlgebra.Precylinder.i₁_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C} (self : HomotopicalAlgebra.Precylinder A),
  CategoryTheory.CategoryStruct.comp self.i₁ self.π = CategoryTheory.CategoryStruct.id A

theorem HomotopicalAlgebra.Precylinder.i₁_π_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C} (self : HomotopicalAlgebra.Precylinder A) {Z : C}
  (h : A ⟶ Z), CategoryTheory.CategoryStruct.comp self.i₁ (CategoryTheory.CategoryStruct.comp self.π h) = h

theorem HomotopicalAlgebra.Precylinder.i₀_π_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C} (self : HomotopicalAlgebra.Precylinder A) {Z : C}
  (h : A ⟶ Z), CategoryTheory.CategoryStruct.comp self.i₀ (CategoryTheory.CategoryStruct.comp self.π h) = h

def HomotopicalAlgebra.Precylinder.symm E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : C} → HomotopicalAlgebra.Precylinder A → HomotopicalAlgebra.Precylinder A

The precylinder object obtained by switching the two inclusions.

theorem HomotopicalAlgebra.Precylinder.symm_i₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C} (P : HomotopicalAlgebra.Precylinder A),
  P.symm.i₀ = P.i₁

theorem HomotopicalAlgebra.Precylinder.symm_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C} (P : HomotopicalAlgebra.Precylinder A), P.symm.π = P.π

theorem HomotopicalAlgebra.Precylinder.symm_i₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C} (P : HomotopicalAlgebra.Precylinder A),
  P.symm.i₁ = P.i₀

theorem HomotopicalAlgebra.Precylinder.symm_I E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C} (P : HomotopicalAlgebra.Precylinder A), P.symm.I = P.I

def HomotopicalAlgebra.Precylinder.trans E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : C} →
      (P P' : HomotopicalAlgebra.Precylinder A) →
        [CategoryTheory.Limits.HasPushout P.i₁ P'.i₀] → HomotopicalAlgebra.Precylinder A

The gluing of two precylinders.

theorem HomotopicalAlgebra.Precylinder.trans_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C} (P P' : HomotopicalAlgebra.Precylinder A)
  [inst_1 : CategoryTheory.Limits.HasPushout P.i₁ P'.i₀], (P.trans P').π = CategoryTheory.Limits.pushout.desc P.π P'.π ⋯

theorem HomotopicalAlgebra.Precylinder.trans_I E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C} (P P' : HomotopicalAlgebra.Precylinder A)
  [inst_1 : CategoryTheory.Limits.HasPushout P.i₁ P'.i₀], (P.trans P').I = CategoryTheory.Limits.pushout P.i₁ P'.i₀

theorem HomotopicalAlgebra.Precylinder.trans_i₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C} (P P' : HomotopicalAlgebra.Precylinder A)
  [inst_1 : CategoryTheory.Limits.HasPushout P.i₁ P'.i₀],
  (P.trans P').i₁ = CategoryTheory.CategoryStruct.comp P'.i₁ (CategoryTheory.Limits.pushout.inr P.i₁ P'.i₀)

theorem HomotopicalAlgebra.Precylinder.trans_i₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C} (P P' : HomotopicalAlgebra.Precylinder A)
  [inst_1 : CategoryTheory.Limits.HasPushout P.i₁ P'.i₀],
  (P.trans P').i₀ = CategoryTheory.CategoryStruct.comp P.i₀ (CategoryTheory.Limits.pushout.inl P.i₁ P'.i₀)

def HomotopicalAlgebra.Precylinder.i E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : C} →
      (P : HomotopicalAlgebra.Precylinder A) → [inst_1 : CategoryTheory.Limits.HasBinaryCoproduct A A] → A ⨿ A ⟶ P.I

the map from the coproduct of two copies of A to P.I, when P is a cylinder object for A. P shall be a good cylinder object when this morphism is a cofibration.

theorem HomotopicalAlgebra.Precylinder.inl_i_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C} (P : HomotopicalAlgebra.Precylinder A)
  [inst_1 : CategoryTheory.Limits.HasBinaryCoproduct A A] {Z : C} (h : P.I ⟶ Z),
  CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.coprod.inl (CategoryTheory.CategoryStruct.comp P.i h) =
    CategoryTheory.CategoryStruct.comp P.i₀ h

theorem HomotopicalAlgebra.Precylinder.inl_i E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C} (P : HomotopicalAlgebra.Precylinder A)
  [inst_1 : CategoryTheory.Limits.HasBinaryCoproduct A A],
  CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.coprod.inl P.i = P.i₀

theorem HomotopicalAlgebra.Precylinder.inr_i E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C} (P : HomotopicalAlgebra.Precylinder A)
  [inst_1 : CategoryTheory.Limits.HasBinaryCoproduct A A],
  CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.coprod.inr P.i = P.i₁

theorem HomotopicalAlgebra.Precylinder.inr_i_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C} (P : HomotopicalAlgebra.Precylinder A)
  [inst_1 : CategoryTheory.Limits.HasBinaryCoproduct A A] {Z : C} (h : P.I ⟶ Z),
  CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.coprod.inr (CategoryTheory.CategoryStruct.comp P.i h) =
    CategoryTheory.CategoryStruct.comp P.i₁ h

theorem HomotopicalAlgebra.Precylinder.symm_i_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C} (P : HomotopicalAlgebra.Precylinder A)
  [inst_1 : CategoryTheory.Limits.HasBinaryCoproducts C] {Z : C} (h : P.symm.I ⟶ Z),
  CategoryTheory.CategoryStruct.comp P.symm.i h =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.coprod.braiding A A).hom
      (CategoryTheory.CategoryStruct.comp P.i h)

theorem HomotopicalAlgebra.Precylinder.symm_i E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C} (P : HomotopicalAlgebra.Precylinder A)
  [inst_1 : CategoryTheory.Limits.HasBinaryCoproducts C],
  P.symm.i = CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.coprod.braiding A A).hom P.i

def HomotopicalAlgebra.Precylinder.toFullSubcategory E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {P : CategoryTheory.ObjectProperty C} →
      {X : P.FullSubcategory} → (Q : HomotopicalAlgebra.Precylinder X.obj) → P Q.I → HomotopicalAlgebra.Precylinder X

The precylinder in a full subcategory of C induced by a precylinder in the category C.

theorem HomotopicalAlgebra.Precylinder.toFullSubcategory_i₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.ObjectProperty C} {X : P.FullSubcategory}
  (Q : HomotopicalAlgebra.Precylinder X.obj) (hQ : P Q.I),
  (Q.toFullSubcategory hQ).i₀ = CategoryTheory.ObjectProperty.homMk Q.i₀

theorem HomotopicalAlgebra.Precylinder.toFullSubcategory_I_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.ObjectProperty C} {X : P.FullSubcategory}
  (Q : HomotopicalAlgebra.Precylinder X.obj) (hQ : P Q.I), (Q.toFullSubcategory hQ).I.obj = Q.I

theorem HomotopicalAlgebra.Precylinder.toFullSubcategory_i₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.ObjectProperty C} {X : P.FullSubcategory}
  (Q : HomotopicalAlgebra.Precylinder X.obj) (hQ : P Q.I),
  (Q.toFullSubcategory hQ).i₁ = CategoryTheory.ObjectProperty.homMk Q.i₁

theorem HomotopicalAlgebra.Precylinder.toFullSubcategory_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.ObjectProperty C} {X : P.FullSubcategory}
  (Q : HomotopicalAlgebra.Precylinder X.obj) (hQ : P Q.I),
  (Q.toFullSubcategory hQ).π = CategoryTheory.ObjectProperty.homMk Q.π

def HomotopicalAlgebra.Precylinder.map E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X : C} →
      HomotopicalAlgebra.Precylinder X →
        {D : Type u_1} →
          [inst_1 : CategoryTheory.Category.{v_1, u_1} D] →
            (F : CategoryTheory.Functor C D) → HomotopicalAlgebra.Precylinder (F.obj X)

The image of a precylinder by a functor.

theorem HomotopicalAlgebra.Precylinder.map_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} (P : HomotopicalAlgebra.Precylinder X) {D : Type u_1}
  [inst_1 : CategoryTheory.Category.{v_1, u_1} D] (F : CategoryTheory.Functor C D), (P.map F).π = F.map P.π

theorem HomotopicalAlgebra.Precylinder.map_i₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} (P : HomotopicalAlgebra.Precylinder X) {D : Type u_1}
  [inst_1 : CategoryTheory.Category.{v_1, u_1} D] (F : CategoryTheory.Functor C D), (P.map F).i₀ = F.map P.i₀

theorem HomotopicalAlgebra.Precylinder.map_i₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} (P : HomotopicalAlgebra.Precylinder X) {D : Type u_1}
  [inst_1 : CategoryTheory.Category.{v_1, u_1} D] (F : CategoryTheory.Functor C D), (P.map F).i₁ = F.map P.i₁

theorem HomotopicalAlgebra.Precylinder.map_I E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} (P : HomotopicalAlgebra.Precylinder X) {D : Type u_1}
  [inst_1 : CategoryTheory.Category.{v_1, u_1} D] (F : CategoryTheory.Functor C D), (P.map F).I = F.obj P.I

structure HomotopicalAlgebra.Cylinder E1 #

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

In a category with weak equivalences, a cylinder is the data of a weak equivalence π : I ⟶ A equipped with two sections

abbrev HomotopicalAlgebra.Cylinder.toPrecylinder E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] →
      {A : C} → HomotopicalAlgebra.Cylinder A → HomotopicalAlgebra.Precylinder A

ctor HomotopicalAlgebra.Cylinder.mk E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] →
      {A : C} →
        (toPrecylinder : HomotopicalAlgebra.Precylinder A) →
          autoParam (HomotopicalAlgebra.WeakEquivalence toPrecylinder.π)
              HomotopicalAlgebra.Cylinder.weakEquivalence_π._autoParam →
            HomotopicalAlgebra.Cylinder A

instance HomotopicalAlgebra.Cylinder.weakEquivalence_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C]
  {A : C} (self : HomotopicalAlgebra.Cylinder A), HomotopicalAlgebra.WeakEquivalence self.π

def HomotopicalAlgebra.Cylinder.symm E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : C} →
      [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] →
        HomotopicalAlgebra.Cylinder A → HomotopicalAlgebra.Cylinder A

The cylinder object obtained by switching the two inclusions.

theorem HomotopicalAlgebra.Cylinder.symm_i₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] (P : HomotopicalAlgebra.Cylinder A), P.symm.i₁ = P.i₀

theorem HomotopicalAlgebra.Cylinder.symm_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] (P : HomotopicalAlgebra.Cylinder A), P.symm.π = P.π

theorem HomotopicalAlgebra.Cylinder.symm_i₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] (P : HomotopicalAlgebra.Cylinder A), P.symm.i₀ = P.i₁

theorem HomotopicalAlgebra.Cylinder.symm_I E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] (P : HomotopicalAlgebra.Cylinder A), P.symm.I = P.I

theorem HomotopicalAlgebra.Cylinder.symm_i E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] (P : HomotopicalAlgebra.Cylinder A)
  [inst_2 : CategoryTheory.Limits.HasBinaryCoproducts C],
  P.symm.i = CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.coprod.braiding A A).hom P.i

theorem HomotopicalAlgebra.Cylinder.symm_i_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] (P : HomotopicalAlgebra.Cylinder A)
  [inst_2 : CategoryTheory.Limits.HasBinaryCoproducts C] {Z : C} (h : P.symm.I ⟶ Z),
  CategoryTheory.CategoryStruct.comp P.symm.i h =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.coprod.braiding A A).hom
      (CategoryTheory.CategoryStruct.comp P.i h)

instance HomotopicalAlgebra.Cylinder.instWeakEquivalenceI₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] (P : HomotopicalAlgebra.Cylinder A)
  [(HomotopicalAlgebra.weakEquivalences C).HasTwoOutOfThreeProperty]
  [(HomotopicalAlgebra.weakEquivalences C).ContainsIdentities], HomotopicalAlgebra.WeakEquivalence P.i₀

instance HomotopicalAlgebra.Cylinder.instWeakEquivalenceI₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] (P : HomotopicalAlgebra.Cylinder A)
  [(HomotopicalAlgebra.weakEquivalences C).HasTwoOutOfThreeProperty]
  [(HomotopicalAlgebra.weakEquivalences C).ContainsIdentities], HomotopicalAlgebra.WeakEquivalence P.i₁

class HomotopicalAlgebra.Cylinder.IsGood E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : C} →
      [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] →
        HomotopicalAlgebra.Cylinder A →
          [CategoryTheory.Limits.HasBinaryCoproduct A A] → [HomotopicalAlgebra.CategoryWithCofibrations C] → Prop

A cylinder object P is good if the morphism P.i : A ⨿ A ⟶ P.I is a cofibration.

ctor HomotopicalAlgebra.Cylinder.IsGood.mk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] {P : HomotopicalAlgebra.Cylinder A}
  [inst_2 : CategoryTheory.Limits.HasBinaryCoproduct A A] [inst_3 : HomotopicalAlgebra.CategoryWithCofibrations C],
  autoParam (HomotopicalAlgebra.Cofibration P.i) HomotopicalAlgebra.Cylinder.IsGood.cofibration_i._autoParam → P.IsGood

instance HomotopicalAlgebra.Cylinder.IsGood.cofibration_i E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {A : C}
  {inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C} {P : HomotopicalAlgebra.Cylinder A}
  {inst_2 : CategoryTheory.Limits.HasBinaryCoproduct A A} {inst_3 : HomotopicalAlgebra.CategoryWithCofibrations C}
  [self : P.IsGood], HomotopicalAlgebra.Cofibration P.i

class HomotopicalAlgebra.Cylinder.IsVeryGood E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : C} →
      [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] →
        HomotopicalAlgebra.Cylinder A →
          [CategoryTheory.Limits.HasBinaryCoproduct A A] →
            [HomotopicalAlgebra.CategoryWithCofibrations C] → [HomotopicalAlgebra.CategoryWithFibrations C] → Prop

A good cylinder object P is very good if P.π is a (trivial) fibration.

instance HomotopicalAlgebra.Cylinder.IsVeryGood.toIsGood E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {A : C}
  {inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C} {P : HomotopicalAlgebra.Cylinder A}
  {inst_2 : CategoryTheory.Limits.HasBinaryCoproduct A A} {inst_3 : HomotopicalAlgebra.CategoryWithCofibrations C}
  {inst_4 : HomotopicalAlgebra.CategoryWithFibrations C} [self : P.IsVeryGood], P.IsGood

ctor HomotopicalAlgebra.Cylinder.IsVeryGood.mk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] {P : HomotopicalAlgebra.Cylinder A}
  [inst_2 : CategoryTheory.Limits.HasBinaryCoproduct A A] [inst_3 : HomotopicalAlgebra.CategoryWithCofibrations C]
  [inst_4 : HomotopicalAlgebra.CategoryWithFibrations C] [toIsGood : P.IsGood],
  autoParam (HomotopicalAlgebra.Fibration P.π) HomotopicalAlgebra.Cylinder.IsVeryGood.fibration_π._autoParam →
    P.IsVeryGood

instance HomotopicalAlgebra.Cylinder.IsVeryGood.fibration_π E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {A : C}
  {inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C} {P : HomotopicalAlgebra.Cylinder A}
  {inst_2 : CategoryTheory.Limits.HasBinaryCoproduct A A} {inst_3 : HomotopicalAlgebra.CategoryWithCofibrations C}
  {inst_4 : HomotopicalAlgebra.CategoryWithFibrations C} [self : P.IsVeryGood], HomotopicalAlgebra.Fibration P.π

instance HomotopicalAlgebra.Cylinder.instCofibrationI₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] (P : HomotopicalAlgebra.Cylinder A)
  [inst_2 : CategoryTheory.Limits.HasBinaryCoproduct A A] [inst_3 : HomotopicalAlgebra.CategoryWithCofibrations C]
  [inst_4 : CategoryTheory.Limits.HasInitial C] [(HomotopicalAlgebra.cofibrations C).IsStableUnderComposition]
  [(HomotopicalAlgebra.cofibrations C).IsStableUnderCobaseChange] [HomotopicalAlgebra.IsCofibrant A] [P.IsGood],
  HomotopicalAlgebra.Cofibration P.i₀

instance HomotopicalAlgebra.Cylinder.instCofibrationI₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] (P : HomotopicalAlgebra.Cylinder A)
  [inst_2 : CategoryTheory.Limits.HasBinaryCoproduct A A] [inst_3 : HomotopicalAlgebra.CategoryWithCofibrations C]
  [inst_4 : CategoryTheory.Limits.HasInitial C] [(HomotopicalAlgebra.cofibrations C).IsStableUnderComposition]
  [(HomotopicalAlgebra.cofibrations C).IsStableUnderCobaseChange] [HomotopicalAlgebra.IsCofibrant A] [P.IsGood],
  HomotopicalAlgebra.Cofibration P.i₁

instance HomotopicalAlgebra.Cylinder.instIsCofibrantI E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] (P : HomotopicalAlgebra.Cylinder A)
  [inst_2 : CategoryTheory.Limits.HasBinaryCoproduct A A] [inst_3 : HomotopicalAlgebra.CategoryWithCofibrations C]
  [inst_4 : CategoryTheory.Limits.HasInitial C] [(HomotopicalAlgebra.cofibrations C).IsStableUnderComposition]
  [(HomotopicalAlgebra.cofibrations C).IsStableUnderCobaseChange] [HomotopicalAlgebra.IsCofibrant A] [P.IsGood],
  HomotopicalAlgebra.IsCofibrant P.I

instance HomotopicalAlgebra.Cylinder.instIsGoodSymmOfRespectsIsoCofibrations E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] (P : HomotopicalAlgebra.Cylinder A)
  [inst_2 : CategoryTheory.Limits.HasBinaryCoproducts C] [inst_3 : HomotopicalAlgebra.CategoryWithCofibrations C]
  [P.IsGood] [(HomotopicalAlgebra.cofibrations C).RespectsIso], P.symm.IsGood

instance HomotopicalAlgebra.Cylinder.instIsFibrantIOfIsVeryGood E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] (P : HomotopicalAlgebra.Cylinder A)
  [inst_2 : HomotopicalAlgebra.CategoryWithCofibrations C] [inst_3 : HomotopicalAlgebra.CategoryWithFibrations C]
  [(HomotopicalAlgebra.fibrations C).IsStableUnderComposition] [inst_5 : CategoryTheory.Limits.HasBinaryCoproduct A A]
  [inst_6 : CategoryTheory.Limits.HasTerminal C] [HomotopicalAlgebra.IsFibrant A] [P.IsVeryGood],
  HomotopicalAlgebra.IsFibrant P.I

instance HomotopicalAlgebra.Cylinder.instIsVeryGoodSymmOfRespectsIsoCofibrations E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] (P : HomotopicalAlgebra.Cylinder A)
  [inst_2 : HomotopicalAlgebra.CategoryWithCofibrations C] [inst_3 : HomotopicalAlgebra.CategoryWithFibrations C]
  [(HomotopicalAlgebra.cofibrations C).RespectsIso] [inst_5 : CategoryTheory.Limits.HasBinaryCoproducts C]
  [P.IsVeryGood], P.symm.IsVeryGood

def HomotopicalAlgebra.Cylinder.ofFactorizationData E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : HomotopicalAlgebra.ModelCategory C] →
      {A : C} →
        (HomotopicalAlgebra.cofibrations C).MapFactorizationData (HomotopicalAlgebra.trivialFibrations C)
            (CategoryTheory.Limits.codiag A) →
          HomotopicalAlgebra.Cylinder A

A cylinder object for A can be obtained from a factorization of the obvious map A ⨿ A ⟶ A as a cofibration followed by a trivial fibration.

theorem HomotopicalAlgebra.Cylinder.ofFactorizationData_i₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {A : C}
  (h :
    (HomotopicalAlgebra.cofibrations C).MapFactorizationData (HomotopicalAlgebra.trivialFibrations C)
      (CategoryTheory.Limits.codiag A)),
  (HomotopicalAlgebra.Cylinder.ofFactorizationData h).i₀ =
    CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.coprod.inl h.i

theorem HomotopicalAlgebra.Cylinder.ofFactorizationData_i₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {A : C}
  (h :
    (HomotopicalAlgebra.cofibrations C).MapFactorizationData (HomotopicalAlgebra.trivialFibrations C)
      (CategoryTheory.Limits.codiag A)),
  (HomotopicalAlgebra.Cylinder.ofFactorizationData h).i₁ =
    CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.coprod.inr h.i

theorem HomotopicalAlgebra.Cylinder.ofFactorizationData_I E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {A : C}
  (h :
    (HomotopicalAlgebra.cofibrations C).MapFactorizationData (HomotopicalAlgebra.trivialFibrations C)
      (CategoryTheory.Limits.codiag A)),
  (HomotopicalAlgebra.Cylinder.ofFactorizationData h).I = h.Z

theorem HomotopicalAlgebra.Cylinder.ofFactorizationData_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {A : C}
  (h :
    (HomotopicalAlgebra.cofibrations C).MapFactorizationData (HomotopicalAlgebra.trivialFibrations C)
      (CategoryTheory.Limits.codiag A)),
  (HomotopicalAlgebra.Cylinder.ofFactorizationData h).π = h.p

theorem HomotopicalAlgebra.Cylinder.ofFactorizationData_i E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {A : C}
  (h :
    (HomotopicalAlgebra.cofibrations C).MapFactorizationData (HomotopicalAlgebra.trivialFibrations C)
      (CategoryTheory.Limits.codiag A)),
  (HomotopicalAlgebra.Cylinder.ofFactorizationData h).i = h.i

instance HomotopicalAlgebra.Cylinder.instIsVeryGoodOfFactorizationData E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {A : C}
  (h :
    (HomotopicalAlgebra.cofibrations C).MapFactorizationData (HomotopicalAlgebra.trivialFibrations C)
      (CategoryTheory.Limits.codiag A)),
  (HomotopicalAlgebra.Cylinder.ofFactorizationData h).IsVeryGood

instance HomotopicalAlgebra.Cylinder.instIsFibrantIOfFactorizationDataOfIsStableUnderCompositionFibrations E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {A : C}
  (h :
    (HomotopicalAlgebra.cofibrations C).MapFactorizationData (HomotopicalAlgebra.trivialFibrations C)
      (CategoryTheory.Limits.codiag A))
  [inst_2 : CategoryTheory.Limits.HasTerminal C] [HomotopicalAlgebra.IsFibrant A]
  [(HomotopicalAlgebra.fibrations C).IsStableUnderComposition],
  HomotopicalAlgebra.IsFibrant (HomotopicalAlgebra.Cylinder.ofFactorizationData h).I

theorem HomotopicalAlgebra.Cylinder.exists_very_good E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] (A : C),
  ∃ P, P.IsVeryGood

instance HomotopicalAlgebra.Cylinder.instNonempty E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {A : C},
  Nonempty (HomotopicalAlgebra.Cylinder A)

def HomotopicalAlgebra.Cylinder.trans E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : HomotopicalAlgebra.ModelCategory C] →
      {A : C} →
        [HomotopicalAlgebra.IsCofibrant A] →
          HomotopicalAlgebra.Cylinder A →
            (P' : HomotopicalAlgebra.Cylinder A) → [P'.IsGood] → HomotopicalAlgebra.Cylinder A

The gluing of two good cylinders.

theorem HomotopicalAlgebra.Cylinder.trans_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {A : C}
  [inst_2 : HomotopicalAlgebra.IsCofibrant A] (P P' : HomotopicalAlgebra.Cylinder A) [inst_3 : P'.IsGood],
  (P.trans P').π = CategoryTheory.Limits.pushout.desc P.π P'.π ⋯

theorem HomotopicalAlgebra.Cylinder.trans_i₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {A : C}
  [inst_2 : HomotopicalAlgebra.IsCofibrant A] (P P' : HomotopicalAlgebra.Cylinder A) [inst_3 : P'.IsGood],
  (P.trans P').i₀ = CategoryTheory.CategoryStruct.comp P.i₀ (CategoryTheory.Limits.pushout.inl P.i₁ P'.i₀)

theorem HomotopicalAlgebra.Cylinder.trans_I E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {A : C}
  [inst_2 : HomotopicalAlgebra.IsCofibrant A] (P P' : HomotopicalAlgebra.Cylinder A) [inst_3 : P'.IsGood],
  (P.trans P').I = CategoryTheory.Limits.pushout P.i₁ P'.i₀

theorem HomotopicalAlgebra.Cylinder.trans_i₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {A : C}
  [inst_2 : HomotopicalAlgebra.IsCofibrant A] (P P' : HomotopicalAlgebra.Cylinder A) [inst_3 : P'.IsGood],
  (P.trans P').i₁ = CategoryTheory.CategoryStruct.comp P'.i₁ (CategoryTheory.Limits.pushout.inr P.i₁ P'.i₀)

instance HomotopicalAlgebra.Cylinder.instIsGoodTrans E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {A : C}
  [inst_2 : HomotopicalAlgebra.IsCofibrant A] (P P' : HomotopicalAlgebra.Cylinder A) [P.IsGood] [inst_4 : P'.IsGood],
  (P.trans P').IsGood