Cells of the heterogeneous composite derivor #
The composite selects exactly the top identities in each dimension. Its comparison with the two successive transformations is invertible on models.
theorem
CategorialAlgebras.Presentations.composite_isCell_castSucc
(n : ℕ)
{S : Type u}
(sig : Signature S)
(A : Heterogeneous.NCategorialAlgebra n sig)
(k : Fin n)
(s : S)
(x : (A.sort s).carrier (Fin.last n))
:
At a lower sort the composite selects the fixed points of identity after source.
theorem
CategorialAlgebras.Presentations.composite_isCell_last
(n : ℕ)
{S : Type u}
(sig : Signature S)
(A : PartialAlgebra (Heterogeneous.Symbol (Fin (n + 1)) sig))
(s : S)
(x : A.carrier (Fin.last n, s))
:
((graduation n sig).comp (unification n sig)).IsCell A (Fin.last n, s) x
At the top sort the heterogeneous composite has no restrictions.
theorem
CategorialAlgebras.Presentations.composite_isCell_iff_identity_range
(n : ℕ)
{S : Type u}
(sig : Signature S)
(A : Heterogeneous.NCategorialAlgebra n sig)
(k : Fin (n + 1))
(s : S)
(x : (A.sort s).carrier (Fin.last n))
:
((graduation n sig).comp (unification n sig)).IsCell (Heterogeneous.CategorialAlgebra.toPartialAlgebra A) (k, s) x ↔ x ∈ Set.range (topIdentity (A.sort s) k)
The selected cells of the composite are exactly the images of top identities.
theorem
CategorialAlgebras.Presentations.heterogeneous_comparison_surjective
(n : ℕ)
{S : Type u}
(sig : Signature S)
(A : Heterogeneous.NCategorialAlgebra n sig)
(p : Fin (n + 1) × S)
:
Function.Surjective
(((graduation n sig).comparison (unification n sig) (Heterogeneous.CategorialAlgebra.toPartialAlgebra A)).toMap p)
The comparison for the heterogeneous round trip is surjective on expansions.
noncomputable def
CategorialAlgebras.Presentations.heterogeneousComparisonIso
(n : ℕ)
{S : Type u}
(sig : Signature S)
(A : PartialAlgebra (Heterogeneous.Symbol (Fin (n + 1)) sig))
(hA : (Heterogeneous.specification (Fin (n + 1)) sig).IsModel A)
:
(graduation n sig).transformed ((unification n sig).transformed A) ≅ ((graduation n sig).comp (unification n sig)).transformed A
On heterogeneous models the canonical comparison is an isomorphism.
Equations
- One or more equations did not get rendered due to their size.