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.SimplexCategory.Basic

120 declarations. Mathlib docs · Source

Basic properties of the simplex category

In Mathlib/AlgebraicTopology/SimplexCategory/Defs.lean, we define the simplex category with objects ℕ and morphisms n ⟶ m the monotone maps from Fin (n + 1) to Fin (m + 1).

In this file, we define the generating maps for the simplex category, show that this category is equivalent to NonemptyFinLinOrd, and establish basic properties of its epimorphisms and monomorphisms.

Generating maps for the simplex category

TODO: prove that the simplex category is equivalent to one given by the following generators and relations.

theorem SimplexCategory.intervalEdge.congr_simp E1 #

∀ {n : ℕ} (j j_1 : ℕ) (e_j : j = j_1) (l l_1 : ℕ) (e_l : l = l_1) (hjl : j + l ≤ n),
  SimplexCategory.intervalEdge j l hjl = SimplexCategory.intervalEdge j_1 l_1 ⋯

instance SimplexCategory.instFiniteHom E0 #

∀ {a b : SimplexCategory}, Finite (a ⟶ b)

instance SimplexCategory.instDecidableEqHom E0 #

{n m : SimplexCategory} → DecidableEq (n ⟶ m)

theorem SimplexCategory.congr_toOrderHom_apply E0 #

∀ {a b : SimplexCategory} {f g : a ⟶ b},
  f = g → ∀ (x : Fin (a.len + 1)), (SimplexCategory.Hom.toOrderHom f) x = (SimplexCategory.Hom.toOrderHom g) x

def SimplexCategory.const E1 #

(x y : SimplexCategory) → Fin (y.len + 1) → (x ⟶ y)

The constant morphism from ⦋0⦌.

theorem SimplexCategory.const_eq_id E0 #

{ len := 0 }.const { len := 0 } 0 = CategoryTheory.CategoryStruct.id { len := 0 }

theorem SimplexCategory.const_apply E0 #

∀ (x y : SimplexCategory) (i : Fin (y.len + 1)) (a : Fin (x.len + 1)),
  (SimplexCategory.Hom.toOrderHom (x.const y i)) a = i

theorem SimplexCategory.const_comp E0 #

∀ (x : SimplexCategory) {y z : SimplexCategory} (f : y ⟶ z) (i : Fin (y.len + 1)),
  CategoryTheory.CategoryStruct.comp (x.const y i) f = x.const z ((SimplexCategory.Hom.toOrderHom f) i)

theorem SimplexCategory.const_fac_thru_zero E1 #

∀ (n m : SimplexCategory) (i : Fin (m.len + 1)),
  n.const m i = CategoryTheory.CategoryStruct.comp (n.const { len := 0 } 0) ({ len := 0 }.const m i)

theorem SimplexCategory.Hom.ext_zero_left E1 #

∀ {n : SimplexCategory} (f g : { len := 0 } ⟶ n),
  autoParam ((SimplexCategory.Hom.toOrderHom f) 0 = (SimplexCategory.Hom.toOrderHom g) 0)
      SimplexCategory.Hom.ext_zero_left._auto_1 →
    f = g

theorem SimplexCategory.exists_eq_const_of_zero E1 #

∀ {n : SimplexCategory} (f : { len := 0 } ⟶ n), ∃ a, f = { len := 0 }.const n a

theorem SimplexCategory.Hom.ext_one_left E1 #

∀ {n : SimplexCategory} (f g : { len := 1 } ⟶ n),
  autoParam ((SimplexCategory.Hom.toOrderHom f) 0 = (SimplexCategory.Hom.toOrderHom g) 0)
      SimplexCategory.Hom.ext_one_left._auto_1 →
    autoParam ((SimplexCategory.Hom.toOrderHom f) 1 = (SimplexCategory.Hom.toOrderHom g) 1)
        SimplexCategory.Hom.ext_one_left._auto_3 →
      f = g

def SimplexCategory.mkHom E1 #

{n m : ℕ} → (Fin (n + 1) →o Fin (m + 1)) → ({ len := n } ⟶ { len := m })

Make a morphism ⦋n⦌ ⟶ ⦋m⦌ from a monotone map between fin's. This is useful for constructing morphisms between ⦋n⦌ directly without identifying n with ⦋n⦌.len.

def SimplexCategory.mkOfLe E1 #

{n : ℕ} → (i j : Fin (n + 1)) → i ≤ j → ({ len := 1 } ⟶ { len := n })

The morphism ⦋1⦌ ⟶ ⦋n⦌ that picks out a specified h : i ≤ j in Fin (n+1).

theorem SimplexCategory.mkOfLe_refl E0 #

∀ {n : ℕ} (j : Fin (n + 1)), SimplexCategory.mkOfLe j j ⋯ = { len := 1 }.const { len := n } j

def SimplexCategory.diag E1 #

(n : ℕ) → { len := 1 } ⟶ { len := n }

The morphism ⦋1⦌ ⟶ ⦋n⦌ that picks out the "diagonal composite" edge

def SimplexCategory.intervalEdge E1 #

{n : ℕ} → (j l : ℕ) → j + l ≤ n → ({ len := 1 } ⟶ { len := n })

The morphism ⦋1⦌ ⟶ ⦋n⦌ that picks out the edge spanning the interval from j to j + l.

def SimplexCategory.mkOfSucc E1 #

{n : ℕ} → Fin n → ({ len := 1 } ⟶ { len := n })

The morphism ⦋1⦌ ⟶ ⦋n⦌ that picks out the arrow i ⟶ i+1 in Fin (n+1).

theorem SimplexCategory.mkOfSucc_homToOrderHom_zero E0 #

∀ {n : ℕ} (i : Fin n), (SimplexCategory.Hom.toOrderHom (SimplexCategory.mkOfSucc i)) 0 = i.castSucc

theorem SimplexCategory.mkOfSucc_homToOrderHom_one E0 #

∀ {n : ℕ} (i : Fin n), (SimplexCategory.Hom.toOrderHom (SimplexCategory.mkOfSucc i)) 1 = i.succ

theorem SimplexCategory.mkOfSucc_eq_id E0 #

SimplexCategory.mkOfSucc 0 = CategoryTheory.CategoryStruct.id { len := 1 }

def SimplexCategory.mkOfLeComp E1 #

{n : ℕ} → (i j k : Fin (n + 1)) → i ≤ j → j ≤ k → ({ len := 2 } ⟶ { len := n })

The morphism ⦋2⦌ ⟶ ⦋n⦌ that picks out a specified composite of morphisms in Fin (n+1).

def SimplexCategory.subinterval E1 #

{n : ℕ} → (j l : ℕ) → j + l ≤ n → ({ len := l } ⟶ { len := n })

The "inert" morphism associated to a subinterval j ≤ i ≤ j + l of Fin (n + 1).

theorem SimplexCategory.const_subinterval_eq E0 #

∀ {n : ℕ} (j l : ℕ) (hjl : j + l ≤ n) (i : Fin (l + 1)),
  CategoryTheory.CategoryStruct.comp ({ len := 0 }.const { len := l } i) (SimplexCategory.subinterval j l hjl) =
    { len := 0 }.const { len := n } ⟨j + ↑i, ⋯⟩

theorem SimplexCategory.mkOfSucc_subinterval_eq E0 #

∀ {n : ℕ} (j l : ℕ) (hjl : j + l ≤ n) (i : Fin l),
  CategoryTheory.CategoryStruct.comp (SimplexCategory.mkOfSucc i) (SimplexCategory.subinterval j l hjl) =
    SimplexCategory.mkOfSucc ⟨j + ↑i, ⋯⟩

theorem SimplexCategory.diag_subinterval_eq E0 #

∀ {n : ℕ} (j l : ℕ) (hjl : j + l ≤ n),
  CategoryTheory.CategoryStruct.comp (SimplexCategory.diag l) (SimplexCategory.subinterval j l hjl) =
    SimplexCategory.intervalEdge j l hjl

instance SimplexCategory.instSubsingletonHomMkOfNatNat E0 #

∀ (Δ : SimplexCategory), Subsingleton (Δ ⟶ { len := 0 })

theorem SimplexCategory.hom_zero_zero E1 #

∀ (f : { len := 0 } ⟶ { len := 0 }), f = CategoryTheory.CategoryStruct.id { len := 0 }

theorem SimplexCategory.eqToHom_toOrderHom E0 #

∀ {x y : SimplexCategory} (h : x = y),
  SimplexCategory.Hom.toOrderHom (CategoryTheory.eqToHom h) = (Fin.castOrderIso ⋯).toOrderEmbedding.toOrderHom

def SimplexCategory.δ E1 #

{n : ℕ} → Fin (n + 2) → ({ len := n } ⟶ { len := n + 1 })

The i-th face map from ⦋n⦌ to ⦋n+1⦌

def SimplexCategory.σ E1 #

{n : ℕ} → Fin (n + 1) → ({ len := n + 1 } ⟶ { len := n })

The i-th degeneracy map from ⦋n+1⦌ to ⦋n⦌

theorem SimplexCategory.δ_comp_δ E1 #

∀ {n : ℕ} {i j : Fin (n + 2)},
  i ≤ j →
    CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i) (SimplexCategory.δ j.succ) =
      CategoryTheory.CategoryStruct.comp (SimplexCategory.δ j) (SimplexCategory.δ i.castSucc)

The generic case of the first simplicial identity

theorem SimplexCategory.δ_comp_δ' E1 #

∀ {n : ℕ} {i : Fin (n + 2)} {j : Fin (n + 3)} (H : i.castSucc < j),
  CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i) (SimplexCategory.δ j) =
    CategoryTheory.CategoryStruct.comp (SimplexCategory.δ (j.pred ⋯)) (SimplexCategory.δ i.castSucc)

theorem SimplexCategory.δ_comp_δ'' E1 #

∀ {n : ℕ} {i : Fin (n + 3)} {j : Fin (n + 2)} (H : i ≤ j.castSucc),
  CategoryTheory.CategoryStruct.comp (SimplexCategory.δ (i.castLT ⋯)) (SimplexCategory.δ j.succ) =
    CategoryTheory.CategoryStruct.comp (SimplexCategory.δ j) (SimplexCategory.δ i)

theorem SimplexCategory.δ_comp_δ_self E1 #

∀ {n : ℕ} {i : Fin (n + 2)},
  CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i) (SimplexCategory.δ i.castSucc) =
    CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i) (SimplexCategory.δ i.succ)

The special case of the first simplicial identity

theorem SimplexCategory.δ_comp_δ_self_assoc E1 #

∀ {n : ℕ} {i : Fin (n + 2)} {Z : SimplexCategory} (h : { len := n + 1 + 1 } ⟶ Z),
  CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i)
      (CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i.castSucc) h) =
    CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i)
      (CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i.succ) h)

The special case of the first simplicial identity

theorem SimplexCategory.δ_comp_δ_self' E1 #

∀ {n : ℕ} {i : Fin (n + 2)} {j : Fin (n + 3)},
  j = i.castSucc →
    CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i) (SimplexCategory.δ j) =
      CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i) (SimplexCategory.δ i.succ)

theorem SimplexCategory.δ_comp_δ_self'_assoc E1 #

∀ {n : ℕ} {i : Fin (n + 2)} {j : Fin (n + 3)},
  j = i.castSucc →
    ∀ {Z : SimplexCategory} (h : { len := n + 1 + 1 } ⟶ Z),
      CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i)
          (CategoryTheory.CategoryStruct.comp (SimplexCategory.δ j) h) =
        CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i)
          (CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i.succ) h)

theorem SimplexCategory.δ_comp_σ_of_le E1 #

∀ {n : ℕ} {i : Fin (n + 2)} {j : Fin (n + 1)},
  i ≤ j.castSucc →
    CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i.castSucc) (SimplexCategory.σ j.succ) =
      CategoryTheory.CategoryStruct.comp (SimplexCategory.σ j) (SimplexCategory.δ i)

The second simplicial identity

theorem SimplexCategory.δ_comp_σ_of_le_assoc E1 #

∀ {n : ℕ} {i : Fin (n + 2)} {j : Fin (n + 1)},
  i ≤ j.castSucc →
    ∀ {Z : SimplexCategory} (h : { len := n + 1 } ⟶ Z),
      CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i.castSucc)
          (CategoryTheory.CategoryStruct.comp (SimplexCategory.σ j.succ) h) =
        CategoryTheory.CategoryStruct.comp (SimplexCategory.σ j)
          (CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i) h)

The second simplicial identity

theorem SimplexCategory.δ_comp_σ_self E1 #

∀ {n : ℕ} {i : Fin (n + 1)},
  CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i.castSucc) (SimplexCategory.σ i) =
    CategoryTheory.CategoryStruct.id { len := n }

The first part of the third simplicial identity

theorem SimplexCategory.δ_comp_σ_self_assoc E1 #

∀ {n : ℕ} {i : Fin (n + 1)} {Z : SimplexCategory} (h : { len := n } ⟶ Z),
  CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i.castSucc)
      (CategoryTheory.CategoryStruct.comp (SimplexCategory.σ i) h) =
    h

The first part of the third simplicial identity

theorem SimplexCategory.δ_comp_σ_self' E1 #

∀ {n : ℕ} {j : Fin (n + 2)} {i : Fin (n + 1)},
  j = i.castSucc →
    CategoryTheory.CategoryStruct.comp (SimplexCategory.δ j) (SimplexCategory.σ i) =
      CategoryTheory.CategoryStruct.id { len := n }

theorem SimplexCategory.δ_comp_σ_self'_assoc E1 #

∀ {n : ℕ} {j : Fin (n + 2)} {i : Fin (n + 1)},
  j = i.castSucc →
    ∀ {Z : SimplexCategory} (h : { len := n } ⟶ Z),
      CategoryTheory.CategoryStruct.comp (SimplexCategory.δ j)
          (CategoryTheory.CategoryStruct.comp (SimplexCategory.σ i) h) =
        h

theorem SimplexCategory.δ_comp_σ_succ E1 #

∀ {n : ℕ} {i : Fin (n + 1)},
  CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i.succ) (SimplexCategory.σ i) =
    CategoryTheory.CategoryStruct.id { len := n }

The second part of the third simplicial identity

theorem SimplexCategory.δ_comp_σ_succ_assoc E1 #

∀ {n : ℕ} {i : Fin (n + 1)} {Z : SimplexCategory} (h : { len := n } ⟶ Z),
  CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i.succ)
      (CategoryTheory.CategoryStruct.comp (SimplexCategory.σ i) h) =
    h

The second part of the third simplicial identity

theorem SimplexCategory.δ_comp_σ_succ' E1 #

∀ {n : ℕ} {j : Fin (n + 2)} {i : Fin (n + 1)},
  j = i.succ →
    CategoryTheory.CategoryStruct.comp (SimplexCategory.δ j) (SimplexCategory.σ i) =
      CategoryTheory.CategoryStruct.id { len := n }

theorem SimplexCategory.δ_comp_σ_succ'_assoc E1 #

∀ {n : ℕ} {j : Fin (n + 2)} {i : Fin (n + 1)},
  j = i.succ →
    ∀ {Z : SimplexCategory} (h : { len := n } ⟶ Z),
      CategoryTheory.CategoryStruct.comp (SimplexCategory.δ j)
          (CategoryTheory.CategoryStruct.comp (SimplexCategory.σ i) h) =
        h

theorem SimplexCategory.δ_comp_σ_of_gt E1 #

∀ {n : ℕ} {i : Fin (n + 2)} {j : Fin (n + 1)},
  j.castSucc < i →
    CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i.succ) (SimplexCategory.σ j.castSucc) =
      CategoryTheory.CategoryStruct.comp (SimplexCategory.σ j) (SimplexCategory.δ i)

The fourth simplicial identity

theorem SimplexCategory.δ_comp_σ_of_gt_assoc E1 #

∀ {n : ℕ} {i : Fin (n + 2)} {j : Fin (n + 1)},
  j.castSucc < i →
    ∀ {Z : SimplexCategory} (h : { len := n + 1 } ⟶ Z),
      CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i.succ)
          (CategoryTheory.CategoryStruct.comp (SimplexCategory.σ j.castSucc) h) =
        CategoryTheory.CategoryStruct.comp (SimplexCategory.σ j)
          (CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i) h)

The fourth simplicial identity

theorem SimplexCategory.δ_comp_σ_of_gt'_assoc E1 #

∀ {n : ℕ} {i : Fin (n + 3)} {j : Fin (n + 2)} (H : j.succ < i) {Z : SimplexCategory} (h : { len := n + 1 } ⟶ Z),
  CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i)
      (CategoryTheory.CategoryStruct.comp (SimplexCategory.σ j) h) =
    CategoryTheory.CategoryStruct.comp (SimplexCategory.σ (j.castLT ⋯))
      (CategoryTheory.CategoryStruct.comp (SimplexCategory.δ (i.pred ⋯)) h)

theorem SimplexCategory.δ_comp_σ_of_gt' E1 #

∀ {n : ℕ} {i : Fin (n + 3)} {j : Fin (n + 2)} (H : j.succ < i),
  CategoryTheory.CategoryStruct.comp (SimplexCategory.δ i) (SimplexCategory.σ j) =
    CategoryTheory.CategoryStruct.comp (SimplexCategory.σ (j.castLT ⋯)) (SimplexCategory.δ (i.pred ⋯))

theorem SimplexCategory.σ_comp_σ E1 #

∀ {n : ℕ} {i j : Fin (n + 1)},
  i ≤ j →
    CategoryTheory.CategoryStruct.comp (SimplexCategory.σ i.castSucc) (SimplexCategory.σ j) =
      CategoryTheory.CategoryStruct.comp (SimplexCategory.σ j.succ) (SimplexCategory.σ i)

The fifth simplicial identity

theorem SimplexCategory.σ_comp_σ_assoc E1 #

∀ {n : ℕ} {i j : Fin (n + 1)},
  i ≤ j →
    ∀ {Z : SimplexCategory} (h : { len := n } ⟶ Z),
      CategoryTheory.CategoryStruct.comp (SimplexCategory.σ i.castSucc)
          (CategoryTheory.CategoryStruct.comp (SimplexCategory.σ j) h) =
        CategoryTheory.CategoryStruct.comp (SimplexCategory.σ j.succ)
          (CategoryTheory.CategoryStruct.comp (SimplexCategory.σ i) h)

The fifth simplicial identity

theorem SimplexCategory.δ_zero_eq_const E1 #

SimplexCategory.δ 0 = { len := 0 }.const { len := 0 + 1 } 1

theorem SimplexCategory.δ_one_eq_const E1 #

SimplexCategory.δ 1 = { len := 0 }.const { len := 0 + 1 } 0

def SimplexCategory.factor_δ E1 #

{m n : ℕ} → ({ len := m } ⟶ { len := n + 1 }) → Fin (n + 2) → ({ len := m } ⟶ { len := n })

If f : ⦋m⦌ ⟶ ⦋n+1⦌ is a morphism and j is not in the range of f, then factor_δ f j is a morphism ⦋m⦌ ⟶ ⦋n⦌ such that factor_δ f j ≫ δ j = f (as witnessed by factor_δ_spec).

theorem SimplexCategory.factor_δ_spec E1 #

∀ {m n : ℕ} (f : { len := m } ⟶ { len := n + 1 }) (j : Fin (n + 2)),
  (∀ (k : Fin (m + 1)), (SimplexCategory.Hom.toOrderHom f) k ≠ j) →
    CategoryTheory.CategoryStruct.comp (SimplexCategory.factor_δ f j) (SimplexCategory.δ j) = f

theorem SimplexCategory.δ_zero_mkOfSucc E0 #

∀ {n : ℕ} (i : Fin n),
  CategoryTheory.CategoryStruct.comp (SimplexCategory.δ 0) (SimplexCategory.mkOfSucc i) =
    { len := 0 }.const { len := n } i.succ

theorem SimplexCategory.δ_one_mkOfSucc E0 #

∀ {n : ℕ} (i : Fin n),
  CategoryTheory.CategoryStruct.comp (SimplexCategory.δ 1) (SimplexCategory.mkOfSucc i) =
    { len := 0 }.const { len := n } i.castSucc

theorem SimplexCategory.mkOfSucc_δ_lt E1 #

∀ {n : ℕ} {i : Fin n} {j : Fin (n + 2)},
  i.succ.castSucc < j →
    CategoryTheory.CategoryStruct.comp (SimplexCategory.mkOfSucc i) (SimplexCategory.δ j) =
      SimplexCategory.mkOfSucc i.castSucc

If i + 1 < j, mkOfSucc i ≫ δ j is the morphism ⦋1⦌ ⟶ ⦋n⦌ that sends 0 and 1 to i and i + 1, respectively.

theorem SimplexCategory.mkOfSucc_δ_gt E1 #

∀ {n : ℕ} {i : Fin n} {j : Fin (n + 2)},
  j < i.succ.castSucc →
    CategoryTheory.CategoryStruct.comp (SimplexCategory.mkOfSucc i) (SimplexCategory.δ j) =
      SimplexCategory.mkOfSucc i.succ

If i + 1 > j, mkOfSucc i ≫ δ j is the morphism ⦋1⦌ ⟶ ⦋n⦌ that sends 0 and 1 to i + 1 and i + 2, respectively.

theorem SimplexCategory.mkOfSucc_δ_eq E0 #

∀ {n : ℕ} {i : Fin n} {j : Fin (n + 2)},
  j = i.succ.castSucc →
    CategoryTheory.CategoryStruct.comp (SimplexCategory.mkOfSucc i) (SimplexCategory.δ j) =
      SimplexCategory.intervalEdge (↑i) 2 ⋯

If i + 1 = j, mkOfSucc i ≫ δ j is the morphism ⦋1⦌ ⟶ ⦋n⦌ that sends 0 and 1 to i and i + 2, respectively.

theorem SimplexCategory.mkOfSucc_one_eq_δ E1 #

SimplexCategory.mkOfSucc 1 = SimplexCategory.δ 0

theorem SimplexCategory.mkOfSucc_zero_eq_δ E1 #

SimplexCategory.mkOfSucc 0 = SimplexCategory.δ 2

def SimplexCategory.skeletalFunctor E1 #

CategoryTheory.Functor SimplexCategory NonemptyFinLinOrd

The functor that exhibits SimplexCategory as skeleton of NonemptyFinLinOrd

theorem SimplexCategory.skeletalFunctor_obj E0 #

∀ (a : SimplexCategory), SimplexCategory.skeletalFunctor.obj a = ↧(Fin (a.len + 1))

theorem SimplexCategory.skeletalFunctor_map E0 #

∀ {X Y : SimplexCategory} (f : X ⟶ Y),
  SimplexCategory.skeletalFunctor.map f = NonemptyFinLinOrd.ofHom (SimplexCategory.Hom.toOrderHom f)

theorem SimplexCategory.skeletalFunctor.coe_map E0 #

∀ {Δ₁ Δ₂ : SimplexCategory} (f : Δ₁ ⟶ Δ₂),
  LinOrd.Hom.hom (SimplexCategory.skeletalFunctor.map f).hom = SimplexCategory.Hom.toOrderHom f

theorem SimplexCategory.skeletal E1 #

CategoryTheory.Skeletal SimplexCategory

instance SimplexCategory.SkeletalFunctor.instFullNonemptyFinLinOrdSkeletalFunctor E0 #

SimplexCategory.skeletalFunctor.Full

instance SimplexCategory.SkeletalFunctor.instFaithfulNonemptyFinLinOrdSkeletalFunctor E0 #

SimplexCategory.skeletalFunctor.Faithful

instance SimplexCategory.SkeletalFunctor.instEssSurjNonemptyFinLinOrdSkeletalFunctor E0 #

SimplexCategory.skeletalFunctor.EssSurj

instance SimplexCategory.SkeletalFunctor.isEquivalence E0 #

SimplexCategory.skeletalFunctor.IsEquivalence

def SimplexCategory.skeletalEquivalence E1 #

SimplexCategory ≌ NonemptyFinLinOrd

The equivalence that exhibits SimplexCategory as skeleton of NonemptyFinLinOrd

theorem SimplexCategory.isSkeletonOf E1 #

CategoryTheory.IsSkeletonOf NonemptyFinLinOrd SimplexCategory SimplexCategory.skeletalFunctor

SimplexCategory is a skeleton of NonemptyFinLinOrd.

instance SimplexCategory.instConcreteCategoryOrderHomFinHAddNatLenOfNat E0 #

CategoryTheory.ConcreteCategory SimplexCategory fun i j ↦ Fin (i.len + 1) →o Fin (j.len + 1)

theorem SimplexCategory.toType_apply E0 #

∀ (x : SimplexCategory), CategoryTheory.ToType x = Fin (x.len + 1)

theorem SimplexCategory.concreteCategoryHom_id E0 #

∀ (n : SimplexCategory), CategoryTheory.ConcreteCategory.hom (CategoryTheory.CategoryStruct.id n) = OrderHom.id

theorem SimplexCategory.coe_δ E0 #

∀ {n : ℕ} (i : Fin (n + 2)), ⇑(CategoryTheory.ConcreteCategory.hom (SimplexCategory.δ i)) = i.succAbove

theorem SimplexCategory.coe_σ E0 #

∀ {n : ℕ} (i : Fin (n + 1)), ⇑(CategoryTheory.ConcreteCategory.hom (SimplexCategory.σ i)) = i.predAbove

theorem SimplexCategory.δ_apply E0 #

∀ {n : ℕ} (i : Fin (n + 2)) (j : Fin (n + 1)),
  (CategoryTheory.ConcreteCategory.hom (SimplexCategory.δ i)) j = i.succAbove j

theorem SimplexCategory.σ_apply E0 #

∀ {n : ℕ} (i : Fin (n + 1)) (j : Fin (n + 2)),
  (CategoryTheory.ConcreteCategory.hom (SimplexCategory.σ i)) j = i.predAbove j

theorem SimplexCategory.mono_iff_injective E1 #

∀ {n m : SimplexCategory} {f : n ⟶ m}, CategoryTheory.Mono f ↔ Function.Injective ⇑(SimplexCategory.Hom.toOrderHom f)

A morphism in SimplexCategory is a monomorphism precisely when it is an injective function

theorem SimplexCategory.epi_iff_surjective E1 #

∀ {n m : SimplexCategory} {f : n ⟶ m}, CategoryTheory.Epi f ↔ Function.Surjective ⇑(SimplexCategory.Hom.toOrderHom f)

A morphism in SimplexCategory is an epimorphism if and only if it is a surjective function

theorem SimplexCategory.len_le_of_mono E1 #

∀ {x y : SimplexCategory} (f : x ⟶ y) [CategoryTheory.Mono f], x.len ≤ y.len

A monomorphism in SimplexCategory must increase lengths

theorem SimplexCategory.le_of_mono E1 #

∀ {n m : ℕ} (f : { len := n } ⟶ { len := m }) [CategoryTheory.Mono f], n ≤ m

theorem SimplexCategory.len_le_of_epi E1 #

∀ {x y : SimplexCategory} (f : x ⟶ y) [CategoryTheory.Epi f], y.len ≤ x.len

An epimorphism in SimplexCategory must decrease lengths

theorem SimplexCategory.le_of_epi E1 #

∀ {n m : ℕ} (f : { len := n } ⟶ { len := m }) [CategoryTheory.Epi f], m ≤ n

theorem SimplexCategory.len_eq_of_isIso E1 #

∀ {x y : SimplexCategory} (f : x ⟶ y) [CategoryTheory.IsIso f], x.len = y.len

instance SimplexCategory.instEpiσ E0 #

∀ {n : ℕ} {i : Fin (n + 1)}, CategoryTheory.Epi (SimplexCategory.σ i)

instance SimplexCategory.instReflectsIsomorphismsForgetOrderHomFinHAddNatLenOfNat E0 #

(CategoryTheory.forget SimplexCategory).ReflectsIsomorphisms

theorem SimplexCategory.isIso_of_bijective E1 #

∀ {x y : SimplexCategory} {f : x ⟶ y},
  Function.Bijective (SimplexCategory.Hom.toOrderHom f).toFun → CategoryTheory.IsIso f

theorem SimplexCategory.isIso_iff_of_mono E1 #

∀ {n m : SimplexCategory} (f : n ⟶ m) [hf : CategoryTheory.Mono f], CategoryTheory.IsIso f ↔ n.len = m.len

instance SimplexCategory.instMonoδ E0 #

∀ {n : ℕ} {i : Fin (n + 2)}, CategoryTheory.Mono (SimplexCategory.δ i)

theorem SimplexCategory.isIso_iff_of_epi E1 #

∀ {n m : SimplexCategory} (f : n ⟶ m) [hf : CategoryTheory.Epi f], CategoryTheory.IsIso f ↔ n.len = m.len

instance SimplexCategory.instBalanced E0 #

CategoryTheory.Balanced SimplexCategory

def SimplexCategory.orderIsoOfIso E1 #

{x y : SimplexCategory} → (x ≅ y) → Fin (x.len + 1) ≃o Fin (y.len + 1)

An isomorphism in SimplexCategory induces an OrderIso.

theorem SimplexCategory.iso_eq_iso_refl E1 #

∀ {x : SimplexCategory} (e : x ≅ x), e = CategoryTheory.Iso.refl x

theorem SimplexCategory.len_lt_of_mono E1 #

∀ {Δ' Δ : SimplexCategory} (i : Δ' ⟶ Δ) [CategoryTheory.Mono i], Δ ≠ Δ' → Δ'.len < Δ.len

instance SimplexCategory.instSplitEpiCategory E0 #

CategoryTheory.SplitEpiCategory SimplexCategory

instance SimplexCategory.instHasStrongEpiMonoFactorisations E0 #

CategoryTheory.Limits.HasStrongEpiMonoFactorisations SimplexCategory

instance SimplexCategory.instHasStrongEpiImages E0 #

CategoryTheory.Limits.HasStrongEpiImages SimplexCategory

instance SimplexCategory.instEpiFactorThruImage E0 #

∀ (Δ Δ' : SimplexCategory) (θ : Δ ⟶ Δ'), CategoryTheory.Epi (CategoryTheory.Limits.factorThruImage θ)

theorem SimplexCategory.image_eq E0 #

∀ {Δ Δ' Δ'' : SimplexCategory} {φ : Δ ⟶ Δ''} {e : Δ ⟶ Δ'} [CategoryTheory.Epi e] {i : Δ' ⟶ Δ''} [CategoryTheory.Mono i],
  CategoryTheory.CategoryStruct.comp e i = φ → CategoryTheory.Limits.image φ = Δ'

theorem SimplexCategory.image_ι_eq E0 #

∀ {Δ Δ'' : SimplexCategory} {φ : Δ ⟶ Δ''} {e : Δ ⟶ CategoryTheory.Limits.image φ} [CategoryTheory.Epi e]
  {i : CategoryTheory.Limits.image φ ⟶ Δ''} [CategoryTheory.Mono i],
  CategoryTheory.CategoryStruct.comp e i = φ → CategoryTheory.Limits.image.ι φ = i

theorem SimplexCategory.factorThruImage_eq E0 #

∀ {Δ Δ'' : SimplexCategory} {φ : Δ ⟶ Δ''} {e : Δ ⟶ CategoryTheory.Limits.image φ} [CategoryTheory.Epi e]
  {i : CategoryTheory.Limits.image φ ⟶ Δ''} [CategoryTheory.Mono i],
  CategoryTheory.CategoryStruct.comp e i = φ → CategoryTheory.Limits.factorThruImage φ = e

def SimplexCategory.toPartOrd E1 #

CategoryTheory.Functor SimplexCategory PartOrd

The functor which sends ⦋n⦌ : SimplexCategory to the partially ordered type {0, 1, ..., n} (ulifted to Type u).

theorem SimplexCategory.toPartOrd_obj E0 #

∀ (n : SimplexCategory), SimplexCategory.toPartOrd.obj n = ↧(ULift.{u, 0} (Fin (n.len + 1)))

theorem SimplexCategory.toPartOrd_map_apply E0 #

∀ {n m : SimplexCategory} (f : n ⟶ m) (i : Fin (n.len + 1)),
  (CategoryTheory.ConcreteCategory.hom (SimplexCategory.toPartOrd.map f)) { down := i } =
    { down := (CategoryTheory.ConcreteCategory.hom f) i }

def SimplexCategory.toCat E1 #

CategoryTheory.Functor SimplexCategory CategoryTheory.Cat

This functor SimplexCategory ⥤ Cat sends ⦋n⦌ (for n : ℕ) to the category attached to the ordered set {0, 1, ..., n}

theorem SimplexCategory.toCat_obj E0 #

∀ (X : SimplexCategory),
  SimplexCategory.toCat.obj X =
    ↧↑((CategoryTheory.forget₂ PartOrd Preord).obj
          ((CategoryTheory.forget₂ Lat PartOrd).obj
            ((CategoryTheory.forget₂ LinOrd Lat).obj
              ((CategoryTheory.forget₂ NonemptyFinLinOrd LinOrd).obj ↧(Fin (X.len + 1))))))

theorem SimplexCategory.toCat_map E0 #

∀ {X Y : SimplexCategory} (f : X ⟶ Y), SimplexCategory.toCat.map f = ⋯.functor.toCatHom

theorem SimplexCategory.toCat.obj_eq_Fin E1 #

∀ (n : ℕ), ↑(SimplexCategory.toCat.obj { len := n }) = Fin (n + 1)

instance SimplexCategory.uniqueHomToZero E0 #

{Δ : SimplexCategory} → Unique (Δ ⟶ { len := 0 })

def SimplexCategory.isTerminalZero E1 #

CategoryTheory.Limits.IsTerminal { len := 0 }

The object ⦋0⦌ is terminal in SimplexCategory.

instance SimplexCategory.instHasTerminal E0 #

CategoryTheory.Limits.HasTerminal SimplexCategory

def SimplexCategory.topIsoZero E1 #

⊤_ SimplexCategory ≅ { len := 0 }

The isomorphism between the terminal object in SimplexCategory and ⦋0⦌.

theorem SimplexCategory.δ_injective E1 #

∀ {n : ℕ}, Function.Injective SimplexCategory.δ

theorem SimplexCategory.σ_injective E1 #

∀ {n : ℕ}, Function.Injective SimplexCategory.σ