Documentation

CategorialAlgebras.Heterogeneous.Specification

Contextual equations for heterogeneous categorial algebras #

Each equation uses its own finite context. The schemas express totality, the exact composition domain, categorical laws, compatibility between dimensions and functoriality.

Finite variable contexts #

A finite context of $m$ variables all of one sort.

Equations
Instances For

    The disjoint union of a uniform context is finite, regardless of the set of sorts.

    The disjoint union of the positional variables of a word is finite.

    def CategorialAlgebras.Heterogeneous.variableTerm {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} (s : I × S) {m : ℕ} (j : Fin m) :
    Term (Symbol I sig) (UniformVariables s m) s

    The variable at a position in a uniform context.

    Equations
    Instances For
      def CategorialAlgebras.Heterogeneous.defined {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} {X : I × S → Type x} {s : I × S} (t : Term (Symbol I sig) X s) :
      EEquation (Symbol I sig) X s

      The existence assertion that a term is defined.

      Equations
      Instances For
        def CategorialAlgebras.Heterogeneous.contextualEquation {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} {X : I × S → Type x} (hX : Finite ((s : I × S) × X s)) {p : List (I × S)} {s : I × S} (prem : Word.Family (EEquation (Symbol I sig) X) p) (concl : EEquation (Symbol I sig) X s) :

        An equation in an arbitrary finite sorted context.

        Equations
        Instances For
          def CategorialAlgebras.Heterogeneous.uniformEquation {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} (s : I × S) (m : ℕ) {p : List (I × S)} {t : I × S} (prem : Word.Family (EEquation (Symbol I sig) (UniformVariables s m)) p) (concl : EEquation (Symbol I sig) (UniformVariables s m) t) :

          An equation whose variables all have a single sort; outputs may have other sorts.

          Equations
          Instances For

            The doubled positional context used for preservation of composition.

            Equations
            Instances For

              The doubled positional context is finite.

              Axiom schemas #

              inductive CategorialAlgebras.Heterogeneous.Axiom (I : Type i) [Preorder I] {S : Type u} (sig : Signature S) :
              Type (max (max i u) v)

              The finite schemas of heterogeneous categorial equations.

              • total {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} (k : I) {a : List S} {s : S} (σ : sig a s) : Axiom I sig

                Every copy of an original operation is total.

              • boundaryTotal {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} {j k : I} (h : j < k) (s : S) (b : Bool) : Axiom I sig

                Both boundaries are total.

              • identityTotal {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} {j k : I} (h : j < k) (s : S) : Axiom I sig

                Identities are total.

              • retract {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} {j k : I} (h : j < k) (s : S) (b : Bool) : Axiom I sig

                Each boundary retracts the identity.

              • domainForward {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} {j k : I} (h : j < k) (s : S) : Axiom I sig

                Defined composition implies matching boundaries.

              • domainBackward {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} {j k : I} (h : j < k) (s : S) : Axiom I sig

                Matching boundaries imply defined composition.

              • compositeBoundary {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} {j k : I} (h : j < k) (s : S) (b : Bool) : Axiom I sig

                The boundaries of a composite are its outer boundaries.

              • unit {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} {j k : I} (h : j < k) (s : S) (b : Bool) : Axiom I sig

                Identities on boundaries act as units.

              • assoc {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} {j k : I} (h : j < k) (s : S) : Axiom I sig

                Adjacent compositions associate.

              • operationBoundary {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} {a : List S} {s : S} (σ : sig a s) {j k : I} (h : j < k) (b : Bool) : Axiom I sig

                Original operations preserve boundaries.

              • operationIdentity {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} {a : List S} {s : S} (σ : sig a s) {j k : I} (h : j < k) : Axiom I sig

                Original operations preserve identities.

              • operationComposition {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} {a : List S} {s : S} (σ : sig a s) {j k : I} (h : j < k) : Axiom I sig

                Original operations preserve defined composition.

              • globular {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} {h j k : I} (hj : h < j) (jk : j < k) (s : S) (b c : Bool) : Axiom I sig

                Taking a lower boundary absorbs either higher boundary.

              • identityIdentity {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} {h j k : I} (hj : h < j) (jk : j < k) (s : S) : Axiom I sig

                Successive identities equal the direct identity.

              • boundaryComposition {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} {h j k : I} (hj : h < j) (jk : j < k) (s : S) (b : Bool) : Axiom I sig

                Higher boundaries preserve lower composition.

              • interchange {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} {h j k : I} (hj : h < j) (jk : j < k) (s : S) : Axiom I sig

                Compositions satisfy interchange.

              • identityComposition {I : Type i} [Preorder I] {S : Type u} {sig : Signature S} {h j k : I} (hj : h < j) (jk : j < k) (s : S) : Axiom I sig

                Identities preserve lower composition.

              Instances For

                The contextual equation associated with an axiom schema.

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

                  Specification and satisfaction #

                  The heterogeneous categorial ep-specification in arbitrary dimensions.

                  Equations
                  Instances For

                    Satisfaction of the equations alone, without assuming ep-algebra domains.

                    Equations
                    Instances For

                      Products preserve satisfaction, including the empty product.