Unification by a generalized hep-derivor #
Unification selects the top-dimensional carrier. Boundaries are followed by their identities into the top dimension, and all cell domains are empty.
def
CategorialAlgebras.Presentations.unificationDerivor
(n : ℕ)
{S : Type u}
(sig : Signature S)
:
Derivor (Homogeneous.Symbol (Fin n) sig) (Heterogeneous.Symbol (Fin (n + 1)) sig)
The derivor interpreting homogeneous operations on top-dimensional cells.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
CategorialAlgebras.Presentations.unification
(n : ℕ)
{S : Type u}
(sig : Signature S)
:
GeneralizedHepDerivor (Homogeneous.hepSignature (Fin n) sig) (Heterogeneous.hepSignature (Fin (n + 1)) sig)
The generalized unification derivor, with empty cell domains.
Equations
- CategorialAlgebras.Presentations.unification n sig = { toDerivor := CategorialAlgebras.Presentations.unificationDerivor n sig, domain := fun (x : S) => ⊥ }
Instances For
@[simp]
theorem
CategorialAlgebras.Presentations.unification_domain
(n : ℕ)
{S : Type u}
(sig : Signature S)
(s : S)
:
Unification has no cell equations.
theorem
CategorialAlgebras.Presentations.unification_isCell
(n : ℕ)
{S : Type u}
(sig : Signature S)
(A : PartialAlgebra (Heterogeneous.Symbol (Fin (n + 1)) sig))
(s : S)
(x : A.carrier (Fin.last n, s))
:
(unification n sig).IsCell A s x
Every top-dimensional element is a unification cell.
noncomputable def
CategorialAlgebras.Presentations.unificationPartialFunctor
(n : ℕ)
{S : Type u}
(sig : Signature S)
:
CategoryTheory.Functor (PartialAlgebra (Heterogeneous.Symbol (Fin (n + 1)) sig))
(PartialAlgebra (Homogeneous.Symbol (Fin n) sig))
The unification functor on partial algebras is the induced transformation.