Documentation

CategorialAlgebras.Presentations.CompositeDerivors

Composites of the presentation derivors #

Unification followed by graduation is exactly the identity generalized derivor. The other composite moves every sort to the top dimension and selects identity images.

The homogeneous round trip has the identity underlying derivor.

The homogeneous round trip is exactly the identity generalized hep-derivor, including its empty domain equations.

@[simp]
theorem CategorialAlgebras.Presentations.graduation_comp_unification_sort (n : ℕ) {S : Type u} (sig : Signature S) (k : Fin (n + 1)) (s : S) :

The heterogeneous round trip sends every sort to the top-dimensional sort.

theorem CategorialAlgebras.Presentations.graduation_comp_unification_identity (n : ℕ) {S : Type u} (sig : Signature S) {j k : Fin (n + 1)} (h : j < k) (s : S) :

The heterogeneous round trip interprets identities by the sole variable.

theorem CategorialAlgebras.Presentations.graduation_comp_unification_boundary (n : ℕ) {S : Type u} (sig : Signature S) {j k : Fin (n + 1)} (h : j < k) (s : S) (b : Bool) :

The heterogeneous composite sends a boundary to that boundary into its lower carrier, followed by the identity into the top carrier.

theorem CategorialAlgebras.Presentations.graduation_comp_unification_comp (n : ℕ) {S : Type u} (sig : Signature S) {j k : Fin (n + 1)} (h : j < k) (s : S) :
((graduation n sig).comp (unification n sig)).image (Heterogeneous.Symbol.comp h s) = Heterogeneous.binary ⋯ (Term.var (Word.mappedVariable (fun (p : Fin (n + 1) × S) => (Fin.last n, p.2)) [(k, s), (k, s)] 0)) (Term.var (Word.mappedVariable (fun (p : Fin (n + 1) × S) => (Fin.last n, p.2)) [(k, s), (k, s)] 1))

The heterogeneous composite interprets composition by composition of top cells.

def CategorialAlgebras.Presentations.compositeBase (n : ℕ) {S : Type u} (sig : Signature S) (k : Fin (n + 1)) {a : List S} {s : S} (σ : sig a s) :

The explicit base-operation term of the heterogeneous composite uses the top copy of the symbol and preserves each original position.

Equations
Instances For
    theorem CategorialAlgebras.Presentations.graduation_comp_unification_base (n : ℕ) {S : Type u} (sig : Signature S) (k : Fin (n + 1)) {a : List S} {s : S} (σ : sig a s) :

    Original symbols in the heterogeneous composite act in the top dimension.