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 #
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.
The variable at a position in a uniform context.
Equations
- CategorialAlgebras.Heterogeneous.variableTerm s j = CategorialAlgebras.Term.var (j, { down := ⋯ })
Instances For
An equation in an arbitrary finite sorted context.
Equations
Instances For
An equation whose variables all have a single sort; outputs may have other sorts.
Equations
- CategorialAlgebras.Heterogeneous.uniformEquation s m prem concl = CategorialAlgebras.Heterogeneous.contextualEquation ⋯ prem concl
Instances For
The doubled positional context used for preservation of composition.
Equations
Instances For
The doubled positional context is finite.
Axiom schemas #
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.