Documentation

Mathlib.AlgebraicTopology.SimplexCategory.Defs

The simplex category #

We construct a skeletal model of the simplex category, with an object ⦋n⦌ for each n : ℕ, and morphisms ⦋n⦌ ⟶ ⦋m⦌ identify to monotone maps from Fin (n + 1) to Fin (m + 1).

In Mathlib/AlgebraicTopology/SimplexCategory/Basic.lean, we show that this category is equivalent to NonemptyFinLinOrd.

Remarks #

We provide the following functions to work with these objects:

  1. SimplexCategory.mk creates an object of SimplexCategory out of a natural number. Use the notation ⦋n⦌ in the Simplicial locale.
  2. SimplexCategory.len gives the "length" of an object of SimplexCategory, as a natural.
  3. SimplexCategory.Hom.mk makes a morphism out of a monotone map between Fin's.
  4. SimplexCategory.Hom.toOrderHom gives the underlying monotone map associated to a term of SimplexCategory.Hom.

Notation #

The simplex category:

  • for each n : ℕ, there is an object ⦋n⦌;
  • morphisms ⦋n⦌ ⟶ ⦋m⦌ are monotone functions Fin (n+1) → Fin (m+1)
Instances For
    theorem SimplexCategory.ext {x y : SimplexCategory} (len : x.len = y.len) :
    x = y

    the n-dimensional simplex can be denoted ⦋n⦌

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem SimplexCategory.len_mk (n : ) :
      { len := n }.len = n
      @[simp]
      theorem SimplexCategory.mk_len (n : SimplexCategory) :
      { len := n.len } = n
      @[irreducible]

      Morphisms in the SimplexCategory.

      Equations
      Instances For
        def SimplexCategory.Hom.mk {a b : SimplexCategory} (f : Fin (a.len + 1) →o Fin (b.len + 1)) :
        a.Hom b

        Make a morphism in SimplexCategory from a monotone map of Fin's.

        Equations
        Instances For
          def SimplexCategory.Hom.toOrderHom {a b : SimplexCategory} (f : a.Hom b) :
          Fin (a.len + 1) →o Fin (b.len + 1)

          Recover the monotone map from a morphism in the simplex category.

          Equations
          Instances For
            theorem SimplexCategory.Hom.ext' {a b : SimplexCategory} (f g : a.Hom b) :
            f.toOrderHom = g.toOrderHomf = g
            @[simp]
            theorem SimplexCategory.Hom.mk_toOrderHom_apply {a b : SimplexCategory} (f : Fin (a.len + 1) →o Fin (b.len + 1)) (i : Fin (a.len + 1)) :
            (mk f).toOrderHom i = f i
            def SimplexCategory.Hom.comp {a b c : SimplexCategory} (f : b.Hom c) (g : a.Hom b) :
            a.Hom c

            Composition of morphisms of SimplexCategory.

            Equations
            Instances For
              @[implicit_reducible]
              Equations
              • One or more equations did not get rendered due to their size.
              theorem SimplexCategory.Hom.ext {a b : SimplexCategory} (f g : a b) :
              toOrderHom f = toOrderHom gf = g

              Homs in SimplexCategory are equivalent to order-preserving functions of finite linear orders.

              Equations
              Instances For

                Homs in SimplexCategory are equivalent to functors between finite linear orders.

                Equations
                Instances For
                  @[reducible, inline]

                  The truncated simplex category.

                  Equations
                  Instances For
                    @[implicit_reducible]
                    Equations
                    @[reducible, inline]

                    The fully faithful inclusion of the truncated simplex category into the usual simplex category.

                    Equations
                    Instances For
                      theorem SimplexCategory.Truncated.Hom.ext {n : } {a b : Truncated n} (f g : a b) (h : Hom.toOrderHom f.hom = Hom.toOrderHom g.hom) :
                      f = g

                      A quick attempt to prove that ⦋m⦌ is n-truncated (⦋m⦌.len ≤ n).

                      Equations
                      Instances For

                        For m ≤ n, ⦋m⦌ₙ is the m-dimensional simplex in Truncated n. The proof p : m ≤ n can also be provided using the syntax ⦋m, p⦌ₙ.

                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For
                          @[reducible, inline]
                          abbrev SimplexCategory.Truncated.Hom.tr {n : } {a b : SimplexCategory} (f : a b) (ha : a.len n := by trunc) (hb : b.len n := by trunc) :
                          { obj := a, property := ha } { obj := b, property := hb }

                          Make a morphism in Truncated n from a morphism in SimplexCategory. This is equivalent to @id (⦋a⦌ₙ ⟶ ⦋b⦌ₙ) f.

                          Equations
                          Instances For
                            @[simp]
                            theorem SimplexCategory.Truncated.Hom.tr_id {n : } (a : SimplexCategory) (ha : a.len n := by trunc) :
                            theorem SimplexCategory.Truncated.Hom.tr_comp {n : } {a b c : SimplexCategory} (f : a b) (g : b c) (ha : a.len n := by trunc) (hb : b.len n := by trunc) (hc : c.len n := by trunc) :
                            theorem SimplexCategory.Truncated.Hom.tr_comp_assoc {n : } {a b c : SimplexCategory} (f : a b) (g : b c) (ha : a.len n := by trunc) (hb : b.len n := by trunc) (hc : c.len n := by trunc) {Z : CategoryTheory.ObjectProperty.FullSubcategory fun (a : SimplexCategory) => a.len n} (h : { obj := c, property := hc } Z) :
                            theorem SimplexCategory.Truncated.Hom.tr_comp' {n : } {a b c : SimplexCategory} (f : a b) {hb : b.len n} {hc : c.len n} (g : { obj := b, property := hb } { obj := c, property := hc }) (ha : a.len n := by trunc) :
                            theorem SimplexCategory.Truncated.Hom.tr_comp'_assoc {n : } {a b c : SimplexCategory} (f : a b) {hb : b.len n} {hc : c.len n} (g : { obj := b, property := hb } { obj := c, property := hc }) (ha : a.len n := by trunc) {Z : CategoryTheory.ObjectProperty.FullSubcategory fun (a : SimplexCategory) => a.len n} (h : { obj := c, property := hc } Z) :
                            @[reducible, inline]

                            The inclusion of Truncated n into Truncated m when n ≤ m.

                            Equations
                            Instances For