The areas / V27. Algebraic topology and condensed mathematics
Mathlib.AlgebraicTopology.Quasicategory.TwoTruncated
60 declarations. Mathlib docs · Source
2-truncated quasicategories and homotopy relations
We define 2-truncated quasicategories Quasicategory₂ by three horn-filling properties,
and the left and right homotopy relations HomotopicL and HomotopicR on the edges in a
2-truncated simplicial set.
We prove that for 2-truncated quasicategories, both homotopy relations are equivalence relations, and that the left and right homotopy relations coincide.
For a 2-truncated quasicategory X, we define a category HomotopyCategory₂ X whose
morphisms are given by (left) homotopy classes of edges. The construction of this category
is different from HomotopyCategory X in AlgebraicTopology.SimplicialSet.HomotopyCat:
HomotopyCategory₂ Xhas morphisms given by homotopy classes of edgesHomotopyCategory Xhas morphisms given by equivalence classes of paths in the underlying reflexive quiver ofX.
The two constructions agree for 2-truncated quasicategories (TODO: handled by future PR).
Implementation notes
Throughout this file, we make use of Edge and CompStruct to conveniently deal with
edges and triangles in a 2-truncated simplicial set.
theorem SSet.Truncated.Edge.comp.congr_simp E1 #
∀ {X : SSet.Truncated 2}
{x₀ x₁ x₂ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
[inst : X.Quasicategory₂] (f f_1 : SSet.Truncated.Edge x₀ x₁),
f = f_1 → ∀ (g g_1 : SSet.Truncated.Edge x₁ x₂), g = g_1 → f.comp g = f_1.comp g_1
theorem SSet.Truncated.HomotopyCategory₂.descMap.congr_simp E1 #
∀ {X : SSet.Truncated 2} [inst : X.Quasicategory₂] {D : Type u_1} [inst_1 : CategoryTheory.Category.{u_3, u_1} D]
(obj : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 }) → D)
(map map_1 :
{x y : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
SSet.Truncated.Edge x y → (obj x ⟶ obj y))
(e_map : map = map_1)
(map_id :
∀ (x : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })),
map (SSet.Truncated.Edge.id x) = CategoryTheory.CategoryStruct.id (obj x))
(map_comp :
∀ {x₀ x₁ x₂ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
{e₀₁ : SSet.Truncated.Edge x₀ x₁} {e₁₂ : SSet.Truncated.Edge x₁ x₂} {e₀₂ : SSet.Truncated.Edge x₀ x₂}
(a : e₀₁.CompStruct e₁₂ e₀₂), CategoryTheory.CategoryStruct.comp (map e₀₁) (map e₁₂) = map e₀₂)
{x y : X.HomotopyCategory₂} (f f_1 : x ⟶ y),
f = f_1 →
SSet.Truncated.HomotopyCategory₂.descMap obj map map_id map_comp f =
SSet.Truncated.HomotopyCategory₂.descMap obj map_1 ⋯ ⋯ f_1
def SSet.Truncated.HomotopyCategory₂.ctorIdx E1 #
{X : SSet.Truncated 2} → X.HomotopyCategory₂ → ℕ
theorem SSet.Truncated.HomotopyCategory₂.mk.injEq E0 #
∀ {X : SSet.Truncated 2}
(pt pt_1 : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })),
({ pt := pt } = { pt := pt_1 }) = (pt = pt_1)
theorem SSet.Truncated.HomotopyCategory₂.mk.inj E1 #
∀ {X : SSet.Truncated 2}
{pt pt_1 : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })},
{ pt := pt } = { pt := pt_1 } → pt = pt_1
class SSet.Truncated.Quasicategory₂ E1 #
SSet.Truncated 2 → Prop
A 2-truncated quasicategory is a 2-truncated simplicial set with the properties:
- (2, 1)-filling: given two consecutive
Edgese₀₁ande₁₂, there exists aCompStructwith (0, 1)-edgee₀₁and (0, 2)-edgee₁₂. - (3, 1)-filling: given three
CompStructsf₃,f₀andf₂which form a (3, 1)-horn, there exists a fourthCompStructsuch that the four faces form the boundary ∂Δ[3] of a 3-simplex. - (3, 2)-filling: given three
CompStructsf₃,f₀andf₁which form a (3, 2)-horn, there exists a fourthCompStructsuch that the four faces form the boundary ∂Δ[3] of a 3-simplex.
ctor SSet.Truncated.Quasicategory₂.mk E0 #
∀ {X : SSet.Truncated 2},
(∀ {x₀ x₁ x₂ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
(e₀₁ : SSet.Truncated.Edge x₀ x₁) (e₁₂ : SSet.Truncated.Edge x₁ x₂),
Nonempty ((e₀₂ : SSet.Truncated.Edge x₀ x₂) × e₀₁.CompStruct e₁₂ e₀₂)) →
(∀ {x₀ x₁ x₂ x₃ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
{e₀₁ : SSet.Truncated.Edge x₀ x₁} {e₁₂ : SSet.Truncated.Edge x₁ x₂} {e₂₃ : SSet.Truncated.Edge x₂ x₃}
{e₀₂ : SSet.Truncated.Edge x₀ x₂} {e₁₃ : SSet.Truncated.Edge x₁ x₃} {e₀₃ : SSet.Truncated.Edge x₀ x₃}
(f₃ : e₀₁.CompStruct e₁₂ e₀₂) (f₀ : e₁₂.CompStruct e₂₃ e₁₃) (f₂ : e₀₁.CompStruct e₁₃ e₀₃),
Nonempty (e₀₂.CompStruct e₂₃ e₀₃)) →
(∀ {x₀ x₁ x₂ x₃ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
{e₀₁ : SSet.Truncated.Edge x₀ x₁} {e₁₂ : SSet.Truncated.Edge x₁ x₂} {e₂₃ : SSet.Truncated.Edge x₂ x₃}
{e₀₂ : SSet.Truncated.Edge x₀ x₂} {e₁₃ : SSet.Truncated.Edge x₁ x₃} {e₀₃ : SSet.Truncated.Edge x₀ x₃}
(f₃ : e₀₁.CompStruct e₁₂ e₀₂) (f₀ : e₁₂.CompStruct e₂₃ e₁₃) (f₁ : e₀₂.CompStruct e₂₃ e₀₃),
Nonempty (e₀₁.CompStruct e₁₃ e₀₃)) →
X.Quasicategory₂
theorem SSet.Truncated.Quasicategory₂.fill21 E1 #
∀ {X : SSet.Truncated 2} [self : X.Quasicategory₂]
{x₀ x₁ x₂ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
(e₀₁ : SSet.Truncated.Edge x₀ x₁) (e₁₂ : SSet.Truncated.Edge x₁ x₂),
Nonempty ((e₀₂ : SSet.Truncated.Edge x₀ x₂) × e₀₁.CompStruct e₁₂ e₀₂)
theorem SSet.Truncated.Quasicategory₂.fill31 E1 #
∀ {X : SSet.Truncated 2} [self : X.Quasicategory₂]
{x₀ x₁ x₂ x₃ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
{e₀₁ : SSet.Truncated.Edge x₀ x₁} {e₁₂ : SSet.Truncated.Edge x₁ x₂} {e₂₃ : SSet.Truncated.Edge x₂ x₃}
{e₀₂ : SSet.Truncated.Edge x₀ x₂} {e₁₃ : SSet.Truncated.Edge x₁ x₃} {e₀₃ : SSet.Truncated.Edge x₀ x₃}
(f₃ : e₀₁.CompStruct e₁₂ e₀₂) (f₀ : e₁₂.CompStruct e₂₃ e₁₃) (f₂ : e₀₁.CompStruct e₁₃ e₀₃),
Nonempty (e₀₂.CompStruct e₂₃ e₀₃)
theorem SSet.Truncated.Quasicategory₂.fill32 E1 #
∀ {X : SSet.Truncated 2} [self : X.Quasicategory₂]
{x₀ x₁ x₂ x₃ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
{e₀₁ : SSet.Truncated.Edge x₀ x₁} {e₁₂ : SSet.Truncated.Edge x₁ x₂} {e₂₃ : SSet.Truncated.Edge x₂ x₃}
{e₀₂ : SSet.Truncated.Edge x₀ x₂} {e₁₃ : SSet.Truncated.Edge x₁ x₃} {e₀₃ : SSet.Truncated.Edge x₀ x₃}
(f₃ : e₀₁.CompStruct e₁₂ e₀₂) (f₀ : e₁₂.CompStruct e₂₃ e₁₃) (f₁ : e₀₂.CompStruct e₂₃ e₀₃),
Nonempty (e₀₁.CompStruct e₁₃ e₀₃)
abbrev SSet.Truncated.Edge.HomotopyL E1 #
{X : SSet.Truncated 2} →
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
SSet.Truncated.Edge x₀ x₁ → SSet.Truncated.Edge x₀ x₁ → Type u_1
A left homotopy between two edges f and g is a CompStruct f (id _) g.
(See HomotopicL for the Prop-valued version.)
abbrev SSet.Truncated.Edge.HomotopyR E1 #
{X : SSet.Truncated 2} →
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
SSet.Truncated.Edge x₀ x₁ → SSet.Truncated.Edge x₀ x₁ → Type u_1
A right homotopy between two edges f and g is a CompStruct (id _) f g.
(See HomotopicL for the Prop-valued version.)
abbrev SSet.Truncated.HomotopicL E1 #
{X : SSet.Truncated 2} →
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
SSet.Truncated.Edge x₀ x₁ → SSet.Truncated.Edge x₀ x₁ → Prop
Two edges f and g are left homotopic if there is a CompStruct with
(0, 1)-edge f, (1, 2)-edge Edge.id and (0, 2)-edge g. We use Nonempty to
have a Prop valued HomotopicL.
abbrev SSet.Truncated.HomotopicR E1 #
{X : SSet.Truncated 2} →
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
SSet.Truncated.Edge x₀ x₁ → SSet.Truncated.Edge x₀ x₁ → Prop
Two edges f and g are right homotopic if there is a CompStruct with
(0, 1)-edge Edge.id, (1, 2)-edge f, and (0, 2)-edge g. We use Nonempty to
have a Prop valued HomotopicR.
abbrev SSet.Truncated.Edge.HomotopyL.refl E1 #
{X : SSet.Truncated 2} →
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
(f : SSet.Truncated.Edge x₀ x₁) → f.HomotopyL f
The left homotopy relation on the edges of a 2-truncated simplicial set is reflexive.
abbrev SSet.Truncated.Edge.HomotopyR.refl E1 #
{X : SSet.Truncated 2} →
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
(f : SSet.Truncated.Edge x₀ x₁) → f.HomotopyR f
The right homotopy relation on the edges of a 2-truncated simplicial set is reflexive.
def SSet.Truncated.Edge.assoc E1 #
{X : SSet.Truncated 2} →
{x₀ x₁ x₂ x₃ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
[X.Quasicategory₂] →
{e₀₁ : SSet.Truncated.Edge x₀ x₁} →
{e₁₂ : SSet.Truncated.Edge x₁ x₂} →
{e₂₃ : SSet.Truncated.Edge x₂ x₃} →
{e₀₂ : SSet.Truncated.Edge x₀ x₂} →
{e₁₃ : SSet.Truncated.Edge x₁ x₃} →
{e₀₃ : SSet.Truncated.Edge x₀ x₃} →
e₀₁.CompStruct e₁₂ e₀₂ → e₁₂.CompStruct e₂₃ e₁₃ → e₀₁.CompStruct e₁₃ e₀₃ → e₀₂.CompStruct e₂₃ e₀₃
The associativity of the composition in a 2-truncated quasicategory.
def SSet.Truncated.Edge.assoc' E1 #
{X : SSet.Truncated 2} →
{x₀ x₁ x₂ x₃ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
[X.Quasicategory₂] →
{e₀₁ : SSet.Truncated.Edge x₀ x₁} →
{e₁₂ : SSet.Truncated.Edge x₁ x₂} →
{e₂₃ : SSet.Truncated.Edge x₂ x₃} →
{e₀₂ : SSet.Truncated.Edge x₀ x₂} →
{e₁₃ : SSet.Truncated.Edge x₁ x₃} →
{e₀₃ : SSet.Truncated.Edge x₀ x₃} →
e₀₁.CompStruct e₁₂ e₀₂ → e₁₂.CompStruct e₂₃ e₁₃ → e₀₂.CompStruct e₂₃ e₀₃ → e₀₁.CompStruct e₁₃ e₀₃
The associativity of the composition in a 2-truncated quasicategory.
def SSet.Truncated.Edge.HomotopyL.symm E1 #
{X : SSet.Truncated 2} →
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
[X.Quasicategory₂] → {f g : SSet.Truncated.Edge x₀ x₁} → f.HomotopyL g → g.HomotopyL f
In a 2-truncated quasicategory, the left homotopy relation on edges
is symmetric.
def SSet.Truncated.Edge.HomotopyR.symm E1 #
{X : SSet.Truncated 2} →
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
[X.Quasicategory₂] → {f g : SSet.Truncated.Edge x₀ x₁} → f.HomotopyR g → g.HomotopyR f
In a 2-truncated quasicategory, the right homotopy relation on edges
is symmetric.
def SSet.Truncated.Edge.HomotopyL.trans E1 #
{X : SSet.Truncated 2} →
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
[X.Quasicategory₂] → {f g h : SSet.Truncated.Edge x₀ x₁} → f.HomotopyL g → g.HomotopyL h → f.HomotopyL h
In a 2-truncated quasicategory, the left homotopy relation on edges
is transitive.
def SSet.Truncated.Edge.HomotopyR.trans E1 #
{X : SSet.Truncated 2} →
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
[X.Quasicategory₂] → {f g h : SSet.Truncated.Edge x₀ x₁} → f.HomotopyR g → g.HomotopyR h → f.HomotopyR h
In a 2-truncated quasicategory, the right homotopy relation on edges
is transitive.
def SSet.Truncated.Edge.HomotopyL.homotopyR E1 #
{X : SSet.Truncated 2} →
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
[X.Quasicategory₂] → {f g : SSet.Truncated.Edge x₀ x₁} → f.HomotopyL g → f.HomotopyR g
In a 2-truncated quasicategory, two left homotopic edges are
also right homotopic.
def SSet.Truncated.Edge.HomotopyR.homotopyL E1 #
{X : SSet.Truncated 2} →
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
[X.Quasicategory₂] → {f g : SSet.Truncated.Edge x₀ x₁} → f.HomotopyR g → f.HomotopyL g
In a 2-truncated quasicategory, two right homotopic edges are
also left homotopic.
theorem SSet.Truncated.HomotopicL.refl E1 #
∀ {X : SSet.Truncated 2}
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
{f : SSet.Truncated.Edge x₀ x₁}, SSet.Truncated.HomotopicL f f
The left homotopy relation is reflexive.
theorem SSet.Truncated.HomotopicL.symm E1 #
∀ {X : SSet.Truncated 2}
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
[X.Quasicategory₂] {f g : SSet.Truncated.Edge x₀ x₁}, SSet.Truncated.HomotopicL f g → SSet.Truncated.HomotopicL g f
The left homotopy relation is symmetric.
theorem SSet.Truncated.HomotopicL.trans E1 #
∀ {X : SSet.Truncated 2}
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
[X.Quasicategory₂] {f g h : SSet.Truncated.Edge x₀ x₁},
SSet.Truncated.HomotopicL f g → SSet.Truncated.HomotopicL g h → SSet.Truncated.HomotopicL f h
The left homotopy relation is transitive.
theorem SSet.Truncated.HomotopicR.refl E1 #
∀ {X : SSet.Truncated 2}
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
{f : SSet.Truncated.Edge x₀ x₁}, SSet.Truncated.HomotopicR f f
The right homotopy relation is reflexive.
theorem SSet.Truncated.HomotopicR.symm E1 #
∀ {X : SSet.Truncated 2} [X.Quasicategory₂]
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
{f g : SSet.Truncated.Edge x₀ x₁}, SSet.Truncated.HomotopicR f g → SSet.Truncated.HomotopicR g f
The right homotopy relation is symmetric.
theorem SSet.Truncated.HomotopicR.trans E1 #
∀ {X : SSet.Truncated 2}
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
[X.Quasicategory₂] {f g h : SSet.Truncated.Edge x₀ x₁},
SSet.Truncated.HomotopicR f g → SSet.Truncated.HomotopicR g h → SSet.Truncated.HomotopicR f h
The right homotopy relation is transitive.
theorem SSet.Truncated.HomotopicL.homotopicR E1 #
∀ {X : SSet.Truncated 2}
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
[X.Quasicategory₂] {f g : SSet.Truncated.Edge x₀ x₁}, SSet.Truncated.HomotopicL f g → SSet.Truncated.HomotopicR f g
In a 2-truncated quasicategory, left homotopy implies right homotopy.
theorem SSet.Truncated.HomotopicR.homotopicL E1 #
∀ {X : SSet.Truncated 2}
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
[X.Quasicategory₂] {f g : SSet.Truncated.Edge x₀ x₁}, SSet.Truncated.HomotopicR f g → SSet.Truncated.HomotopicL f g
In a 2-truncated quasicategory, right homotopy implies left homotopy.
theorem SSet.Truncated.homotopicL_iff_homotopicR E1 #
∀ {X : SSet.Truncated 2}
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
[X.Quasicategory₂] {f g : SSet.Truncated.Edge x₀ x₁}, SSet.Truncated.HomotopicL f g ↔ SSet.Truncated.HomotopicR f g
In a 2-truncated quasicategory, the right and left homotopy relations coincide.
def SSet.Truncated.Edge.CompStruct.unique E1 #
{X : SSet.Truncated 2} →
{x₀ x₁ x₂ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
[X.Quasicategory₂] →
{f f' : SSet.Truncated.Edge x₀ x₁} →
{g g' : SSet.Truncated.Edge x₁ x₂} →
{h h' : SSet.Truncated.Edge x₀ x₂} →
f.CompStruct g h → f'.CompStruct g' h' → f.HomotopyL f' → g.HomotopyL g' → h.HomotopyL h'
Assume we have structures CompStruct f g h and CompStruct f' g' h'.
If f and f' are left homotopic, and g and g' are left homotopic,
then h and h' are left homotopic.
theorem SSet.Truncated.Edge.CompStruct.comp_unique E1 #
∀ {X : SSet.Truncated 2}
{x₀ x₁ x₂ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
[X.Quasicategory₂] {f f' : SSet.Truncated.Edge x₀ x₁} {g g' : SSet.Truncated.Edge x₁ x₂}
{h h' : SSet.Truncated.Edge x₀ x₂} (s : f.CompStruct g h) (s' : f'.CompStruct g' h'),
SSet.Truncated.HomotopicL f f' → SSet.Truncated.HomotopicL g g' → SSet.Truncated.HomotopicL h h'
Given CompStruct f g h and CompStruct f' g' h' with the same vertices and edges such
that f ≃ f' and g ≃ g', then the long diagonal edges h and h' are also homotopic.
def SSet.Truncated.Edge.comp E1 #
{X : SSet.Truncated 2} →
{x₀ x₁ x₂ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
[X.Quasicategory₂] → SSet.Truncated.Edge x₀ x₁ → SSet.Truncated.Edge x₁ x₂ → SSet.Truncated.Edge x₀ x₂
Given two consecutive edges f, g in a 2-truncated quasicategory, nonconstructively choose
an edge that is the diagonal of a 2-simplex with spine given by f and g. The CompStruct
witnessing this property is given by Edge.compStruct.
def SSet.Truncated.Edge.compStruct E1 #
{X : SSet.Truncated 2} →
{x₀ x₁ x₂ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
[inst : X.Quasicategory₂] →
(f : SSet.Truncated.Edge x₀ x₁) → (g : SSet.Truncated.Edge x₁ x₂) → f.CompStruct g (f.comp g)
See Edge.comp
structure SSet.Truncated.HomotopyCategory₂ E1 #
SSet.Truncated 2 → Type u_1
The homotopy category of a 2-truncated quasicategory X has as objects the vertices of X
ctor SSet.Truncated.HomotopyCategory₂.mk E0 #
{X : SSet.Truncated 2} →
X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 }) → X.HomotopyCategory₂
abbrev SSet.Truncated.HomotopyCategory₂.pt E1 #
{X : SSet.Truncated 2} →
X.HomotopyCategory₂ → X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })
An object of the homotopy category is a vertex of X.
instance SSet.Truncated.instSetoidEdge E0 #
{X : SSet.Truncated 2} →
[X.Quasicategory₂] →
(x y : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })) →
Setoid (SSet.Truncated.Edge x y)
Left homotopy is an equivalence relation on the edges of X.
Remark: We could have equivalently chosen right homotopy, as shown by homotopicL_iff_homotopicR.
def SSet.Truncated.HomotopyCategory₂.Hom E1 #
{X : SSet.Truncated 2} → [X.Quasicategory₂] → X.HomotopyCategory₂ → X.HomotopyCategory₂ → Type u_1
The morphisms between two vertices x, y in HomotopyCategory₂ X are homotopy classes
of edges between x and y.
instance SSet.Truncated.HomotopyCategory₂.instCategoryStruct E0 #
{X : SSet.Truncated 2} → [X.Quasicategory₂] → CategoryTheory.CategoryStruct.{u_1, u_1} X.HomotopyCategory₂
Composition of morphisms in HomotopyCategory₂ X is given by lifting the edge
chosen by composeEdges.
theorem SSet.Truncated.HomotopyCategory₂.mk_surjective E1 #
∀ {X : SSet.Truncated 2}, Function.Surjective SSet.Truncated.HomotopyCategory₂.mk
The function HomotopyCategory₂.mk taking a vertex of A and sending it to the corresponding
object of HomotopyCategory₂ A is surjective.
def SSet.Truncated.HomotopyCategory₂.homMk E1 #
{X : SSet.Truncated 2} →
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
[inst : X.Quasicategory₂] → SSet.Truncated.Edge x₀ x₁ → ({ pt := x₀ } ⟶ { pt := x₁ })
Any edge in the 2-truncated simplicial set X defines a morphism in the homotopy category
by taking its equivalence class.
theorem SSet.Truncated.HomotopyCategory₂.homMk_surjective E1 #
∀ {X : SSet.Truncated 2}
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
[inst : X.Quasicategory₂], Function.Surjective SSet.Truncated.HomotopyCategory₂.homMk
Every morphism in the homotopy category HomotopyCategory₂ X is the equivalence class of
an edge of A.
theorem SSet.Truncated.HomotopyCategory₂.homMk_eq_iff_homotopicL E1 #
∀ {X : SSet.Truncated 2}
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
[inst : X.Quasicategory₂] {f g : SSet.Truncated.Edge x₀ x₁},
SSet.Truncated.HomotopyCategory₂.homMk f = SSet.Truncated.HomotopyCategory₂.homMk g ↔ SSet.Truncated.HomotopicL f g
theorem SSet.Truncated.HomotopyCategory₂.homMk_eq_iff_homotopicR E1 #
∀ {X : SSet.Truncated 2}
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
[inst : X.Quasicategory₂] {f g : SSet.Truncated.Edge x₀ x₁},
SSet.Truncated.HomotopyCategory₂.homMk f = SSet.Truncated.HomotopyCategory₂.homMk g ↔ SSet.Truncated.HomotopicR f g
theorem SSet.Truncated.HomotopyCategory₂.homMk_id E0 #
∀ {X : SSet.Truncated 2} [inst : X.Quasicategory₂] (x : X.HomotopyCategory₂),
SSet.Truncated.HomotopyCategory₂.homMk (SSet.Truncated.Edge.id x.pt) = CategoryTheory.CategoryStruct.id x
The trivial (degenerate) edge at a vertex x is a representative for the
identity morphism x ⟶ x.
theorem SSet.Truncated.HomotopicL.congr_homotopyCategory₂HomMk E1 #
∀ {X : SSet.Truncated 2}
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
[inst : X.Quasicategory₂] {f g : SSet.Truncated.Edge x₀ x₁},
SSet.Truncated.HomotopicL f g → SSet.Truncated.HomotopyCategory₂.homMk f = SSet.Truncated.HomotopyCategory₂.homMk g
Left homotopic edges represent the same morphism in the homotopy category.
theorem SSet.Truncated.HomotopicR.congr_homotopyCategory₂HomMk E1 #
∀ {X : SSet.Truncated 2}
{x₀ x₁ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
[inst : X.Quasicategory₂] {f g : SSet.Truncated.Edge x₀ x₁},
SSet.Truncated.HomotopicR f g → SSet.Truncated.HomotopyCategory₂.homMk f = SSet.Truncated.HomotopyCategory₂.homMk g
Right homotopic edges represent the same morphism in the homotopy category.
theorem SSet.Truncated.Edge.CompStruct.homotopyCategory₂_fac E1 #
∀ {X : SSet.Truncated 2}
{x₀ x₁ x₂ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
[inst : X.Quasicategory₂] {f : SSet.Truncated.Edge x₀ x₁} {g : SSet.Truncated.Edge x₁ x₂}
{h : SSet.Truncated.Edge x₀ x₂} (s : f.CompStruct g h),
CategoryTheory.CategoryStruct.comp (SSet.Truncated.HomotopyCategory₂.homMk f)
(SSet.Truncated.HomotopyCategory₂.homMk g) =
SSet.Truncated.HomotopyCategory₂.homMk h
A CompStruct f g h is a witness for the fact that the morphisms represented by
f and g compose to the morphism represented by h.
def SSet.Truncated.Edge.CompStruct.ofHomotopyCategory₂Fac E1 #
{X : SSet.Truncated 2} →
{x₀ x₁ x₂ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
[inst : X.Quasicategory₂] →
{f : SSet.Truncated.Edge x₀ x₁} →
{g : SSet.Truncated.Edge x₁ x₂} →
{h : SSet.Truncated.Edge x₀ x₂} →
CategoryTheory.CategoryStruct.comp (SSet.Truncated.HomotopyCategory₂.homMk f)
(SSet.Truncated.HomotopyCategory₂.homMk g) =
SSet.Truncated.HomotopyCategory₂.homMk h →
f.CompStruct g h
If we have a factorization homMk f ≫ homMk g = homMk h, this is the choice
of a structure CompStruct f g h.
theorem SSet.Truncated.Edge.CompStruct.nonempty_iff E0 #
∀ {X : SSet.Truncated 2}
{x₀ x₁ x₂ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
[inst : X.Quasicategory₂] {f : SSet.Truncated.Edge x₀ x₁} {g : SSet.Truncated.Edge x₁ x₂}
{h : SSet.Truncated.Edge x₀ x₂},
Nonempty (f.CompStruct g h) ↔
CategoryTheory.CategoryStruct.comp (SSet.Truncated.HomotopyCategory₂.homMk f)
(SSet.Truncated.HomotopyCategory₂.homMk g) =
SSet.Truncated.HomotopyCategory₂.homMk h
Given edges f, g and h of a 2-truncated quasicategory,
there exists a structure CompStruct f g h iff
homMk f ≫ homMk g = homMk h holds in the homotopy category.
instance SSet.Truncated.instCategoryHomotopyCategory₂ E0 #
{X : SSet.Truncated 2} → [X.Quasicategory₂] → CategoryTheory.Category.{u_1, u_1} X.HomotopyCategory₂
def SSet.Truncated.HomotopyCategory₂.descMap E1 #
{X : SSet.Truncated 2} →
[inst : X.Quasicategory₂] →
{D : Type u_1} →
[inst_1 : CategoryTheory.Category.{u_3, u_1} D] →
(obj : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 }) → D) →
(map :
{x y : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
SSet.Truncated.Edge x y → (obj x ⟶ obj y)) →
(∀ (x : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })),
map (SSet.Truncated.Edge.id x) = CategoryTheory.CategoryStruct.id (obj x)) →
(∀
{x₀ x₁ x₂ :
X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
{e₀₁ : SSet.Truncated.Edge x₀ x₁} {e₁₂ : SSet.Truncated.Edge x₁ x₂} {e₀₂ : SSet.Truncated.Edge x₀ x₂}
(a : e₀₁.CompStruct e₁₂ e₀₂), CategoryTheory.CategoryStruct.comp (map e₀₁) (map e₁₂) = map e₀₂) →
{x y : X.HomotopyCategory₂} → (x ⟶ y) → (obj x.pt ⟶ obj y.pt)
Auxiliary definition for SSet.Truncated.HomotopyCategory₂.desc.
theorem SSet.Truncated.HomotopyCategory₂.descMap_homMk E0 #
∀ {X : SSet.Truncated 2} [inst : X.Quasicategory₂] {D : Type u_1} [inst_1 : CategoryTheory.Category.{u_3, u_1} D]
(obj : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 }) → D)
(map :
{x y : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
SSet.Truncated.Edge x y → (obj x ⟶ obj y))
(map_id :
∀ (x : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })),
map (SSet.Truncated.Edge.id x) = CategoryTheory.CategoryStruct.id (obj x))
(map_comp :
∀ {x₀ x₁ x₂ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
{e₀₁ : SSet.Truncated.Edge x₀ x₁} {e₁₂ : SSet.Truncated.Edge x₁ x₂} {e₀₂ : SSet.Truncated.Edge x₀ x₂}
(a : e₀₁.CompStruct e₁₂ e₀₂), CategoryTheory.CategoryStruct.comp (map e₀₁) (map e₁₂) = map e₀₂)
{x y : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
(e : SSet.Truncated.Edge x y),
SSet.Truncated.HomotopyCategory₂.descMap obj (fun {x y} ↦ map) map_id ⋯ (SSet.Truncated.HomotopyCategory₂.homMk e) =
map e
def SSet.Truncated.HomotopyCategory₂.desc E1 #
{X : SSet.Truncated 2} →
[inst : X.Quasicategory₂] →
{D : Type u_1} →
[inst_1 : CategoryTheory.Category.{u_3, u_1} D] →
(obj : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 }) → D) →
(map :
{x y : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
SSet.Truncated.Edge x y → (obj x ⟶ obj y)) →
(∀ (x : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })),
map (SSet.Truncated.Edge.id x) = CategoryTheory.CategoryStruct.id (obj x)) →
(∀
{x₀ x₁ x₂ :
X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
{e₀₁ : SSet.Truncated.Edge x₀ x₁} {e₁₂ : SSet.Truncated.Edge x₁ x₂} {e₀₂ : SSet.Truncated.Edge x₀ x₂}
(a : e₀₁.CompStruct e₁₂ e₀₂), CategoryTheory.CategoryStruct.comp (map e₀₁) (map e₁₂) = map e₀₂) →
CategoryTheory.Functor X.HomotopyCategory₂ D
Constructor for functors from SSet.Truncated.HomotopyCategory₂.
theorem SSet.Truncated.HomotopyCategory₂.desc_map_homMk E0 #
∀ {X : SSet.Truncated 2} [inst : X.Quasicategory₂] {D : Type u_1} [inst_1 : CategoryTheory.Category.{u_3, u_1} D]
(obj : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 }) → D)
(map :
{x y : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })} →
SSet.Truncated.Edge x y → (obj x ⟶ obj y))
(map_id :
∀ (x : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })),
map (SSet.Truncated.Edge.id x) = CategoryTheory.CategoryStruct.id (obj x))
(map_comp :
∀ {x₀ x₁ x₂ : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
{e₀₁ : SSet.Truncated.Edge x₀ x₁} {e₁₂ : SSet.Truncated.Edge x₁ x₂} {e₀₂ : SSet.Truncated.Edge x₀ x₂}
(a : e₀₁.CompStruct e₁₂ e₀₂), CategoryTheory.CategoryStruct.comp (map e₀₁) (map e₁₂) = map e₀₂)
{x y : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
(e : SSet.Truncated.Edge x y),
(SSet.Truncated.HomotopyCategory₂.desc obj (fun {x y} ↦ map) map_id ⋯).map
(SSet.Truncated.HomotopyCategory₂.homMk e) =
map e
theorem SSet.Truncated.HomotopyCategory₂.functor_ext E1 #
∀ {X : SSet.Truncated 2} [inst : X.Quasicategory₂] {D : Type u_1} [inst_1 : CategoryTheory.Category.{u_3, u_1} D]
{F G : CategoryTheory.Functor X.HomotopyCategory₂ D}
(h₁ :
autoParam
(∀ (x : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })),
F.obj { pt := x } = G.obj { pt := x })
SSet.Truncated.HomotopyCategory₂.functor_ext._auto_1),
autoParam
(∀ {x y : X.obj (Opposite.op { obj := { len := 0 }, property := SSet.Truncated.Quasicategory₂._proof_1 })}
(e : SSet.Truncated.Edge x y),
F.map (SSet.Truncated.HomotopyCategory₂.homMk e) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom ⋯)
(CategoryTheory.CategoryStruct.comp (G.map (SSet.Truncated.HomotopyCategory₂.homMk e))
(CategoryTheory.eqToHom ⋯)))
SSet.Truncated.HomotopyCategory₂.functor_ext._auto_3 →
F = G