Documentation

CategorialAlgebras.Heterogeneous.Algebra

Algebras in heterogeneous higher categories #

An operation is a higher functor from the componentwise product indexed by its input word. The empty word gives a terminal higher category. Homomorphisms are sorted higher functors commuting with all operations.

Sorted categories and word products #

@[reducible, inline]
abbrev CategorialAlgebras.Heterogeneous.SortedCategory (I : Type i) [Preorder I] (S : Type u) :
Type (max (max i u) (w + 1))

A sorted family of heterogeneous higher categories.

Equations
Instances For
    @[reducible, inline]
    abbrev CategorialAlgebras.Heterogeneous.SortedFunctor {I : Type i} [Preorder I] {S : Type u} (A B : SortedCategory I S) :
    Type (max (max u w) i)

    A sorted higher functor is a family of higher functors, one at each sort.

    Equations
    Instances For

      The componentwise category indexed by the positions of an input word.

      Equations
      Instances For
        theorem CategorialAlgebras.Heterogeneous.wordProduct_nil_unique {I : Type i} [Preorder I] {S : Type u} (A : SortedCategory I S) (k : I) (x y : (wordProduct A []).carrier k) :
        x = y

        The empty word has a unique cell, and hence is terminal.

        The unique higher functor to the empty word product.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          The functor to an empty word product is unique.

          Categorial algebras and homomorphisms #

          structure CategorialAlgebras.Heterogeneous.CategorialAlgebra (I : Type i) [Preorder I] {S : Type u} (sig : Signature S) :
          Type (max (max (max i u) v) (w + 1))

          An algebra whose carriers are higher categories and whose operations are higher functors.

          Instances For
            @[reducible, inline]

            The underlying sorted set of all cells.

            Equations
            Instances For
              structure CategorialAlgebras.Heterogeneous.CategorialAlgebra.Hom {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} (A B : CategorialAlgebra I sig) :
              Type (max (max i u) w)

              A homomorphism of categorial algebras.

              Instances For
                theorem CategorialAlgebras.Heterogeneous.CategorialAlgebra.Hom.ext_iff {I : Type i} {inst✝ : Preorder I} {S : Type u} {sig : Signature S} {A B : CategorialAlgebra I sig} {x y : A.Hom B} :
                x = y ↔ x.sort = y.sort
                theorem CategorialAlgebras.Heterogeneous.CategorialAlgebra.Hom.ext {I : Type i} {inst✝ : Preorder I} {S : Type u} {sig : Signature S} {A B : CategorialAlgebra I sig} {x y : A.Hom B} (sort : x.sort = y.sort) :
                x = y

                The identity categorial homomorphism.

                Equations
                Instances For
                  def CategorialAlgebras.Heterogeneous.CategorialAlgebra.Hom.comp {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} {A B C : CategorialAlgebra I sig} (f : A.Hom B) (g : B.Hom C) :
                  A.Hom C

                  Composition of categorial homomorphisms.

                  Equations
                  Instances For
                    @[instance_reducible]

                    Categorial algebras and their homomorphisms form a category.

                    Equations
                    • One or more equations did not get rendered due to their size.

                    Forget the higher structure at a chosen dimension.

                    Equations
                    Instances For
                      @[reducible, inline]
                      abbrev CategorialAlgebras.Heterogeneous.NCategorialAlgebra (n : ℕ) {S : Type u} (sig : Signature S) :
                      Type (max (max u v) (w + 1))

                      The category of heterogeneous $n$-categorial algebras.

                      Equations
                      Instances For
                        @[reducible, inline]
                        abbrev CategorialAlgebras.Heterogeneous.OmegaCategorialAlgebra {S : Type u} (sig : Signature S) :
                        Type (max (max u v) (w + 1))

                        The category of heterogeneous $\omega$-categorial algebras.

                        Equations
                        Instances For