Generalized hep-derivors and transformed algebras #
A generalized hep-derivor selects cells by existence equations in one variable. Its transformed operations are defined by well-founded recursion on source symbols. Their public characterization uses the domain conditions in the transformed algebra itself, definedness of the interpreting term, and membership of its value in the cells.
Family valuations commute with every sorted map, also after changing sorts.
The valuation of a one-letter word assigning its unique position the value $b$.
Equations
- CategorialAlgebras.Word.singletonValuation b = CategorialAlgebras.Word.valuation fun (j : Fin [s].length) => ⋯.mpr b
Instances For
Single-variable valuation commutes with every sorted map.
A derivor equipped with a single-variable existence domain for each source sort.
- sortMap : S → T
- domain (s : S) : EEquationSet tau.symbol (Word.Variables [self.sortMap s])
The equations selecting cells of each source sort.
Instances For
Cells and their functor #
An element is a cell when it satisfies the domain of its source sort.
Equations
- c.IsCell B s b = CategorialAlgebras.EEquationSet.Satisfies B (CategorialAlgebras.Word.singletonValuation b) (c.domain s)
Instances For
The sorted carrier of cells.
Instances For
Homomorphisms send cells to cells.
The birrestriction of a homomorphism to the selected cells.
Instances For
The functor sending a partial algebra to its sorted set of cells.
Equations
- One or more equations did not get rendered due to their size.
Instances For
With empty domains every element is a cell.
With empty domains, forgetting the subtype of cells gives the usual change of sorts. Both directions act identically on the underlying elements.
Formally weaker than the informal statement. Informally, the two functors are equal; here the carriers of transformed algebras are subtypes of cells, so the equality becomes a natural isomorphism that is the identity on elements.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Well-founded construction #
The interpreting term evaluated on the underlying elements of a family of cells.
Equations
- c.imageValue B σ b = CategorialAlgebras.Term.partialEval (CategorialAlgebras.Word.valuation fun (j : Fin a.length) => ↑(b j)) (c.image σ)
Instances For
The partial algebra on cells obtained by recursion over domain dependencies.
Equations
Instances For
A transformed operation has value $y$ exactly when its domain conditions hold in the transformed algebra itself and the interpreting term has underlying value $y$. The subtype of $y$ supplies the third condition, that this value is a cell.
The domain of a transformed operation expresses all three defining conditions.
Every transformed algebra is a weak ep-algebra.
The transformed algebra is an ep-algebra precisely when domain satisfaction ensures that the interpreting term is defined and its value is a cell.
The induced functors #
Homomorphisms preserve the values of interpreting terms on families of cells.
The birrestriction to cells preserves every transformed operation. The proof uses well-founded induction, requiring preservation only at symbols occurring in the current domain conditions.
A homomorphism induces a homomorphism of transformed algebras by birrestriction.
Equations
- c.transformedHom f = { toMap := c.cellMap f, map_op := ⋯ }
Instances For
The functor induced by a generalized hep-derivor on all partial algebras.
Equations
- c.transformedFunctor = { obj := c.transformed, map := fun {X Y : CategorialAlgebras.PartialAlgebra tau.symbol} => c.transformedHom, map_id := ⋯, map_comp := ⋯ }
Instances For
The forgetful triangle commutes strictly: the underlying functor is the cell functor.
The induced functor restricted and corestricted to weak ep-algebras.
Equations
Instances For
The weak-algebra functor agrees with the partial-algebra functor after inclusion.