Documentation

CategorialAlgebras.Homogeneous.Category

Homogeneous higher categories #

All cells inhabit one carrier. Each dimension has total source and target maps and a partial composition; ordered pairs of dimensions satisfy globularity and interchange. Composition is written with the later arrow first. Finite dimensions use Fin n.

A category structure on a single set of cells, including its identity arrows.

  • source : A → A

    Source, represented by an identity cell.

  • target : A → A

    Target, represented by an identity cell.

  • comp : A → A → Part A

    Partial composition, with the later arrow first.

  • source_source (x : A) : self.source (self.source x) = self.source x

    Sources are identities.

  • source_target (x : A) : self.source (self.target x) = self.target x

    Targets are fixed by source.

  • target_source (x : A) : self.target (self.source x) = self.source x

    Sources are fixed by target.

  • target_target (x : A) : self.target (self.target x) = self.target x

    Targets are identities.

  • comp_dom (x y : A) : (self.comp x y).Dom ↔ self.source x = self.target y

    Composition is defined exactly at matching boundaries.

  • source_comp (x y z : A) : z ∈ self.comp x y → self.source z = self.source y

    The source of a composite is the source of its earlier arrow.

  • target_comp (x y z : A) : z ∈ self.comp x y → self.target z = self.target x

    The target of a composite is the target of its later arrow.

  • comp_source (x : A) : x ∈ self.comp x (self.source x)

    The source acts as a right unit.

  • target_comp_self (x : A) : x ∈ self.comp (self.target x) x

    The target acts as a left unit.

  • assoc (x y z xy yz : A) : xy ∈ self.comp x y → yz ∈ self.comp y z → ∃ q ∈ self.comp xy z, q ∈ self.comp x yz

    Two adjacent composites extend to equal triple composites.

Instances For

    Compatibility of two category structures, the first in the lower dimension.

    Instances For
      structure CategorialAlgebras.Homogeneous.Structure (I : Type i) [LT I] (A : Type u) :
      Type (max i u)

      Higher category structure indexed by an ordered type of dimensions.

      • dim : I → CategoryStructure A

        A category structure in each dimension.

      • compatible (l k : I) : l < k → Compatible (self.dim l) (self.dim k)

        Every increasing pair of dimensions is compatible.

      Instances For
        structure CategorialAlgebras.Homogeneous.HigherCategory (I : Type i) [LT I] :
        Type (max i (u + 1))

        A homogeneous higher category with bundled carrier.

        • carrier : Type u

          The set of all cells.

        • str : Structure I self.carrier

          The dimension-indexed category structure.

        Instances For
          def CategorialAlgebras.Homogeneous.Structure.IsCell {I : Type i} [LT I] {A : Type u} (C : Structure I A) (k : I) (x : A) :

          A cell of dimension at most $k$ is fixed by the $k$-source.

          Equations
          Instances For
            def CategorialAlgebras.Homogeneous.Structure.Cell {I : Type i} [LT I] {A : Type u} (C : Structure I A) (k : I) :

            The subtype of cells fixed in a specified dimension.

            Equations
            Instances For
              theorem CategorialAlgebras.Homogeneous.Structure.isCell_iff_target {I : Type i} [LT I] {A : Type u} (C : Structure I A) (k : I) (x : A) :
              C.IsCell k x ↔ (C.dim k).target x = x

              Being fixed by source is equivalent to being fixed by target.

              theorem CategorialAlgebras.Homogeneous.Structure.isCell_mono {J : Type i'} [LinearOrder J] {A : Type u} (C : Structure J A) {j k : J} (h : j ≤ k) {x : A} (hx : C.IsCell j x) :
              C.IsCell k x

              Cells remain cells in every higher dimension.

              structure CategorialAlgebras.Homogeneous.Functor {I : Type i} [LT I] (C : HigherCategory I) (D : HigherCategory I) :
              Type (max u v)

              A higher functor preserves boundaries and every defined composite.

              Instances For
                theorem CategorialAlgebras.Homogeneous.Functor.ext {I : Type i} {inst✝ : LT I} {C : HigherCategory I} {D : HigherCategory I} {x y : Functor C D} (toFun : x.toFun = y.toFun) :
                x = y
                theorem CategorialAlgebras.Homogeneous.Functor.ext_iff {I : Type i} {inst✝ : LT I} {C : HigherCategory I} {D : HigherCategory I} {x y : Functor C D} :
                x = y ↔ x.toFun = y.toFun

                The identity higher functor.

                Equations
                Instances For
                  def CategorialAlgebras.Homogeneous.Functor.comp {I : Type i} [LT I] {C D E : HigherCategory I} (f : Functor C D) (g : Functor D E) :

                  Composition of higher functors in diagrammatic order.

                  Equations
                  Instances For
                    @[instance_reducible]

                    Higher categories and higher functors form a category.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    theorem CategorialAlgebras.Homogeneous.Functor.map_isCell {I : Type i} [LT I] {C D : HigherCategory I} (f : Functor C D) {k : I} {x : C.carrier} (h : C.str.IsCell k x) :
                    D.str.IsCell k (f.toFun x)

                    Higher functors preserve cells of every specified dimension.

                    def CategorialAlgebras.Homogeneous.Functor.cellMap {I : Type i} [LT I] {C D : HigherCategory I} (f : Functor C D) (k : I) :
                    C.str.Cell k → D.str.Cell k

                    The map induced by a higher functor on the subtype of cells in a dimension.

                    Equations
                    Instances For
                      def CategorialAlgebras.Homogeneous.Structure.restrict {J : Type i'} {K : Type i} [Preorder J] [Preorder K] {A : Type u} (C : Structure K A) (e : J ↪o K) :

                      Restrict a structure along an order embedding, without changing its carrier.

                      Equations
                      • C.restrict e = { dim := fun (j : J) => C.dim (e j), compatible := ⋯ }
                      Instances For

                        Every cell is an identity in a discrete category structure.

                        Equations
                        Instances For

                          The discrete category structure on any type.

                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For
                            def CategorialAlgebras.Homogeneous.CategoryStructure.product {J : Type v} {A : J → Type u} (C : (j : J) → CategoryStructure (A j)) :
                            CategoryStructure ((j : J) → A j)

                            The componentwise category structure on a dependent product of carriers.

                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For
                              theorem CategorialAlgebras.Homogeneous.Compatible.product {J : Type v} {A : J → Type u} {l k : (j : J) → CategoryStructure (A j)} (h : ∀ (j : J), Compatible (l j) (k j)) :

                              Products of compatible pairs are compatible componentwise.

                              The componentwise higher category on a dependent product, including an empty product.

                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                def CategorialAlgebras.Homogeneous.HigherCategory.projection {I : Type i} [LT I] {J : Type v} (C : J → HigherCategory I) (j : J) :
                                Functor (product C) (C j)

                                Projection from a componentwise higher category product.

                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For
                                  def CategorialAlgebras.Homogeneous.HigherCategory.productLift {I : Type i} [LT I] {J : Type v} {C : J → HigherCategory I} {D : HigherCategory I} (f : (j : J) → Functor D (C j)) :

                                  The higher functor induced by a family of higher functors into the factors.

                                  Equations
                                  Instances For

                                    The fan of componentwise higher category projections.

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

                                      The componentwise higher category product has the categorical product universal property.

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

                                        Two copies of a discrete category structure are compatible.

                                        The discrete higher category on a set, in any dimension type.

                                        Equations
                                        Instances For
                                          theorem CategorialAlgebras.Homogeneous.HigherCategory.discrete_isCell {I : Type i} [LT I] (A : Type u) (k : I) (x : A) :
                                          (discrete I A).str.IsCell k x

                                          Every cell of a discrete higher category is fixed by every source.

                                          @[reducible, inline]

                                          A homogeneous $n$-category has dimensions Fin n; in particular this covers $0,1,2$.

                                          Equations
                                          Instances For

                                            Every cell has some finite dimension.

                                            Equations
                                            Instances For
                                              @[reducible, inline]

                                              Homogeneous $\omega$-categories form the full subcategory of locally finite cells.

                                              Equations
                                              Instances For