# Internal completeness of categories of domains

• Paul Taylor
Part II Research Contributions Section 3: Categorical Logic
Part of the Lecture Notes in Computer Science book series (LNCS, volume 240)

## Abstract

One of the objectives of category theory is to provide a foundation for itself in particular and mathematics in general which is independent of the traditional use of set theory. A major question in this programme is how to formulate the fact that Set is “complete”, i.e. it has all “small” (i.e. set- rather than class-indexed) limits (and colimits). The answer to this depends upon first being able to express the notion of a “family” of sets, and indexed category theory was developed for this purpose.

This paper sets out some of the basic ideas of indexed category theory, motivated in the first instance by this problem. Our aim, however, is the application of these techniques to two categories of “domains” for data types in the semantics ofprogramming languages. These Retr(Λ), whose objects are the retracts of a combinatory model of the λ-calculus, and beContω, which consists of countably-based boundedly-complete continuous posets. They are (approximately) related by Scott's [1976] Pω model. In the case of Set we would like to be able to define an indexed family of sets as a function from the indexing set to the “set” of all sets. Of course Russell showed long ago that we cannot have this. However there is a trick with disjoint unions and pullbacks which enables us to perform an equivalent construction called a fibration.

Retr(Λ) and beContω do not have all pullbacks. This of course means that they're not strictly speaking complete however we formulate smallness: what we aim to show is that they have all “small” products. More importantly, this pullback trick is on the face of it not available to us. They do, on the other hand, have a notion of “universal” set (of which any other is a retract), and indeed of a “set” of sets, though space forbids discussion of this. These we use in stead to provide the indexation.

Having constructed the indexed form of Retr(Λ) we discover that it does after all have enough pullbacks to present it as a fibration in the same way as Set. However whereas in Set any map may occur as a display map, in this case we have only a restricted class of them. We then identify this class for beContω and find that it consists of the projections (continuous surjections with left adjoint) already known to be of importance in the solution of recursive domain equations.

We formulate the abstract notion of a class of display maps and define relative cartesian closure with respect to it. The maximal case of this (as applies in Set, where all maps are displays, is known as local cartesian closure. The minimal case (where only product projections are displays) is known in computer science as (ordinary) cartesian clsoure, though in category theory it is now more common to use this term only when all pullbacks exist, though not necessarily as displays.

This work will be substantially amplified (including discussion of the “type of types”) in [Taylor 1986?].

## Keywords

Category Theory Continuous Lattice Left Adjoint Product Projection Terminal Object
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

## Bibliography

1. Arbib, M.A. and Manes, E.G., Arrows, Structures and Functors — the Categorical Imperative, Academic Press, 1975Google Scholar
2. Barendregt, H., The Lambda Calculus — its Syntax and Semantics, North-Holland, 1981Google Scholar
3. Bénabou, J., Fibrations Pétites et Localement Pétites, Comptes Rendues Acad. Sci. Math., Paris, 281 (1975) 831–834 and 897–900Google Scholar
4. Cohn, P.M., Universal Algebra, Harper and Row, 1965Google Scholar
5. Curry, H.B. and Feys, R., Combinatory Logic I, North-Holland, 1958Google Scholar
6. Day, A., Filter Monads, Continuous Lattices and Closure Systems, Canad. J. Math., 27 (1975) 50–59Google Scholar
7. Gierz, G., Hofmann, K.H., Keimel, K., Lawson, J.D., Mislove, M. and Scott, D.S., A Compendium of Continuous Lattices, Springer, 1980Google Scholar
8. Hyland, J.M.E., Function Spaces in the Category of Locales, Continuous Lattices, (Ed. Banuschewski, B. and Hoffman, R.-E.), Springer LNM, 871 (1981) 264–281Google Scholar
9. Hyland, J.M.E., The Effective Topos, L.E.J. Brouwer Centenary Symposium, (Ed. Troelstra, A.S. and van Dalen, D.), North-Holland, (1982) 165–216Google Scholar
10. Johnstone, P.T., Paré, R., Roseburgh, R.D., Schumacher, D., Wood, R.D. and Wraith, G.C., Indexed Categories and their Applications, Springer, 1978Google Scholar
11. Johnstone, P.T., Hyland, J.M.E. and Pitts, A.M., Tripos Theory, Math. Proc. Camb. Philos. Soc., 88 (1980) 205–232Google Scholar
12. Johnstone, P.T., Scott is not always sober, Continuous Lattices, (Ed. Banuschewski, B. and Hoffman, R.-E.), Springer LNM, 871 (1981) 282–283Google Scholar
13. Johnstone, P.T. and Joyal, A., Continuous Categories and Exponentiable Toposes, J. Pure Appl. Alg., 25 (1982) 255–296Google Scholar
14. Johnstone, P.T., Fibred Categories, Part III Lecture Course, Cambridge, Michaelmas 1983Google Scholar
15. Johnstone, P.T., Stone Spaces, CUP, 1983Google Scholar
16. Kock, A. and Reyes, G.E., Doctrines in Categorical Logic, Handbook of Mathematical Logic, (Ed. Barwise, J.), North-Holland Studies in Logic and the Foundations of Mathematics, 90 (1977) 283–313Google Scholar
17. Koymans, C.P.J., Models of the Lambda Calculus, Centrum voor Wiskunde en Informatica, Amsterdam, 9 (1984)Google Scholar
19. Manes, E.G., Algebraic Theories, Springer Graduate Texts in Mathematics, 26 (1975)Google Scholar
20. Mac Lane, S., Categories for the Working Mathematician, Springer, 1971Google Scholar
22. Pitts, A.M., The Theory of Triposes, Ph.D. dissertation, Cambridge, 1981Google Scholar
23. Scott, D.S., Data Types as Lattices, SIAM J. Comp., 5 (1976) 522–587Google Scholar
24. Seely, R.A.G., Natural Deduction and the Beck Condition, Zeitschr. Math. Logik und Grundlagen d. Math., 29 (1983) 505–542Google Scholar
25. Taylor, P., Ph.D. dissertation, Cambridge, 1986 (I hope!)Google Scholar