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

54 declarations. Mathlib docs · Source

Right homotopies in model categories

We introduce the types PrepathObject.RightHomotopy and PathObject.RightHomotopy of homotopies between morphisms X ⟶ Y relative to a (pre)path object of Y. Given two morphisms f and g, we introduce the relation RightHomotopyRel f g asserting the existence of a path object P and a right homotopy P.RightHomotopy f g, and we define the quotient type RightHomotopyClass X Y. We show that if Y is a fibrant object in a model category, then RightHomotopyRel is an equivalence relation on X ⟶ Y.

(This file dualizes the definitions in Mathlib/AlgebraicTopology/ModelCategory/LeftHomotopy.lean.)

References

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

theorem HomotopicalAlgebra.PathObject.IsVeryGood.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] (P P_1 : HomotopicalAlgebra.PathObject A),
  P = P_1 →
    ∀ [inst_2 : CategoryTheory.Limits.HasBinaryProduct A A] [inst_3 : HomotopicalAlgebra.CategoryWithFibrations C]
      [inst_4 : HomotopicalAlgebra.CategoryWithCofibrations C], P.IsVeryGood = P_1.IsVeryGood

theorem HomotopicalAlgebra.PrepathObject.RightHomotopy.mk.injEq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {Y : C} {P : HomotopicalAlgebra.PrepathObject Y} {X : C}
  {f g : X ⟶ Y} (h : X ⟶ P.P)
  (h₀ :
    autoParam (CategoryTheory.CategoryStruct.comp h P.p₀ = f)
      HomotopicalAlgebra.PrepathObject.RightHomotopy.h₀._autoParam)
  (h₁ :
    autoParam (CategoryTheory.CategoryStruct.comp h P.p₁ = g)
      HomotopicalAlgebra.PrepathObject.RightHomotopy.h₁._autoParam)
  (h_1 : X ⟶ P.P)
  (h₀_1 :
    autoParam (CategoryTheory.CategoryStruct.comp h_1 P.p₀ = f)
      HomotopicalAlgebra.PrepathObject.RightHomotopy.h₀._autoParam)
  (h₁_1 :
    autoParam (CategoryTheory.CategoryStruct.comp h_1 P.p₁ = g)
      HomotopicalAlgebra.PrepathObject.RightHomotopy.h₁._autoParam),
  ({ h := h, h₀ := h₀, h₁ := h₁ } = { h := h_1, h₀ := h₀_1, h₁ := h₁_1 }) = (h = h_1)

def HomotopicalAlgebra.PrepathObject.RightHomotopy.ctorIdx E1 #

{C : Type u} →
  {inst : CategoryTheory.Category.{v, u} C} →
    {Y : C} → {P : HomotopicalAlgebra.PrepathObject Y} → {X : C} → {f g : X ⟶ Y} → P.RightHomotopy f g → ℕ

theorem HomotopicalAlgebra.PrepathObject.RightHomotopy.mk.inj E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {Y : C} {P : HomotopicalAlgebra.PrepathObject Y} {X : C}
  {f g : X ⟶ Y} {h : X ⟶ P.P}
  {h₀ :
    autoParam (CategoryTheory.CategoryStruct.comp h P.p₀ = f)
      HomotopicalAlgebra.PrepathObject.RightHomotopy.h₀._autoParam}
  {h₁ :
    autoParam (CategoryTheory.CategoryStruct.comp h P.p₁ = g)
      HomotopicalAlgebra.PrepathObject.RightHomotopy.h₁._autoParam}
  {h_1 : X ⟶ P.P}
  {h₀_1 :
    autoParam (CategoryTheory.CategoryStruct.comp h_1 P.p₀ = f)
      HomotopicalAlgebra.PrepathObject.RightHomotopy.h₀._autoParam}
  {h₁_1 :
    autoParam (CategoryTheory.CategoryStruct.comp h_1 P.p₁ = g)
      HomotopicalAlgebra.PrepathObject.RightHomotopy.h₁._autoParam},
  { h := h, h₀ := h₀, h₁ := h₁ } = { h := h_1, h₀ := h₀_1, h₁ := h₁_1 } → h = h_1

structure HomotopicalAlgebra.PrepathObject.RightHomotopy E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {Y : C} → HomotopicalAlgebra.PrepathObject Y → {X : C} → (X ⟶ Y) → (X ⟶ Y) → Type v

Given a pre-path object P for Y, two maps f and g in X ⟶ Y are homotopic relative to P when there is a morphism h : X ⟶ P.P such that h ≫ P.p₀ = f and h ≫ P.p₁ = g.

ctor HomotopicalAlgebra.PrepathObject.RightHomotopy.mk E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {Y : C} →
      {P : HomotopicalAlgebra.PrepathObject Y} →
        {X : C} →
          {f g : X ⟶ Y} →
            (h : X ⟶ P.P) →
              autoParam (CategoryTheory.CategoryStruct.comp h P.p₀ = f)
                  HomotopicalAlgebra.PrepathObject.RightHomotopy.h₀._autoParam →
                autoParam (CategoryTheory.CategoryStruct.comp h P.p₁ = g)
                    HomotopicalAlgebra.PrepathObject.RightHomotopy.h₁._autoParam →
                  P.RightHomotopy f g

abbrev HomotopicalAlgebra.PrepathObject.RightHomotopy.h E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {Y : C} → {P : HomotopicalAlgebra.PrepathObject Y} → {X : C} → {f g : X ⟶ Y} → P.RightHomotopy f g → (X ⟶ P.P)

a morphism from the source to the pre-path object

theorem HomotopicalAlgebra.PrepathObject.RightHomotopy.h₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {Y : C} {P : HomotopicalAlgebra.PrepathObject Y} {X : C}
  {f g : X ⟶ Y} (self : P.RightHomotopy f g), CategoryTheory.CategoryStruct.comp self.h P.p₀ = f

theorem HomotopicalAlgebra.PrepathObject.RightHomotopy.h₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {Y : C} {P : HomotopicalAlgebra.PrepathObject Y} {X : C}
  {f g : X ⟶ Y} (self : P.RightHomotopy f g), CategoryTheory.CategoryStruct.comp self.h P.p₁ = g

theorem HomotopicalAlgebra.PrepathObject.RightHomotopy.h₀_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {Y : C} {P : HomotopicalAlgebra.PrepathObject Y} {X : C}
  {f g : X ⟶ Y} (self : P.RightHomotopy f g) {Z : C} (h : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp self.h (CategoryTheory.CategoryStruct.comp P.p₀ h) =
    CategoryTheory.CategoryStruct.comp f h

theorem HomotopicalAlgebra.PrepathObject.RightHomotopy.h₁_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {Y : C} {P : HomotopicalAlgebra.PrepathObject Y} {X : C}
  {f g : X ⟶ Y} (self : P.RightHomotopy f g) {Z : C} (h : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp self.h (CategoryTheory.CategoryStruct.comp P.p₁ h) =
    CategoryTheory.CategoryStruct.comp g h

def HomotopicalAlgebra.PrepathObject.RightHomotopy.refl E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {Y : C} → (P : HomotopicalAlgebra.PrepathObject Y) → {X : C} → (f : X ⟶ Y) → P.RightHomotopy f f

f : X ⟶ Y is right homotopic to itself relative to any pre-path object.

theorem HomotopicalAlgebra.PrepathObject.RightHomotopy.refl_h E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {Y : C} (P : HomotopicalAlgebra.PrepathObject Y) {X : C}
  (f : X ⟶ Y), (HomotopicalAlgebra.PrepathObject.RightHomotopy.refl P f).h = CategoryTheory.CategoryStruct.comp f P.ι

def HomotopicalAlgebra.PrepathObject.RightHomotopy.symm E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {Y : C} →
      {P : HomotopicalAlgebra.PrepathObject Y} →
        {X : C} → {f g : X ⟶ Y} → P.RightHomotopy f g → P.symm.RightHomotopy g f

If f and g are homotopic relative to a pre-path object P, then g and f are homotopic relative to P.symm

theorem HomotopicalAlgebra.PrepathObject.RightHomotopy.symm_h E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {Y : C} {P : HomotopicalAlgebra.PrepathObject Y} {X : C}
  {f g : X ⟶ Y} (h : P.RightHomotopy f g), h.symm.h = h.h

def HomotopicalAlgebra.PrepathObject.RightHomotopy.trans E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {Y : C} →
      {P : HomotopicalAlgebra.PrepathObject Y} →
        {X : C} →
          {f₀ f₁ f₂ : X ⟶ Y} →
            P.RightHomotopy f₀ f₁ →
              {P' : HomotopicalAlgebra.PrepathObject Y} →
                P'.RightHomotopy f₁ f₂ →
                  [inst_1 : CategoryTheory.Limits.HasPullback P.p₁ P'.p₀] → (P.trans P').RightHomotopy f₀ f₂

If f₀ is homotopic to f₁ relative to a pre-path object P, and f₁ is homotopic to f₂ relative to P', then f₀ is homotopic to f₂ relative to P.trans P'.

theorem HomotopicalAlgebra.PrepathObject.RightHomotopy.trans_h E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {Y : C} {P : HomotopicalAlgebra.PrepathObject Y} {X : C}
  {f₀ f₁ f₂ : X ⟶ Y} (h : P.RightHomotopy f₀ f₁) {P' : HomotopicalAlgebra.PrepathObject Y} (h' : P'.RightHomotopy f₁ f₂)
  [inst_1 : CategoryTheory.Limits.HasPullback P.p₁ P'.p₀],
  (h.trans h').h = CategoryTheory.Limits.pullback.lift h.h h'.h ⋯

def HomotopicalAlgebra.PrepathObject.RightHomotopy.precomp E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {Y : C} →
      {P : HomotopicalAlgebra.PrepathObject Y} →
        {X : C} →
          {f g : X ⟶ Y} →
            P.RightHomotopy f g →
              {Z : C} →
                (i : Z ⟶ X) →
                  P.RightHomotopy (CategoryTheory.CategoryStruct.comp i f) (CategoryTheory.CategoryStruct.comp i g)

Right homotopies are compatible with precomposition.

theorem HomotopicalAlgebra.PrepathObject.RightHomotopy.precomp_h E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {Y : C} {P : HomotopicalAlgebra.PrepathObject Y} {X : C}
  {f g : X ⟶ Y} (h : P.RightHomotopy f g) {Z : C} (i : Z ⟶ X),
  (h.precomp i).h = CategoryTheory.CategoryStruct.comp i h.h

def HomotopicalAlgebra.PrepathObject.RightHomotopy.fullSubcategoryEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {P : CategoryTheory.ObjectProperty C} →
      {X Y : P.FullSubcategory} →
        {Q : HomotopicalAlgebra.PrepathObject Y} →
          {f g : X ⟶ Y} → Q.RightHomotopy f g ≃ (Q.map P.ι).RightHomotopy f.hom g.hom

Right homotopies in a full subcategory identify to right homotopies in the ambient category.

abbrev HomotopicalAlgebra.PathObject.RightHomotopy E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} →
      [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] →
        HomotopicalAlgebra.PathObject Y → (X ⟶ Y) → (X ⟶ Y) → Type v

Given a path object P for X, two maps f and g in X ⟶ Y are homotopic relative to P when there is a morphism h : P.I ⟶ Y such that P.i₀ ≫ h = f and P.i₁ ≫ h = g.

abbrev HomotopicalAlgebra.PathObject.RightHomotopy.refl E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} →
      [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] →
        (P : HomotopicalAlgebra.PathObject Y) → (f : X ⟶ Y) → P.RightHomotopy f f

f : X ⟶ Y is right homotopic to itself relative to any path object.

abbrev HomotopicalAlgebra.PathObject.RightHomotopy.symm E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} →
      [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] →
        {P : HomotopicalAlgebra.PathObject Y} → {f g : X ⟶ Y} → P.RightHomotopy f g → P.symm.RightHomotopy g f

If f and g are homotopic relative to a path object P, then g and f are homotopic relative to P.symm.

abbrev HomotopicalAlgebra.PathObject.RightHomotopy.precomp E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} →
      [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] →
        {P : HomotopicalAlgebra.PathObject Y} →
          {f g : X ⟶ Y} →
            P.RightHomotopy f g →
              {Z : C} →
                (i : Z ⟶ X) →
                  P.RightHomotopy (CategoryTheory.CategoryStruct.comp i f) (CategoryTheory.CategoryStruct.comp i g)

Right homotopies are compatible with precomposition.

theorem HomotopicalAlgebra.PathObject.RightHomotopy.weakEquivalence_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] (P : HomotopicalAlgebra.PathObject Y)
  [(HomotopicalAlgebra.weakEquivalences C).HasTwoOutOfThreeProperty]
  [(HomotopicalAlgebra.weakEquivalences C).ContainsIdentities] {f₀ f₁ : X ⟶ Y} (h : P.RightHomotopy f₀ f₁),
  HomotopicalAlgebra.WeakEquivalence f₀ ↔ HomotopicalAlgebra.WeakEquivalence f₁

abbrev HomotopicalAlgebra.PathObject.RightHomotopy.trans E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} →
      [inst_1 : HomotopicalAlgebra.ModelCategory C] →
        {P : HomotopicalAlgebra.PathObject Y} →
          [inst_2 : HomotopicalAlgebra.IsFibrant Y] →
            {f₀ f₁ f₂ : X ⟶ Y} →
              P.RightHomotopy f₀ f₁ →
                {P' : HomotopicalAlgebra.PathObject Y} →
                  [inst_3 : P'.IsGood] →
                    P'.RightHomotopy f₁ f₂ →
                      [CategoryTheory.Limits.HasPullback P.p₁ P'.p₀] → (P.trans P').RightHomotopy f₀ f₂

If f₀ : X ⟶ Y is homotopic to f₁ relative to a path object P, and f₁ is homotopic to f₂ relative to a good path object P', then f₀ is homotopic to f₂ relative to the path object P.trans P' when Y is fibrant.

theorem HomotopicalAlgebra.PathObject.RightHomotopy.exists_good_pathObject E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} [inst_1 : HomotopicalAlgebra.ModelCategory C]
  {P : HomotopicalAlgebra.PathObject Y} {f g : X ⟶ Y} (h : P.RightHomotopy f g),
  ∃ P', P'.IsGood ∧ Nonempty (P'.RightHomotopy f g)

theorem HomotopicalAlgebra.PathObject.RightHomotopy.homotopy_extension E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] {A B X : C}
  {P : HomotopicalAlgebra.PathObject B} {f₀ f₁ : A ⟶ B} [HomotopicalAlgebra.IsFibrant B] [P.IsGood]
  (h : P.RightHomotopy f₀ f₁) (i : A ⟶ X) [HomotopicalAlgebra.Cofibration i] (l₀ : X ⟶ B),
  autoParam (CategoryTheory.CategoryStruct.comp i l₀ = f₀)
      HomotopicalAlgebra.PathObject.RightHomotopy.homotopy_extension._auto_1 →
    ∃ l₁ h', CategoryTheory.CategoryStruct.comp i h'.h = h.h

The homotopy extension theorem: if p : A ⟶ X is a cofibration, l₀ : X ⟶ B is a morphism, if there is a right homotopy h between the composition f₀ := i ≫ l₀ and a morphism f₁ : A ⟶ B, then there exists a morphism l₁ : X ⟶ B and a right homotopy h' from l₀ to l₁ which is compatible with h (in particular, i ≫ l₁ = f₁).

def HomotopicalAlgebra.RightHomotopyRel E1 #

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

The right homotopy relation on morphisms in a category with weak equivalences.

theorem HomotopicalAlgebra.PathObject.RightHomotopy.rightHomotopyRel E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C]
  {X Y : C} {f g : X ⟶ Y} {P : HomotopicalAlgebra.PathObject Y} (h : P.RightHomotopy f g),
  HomotopicalAlgebra.RightHomotopyRel f g

theorem HomotopicalAlgebra.RightHomotopyRel.factorsThroughLocalization E1 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C],
  HomotopicalAlgebra.RightHomotopyRel.FactorsThroughLocalization (HomotopicalAlgebra.weakEquivalences C)

theorem HomotopicalAlgebra.RightHomotopyRel.refl E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} [inst_1 : HomotopicalAlgebra.ModelCategory C]
  (f : X ⟶ Y), HomotopicalAlgebra.RightHomotopyRel f f

theorem HomotopicalAlgebra.RightHomotopyRel.precomp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] {f g : X ⟶ Y},
  HomotopicalAlgebra.RightHomotopyRel f g →
    ∀ {Z : C} (i : Z ⟶ X),
      HomotopicalAlgebra.RightHomotopyRel (CategoryTheory.CategoryStruct.comp i f)
        (CategoryTheory.CategoryStruct.comp i g)

theorem HomotopicalAlgebra.RightHomotopyRel.exists_good_pathObject E1 #

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

theorem HomotopicalAlgebra.RightHomotopyRel.exists_very_good_pathObject E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} [inst_1 : HomotopicalAlgebra.ModelCategory C]
  {f g : X ⟶ Y} [HomotopicalAlgebra.IsCofibrant X],
  HomotopicalAlgebra.RightHomotopyRel f g → ∃ P, P.IsVeryGood ∧ Nonempty (P.RightHomotopy f g)

theorem HomotopicalAlgebra.RightHomotopyRel.symm E1 #

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

theorem HomotopicalAlgebra.RightHomotopyRel.trans E1 #

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

theorem HomotopicalAlgebra.RightHomotopyRel.equivalence E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : HomotopicalAlgebra.ModelCategory C] (X Y : C)
  [HomotopicalAlgebra.IsFibrant Y], Equivalence HomotopicalAlgebra.RightHomotopyRel

theorem HomotopicalAlgebra.RightHomotopyRel.postcomp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} [inst_1 : HomotopicalAlgebra.ModelCategory C]
  {f g : X ⟶ Y} [HomotopicalAlgebra.IsCofibrant X],
  HomotopicalAlgebra.RightHomotopyRel f g →
    ∀ {Z : C} (p : Y ⟶ Z),
      HomotopicalAlgebra.RightHomotopyRel (CategoryTheory.CategoryStruct.comp f p)
        (CategoryTheory.CategoryStruct.comp g p)

def HomotopicalAlgebra.RightHomotopyClass E1 #

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

In a category with weak equivalences, this is the quotient of the type of morphisms X ⟶ Y by the equivalence relation generated by right homotopies.

def HomotopicalAlgebra.RightHomotopyClass.mk E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} →
      [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] → (X ⟶ Y) → HomotopicalAlgebra.RightHomotopyClass X Y

Given f : X ⟶ Y, this is the class of f in the quotient RightHomotopyClass X Y.

theorem HomotopicalAlgebra.RightHomotopyClass.mk_surjective E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C],
  Function.Surjective HomotopicalAlgebra.RightHomotopyClass.mk

theorem HomotopicalAlgebra.RightHomotopyClass.sound E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] {f g : X ⟶ Y},
  HomotopicalAlgebra.RightHomotopyRel f g →
    HomotopicalAlgebra.RightHomotopyClass.mk f = HomotopicalAlgebra.RightHomotopyClass.mk g

def HomotopicalAlgebra.RightHomotopyClass.precomp E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] →
        HomotopicalAlgebra.RightHomotopyClass Y Z → (X ⟶ Y) → HomotopicalAlgebra.RightHomotopyClass X Z

The precomposition map RightHomotopyClass Y Z → (X ⟶ Y) → RightHomotopyClass X Z.

theorem HomotopicalAlgebra.RightHomotopyClass.precomp_mk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C}
  [inst_1 : HomotopicalAlgebra.CategoryWithWeakEquivalences C] (f : X ⟶ Y) (g : Y ⟶ Z),
  (HomotopicalAlgebra.RightHomotopyClass.mk g).precomp f =
    HomotopicalAlgebra.RightHomotopyClass.mk (CategoryTheory.CategoryStruct.comp f g)

theorem HomotopicalAlgebra.RightHomotopyClass.mk_eq_mk_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} [inst_1 : HomotopicalAlgebra.ModelCategory C]
  [HomotopicalAlgebra.IsFibrant Y] (f g : X ⟶ Y),
  HomotopicalAlgebra.RightHomotopyClass.mk f = HomotopicalAlgebra.RightHomotopyClass.mk g ↔
    HomotopicalAlgebra.RightHomotopyRel f g

def HomotopicalAlgebra.PrepathObject.RightHomotopy.op E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} →
      {P : HomotopicalAlgebra.PrepathObject Y} → {f g : X ⟶ Y} → P.RightHomotopy f g → P.op.LeftHomotopy f.op g.op

The left homotopy in the opposite category that is deduced from a right homotopy.

theorem HomotopicalAlgebra.PrepathObject.RightHomotopy.op_h E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {P : HomotopicalAlgebra.PrepathObject Y}
  {f g : X ⟶ Y} (h : P.RightHomotopy f g), h.op.h = h.h.op

def HomotopicalAlgebra.PrepathObject.RightHomotopy.unop E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : Cᵒᵖ} →
      {P : HomotopicalAlgebra.PrepathObject Y} → {f g : X ⟶ Y} → P.RightHomotopy f g → P.unop.LeftHomotopy f.unop g.unop

The left homotopy that is deduced from a right homotopy in the opposite category.

theorem HomotopicalAlgebra.PrepathObject.RightHomotopy.unop_h E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : Cᵒᵖ} {P : HomotopicalAlgebra.PrepathObject Y}
  {f g : X ⟶ Y} (h : P.RightHomotopy f g), h.unop.h = h.h.unop

def HomotopicalAlgebra.Precylinder.LeftHomotopy.op E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} →
      {P : HomotopicalAlgebra.Precylinder X} → {f g : X ⟶ Y} → P.LeftHomotopy f g → P.op.RightHomotopy f.op g.op

The right homotopy in the opposite category that is deduced from a left homotopy.

theorem HomotopicalAlgebra.Precylinder.LeftHomotopy.op_h E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {P : HomotopicalAlgebra.Precylinder X} {f g : X ⟶ Y}
  (h : P.LeftHomotopy f g), h.op.h = h.h.op

def HomotopicalAlgebra.Precylinder.LeftHomotopy.unop E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : Cᵒᵖ} →
      {P : HomotopicalAlgebra.Precylinder X} → {f g : X ⟶ Y} → P.LeftHomotopy f g → P.unop.RightHomotopy f.unop g.unop

The right homotopy that is deduced from a left homotopy in the opposite category.

theorem HomotopicalAlgebra.Precylinder.LeftHomotopy.unop_h E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : Cᵒᵖ} {P : HomotopicalAlgebra.Precylinder X}
  {f g : X ⟶ Y} (h : P.LeftHomotopy f g), h.unop.h = h.h.unop