An approach to object semantics based on terminal co-algebras
- 1 June 1995
- journal article
- research article
- Published by Cambridge University Press (CUP) in Mathematical Structures in Computer Science
- Vol. 5 (2) , 129-152
- https://doi.org/10.1017/s0960129500000694
Abstract
The categorical dual construction of initial abstract data types is studied. The resulting terminal co-algebras represent not only an implementation independent semantics of infinite objects such as streams, but also a suitable formal basis for object types in the sense of the object-oriented programming paradigm. Instances of object types may be interpreted as abstract automata with several state transition functions representing the methods of an object, and several output functions representing the attributes. By structuring the index set of the possibly infinite family of methods, and by structuring the output set, one can specify specific object types. For dealing simultaneously with complex data types and object types, it is not necessary to live within a cartesian closed category. In ccc's there are standard functional constructions for object types, but object types are not necessarily a higher-order construction. A world of data types and object types may be combined with the Rewriting Logic of Meseguer to obtain a formal basis for concurrent object systems.Keywords
This publication has 8 references indexed in Scilit:
- Multiparadigm logic programmingPublished by Springer Nature ,2005
- Terminal coalgebras in well-founded set theoryTheoretical Computer Science, 1993
- A new approach to abstract data types, I Informal developmentMathematical Structures in Computer Science, 1992
- Report on the programming language HaskellACM SIGPLAN Notices, 1992
- A logical theory of concurrent objectsPublished by Association for Computing Machinery (ACM) ,1990
- Three approaches to type structurePublished by Springer Nature ,1985
- Toposes, Triples and TheoriesPublished by Springer Nature ,1985
- Categories for the Working MathematicianPublished by Springer Nature ,1971