Documentation

CategorialAlgebras.Homogeneous.Signature

The homogeneous categorial signature #

The original symbols are extended by source, target and composition at every dimension. Only composition has a domain condition: equality of source and target. Dependencies have height at most one, so this equationally partial signature is hierarchical.

inductive CategorialAlgebras.Homogeneous.Symbol (I : Type i) {S : Type u} (sig : Signature S) :
List S → S → Type (max i v u)

The enlarged signature, with disjoint constructors for all symbol families.

Instances For
    def CategorialAlgebras.Homogeneous.Symbol.boundary {I : Type i} {S : Type u} {sig : Signature S} (k : I) (s : S) (b : Bool) :
    Symbol I sig [s] s

    A source or target symbol, selected by a Boolean (false means source).

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

      Apply a unary homogeneous symbol to a term.

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

        Apply a composition symbol to two terms.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          def CategorialAlgebras.Homogeneous.boundary {I : Type i} {S : Type u} {sig : Signature S} {X : S → Type x} (k : I) (b : Bool) {s : S} (t : Term (Symbol I sig) X s) :
          Term (Symbol I sig) X s

          Apply a boundary symbol to a term.

          Equations
          Instances For
            def CategorialAlgebras.Homogeneous.singletonEquation {S : Type u} {σ : Signature S} {X : S → Type x} {s : S} (e : EEquation σ X s) :

            A single existence equation, as a sorted set.

            Equations
            Instances For
              def CategorialAlgebras.Homogeneous.compositionDomain {I : Type i} {S : Type u} {sig : Signature S} (k : I) (s : S) :

              The existence equation expressing the domain of a composition.

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

                The homogeneous ep-signature: only composition has a domain condition.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  def CategorialAlgebras.Homogeneous.Symbol.rank {I : Type i} {S : Type u} {sig : Signature S} {a : List S} {s : S} :
                  Symbol I sig a s → ℕ

                  The rank of a symbol in the dependency hierarchy.

                  Equations
                  Instances For
                    theorem CategorialAlgebras.Homogeneous.domain_symbol_rank {I : Type i} {S : Type u} {sig : Signature S} {a : List S} {s : S} (σ : Symbol I sig a s) (τ : OperationSymbol (Symbol I sig)) (h : τ ∈ ((epSignature I sig).domain σ).symbols) :
                    τ.snd.snd.rank < σ.rank

                    Every symbol occurring in a composition domain has rank zero.

                    The homogeneous categorial signature is hierarchical.

                    Equations
                    Instances For
                      @[reducible, inline]

                      Interpret a categorial algebra as a partial algebra on its unchanged sorted carrier.

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