The Continuum As a Final Coalgebra
Theoretical Computer Science 280 (2002) 105–122 www.elsevier.com/locate/tcs The continuum as a ÿnal coalgebra D. PavloviÃca, V. Prattb; ∗ aKestrel Institute, Palo Alto, CA, USA bDepartment of Computer Science, Stanford University, Stanford, CA 94305-9045, USA Abstract We deÿne the continuum up to order isomorphism, and hence up to homeomorphism via the order topology, in terms of the ÿnal coalgebra of either the functor N ×X , product with the set of natural numbers, or the functor 1+N ×X . This makes an attractive analogy with the deÿnition of N itself as the initial algebra of the functor 1 + X , disjoint union with a singleton. We similarly specify Baire space and Cantor space in terms of these ÿnal coalgebras. We identify two variants of this approach, a coinductive deÿnition based on ÿnal coalgebraic structure in the category of sets, and a direct deÿnition as a ÿnal coalgebra in the category of posets. We conclude with some paradoxical discrepancies between continuity and constructiveness in this setting. c 2002 Elsevier Science B.V. All rights reserved. 1. Introduction The algebra (N; 0;s) of non-negative integers under successor s with constant 0, the basic number system of mathematics, occupies a distinguished position in the category of algebras having a unary operation and a constant, namely as its initial object. In this paper we show that the continuum, the basic environment of physics, occu- pies an equally distinguished position in the category of coalgebras having one “dual operation” of arity N, namely as its ÿnal object. Here a dual operation is understood as a function X → X + X + ··· dual to an operation as a function X × X ×···X , with arity being the number of copies of X in each case.
[Show full text]