symmetric monoidal (∞,1)-category of spectra
A category is called algebraically compact if for every endofunctor on it the respective initial algebra coincides with the final coalgebra.
Under categorical semantics of programming languages this condition ensures the existence of inductive-recursive types (e.g. Zamdzhiev 20). For that, recall:
In computer science, a data type is often defined by an isomorphism of types for some construction (an endofunctor on the category of types), namely as a fixed point of an endofunctor. (For example, the natural numbers may be defined – see there – as being fixed by the operation of disjoint union with a singleton.) These are inductive types.
However, in a language with general recursion (including partial recursive functions), the data types have properties in addition to as the usual inductive ones, which allow coinductive reasoning. For example, in a lazy language such as Haskell, there is an infinity element in , which is a fixed point for the successor operation.
In general, it is common to allow the construction to be mixed-variance. For example, is a recursive data type whose inhabitants are expressions of the untyped lambda calculus. Thus recursive data types are a generalization of reflexive objects. On the semantic side, recursive data types are sometimes called “recursive domain equations”.
A category is algebraically complete if every endofunctor has an initial algebra . A category is algebraically cocomplete if every endofunctor has a final coalgebra .
By Lambek's lemma, an initial algebra is an isomorphism, and so is a final coalgebra, thus they can be regarded as coalgebras and algebras respectively. This gives rise to a canonical morphism from the initial algebra to the final coalgebra, .
An algebraically complete and cocomplete category is algebraically compact if this canonical morphism from the initial algebra to the final coalgebra is an isomorphism.
In classical set theory, very few categories are algebraically compact. Thus it is common to restrict attention to certain endofunctors. One might then say that this class of endofunctors is algebraically compact. A leading example is where is -enriched, in which case we might restrict attention to -endofunctors. For example, the -enriched category of pointed cpo‘s and strict maps is -algebraically compact.
Recall that a cpo is an -chain-complete partial order. The category comprises cpo’s and continuous maps. A cpo is pointed if it has a bottom element, and a continuous map is strict if it preserves the bottom elements.
The category of pointed cpo‘s and strict continuous maps is algebraically compact as a -enriched category.
In a poset-enriched category, an embedding-projection pair is a retract , such that and .
Let be an endofunctor. Consider the chain of projections
We consider the limit of this sequence of projections as a poset, which is already a pointed cpo.
Because is also an initial object, each of these projections in the chain forms an embedding-projection pair, and we have a sequence
One can show that can also be regarded as a colimit of this sequence of embeddings.
Now we use the universal properties of limits and colimits to show that is an initial algebra and final coalgebra of .
Let be a bifunctor. A solution for is an object together with an isomorphism
In general there may be many solutions. One approach to comparing them is via retractions. If an object is a retract of , and forms a solution , then we can ask that the retraction respects the solution, i.e.
If and are algebraically compact, so is . If is algebraically compact, so is the dual category .
As a result of this proposition, we solve a mixed-variance domain equation for on an algebraically compact category by considering the initial algebra / final coalgebra of the endofunctor given by .
For a bifunctor on an algebraically compact category, the solution from the initial algebra / final coalgebra is minimal in the sense that it is uniquely a retract of every solution.
The notion is due to:
Barr proposed to look at certain functors as algebraically compact, and gave basic facts about building algebraically compact functors and numerous examples. Fiore and Plotkin looked enriched functors and proved “adequacy” results about data types in programming languages.
Michael Barr, Algebraically compact functors, Journal of Pure and Applied Algebra Volume 82, Issue 3, 26 October 1992, Pages 211-231 (doi:10.1016/0022-4049(92)90169-G)
Marcelo Fiore. Axiomatic domain theory in categories of partial maps. CUP 1996.
Marcelo Fiore and Gordon Plotkin. An axiomatization of computationally adequate domain theoretic models of FPC. In Proc. LICS, 1994. pdf.
Pitts gives a survey and discussion, together with further reasoning principles.
See also:
Last revised on February 17, 2021 at 13:40:59. See the history of this page for a list of all contributions to it.