Discretization and unification derivors #
Clamping the top dimension gives the top dimension of the smaller algebra. Unification and discretization therefore commute as complete generalized hep-derivors, including their empty cell domains.
@[simp]
Clamping the uppermost dimension gives the uppermost retained dimension.
theorem
CategorialAlgebras.Dimensions.derivor_ext_heq
{S : Type u_1}
{T : Type u_2}
{σ : Signature S}
{τ : Signature T}
{c d : Derivor σ τ}
(h : c.sortMap = d.sortMap)
(hi : ∀ (a : List S) (s : S) (f : σ a s), c.image f ≍ d.image f)
:
Pointwise heterogeneous equality of images suffices to compare derivors.
def
CategorialAlgebras.Dimensions.selectedBoundary
{S : Type u}
(sig : Signature S)
{m : ℕ}
{j k : Fin (m + 1)}
(h : j < k)
(s : S)
(b : Bool)
:
A homogeneous boundary encoded between a selected top and a lower dimension.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
CategorialAlgebras.Dimensions.positionalTerm_maps_heq
{A : Type u_1}
{B : Type u_2}
{τ : Signature B}
(φ ψ : A → B)
(h : φ = ψ)
(a : List A)
{s t : B}
(x : Word.MappedVariables φ a s)
(y : Word.MappedVariables ψ a t)
(hp : ↑x = ↑y)
:
Equal sort maps and positions give heterogeneous equality of positional terms.
theorem
CategorialAlgebras.Dimensions.discretization_unification_derivor
{S : Type u}
(sig : Signature S)
{m n : ℕ}
(h : m ≤ n)
:
((Presentations.unification n sig).comp (heterogeneousDiscretization sig h)).toDerivor = ((homogeneousDiscretization sig h).comp (Presentations.unification m sig)).toDerivor
Discretization and unification have equal composite underlying derivors.
theorem
CategorialAlgebras.Dimensions.hep_ext_empty
{A : Type u_1}
{B : Type u_2}
{σ : HepSignature A}
{τ : HepSignature B}
{c d : GeneralizedHepDerivor σ τ}
(h : c.toDerivor = d.toDerivor)
(hc : ∀ (s : A), c.domain s = ⊥)
(hd : ∀ (s : A), d.domain s = ⊥)
:
Empty-domain generalized derivors are equal when their underlying derivors are equal.
theorem
CategorialAlgebras.Dimensions.discretization_unification
{S : Type u}
(sig : Signature S)
{m n : ℕ}
(h : m ≤ n)
:
(Presentations.unification n sig).comp (heterogeneousDiscretization sig h) = (homogeneousDiscretization sig h).comp (Presentations.unification m sig)
Discretization and unification commute as complete generalized hep-derivors.