Documentation

CategorialAlgebras.Homogeneous.Specification

Contextual equations for categorial algebras #

Each equation has exactly its own variables. The equations assert totality, categorical composition laws, globularity, interchange, and functoriality of the original operations. The construction works for any ordered type of dimensions.

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.Homogeneous.variableTerm {I : Type i} {S : Type u} {sig : Signature S} (s : S) {m : ℕ} (j : Fin m) :
    Term (Symbol I sig) (UniformVariables s m) s

    The variable with index $j$ in a uniform context.

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

      An existence assertion that a term is defined.

      Equations
      Instances For
        def CategorialAlgebras.Homogeneous.uniformEquation {I : Type i} {S : Type u} {sig : Signature S} (s : S) (m p : ℕ) (prem : Fin p → EEquation (Symbol I sig) (UniformVariables s m) s) (concl : EEquation (Symbol I sig) (UniformVariables s m) s) :

        A contextual equation with one-sort variables and premises.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          def CategorialAlgebras.Homogeneous.contextualEquation {I : Type i} {S : Type u} {sig : Signature S} {X : S → Type x} (hX : Finite ((s : S) × X s)) {p : List S} {s : S} (prem : Word.Family (EEquation (Symbol I sig) X) p) (concl : EEquation (Symbol I sig) X s) :

          A contextual equation with an arbitrary finite context.

          Equations
          Instances For
            inductive CategorialAlgebras.Homogeneous.Axiom (I : Type i) [LT I] {S : Type u} (sig : Signature S) :
            Type (max (max i u) v)

            The finite schemas of the homogeneous categorial equations.

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

              Original operations are total.

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

              Boundaries are total.

            • retract {I : Type i} [LT I] {S : Type u} {sig : Signature S} (k : I) (s : S) (b c : Bool) : Axiom I sig

              Every boundary is fixed by both boundaries in its dimension.

            • domainForward {I : Type i} [LT I] {S : Type u} {sig : Signature S} (k : I) (s : S) : Axiom I sig

              A defined composition has matching boundaries.

            • domainBackward {I : Type i} [LT I] {S : Type u} {sig : Signature S} (k : I) (s : S) : Axiom I sig

              Matching boundaries ensure a defined composition.

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

              Boundaries of a composite are the outer boundaries.

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

              Sources and targets act as units.

            • assoc {I : Type i} [LT I] {S : Type u} {sig : Signature S} (k : I) (s : S) : Axiom I sig

              Adjacent compositions associate.

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

              Original operations preserve boundaries.

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

              Original operations preserve defined compositions.

            • higherLower {I : Type i} [LT I] {S : Type u} {sig : Signature S} (l k : I) (h : l < k) (s : S) (b : Bool) : Axiom I sig

              A higher boundary fixes the corresponding lower boundary.

            • lowerHigher {I : Type i} [LT I] {S : Type u} {sig : Signature S} (l k : I) (h : l < k) (s : S) (b c : Bool) : Axiom I sig

              Lower boundaries absorb both higher boundaries.

            • boundaryComposition {I : Type i} [LT I] {S : Type u} {sig : Signature S} (l k : I) (h : l < k) (s : S) (b : Bool) : Axiom I sig

              Higher boundaries preserve lower compositions.

            • interchange {I : Type i} [LT I] {S : Type u} {sig : Signature S} (l k : I) (h : l < k) (s : S) : Axiom I sig

              The two ways of composing a rectangle agree.

            Instances For

              The doubled positional context used for preservation of composition.

              Equations
              Instances For

                The doubled positional context is finite.

                The actual contextual equation represented by an axiom schema.

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

                  The homogeneous categorial ep-specification in arbitrary dimensions.

                  Equations
                  Instances For

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

                    Equations
                    Instances For
                      theorem CategorialAlgebras.Homogeneous.satisfiesEquations_product {I : Type i} [LT I] {S : Type u} {sig : Signature S} {J : Type x} (A : J → PartialAlgebra (Symbol I sig)) (h : ∀ (j : J), SatisfiesEquations (A j)) :

                      Satisfaction of contextual equations is closed under arbitrary products.