Documentation

CategorialAlgebras.Omega.Unification

The unification functor #

A homomorphism acts on classes by applying its dimensional component to a representative. Every preservation law is checked in a common finite dimension.

theorem CategorialAlgebras.Omega.inclusion_natural {S : Type u} {sig : Signature S} {A B : Heterogeneous.OmegaCategorialAlgebra sig} (f : A ⟶ B) {j k : ℕ} (h : j ≤ k) (s : S) (x : Heterogeneous.CategorialAlgebra.carrier A (j, s)) :
(f.sort s).toFun k (inclusion A h s x) = inclusion B h s ((f.sort s).toFun j x)

A heterogeneous homomorphism preserves dimensional identity inclusions.

noncomputable def CategorialAlgebras.Omega.unifiedMap {S : Type u} {sig : Signature S} {A B : Heterogeneous.OmegaCategorialAlgebra sig} (f : A ⟶ B) (s : S) :
Cell A s → Cell B s

The function on unified cells induced by a heterogeneous homomorphism.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    @[simp]
    theorem CategorialAlgebras.Omega.unifiedMap_in {S : Type u} {sig : Signature S} {A B : Heterogeneous.OmegaCategorialAlgebra sig} (f : A ⟶ B) (k : ℕ) (s : S) (x : Heterogeneous.CategorialAlgebra.carrier A (k, s)) :
    unifiedMap f s (cellIn A k s x) = cellIn B k s ((f.sort s).toFun k x)

    Unification applies the dimensional component to a representative.

    Dimensional components preserve the collapsed homogeneous stage structures.

    Equations
    Instances For

      The induced function on unified cells preserves every homogeneous operation.

      Equations
      Instances For

        Unification on the quotient carriers, with the finite-dimensional-cell condition.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          @[simp]
          theorem CategorialAlgebras.Omega.unification_map_in {S : Type u} {sig : Signature S} {A B : Heterogeneous.OmegaCategorialAlgebra sig} (f : A ⟶ B) (k : ℕ) (s : S) (x : Heterogeneous.CategorialAlgebra.carrier A (k, s)) :
          (((unificationFunctor sig).map f).hom.sort s).toFun (cellIn A k s x) = cellIn B k s ((f.sort s).toFun k x)

          The functor on morphisms sends $[x]_k$ to $[f_k(x)]_k$.