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.SimplicialSet.CompStruct

88 declarations. Mathlib docs · Source

Edges, "triangles" and isos in simplicial sets

Given a simplicial set X, we introduce two types:

  • Given 0-simplices x₀ and x₁, we define Edge x₀ x₁ which is the type of 1-simplices with faces x₁ and x₀ respectively;
  • Given 0-simplices x₀, x₁, x₂, edges e₀₁ : Edge x₀ x₁, e₁₂ : Edge x₁ x₂, e₀₂ : Edge x₀ x₂, a structure CompStruct e₀₁ e₁₂ e₀₂ which records the data of a 2-simplex with faces e₁₂, e₀₂ and e₀₁ respectively. This data will allow to obtain relations in the homotopy category of X.

(This API parallels similar definitions for 2-truncated simplicial sets. The definitions in this file are definitionally equal to their 2-truncated counterparts.)

Given 0-simplices x₀ and x₁, and an edge hom : Edge x₀ x₁, InvStruct hom records the data of an edge inv : Edge x₁ x₀ and simplices homInvId : CompStruct hom inv (id x₀) and invHomId : CompStruct inv hom (id x₁), witnessing that inv is an inverse to hom.

def SSet.Edge.InvStruct.ctorIdx E1 #

{X : SSet} → {x₀ x₁ : X.obj (Opposite.op { len := 0 })} → {hom : SSet.Edge x₀ x₁} → hom.InvStruct → ℕ

theorem SSet.Edge.InvStruct.mk.injEq E0 #

∀ {X : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} {hom : SSet.Edge x₀ x₁} (inv : SSet.Edge x₁ x₀)
  (homInvId : hom.CompStruct inv (SSet.Edge.id x₀)) (invHomId : inv.CompStruct hom (SSet.Edge.id x₁))
  (inv_1 : SSet.Edge x₁ x₀) (homInvId_1 : hom.CompStruct inv_1 (SSet.Edge.id x₀))
  (invHomId_1 : inv_1.CompStruct hom (SSet.Edge.id x₁)),
  ({ inv := inv, homInvId := homInvId, invHomId := invHomId } =
      { inv := inv_1, homInvId := homInvId_1, invHomId := invHomId_1 }) =
    (inv = inv_1 ∧ homInvId ≍ homInvId_1 ∧ invHomId ≍ invHomId_1)

theorem SSet.Edge.InvStruct.mk.inj E1 #

∀ {X : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} {hom : SSet.Edge x₀ x₁} {inv : SSet.Edge x₁ x₀}
  {homInvId : hom.CompStruct inv (SSet.Edge.id x₀)} {invHomId : inv.CompStruct hom (SSet.Edge.id x₁)}
  {inv_1 : SSet.Edge x₁ x₀} {homInvId_1 : hom.CompStruct inv_1 (SSet.Edge.id x₀)}
  {invHomId_1 : inv_1.CompStruct hom (SSet.Edge.id x₁)},
  { inv := inv, homInvId := homInvId, invHomId := invHomId } =
      { inv := inv_1, homInvId := homInvId_1, invHomId := invHomId_1 } →
    inv = inv_1 ∧ homInvId ≍ homInvId_1 ∧ invHomId ≍ invHomId_1

def SSet.Edge E1 #

{X : SSet} → X.obj (Opposite.op { len := 0 }) → X.obj (Opposite.op { len := 0 }) → Type u

In a simplicial set, an edge from a vertex x₀ to x₁ is a 1-simplex with prescribed 0-dimensional faces.

def SSet.Edge.ofTruncated E1 #

{X : SSet} → {x₀ x₁ : X.obj (Opposite.op { len := 0 })} → SSet.Truncated.Edge x₀ x₁ → SSet.Edge x₀ x₁

Constructor for SSet.Edge which takes as an input a term in the definitionally equal type SSet.Truncated.Edge for the 2-truncation of the simplicial set. (This definition is made to contain abuse of defeq in other definitions.)

def SSet.Edge.toTruncated E1 #

{X : SSet} → {x₀ x₁ : X.obj (Opposite.op { len := 0 })} → SSet.Edge x₀ x₁ → SSet.Truncated.Edge x₀ x₁

The edge of the 2-truncation of a simplicial set X that is induced by an edge of X.

theorem SSet.Edge.toTruncated_ofTruncated E0 #

∀ {X : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} (e : SSet.Truncated.Edge x₀ x₁),
  (SSet.Edge.ofTruncated e).toTruncated = e

theorem SSet.Edge.ofTruncated_toTruncated E0 #

∀ {X : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} (e : SSet.Edge x₀ x₁), SSet.Edge.ofTruncated e.toTruncated = e

def SSet.Edge.edge E1 #

{X : SSet} → {x₀ x₁ : X.obj (Opposite.op { len := 0 })} → SSet.Edge x₀ x₁ → X.obj (Opposite.op { len := 1 })

In a simplicial set, an edge from a vertex x₀ to x₁ is a 1-simplex with prescribed 0-dimensional faces.

theorem SSet.Edge.ofTruncated_edge E0 #

∀ {X : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} (e : SSet.Truncated.Edge x₀ x₁),
  (SSet.Edge.ofTruncated e).edge = e.edge

theorem SSet.Edge.toTruncated_edge E0 #

∀ {X : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} (e : SSet.Edge x₀ x₁), e.toTruncated.edge = e.edge

theorem SSet.Edge.src_eq E0 #

∀ {X : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} (e : SSet.Edge x₀ x₁),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.δ X 1)) e.edge = x₀

theorem SSet.Edge.tgt_eq E0 #

∀ {X : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} (e : SSet.Edge x₀ x₁),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.δ X 0)) e.edge = x₁

theorem SSet.Edge.ext_iff E0 #

∀ {X : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} {e e' : SSet.Edge x₀ x₁}, e = e' ↔ e.edge = e'.edge

theorem SSet.Edge.ext E1 #

∀ {X : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} {e e' : SSet.Edge x₀ x₁}, e.edge = e'.edge → e = e'

def SSet.Edge.mk E1 #

{X : SSet} →
  {x₀ x₁ : X.obj (Opposite.op { len := 0 })} →
    (edge : X.obj (Opposite.op { len := 1 })) →
      autoParam ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.δ X 1)) edge = x₀) _auto_55✝ →
        autoParam ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.δ X 0)) edge = x₁) _auto_57✝ →
          SSet.Edge x₀ x₁

Constructor for edges in a simplicial set.

theorem SSet.Edge.mk_edge E0 #

∀ {X : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} (edge : X.obj (Opposite.op { len := 1 }))
  (src_eq :
    autoParam ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.δ X 1)) edge = x₀) _auto_63✝)
  (tgt_eq :
    autoParam ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.δ X 0)) edge = x₁) _auto_65✝),
  (SSet.Edge.mk edge src_eq tgt_eq).edge = edge

def SSet.Edge.id E1 #

{X : SSet} → (x₀ : X.obj (Opposite.op { len := 0 })) → SSet.Edge x₀ x₀

The constant edge on a 0-simplex.

theorem SSet.Edge.toTruncated_id E0 #

∀ {X : SSet} (x₀ : X.obj (Opposite.op { len := 0 })), (SSet.Edge.id x₀).toTruncated = SSet.Truncated.Edge.id x₀

theorem SSet.Edge.id_edge E0 #

∀ {X : SSet} (x₀ : X.obj (Opposite.op { len := 0 })),
  (SSet.Edge.id x₀).edge = (CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.σ X 0)) x₀

def SSet.Edge.map E1 #

{X Y : SSet} →
  {x₀ x₁ : X.obj (Opposite.op { len := 0 })} →
    SSet.Edge x₀ x₁ →
      (f : X ⟶ Y) →
        SSet.Edge ((CategoryTheory.ConcreteCategory.hom (f.app (Opposite.op { len := 0 }))) x₀)
          ((CategoryTheory.ConcreteCategory.hom (f.app (Opposite.op { len := 0 }))) x₁)

The image of an edge by a morphism of simplicial sets.

theorem SSet.Edge.map_edge E0 #

∀ {X Y : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} (e : SSet.Edge x₀ x₁) (f : X ⟶ Y),
  (e.map f).edge = (CategoryTheory.ConcreteCategory.hom (f.app (Opposite.op { len := 1 }))) e.edge

theorem SSet.Edge.map_id E0 #

∀ {X Y : SSet} (x₀ : X.obj (Opposite.op { len := 0 })) (f : X ⟶ Y),
  (SSet.Edge.id x₀).map f = SSet.Edge.id ((CategoryTheory.ConcreteCategory.hom (f.app (Opposite.op { len := 0 }))) x₀)

def SSet.Edge.mk' E1 #

{X : SSet} →
  (s : X.obj (Opposite.op { len := 1 })) →
    SSet.Edge ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.δ X 1)) s)
      ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.δ X 0)) s)

The edge given by a 1-simplex.

theorem SSet.Edge.mk'_edge E0 #

∀ {X : SSet} (s : X.obj (Opposite.op { len := 1 })), (SSet.Edge.mk' s).edge = s

theorem SSet.Edge.exists_of_simplex E1 #

∀ {X : SSet} (s : X.obj (Opposite.op { len := 1 })), ∃ x₀ x₁ e, e.edge = s

def SSet.Edge.ofEq E1 #

{X : SSet} → {x₀ x₁ y₀ y₁ : X.obj (Opposite.op { len := 0 })} → SSet.Edge x₀ x₁ → x₀ = y₀ → x₁ = y₁ → SSet.Edge y₀ y₁

Transports an edge between x₀ and x₁ to an edge between y₀ and y₁, given x₀ = y₀ and x₁ = y₁.

theorem SSet.Edge.ofEq_edge E0 #

∀ {X : SSet} {x₀ x₁ y₀ y₁ : X.obj (Opposite.op { len := 0 })} (e : SSet.Edge x₀ x₁) (h₀ : x₀ = y₀) (h₁ : x₁ = y₁),
  (e.ofEq h₀ h₁).edge = e.edge

def SSet.Edge.toSubcomplex E1 #

{X : SSet} →
  {x₀ x₁ : X.obj (Opposite.op { len := 0 })} →
    (e : SSet.Edge x₀ x₁) →
      (A : X.Subcomplex) → (h : e.edge ∈ A.obj (Opposite.op { len := 1 })) → SSet.Edge ⟨x₀, ⋯⟩ ⟨x₁, ⋯⟩

When the underlying simplex of an edge belongs to a subcomplex, this is the induced edge of the subcomplex.

theorem SSet.Edge.toSubcomplex_edge E0 #

∀ {X : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} (e : SSet.Edge x₀ x₁) (A : X.Subcomplex)
  (h : e.edge ∈ A.obj (Opposite.op { len := 1 })), (e.toSubcomplex A h).edge = ⟨e.edge, h⟩

def SSet.Edge.CompStruct E1 #

{X : SSet} →
  {x₀ x₁ x₂ : X.obj (Opposite.op { len := 0 })} → SSet.Edge x₀ x₁ → SSet.Edge x₁ x₂ → SSet.Edge x₀ x₂ → Type u

Let x₀, x₁, x₂ be 0-simplices of a simplicial set X, e₀₁ an edge from x₀ to x₁, e₁₂ an edge from x₁ to x₂, e₀₂ an edge from x₀ to x₂. This is the data of a 2-simplex whose faces are respectively e₀₂, e₁₂ and e₀₁. Such structures shall provide relations in the homotopy category of arbitrary simplicial sets (and specialized constructions for quasicategories and Kan complexes.).

def SSet.Edge.CompStruct.ofTruncated E1 #

{X : SSet} →
  {x₀ x₁ x₂ : X.obj (Opposite.op { len := 0 })} →
    {e₀₁ : SSet.Edge x₀ x₁} →
      {e₁₂ : SSet.Edge x₁ x₂} →
        {e₀₂ : SSet.Edge x₀ x₂} → e₀₁.toTruncated.CompStruct e₁₂.toTruncated e₀₂.toTruncated → e₀₁.CompStruct e₁₂ e₀₂

Constructor for SSet.Edge.CompStruct which takes as an input a term in the definitionally equal type SSet.Truncated.Edge.CompStruct for the 2-truncation of the simplicial set. (This definition is made to contain abuse of defeq in other definitions.)

def SSet.Edge.CompStruct.toTruncated E1 #

{X : SSet} →
  {x₀ x₁ x₂ : X.obj (Opposite.op { len := 0 })} →
    {e₀₁ : SSet.Edge x₀ x₁} →
      {e₁₂ : SSet.Edge x₁ x₂} →
        {e₀₂ : SSet.Edge x₀ x₂} → e₀₁.CompStruct e₁₂ e₀₂ → e₀₁.toTruncated.CompStruct e₁₂.toTruncated e₀₂.toTruncated

Conversion from SSet.Edge.CompStruct to SSet.Truncated.Edge.CompStruct.

def SSet.Edge.CompStruct.simplex E1 #

{X : SSet} →
  {x₀ x₁ x₂ : X.obj (Opposite.op { len := 0 })} →
    {e₀₁ : SSet.Edge x₀ x₁} →
      {e₁₂ : SSet.Edge x₁ x₂} → {e₀₂ : SSet.Edge x₀ x₂} → e₀₁.CompStruct e₁₂ e₀₂ → X.obj (Opposite.op { len := 2 })

The underlying 2-simplex in a structure SSet.Edge.CompStruct.

theorem SSet.Edge.CompStruct.d₂ E0 #

∀ {X : SSet} {x₀ x₁ x₂ : X.obj (Opposite.op { len := 0 })} {e₀₁ : SSet.Edge x₀ x₁} {e₁₂ : SSet.Edge x₁ x₂}
  {e₀₂ : SSet.Edge x₀ x₂} (h : e₀₁.CompStruct e₁₂ e₀₂),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.δ X 2)) h.simplex = e₀₁.edge

theorem SSet.Edge.CompStruct.d₀ E0 #

∀ {X : SSet} {x₀ x₁ x₂ : X.obj (Opposite.op { len := 0 })} {e₀₁ : SSet.Edge x₀ x₁} {e₁₂ : SSet.Edge x₁ x₂}
  {e₀₂ : SSet.Edge x₀ x₂} (h : e₀₁.CompStruct e₁₂ e₀₂),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.δ X 0)) h.simplex = e₁₂.edge

theorem SSet.Edge.CompStruct.d₁ E0 #

∀ {X : SSet} {x₀ x₁ x₂ : X.obj (Opposite.op { len := 0 })} {e₀₁ : SSet.Edge x₀ x₁} {e₁₂ : SSet.Edge x₁ x₂}
  {e₀₂ : SSet.Edge x₀ x₂} (h : e₀₁.CompStruct e₁₂ e₀₂),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.δ X 1)) h.simplex = e₀₂.edge

def SSet.Edge.CompStruct.mk E1 #

{X : SSet} →
  {x₀ x₁ x₂ : X.obj (Opposite.op { len := 0 })} →
    {e₀₁ : SSet.Edge x₀ x₁} →
      {e₁₂ : SSet.Edge x₁ x₂} →
        {e₀₂ : SSet.Edge x₀ x₂} →
          (simplex : X.obj (Opposite.op { len := 2 })) →
            autoParam ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.δ X 2)) simplex = e₀₁.edge)
                _auto_147✝ →
              autoParam
                  ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.δ X 0)) simplex = e₁₂.edge)
                  _auto_149✝ →
                autoParam
                    ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.δ X 1)) simplex = e₀₂.edge)
                    _auto_151✝ →
                  e₀₁.CompStruct e₁₂ e₀₂

Constructor for SSet.Edge.CompStruct.

theorem SSet.Edge.CompStruct.mk_simplex E0 #

∀ {X : SSet} {x₀ x₁ x₂ : X.obj (Opposite.op { len := 0 })} {e₀₁ : SSet.Edge x₀ x₁} {e₁₂ : SSet.Edge x₁ x₂}
  {e₀₂ : SSet.Edge x₀ x₂} (simplex : X.obj (Opposite.op { len := 2 }))
  (d₂ :
    autoParam ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.δ X 2)) simplex = e₀₁.edge)
      _auto_157✝)
  (d₀ :
    autoParam ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.δ X 0)) simplex = e₁₂.edge)
      _auto_159✝)
  (d₁ :
    autoParam ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.δ X 1)) simplex = e₀₂.edge)
      _auto_161✝),
  (SSet.Edge.CompStruct.mk simplex ⋯ ⋯ ⋯).simplex = simplex

theorem SSet.Edge.CompStruct.ext_iff E0 #

∀ {X : SSet} {x₀ x₁ x₂ : X.obj (Opposite.op { len := 0 })} {e₀₁ : SSet.Edge x₀ x₁} {e₁₂ : SSet.Edge x₁ x₂}
  {e₀₂ : SSet.Edge x₀ x₂} {h h' : e₀₁.CompStruct e₁₂ e₀₂}, h = h' ↔ h.simplex = h'.simplex

theorem SSet.Edge.CompStruct.ext E1 #

∀ {X : SSet} {x₀ x₁ x₂ : X.obj (Opposite.op { len := 0 })} {e₀₁ : SSet.Edge x₀ x₁} {e₁₂ : SSet.Edge x₁ x₂}
  {e₀₂ : SSet.Edge x₀ x₂} {h h' : e₀₁.CompStruct e₁₂ e₀₂}, h.simplex = h'.simplex → h = h'

theorem SSet.Edge.CompStruct.exists_of_simplex E1 #

∀ {X : SSet} (s : X.obj (Opposite.op { len := 2 })), ∃ x₀ x₁ x₂ e₀₁ e₁₂ e₀₂ h, h.simplex = s

def SSet.Edge.CompStruct.idComp E1 #

{X : SSet} → {x₀ x₁ : X.obj (Opposite.op { len := 0 })} → (e : SSet.Edge x₀ x₁) → (SSet.Edge.id x₀).CompStruct e e

e : Edge x₀ x₁ is a composition of Edge.id x₀ with e.

theorem SSet.Edge.CompStruct.idComp_simplex E0 #

∀ {X : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} (e : SSet.Edge x₀ x₁),
  (SSet.Edge.CompStruct.idComp e).simplex =
    (CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.σ X 0)) e.edge

def SSet.Edge.CompStruct.compId E1 #

{X : SSet} → {x₀ x₁ : X.obj (Opposite.op { len := 0 })} → (e : SSet.Edge x₀ x₁) → e.CompStruct (SSet.Edge.id x₁) e

e : Edge x₀ x₁ is a composition of e with Edge.id x₁

theorem SSet.Edge.CompStruct.compId_simplex E0 #

∀ {X : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} (e : SSet.Edge x₀ x₁),
  (SSet.Edge.CompStruct.compId e).simplex =
    (CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.σ X 1)) e.edge

def SSet.Edge.CompStruct.idCompId E1 #

{X : SSet} → (x : X.obj (Opposite.op { len := 0 })) → (SSet.Edge.id x).CompStruct (SSet.Edge.id x) (SSet.Edge.id x)

The identity edge on a point, composed with itself, gives the identity.

theorem SSet.Edge.CompStruct.idCompId_simplex E0 #

∀ {X : SSet} (x : X.obj (Opposite.op { len := 0 })),
  (SSet.Edge.CompStruct.idCompId x).simplex =
    (CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.σ X 0))
      ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.σ X 0)) x)

def SSet.Edge.CompStruct.map E1 #

{X Y : SSet} →
  {x₀ x₁ x₂ : X.obj (Opposite.op { len := 0 })} →
    {e₀₁ : SSet.Edge x₀ x₁} →
      {e₁₂ : SSet.Edge x₁ x₂} →
        {e₀₂ : SSet.Edge x₀ x₂} → e₀₁.CompStruct e₁₂ e₀₂ → (f : X ⟶ Y) → (e₀₁.map f).CompStruct (e₁₂.map f) (e₀₂.map f)

The image of a Edge.CompStruct by a morphism of simplicial sets.

theorem SSet.Edge.CompStruct.map_simplex E0 #

∀ {X Y : SSet} {x₀ x₁ x₂ : X.obj (Opposite.op { len := 0 })} {e₀₁ : SSet.Edge x₀ x₁} {e₁₂ : SSet.Edge x₁ x₂}
  {e₀₂ : SSet.Edge x₀ x₂} (h : e₀₁.CompStruct e₁₂ e₀₂) (f : X ⟶ Y),
  (h.map f).simplex = (CategoryTheory.ConcreteCategory.hom (f.app (Opposite.op { len := 2 }))) h.simplex

def SSet.Edge.CompStruct.ofEq E1 #

{X : SSet} →
  {x₀ x₁ x₂ y₀ y₁ y₂ : X.obj (Opposite.op { len := 0 })} →
    {e₀₁ : SSet.Edge x₀ x₁} →
      {f₀₁ : SSet.Edge y₀ y₁} →
        {e₁₂ : SSet.Edge x₁ x₂} →
          {f₁₂ : SSet.Edge y₁ y₂} →
            {e₀₂ : SSet.Edge x₀ x₂} →
              {f₀₂ : SSet.Edge y₀ y₂} →
                e₀₁.CompStruct e₁₂ e₀₂ →
                  e₀₁.edge = f₀₁.edge → e₁₂.edge = f₁₂.edge → e₀₂.edge = f₀₂.edge → f₀₁.CompStruct f₁₂ f₀₂

Transports a CompStruct between edges e₀₁, e₁₂ and e₀₂ to a CompStruct between edges f₀₁, f₁₂ and f₀₂ along equalities of 1-simplices eᵢⱼ.edge = fᵢⱼ.edge.

theorem SSet.Edge.CompStruct.ofEq_simplex E0 #

∀ {X : SSet} {x₀ x₁ x₂ y₀ y₁ y₂ : X.obj (Opposite.op { len := 0 })} {e₀₁ : SSet.Edge x₀ x₁} {f₀₁ : SSet.Edge y₀ y₁}
  {e₁₂ : SSet.Edge x₁ x₂} {f₁₂ : SSet.Edge y₁ y₂} {e₀₂ : SSet.Edge x₀ x₂} {f₀₂ : SSet.Edge y₀ y₂}
  (c : e₀₁.CompStruct e₁₂ e₀₂) (h₀₁ : e₀₁.edge = f₀₁.edge) (h₁₂ : e₁₂.edge = f₁₂.edge) (h₀₂ : e₀₂.edge = f₀₂.edge),
  (c.ofEq h₀₁ h₁₂ h₀₂).simplex = c.simplex

def SSet.Edge.CompStruct.toSubcomplex E1 #

{X : SSet} →
  {x₀ x₁ x₂ : X.obj (Opposite.op { len := 0 })} →
    {e₀₁ : SSet.Edge x₀ x₁} →
      {e₁₂ : SSet.Edge x₁ x₂} →
        {e₀₂ : SSet.Edge x₀ x₂} →
          (h : e₀₁.CompStruct e₁₂ e₀₂) →
            (A : X.Subcomplex) →
              (mem : h.simplex ∈ A.obj (Opposite.op { len := 2 })) →
                (e₀₁.toSubcomplex A ⋯).CompStruct (e₁₂.toSubcomplex A ⋯) (e₀₂.toSubcomplex A ⋯)

When the underlying simplex of a CompStruct belongs to a subcomplex, this is the induced CompStruct for the corresponding edges of the subcomplex.

theorem SSet.Edge.CompStruct.toSubcomplex_simplex E0 #

∀ {X : SSet} {x₀ x₁ x₂ : X.obj (Opposite.op { len := 0 })} {e₀₁ : SSet.Edge x₀ x₁} {e₁₂ : SSet.Edge x₁ x₂}
  {e₀₂ : SSet.Edge x₀ x₂} (h : e₀₁.CompStruct e₁₂ e₀₂) (A : X.Subcomplex)
  (mem : h.simplex ∈ A.obj (Opposite.op { len := 2 })), (h.toSubcomplex A mem).simplex = ⟨h.simplex, mem⟩

theorem SSet.Edge.CompStruct.toSubcomplex_edge E0 #

∀ {X : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} (e : SSet.Edge x₀ x₁) (A : X.Subcomplex)
  (h : e.edge ∈ A.obj (Opposite.op { len := 1 })), (e.toSubcomplex A h).edge = ⟨e.edge, h⟩

structure SSet.Edge.InvStruct E1 #

{X : SSet} → {x₀ x₁ : X.obj (Opposite.op { len := 0 })} → SSet.Edge x₀ x₁ → Type u

For an edge hom, InvStruct hom encodes the data of a backward edge inv, and 2-simplices witnessing that hom and inv compose to the identity on their endpoints. This implies that hom becomes an isomorphism in the homotopy category.

theorem SSet.Edge.InvStruct.ext E1 #

∀ {X : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} {hom : SSet.Edge x₀ x₁} {x y : hom.InvStruct},
  x.inv = y.inv → x.homInvId ≍ y.homInvId → x.invHomId ≍ y.invHomId → x = y

theorem SSet.Edge.InvStruct.ext_iff E0 #

∀ {X : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} {hom : SSet.Edge x₀ x₁} {x y : hom.InvStruct},
  x = y ↔ x.inv = y.inv ∧ x.homInvId ≍ y.homInvId ∧ x.invHomId ≍ y.invHomId

ctor SSet.Edge.InvStruct.mk E0 #

{X : SSet} →
  {x₀ x₁ : X.obj (Opposite.op { len := 0 })} →
    {hom : SSet.Edge x₀ x₁} →
      (inv : SSet.Edge x₁ x₀) →
        hom.CompStruct inv (SSet.Edge.id x₀) → inv.CompStruct hom (SSet.Edge.id x₁) → hom.InvStruct

abbrev SSet.Edge.InvStruct.inv E1 #

{X : SSet} → {x₀ x₁ : X.obj (Opposite.op { len := 0 })} → {hom : SSet.Edge x₀ x₁} → hom.InvStruct → SSet.Edge x₁ x₀

The backwards edge

abbrev SSet.Edge.InvStruct.homInvId E1 #

{X : SSet} →
  {x₀ x₁ : X.obj (Opposite.op { len := 0 })} →
    {hom : SSet.Edge x₀ x₁} → (self : hom.InvStruct) → hom.CompStruct self.inv (SSet.Edge.id x₀)

The simplex witnessing that hom and inv compose to the identity

abbrev SSet.Edge.InvStruct.invHomId E1 #

{X : SSet} →
  {x₀ x₁ : X.obj (Opposite.op { len := 0 })} →
    {hom : SSet.Edge x₀ x₁} → (self : hom.InvStruct) → self.inv.CompStruct hom (SSet.Edge.id x₁)

The simplex witnessing that inv and hom compose to the identity

def SSet.Edge.InvStruct.invStructId E1 #

{X : SSet} → (x : X.obj (Opposite.op { len := 0 })) → (SSet.Edge.id x).InvStruct

The identity edge has an inverse.

theorem SSet.Edge.InvStruct.invStructId_homInvId E0 #

∀ {X : SSet} (x : X.obj (Opposite.op { len := 0 })),
  (SSet.Edge.InvStruct.invStructId x).homInvId = SSet.Edge.CompStruct.idCompId x

theorem SSet.Edge.InvStruct.invStructId_inv E0 #

∀ {X : SSet} (x : X.obj (Opposite.op { len := 0 })), (SSet.Edge.InvStruct.invStructId x).inv = SSet.Edge.id x

theorem SSet.Edge.InvStruct.invStructId_invHomId E0 #

∀ {X : SSet} (x : X.obj (Opposite.op { len := 0 })),
  (SSet.Edge.InvStruct.invStructId x).invHomId = SSet.Edge.CompStruct.idCompId x

def SSet.Edge.InvStruct.invStructInv E1 #

{X : SSet} →
  {x₀ x₁ : X.obj (Opposite.op { len := 0 })} → {hom : SSet.Edge x₀ x₁} → (I : hom.InvStruct) → I.inv.InvStruct

The inverse has an inverse.

theorem SSet.Edge.InvStruct.invStructInv_inv E0 #

∀ {X : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} {hom : SSet.Edge x₀ x₁} (I : hom.InvStruct),
  I.invStructInv.inv = hom

theorem SSet.Edge.InvStruct.invStructInv_invHomId E0 #

∀ {X : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} {hom : SSet.Edge x₀ x₁} (I : hom.InvStruct),
  I.invStructInv.invHomId = I.homInvId

theorem SSet.Edge.InvStruct.invStructInv_homInvId E0 #

∀ {X : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} {hom : SSet.Edge x₀ x₁} (I : hom.InvStruct),
  I.invStructInv.homInvId = I.invHomId

def SSet.Edge.InvStruct.map E1 #

{X Y : SSet} →
  {x₀ x₁ : X.obj (Opposite.op { len := 0 })} →
    {hom : SSet.Edge x₀ x₁} → hom.InvStruct → (f : X ⟶ Y) → (hom.map f).InvStruct

Maps an inverse along an morphism of simplicial sets.

theorem SSet.Edge.InvStruct.map_homInvId E0 #

∀ {X Y : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} {hom : SSet.Edge x₀ x₁} (I : hom.InvStruct) (f : X ⟶ Y),
  (I.map f).homInvId = (I.homInvId.map f).ofEq ⋯ ⋯ ⋯

theorem SSet.Edge.InvStruct.map_inv E0 #

∀ {X Y : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} {hom : SSet.Edge x₀ x₁} (I : hom.InvStruct) (f : X ⟶ Y),
  (I.map f).inv = I.inv.map f

theorem SSet.Edge.InvStruct.map_invHomId E0 #

∀ {X Y : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} {hom : SSet.Edge x₀ x₁} (I : hom.InvStruct) (f : X ⟶ Y),
  (I.map f).invHomId = (I.invHomId.map f).ofEq ⋯ ⋯ ⋯

def SSet.Edge.InvStruct.ofEq E1 #

{X : SSet} →
  {x₀ x₁ y₀ y₁ : X.obj (Opposite.op { len := 0 })} →
    {hom : SSet.Edge x₀ x₁} → {hom' : SSet.Edge y₀ y₁} → hom.InvStruct → hom.edge = hom'.edge → hom'.InvStruct

Transports an inverse for hom along an equality of 1-simplices hom = hom'. I.e. constructs an inverse for hom' from an inverse for hom.

theorem SSet.Edge.InvStruct.ofEq_invHomId E0 #

∀ {X : SSet} {x₀ x₁ y₀ y₁ : X.obj (Opposite.op { len := 0 })} {hom : SSet.Edge x₀ x₁} {hom' : SSet.Edge y₀ y₁}
  (I : hom.InvStruct) (hhom : hom.edge = hom'.edge), (I.ofEq hhom).invHomId = I.invHomId.ofEq ⋯ hhom ⋯

theorem SSet.Edge.InvStruct.ofEq_homInvId E0 #

∀ {X : SSet} {x₀ x₁ y₀ y₁ : X.obj (Opposite.op { len := 0 })} {hom : SSet.Edge x₀ x₁} {hom' : SSet.Edge y₀ y₁}
  (I : hom.InvStruct) (hhom : hom.edge = hom'.edge), (I.ofEq hhom).homInvId = I.homInvId.ofEq hhom ⋯ ⋯

theorem SSet.Edge.InvStruct.ofEq_inv E0 #

∀ {X : SSet} {x₀ x₁ y₀ y₁ : X.obj (Opposite.op { len := 0 })} {hom : SSet.Edge x₀ x₁} {hom' : SSet.Edge y₀ y₁}
  (I : hom.InvStruct) (hhom : hom.edge = hom'.edge), (I.ofEq hhom).inv = I.inv.ofEq ⋯ ⋯

def SSet.Edge.op E1 #

{X : SSet} →
  {x₀ x₁ : X.obj (Opposite.op { len := 0 })} →
    SSet.Edge x₀ x₁ → SSet.Edge (SSet.opObjEquiv.symm x₁) (SSet.opObjEquiv.symm x₀)

The opposite of an edge.

theorem SSet.Edge.op_edge E0 #

∀ {X : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} (e : SSet.Edge x₀ x₁), e.op.edge = SSet.opObjEquiv.symm e.edge

def SSet.Edge.unop E1 #

{X : SSet} →
  {x₀ x₁ : X.op.obj (Opposite.op { len := 0 })} → SSet.Edge x₀ x₁ → SSet.Edge (SSet.opObjEquiv x₁) (SSet.opObjEquiv x₀)

The edge obtained from an edge in the opposite simplicial set.

theorem SSet.Edge.unop_edge E0 #

∀ {X : SSet} {x₀ x₁ : X.op.obj (Opposite.op { len := 0 })} (e : SSet.Edge x₀ x₁), e.unop.edge = SSet.opObjEquiv e.edge

theorem SSet.Edge.unop_op E0 #

∀ {X : SSet} {x₀ x₁ : X.obj (Opposite.op { len := 0 })} (e : SSet.Edge x₀ x₁), e.op.unop = e

theorem SSet.Edge.op_unop E0 #

∀ {X : SSet} {x₀ x₁ : X.op.obj (Opposite.op { len := 0 })} (e : SSet.Edge x₀ x₁), e.unop.op = e

def SSet.Edge.CompStruct.op E1 #

{X : SSet} →
  {x₀ x₁ x₂ : X.obj (Opposite.op { len := 0 })} →
    {e₀₁ : SSet.Edge x₀ x₁} →
      {e₁₂ : SSet.Edge x₁ x₂} → {e₀₂ : SSet.Edge x₀ x₂} → e₀₁.CompStruct e₁₂ e₀₂ → e₁₂.op.CompStruct e₀₁.op e₀₂.op

The CompStruct in X.op that is deduced from a CompStruct in X.

theorem SSet.Edge.CompStruct.op_simplex E0 #

∀ {X : SSet} {x₀ x₁ x₂ : X.obj (Opposite.op { len := 0 })} {e₀₁ : SSet.Edge x₀ x₁} {e₁₂ : SSet.Edge x₁ x₂}
  {e₀₂ : SSet.Edge x₀ x₂} (h : e₀₁.CompStruct e₁₂ e₀₂), h.op.simplex = SSet.opObjEquiv.symm h.simplex

def SSet.Edge.CompStruct.unop E1 #

{X : SSet} →
  {x₀ x₁ x₂ : X.op.obj (Opposite.op { len := 0 })} →
    {e₀₁ : SSet.Edge x₀ x₁} →
      {e₁₂ : SSet.Edge x₁ x₂} → {e₀₂ : SSet.Edge x₀ x₂} → e₀₁.CompStruct e₁₂ e₀₂ → e₁₂.unop.CompStruct e₀₁.unop e₀₂.unop

The CompStruct in X that is deduced from a CompStruct in X.op.

theorem SSet.Edge.CompStruct.unop_simplex E0 #

∀ {X : SSet} {x₀ x₁ x₂ : X.op.obj (Opposite.op { len := 0 })} {e₀₁ : SSet.Edge x₀ x₁} {e₁₂ : SSet.Edge x₁ x₂}
  {e₀₂ : SSet.Edge x₀ x₂} (h : e₀₁.CompStruct e₁₂ e₀₂), h.unop.simplex = SSet.opObjEquiv h.simplex