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

71 declarations. Mathlib docs · Source

The skeleton of a simplicial set

In this file, we define the skeleton X.skeleton : ℕ →o X.Subcomplex of a simplicial set X. For any n : ℕ, X.skeleton n is the subcomplex of X that is generated by (non-degenerate) simplices of dimension < n.

If i : X ⟶ Y is a monomorphism, we define skeletonOfMono i : ℕ →o Y.Subcomplex so that skeletonOfMono i n = Subcomplex.range i ⊔ Y.skeleton n. We show that this filtration is part of a relative cell complex structure for i, with basic cells given by boundary inclusions ∂Δ[d] ⟶ Δ[d] for all nondegenerate d-simplices of Y which do not belong to the range of i.

TODO

  • show that (SSet.sk n).obj X is isomorphic to X.skeleton (n + 1)

The main next technical result is that if i : X ⟶ Y is a monomorphism of simplicial sets and d : ℕ, there is a pushout square:

                                t i d
∐ fun (c : Cell i d) ↦ ∂Δ[d] ----------> skeletonOfMono i d
               |                                   |
         l i d |                                   | r i d
               v                b i d              v
∐ fun (c : Cell i d) ↦ Δ[d]  ----------> skeletonOfMono i (d + 1)

The index type Cell i d identifies to the type of nondegenerate d-simplices of Y not in the range of i.

theorem SSet.relativeCellComplexOfMono.Cell.mk.injEq E0 #

∀ {X Y : SSet} {i : X ⟶ Y} {d : ℕ} (simplex : Y.obj (Opposite.op { len := d }))
  (nonDegenerate : simplex ∈ Y.nonDegenerate d)
  (notMem : simplex ∉ Set.range ⇑(CategoryTheory.ConcreteCategory.hom (i.app (Opposite.op { len := d }))))
  (simplex_1 : Y.obj (Opposite.op { len := d })) (nonDegenerate_1 : simplex_1 ∈ Y.nonDegenerate d)
  (notMem_1 : simplex_1 ∉ Set.range ⇑(CategoryTheory.ConcreteCategory.hom (i.app (Opposite.op { len := d })))),
  ({ simplex := simplex, nonDegenerate := nonDegenerate, notMem := notMem } =
      { simplex := simplex_1, nonDegenerate := nonDegenerate_1, notMem := notMem_1 }) =
    (simplex = simplex_1)

theorem SSet.relativeCellComplexOfMono.Cell.mk.inj E1 #

∀ {X Y : SSet} {i : X ⟶ Y} {d : ℕ} {simplex : Y.obj (Opposite.op { len := d })}
  {nonDegenerate : simplex ∈ Y.nonDegenerate d}
  {notMem : simplex ∉ Set.range ⇑(CategoryTheory.ConcreteCategory.hom (i.app (Opposite.op { len := d })))}
  {simplex_1 : Y.obj (Opposite.op { len := d })} {nonDegenerate_1 : simplex_1 ∈ Y.nonDegenerate d}
  {notMem_1 : simplex_1 ∉ Set.range ⇑(CategoryTheory.ConcreteCategory.hom (i.app (Opposite.op { len := d })))},
  { simplex := simplex, nonDegenerate := nonDegenerate, notMem := notMem } =
      { simplex := simplex_1, nonDegenerate := nonDegenerate_1, notMem := notMem_1 } →
    simplex = simplex_1

def SSet.relativeCellComplexOfMono.Cell.ctorIdx E1 #

{X Y : SSet} → {i : X ⟶ Y} → {d : ℕ} → SSet.relativeCellComplexOfMono.Cell i d → ℕ

def SSet.skeleton E1 #

(X : SSet) → ℕ →o X.Subcomplex

X.skeleton n is the subcomplex of X generated by (non-degenerate) simplices of dimension < n.

theorem SSet.mem_skeleton E0 #

∀ (X : SSet) {i : ℕ} (x : X.obj (Opposite.op { len := i })) {n : ℕ},
  autoParam (i < n) SSet.mem_skeleton._auto_1 → x ∈ (X.skeleton n).obj (Opposite.op { len := i })

theorem SSet.skeleton_obj_eq_top E1 #

∀ (X : SSet) {d n : ℕ}, d < n → (X.skeleton n).obj (Opposite.op { len := d }) = ⊤

theorem SSet.ofSimplex_le_skeleton E1 #

∀ (X : SSet) {i : ℕ} (x : X.obj (Opposite.op { len := i })) {n : ℕ}, i < n → SSet.Subcomplex.ofSimplex x ≤ X.skeleton n

theorem SSet.mem_skeleton_obj_iff_of_nonDegenerate E0 #

∀ (X : SSet) {d : ℕ} (x : ↑(X.nonDegenerate d)) (n : ℕ), ↑x ∈ (X.skeleton n).obj (Opposite.op { len := d }) ↔ d < n

theorem SSet.skeleton_zero E0 #

∀ (X : SSet), X.skeleton 0 = ⊥

theorem SSet.iSup_skeleton E1 #

∀ (X : SSet), ⨆ n, X.skeleton n = ⊤

theorem SSet.skeleton_succ E1 #

∀ (X : SSet) (n : ℕ), X.skeleton (n + 1) = X.skeleton n ⊔ ⨆ x, SSet.Subcomplex.ofSimplex ↑x

def SSet.skeletonOfMono E1 #

{X Y : SSet} → (X ⟶ Y) → ℕ →o Y.Subcomplex

The skeleton of a monomorphism i : X ⟶ Y of simplicial sets. It sends n : ℕ to Subcomplex.range i ⊔ Y.skeleton n. See SSet.relativeCellComplexOfMono for the main result regarding this definition. (Even though [Mono i] is technically not required in this definition, the intended use of this definition and the corresponding API is when [Mono i] holds.)

theorem SSet.skeleton_le_skeletonOfMono E1 #

∀ {X Y : SSet} (i : X ⟶ Y) (n : ℕ), Y.skeleton n ≤ (SSet.skeletonOfMono i) n

theorem SSet.skeletonOfMono_zero E0 #

∀ {X Y : SSet} (i : X ⟶ Y), (SSet.skeletonOfMono i) 0 = SSet.Subcomplex.range i

theorem SSet.iSup_skeletonOfMono E1 #

∀ {X Y : SSet} (i : X ⟶ Y), ⨆ n, (SSet.skeletonOfMono i) n = ⊤

theorem SSet.mem_skeletonOfMono_obj_iff_of_nonDegenerate E0 #

∀ {X Y : SSet} (i : X ⟶ Y) {d : ℕ} (x : ↑(Y.nonDegenerate d)) (n : ℕ),
  ↑x ∈ ((SSet.skeletonOfMono i) n).obj (Opposite.op { len := d }) ↔
    ↑x ∈ Set.range ⇑(CategoryTheory.ConcreteCategory.hom (i.app (Opposite.op { len := d }))) ∨ d < n

theorem SSet.skeletonOfMono_obj_eq_top E1 #

∀ {X Y : SSet} (i : X ⟶ Y) {d n : ℕ}, d < n → ((SSet.skeletonOfMono i) n).obj (Opposite.op { len := d }) = ⊤

theorem SSet.skeletonOfMono_succ E1 #

∀ {X Y : SSet} (i : X ⟶ Y) (n : ℕ),
  (SSet.skeletonOfMono i) (n + 1) =
    (SSet.skeletonOfMono i) n ⊔
      ⨆ x, ⨆ (_ : ↑x ∉ (SSet.Subcomplex.range i).obj (Opposite.op { len := n })), SSet.Subcomplex.ofSimplex ↑x

structure SSet.relativeCellComplexOfMono.Cell E1 #

{X Y : SSet} → (X ⟶ Y) → ℕ → Type u

If i : X ⟶ Y is a monomorphism of simplicial sets and d : ℕ, this is the type of nondegenerate d-simplices of Y which do not belong to the range of i.

theorem SSet.relativeCellComplexOfMono.Cell.ext E1 #

∀ {X Y : SSet} {i : X ⟶ Y} {d : ℕ} {x y : SSet.relativeCellComplexOfMono.Cell i d}, x.simplex = y.simplex → x = y

theorem SSet.relativeCellComplexOfMono.Cell.ext_iff E0 #

∀ {X Y : SSet} {i : X ⟶ Y} {d : ℕ} {x y : SSet.relativeCellComplexOfMono.Cell i d}, x = y ↔ x.simplex = y.simplex

ctor SSet.relativeCellComplexOfMono.Cell.mk E0 #

{X Y : SSet} →
  {i : X ⟶ Y} →
    {d : ℕ} →
      (simplex : Y.obj (Opposite.op { len := d })) →
        simplex ∈ Y.nonDegenerate d →
          simplex ∉ Set.range ⇑(CategoryTheory.ConcreteCategory.hom (i.app (Opposite.op { len := d }))) →
            SSet.relativeCellComplexOfMono.Cell i d

abbrev SSet.relativeCellComplexOfMono.Cell.simplex E1 #

{X Y : SSet} → {i : X ⟶ Y} → {d : ℕ} → SSet.relativeCellComplexOfMono.Cell i d → Y.obj (Opposite.op { len := d })

a d-simplex in the target of the monomorphism

theorem SSet.relativeCellComplexOfMono.Cell.nonDegenerate E1 #

∀ {X Y : SSet} {i : X ⟶ Y} {d : ℕ} (self : SSet.relativeCellComplexOfMono.Cell i d), self.simplex ∈ Y.nonDegenerate d

theorem SSet.relativeCellComplexOfMono.Cell.notMem E1 #

∀ {X Y : SSet} {i : X ⟶ Y} {d : ℕ} (self : SSet.relativeCellComplexOfMono.Cell i d),
  self.simplex ∉ Set.range ⇑(CategoryTheory.ConcreteCategory.hom (i.app (Opposite.op { len := d })))

abbrev SSet.relativeCellComplexOfMono.sigmaStdSimplex E1 #

{X Y : SSet} → (X ⟶ Y) → ℕ → SSet

If i : X ⟶ Y is a monomorphism of simplicial sets and d : ℕ, this is a coproduct of copies of Δ[d] indexed by the nondegenerate d-simplices of Y not in the range of i.

abbrev SSet.relativeCellComplexOfMono.sigmaBoundary E1 #

{X Y : SSet} → (X ⟶ Y) → ℕ → SSet

If i : X ⟶ Y is a monomorphism of simplicial sets and d : ℕ, this is a coproduct of copies of ∂Δ[d] indexed by the nondegenerate d-simplices of Y not in the range of i.

abbrev SSet.relativeCellComplexOfMono.Cell.ιSigmaStdSimplex E1 #

{X Y : SSet} →
  {i : X ⟶ Y} →
    {d : ℕ} →
      SSet.relativeCellComplexOfMono.Cell i d →
        (SSet.stdSimplex.obj { len := d } ⟶ SSet.relativeCellComplexOfMono.sigmaStdSimplex i d)

Given a monomorphism i : X ⟶ Y of simplicial sets and a nondegenerate d-simplex of Y not in the range of i, this is the inclusion of the corresponding summand of the coproduct sigmaStdSimplex i d.

abbrev SSet.relativeCellComplexOfMono.Cell.ιSigmaBoundary E1 #

{X Y : SSet} →
  {i : X ⟶ Y} →
    {d : ℕ} →
      SSet.relativeCellComplexOfMono.Cell i d →
        ((SSet.boundary d).toSSet ⟶ SSet.relativeCellComplexOfMono.sigmaBoundary i d)

Given a monomorphism i : X ⟶ Y of simplicial sets and a nondegenerate d-simplex of Y not in the range of i, this is the inclusion of the corresponding summand of the coproduct sigmaBoundary i d.

abbrev SSet.relativeCellComplexOfMono.Cell.map E1 #

{X Y : SSet} → {i : X ⟶ Y} → {d : ℕ} → SSet.relativeCellComplexOfMono.Cell i d → (SSet.stdSimplex.obj { len := d } ⟶ Y)

Given a monomorphism i : X ⟶ Y of simplicial sets and a nondegenerate d-simplex of Y not in the range of i, this is the corresponding morphism Δ[d] ⟶ Y.

theorem SSet.relativeCellComplexOfMono.Cell.mem_skeletonOfMono_obj_iff E0 #

∀ {X Y : SSet} {i : X ⟶ Y} {d : ℕ} (c : SSet.relativeCellComplexOfMono.Cell i d) {d' : ℕ},
  c.simplex ∈ ((SSet.skeletonOfMono i) d').obj (Opposite.op { len := d }) ↔
    c.simplex ∈ Set.range ⇑(CategoryTheory.ConcreteCategory.hom (i.app (Opposite.op { len := d }))) ∨ d < d'

theorem SSet.relativeCellComplexOfMono.Cell.range_map_le E1 #

∀ {X Y : SSet} {i : X ⟶ Y} {d : ℕ} (c : SSet.relativeCellComplexOfMono.Cell i d),
  SSet.Subcomplex.range c.map ≤ (SSet.skeletonOfMono i) (d + 1)

theorem SSet.relativeCellComplexOfMono.Cell.preimage_map E0 #

∀ {X Y : SSet} {i : X ⟶ Y} {d : ℕ} (c : SSet.relativeCellComplexOfMono.Cell i d),
  ((SSet.skeletonOfMono i) d).preimage c.map = SSet.boundary d

theorem SSet.relativeCellComplexOfMono.ιSigmaStdSimplex_jointly_surjective E1 #

∀ {X Y : SSet} {i : X ⟶ Y} {d n : ℕ}
  (a : (SSet.relativeCellComplexOfMono.sigmaStdSimplex i d).obj (Opposite.op { len := n })),
  ∃ c x, (CategoryTheory.ConcreteCategory.hom (c.ιSigmaStdSimplex.app (Opposite.op { len := n }))) x = a

abbrev SSet.relativeCellComplexOfMono.l E1 #

{X Y : SSet} →
  (i : X ⟶ Y) →
    (d : ℕ) → SSet.relativeCellComplexOfMono.sigmaBoundary i d ⟶ SSet.relativeCellComplexOfMono.sigmaStdSimplex i d

the left morphism of the pushout square isPushout i d: this is the coproduct of copies of the boundary inclusion ∂Δ[d] ⟶ Δ[d] indexed by the nondegenerate d-simplices of Y not in the range of i.

abbrev SSet.relativeCellComplexOfMono.t E1 #

{X Y : SSet} →
  (i : X ⟶ Y) → (d : ℕ) → SSet.relativeCellComplexOfMono.sigmaBoundary i d ⟶ ((SSet.skeletonOfMono i) d).toSSet

the top morphism of the pushout square isPushout i d.

abbrev SSet.relativeCellComplexOfMono.b E1 #

{X Y : SSet} →
  (i : X ⟶ Y) → (d : ℕ) → SSet.relativeCellComplexOfMono.sigmaStdSimplex i d ⟶ ((SSet.skeletonOfMono i) (d + 1)).toSSet

the bottom morphism of the pushout square isPushout i d.

abbrev SSet.relativeCellComplexOfMono.r E1 #

{X Y : SSet} → (i : X ⟶ Y) → (d : ℕ) → ((SSet.skeletonOfMono i) d).toSSet ⟶ ((SSet.skeletonOfMono i) (d + 1)).toSSet

the right morphism of the pushout square isPushout i d.

theorem SSet.relativeCellComplexOfMono.w_assoc E1 #

∀ {X Y : SSet} (i : X ⟶ Y) (d : ℕ) {Z : SSet} (h : ((SSet.skeletonOfMono i) (d + 1)).toSSet ⟶ Z),
  CategoryTheory.CategoryStruct.comp (SSet.relativeCellComplexOfMono.t i d)
      (CategoryTheory.CategoryStruct.comp (SSet.relativeCellComplexOfMono.r i d) h) =
    CategoryTheory.CategoryStruct.comp (SSet.relativeCellComplexOfMono.l i d)
      (CategoryTheory.CategoryStruct.comp (SSet.relativeCellComplexOfMono.b i d) h)

theorem SSet.relativeCellComplexOfMono.w E1 #

∀ {X Y : SSet} (i : X ⟶ Y) (d : ℕ),
  CategoryTheory.CategoryStruct.comp (SSet.relativeCellComplexOfMono.t i d) (SSet.relativeCellComplexOfMono.r i d) =
    CategoryTheory.CategoryStruct.comp (SSet.relativeCellComplexOfMono.l i d) (SSet.relativeCellComplexOfMono.b i d)

theorem SSet.relativeCellComplexOfMono.Cell.ι_t_ι_eq_ι_l_b_ι_assoc E1 #

∀ {X Y : SSet} {i : X ⟶ Y} {d : ℕ} (c : SSet.relativeCellComplexOfMono.Cell i d) {Z : SSet} (h : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp c.ιSigmaBoundary
      (CategoryTheory.CategoryStruct.comp (SSet.relativeCellComplexOfMono.t i d)
        (CategoryTheory.CategoryStruct.comp ((SSet.skeletonOfMono i) d).ι h)) =
    CategoryTheory.CategoryStruct.comp (SSet.boundary d).ι
      (CategoryTheory.CategoryStruct.comp c.ιSigmaStdSimplex
        (CategoryTheory.CategoryStruct.comp (SSet.relativeCellComplexOfMono.b i d)
          (CategoryTheory.CategoryStruct.comp ((SSet.skeletonOfMono i) (d + 1)).ι h)))

theorem SSet.relativeCellComplexOfMono.Cell.ι_t_ι_eq_ι_l_b_ι E1 #

∀ {X Y : SSet} {i : X ⟶ Y} {d : ℕ} (c : SSet.relativeCellComplexOfMono.Cell i d),
  CategoryTheory.CategoryStruct.comp c.ιSigmaBoundary
      (CategoryTheory.CategoryStruct.comp (SSet.relativeCellComplexOfMono.t i d) ((SSet.skeletonOfMono i) d).ι) =
    CategoryTheory.CategoryStruct.comp (SSet.boundary d).ι
      (CategoryTheory.CategoryStruct.comp c.ιSigmaStdSimplex
        (CategoryTheory.CategoryStruct.comp (SSet.relativeCellComplexOfMono.b i d) ((SSet.skeletonOfMono i) (d + 1)).ι))

theorem SSet.relativeCellComplexOfMono.Cell.ι_l E1 #

∀ {X Y : SSet} {i : X ⟶ Y} {d : ℕ} (c : SSet.relativeCellComplexOfMono.Cell i d),
  CategoryTheory.CategoryStruct.comp c.ιSigmaBoundary (SSet.relativeCellComplexOfMono.l i d) =
    CategoryTheory.CategoryStruct.comp (SSet.boundary d).ι c.ιSigmaStdSimplex

theorem SSet.relativeCellComplexOfMono.Cell.ι_l_assoc E1 #

∀ {X Y : SSet} {i : X ⟶ Y} {d : ℕ} (c : SSet.relativeCellComplexOfMono.Cell i d) {Z : SSet}
  (h : SSet.relativeCellComplexOfMono.sigmaStdSimplex i d ⟶ Z),
  CategoryTheory.CategoryStruct.comp c.ιSigmaBoundary
      (CategoryTheory.CategoryStruct.comp (SSet.relativeCellComplexOfMono.l i d) h) =
    CategoryTheory.CategoryStruct.comp (SSet.boundary d).ι (CategoryTheory.CategoryStruct.comp c.ιSigmaStdSimplex h)

theorem SSet.relativeCellComplexOfMono.Cell.ι_b_ι_assoc E1 #

∀ {X Y : SSet} {i : X ⟶ Y} {d : ℕ} (c : SSet.relativeCellComplexOfMono.Cell i d) {Z : SSet} (h : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp c.ιSigmaStdSimplex
      (CategoryTheory.CategoryStruct.comp (SSet.relativeCellComplexOfMono.b i d)
        (CategoryTheory.CategoryStruct.comp ((SSet.skeletonOfMono i) (d + 1)).ι h)) =
    CategoryTheory.CategoryStruct.comp c.map h

theorem SSet.relativeCellComplexOfMono.Cell.ι_b_ι E1 #

∀ {X Y : SSet} {i : X ⟶ Y} {d : ℕ} (c : SSet.relativeCellComplexOfMono.Cell i d),
  CategoryTheory.CategoryStruct.comp c.ιSigmaStdSimplex
      (CategoryTheory.CategoryStruct.comp (SSet.relativeCellComplexOfMono.b i d) ((SSet.skeletonOfMono i) (d + 1)).ι) =
    c.map

theorem SSet.relativeCellComplexOfMono.Cell.b_app_ι_app_objEquiv_symm_val E0 #

∀ {X Y : SSet} {i : X ⟶ Y} {d : ℕ} (c : SSet.relativeCellComplexOfMono.Cell i d) {n : SimplexCategory}
  (f : n ⟶ { len := d }),
  ↑((CategoryTheory.ConcreteCategory.hom ((SSet.relativeCellComplexOfMono.b i d).app (Opposite.op n)))
        ((CategoryTheory.ConcreteCategory.hom (c.ιSigmaStdSimplex.app (Opposite.op n)))
          (SSet.stdSimplex.objEquiv.symm f))) =
    (CategoryTheory.ConcreteCategory.hom (Y.map f.op)) c.simplex

theorem SSet.relativeCellComplexOfMono.isPullback E1 #

∀ {X Y : SSet} (i : X ⟶ Y) (d : ℕ),
  CategoryTheory.IsPullback (SSet.relativeCellComplexOfMono.t i d) (SSet.relativeCellComplexOfMono.l i d)
    (SSet.relativeCellComplexOfMono.r i d) (SSet.relativeCellComplexOfMono.b i d)

theorem SSet.relativeCellComplexOfMono.sup_range_r_range_b E1 #

∀ {X Y : SSet} (i : X ⟶ Y) (d : ℕ),
  SSet.Subcomplex.range (SSet.relativeCellComplexOfMono.r i d) ⊔
      SSet.Subcomplex.range (SSet.relativeCellComplexOfMono.b i d) =
    ⊤

theorem SSet.relativeCellComplexOfMono.range_r_app_union_range_b_app E1 #

∀ {X Y : SSet} (i : X ⟶ Y) (d : ℕ) (n : SimplexCategoryᵒᵖ),
  Set.range ⇑(CategoryTheory.ConcreteCategory.hom ((SSet.relativeCellComplexOfMono.r i d).app n)) ∪
      Set.range ⇑(CategoryTheory.ConcreteCategory.hom ((SSet.relativeCellComplexOfMono.b i d).app n)) =
    Set.univ

theorem SSet.relativeCellComplexOfMono.isPushout_aux E0 #

∀ {X Y : SSet} {i : X ⟶ Y} {d n : ℕ},
  ∀
    y ∉
      Set.range
        ⇑(CategoryTheory.ConcreteCategory.hom ((SSet.relativeCellComplexOfMono.l i d).app (Opposite.op { len := n }))),
    ∃ c f,
      ∃ (_ : CategoryTheory.Epi f),
        (CategoryTheory.ConcreteCategory.hom (c.ιSigmaStdSimplex.app (Opposite.op { len := n })))
            (SSet.stdSimplex.objEquiv.symm f) =
          y

theorem SSet.relativeCellComplexOfMono.isPushout E1 #

∀ {X Y : SSet} (i : X ⟶ Y) (d : ℕ),
  CategoryTheory.IsPushout (SSet.relativeCellComplexOfMono.t i d) (SSet.relativeCellComplexOfMono.l i d)
    (SSet.relativeCellComplexOfMono.r i d) (SSet.relativeCellComplexOfMono.b i d)

def SSet.relativeCellComplexOfMono E1 #

{X Y : SSet} →
  (i : X ⟶ Y) → [CategoryTheory.Mono i] → HomotopicalAlgebra.RelativeCellComplex (fun n x ↦ (SSet.boundary n).ι) i

If i : X ⟶ Y is a monomorphism of simplicial sets, then it is a relative cell complex with basic cells given by boundary inclusions ∂Δ[d] ⟶ Δ[d], one for each nondegenerate d-simplex of Y not in the range of X.

theorem SSet.relativeCellComplexOfMono_attachCells_g₂ E0 #

∀ {X Y : SSet} (i : X ⟶ Y) [inst : CategoryTheory.Mono i] (d : ℕ) (x : ¬IsMax d),
  ((SSet.relativeCellComplexOfMono i).attachCells d x).g₂ = SSet.relativeCellComplexOfMono.b i d

theorem SSet.relativeCellComplexOfMono_attachCells_isColimit₂ E0 #

∀ {X Y : SSet} (i : X ⟶ Y) [inst : CategoryTheory.Mono i] (d : ℕ) (x : ¬IsMax d),
  ((SSet.relativeCellComplexOfMono i).attachCells d x).isColimit₂ =
    CategoryTheory.Limits.coproductIsCoproduct fun i ↦ SSet.stdSimplex.obj { len := d }

theorem SSet.relativeCellComplexOfMono_attachCells_π E0 #

∀ {X Y : SSet} (i : X ⟶ Y) [inst : CategoryTheory.Mono i] (d : ℕ) (x : ¬IsMax d)
  (x_1 : SSet.relativeCellComplexOfMono.Cell i d), ((SSet.relativeCellComplexOfMono i).attachCells d x).π x_1 = ()

theorem SSet.relativeCellComplexOfMono_isColimit E0 #

∀ {X Y : SSet} (i : X ⟶ Y) [inst : CategoryTheory.Mono i],
  (SSet.relativeCellComplexOfMono i).isColimit =
    (CategoryTheory.Limits.isColimitOfPreserves SSet.Subcomplex.toSSetFunctor
          (CategoryTheory.Limits.CompleteLattice.colimitCocone ⋯.functor).isColimit).ofIsoColimit
      (CategoryTheory.Limits.Cocone.ext (SSet.Subcomplex.eqToIso ⋯ ≪≫ SSet.Subcomplex.topIso Y) ⋯)

theorem SSet.relativeCellComplexOfMono_attachCells_ι E0 #

∀ {X Y : SSet} (i : X ⟶ Y) [inst : CategoryTheory.Mono i] (d : ℕ) (x : ¬IsMax d),
  ((SSet.relativeCellComplexOfMono i).attachCells d x).ι = SSet.relativeCellComplexOfMono.Cell i d

theorem SSet.relativeCellComplexOfMono_attachCells_g₁ E0 #

∀ {X Y : SSet} (i : X ⟶ Y) [inst : CategoryTheory.Mono i] (d : ℕ) (x : ¬IsMax d),
  ((SSet.relativeCellComplexOfMono i).attachCells d x).g₁ = SSet.relativeCellComplexOfMono.t i d

theorem SSet.relativeCellComplexOfMono_F E0 #

∀ {X Y : SSet} (i : X ⟶ Y) [inst : CategoryTheory.Mono i],
  (SSet.relativeCellComplexOfMono i).F = ⋯.functor.comp SSet.Subcomplex.toSSetFunctor

theorem SSet.relativeCellComplexOfMono_incl_app E0 #

∀ {X Y : SSet} (i : X ⟶ Y) [inst : CategoryTheory.Mono i] (x : ℕ),
  (SSet.relativeCellComplexOfMono i).incl.app x = (⋯.functor.obj x).ι

theorem SSet.relativeCellComplexOfMono_attachCells_m E0 #

∀ {X Y : SSet} (i : X ⟶ Y) [inst : CategoryTheory.Mono i] (d : ℕ) (x : ¬IsMax d),
  ((SSet.relativeCellComplexOfMono i).attachCells d x).m = SSet.relativeCellComplexOfMono.l i d

theorem SSet.relativeCellComplexOfMono_isoBot E0 #

∀ {X Y : SSet} (i : X ⟶ Y) [inst : CategoryTheory.Mono i],
  (SSet.relativeCellComplexOfMono i).isoBot =
    SSet.Subcomplex.eqToIso ⋯ ≪≫ (CategoryTheory.asIso (SSet.Subcomplex.toRange i)).symm

theorem SSet.relativeCellComplexOfMono_attachCells_isColimit₁ E0 #

∀ {X Y : SSet} (i : X ⟶ Y) [inst : CategoryTheory.Mono i] (d : ℕ) (x : ¬IsMax d),
  ((SSet.relativeCellComplexOfMono i).attachCells d x).isColimit₁ =
    CategoryTheory.Limits.coproductIsCoproduct fun i ↦ (SSet.boundary d).toSSet

theorem SSet.relativeCellComplexOfMono_attachCells_cofan₂ E0 #

∀ {X Y : SSet} (i : X ⟶ Y) [inst : CategoryTheory.Mono i] (d : ℕ) (x : ¬IsMax d),
  ((SSet.relativeCellComplexOfMono i).attachCells d x).cofan₂ =
    CategoryTheory.Limits.Cofan.mk (∐ fun i ↦ SSet.stdSimplex.obj { len := d })
      (CategoryTheory.Limits.Sigma.ι fun i ↦ SSet.stdSimplex.obj { len := d })

theorem SSet.relativeCellComplexOfMono_attachCells_cofan₁ E0 #

∀ {X Y : SSet} (i : X ⟶ Y) [inst : CategoryTheory.Mono i] (d : ℕ) (x : ¬IsMax d),
  ((SSet.relativeCellComplexOfMono i).attachCells d x).cofan₁ =
    CategoryTheory.Limits.Cofan.mk (∐ fun i ↦ (SSet.boundary d).toSSet)
      (CategoryTheory.Limits.Sigma.ι fun i ↦ (SSet.boundary d).toSSet)

abbrev SSet.relativeCellComplex E1 #

(X : SSet) → HomotopicalAlgebra.RelativeCellComplex (fun n x ↦ (SSet.boundary n).ι) ⊥.ι

If X is a simplicial set, then the inclusion (⊥ : SSet) ⟶ X of the empty subcomplex of X is a relative cell complex with basic cells given by boundary inclusions ∂Δ[d] ⟶ Δ[d], one for each nondegenerate d-simplex of X.

def SSet.relativeCellComplexCellsEquiv E1 #

{X : SSet} → X.relativeCellComplex.Cells ≃ X.N

The bijection between the cells of relativeCellComplex X and the type X.N of nondegenerate simplices of the simplicial set X.

theorem SSet.relativeCellComplexCellsEquiv_symm_apply_j E0 #

∀ {X : SSet} (s : X.N), (SSet.relativeCellComplexCellsEquiv.symm s).j = s.dim

theorem SSet.relativeCellComplexCellsEquiv_symm_apply_k_simplex E0 #

∀ {X : SSet} (s : X.N), (SSet.relativeCellComplexCellsEquiv.symm s).k.simplex = s.simplex

theorem SSet.relativeCellComplexCellsEquiv_apply E0 #

∀ {X : SSet} (c : X.relativeCellComplex.Cells), SSet.relativeCellComplexCellsEquiv c = SSet.N.mk c.k.simplex ⋯