Primitive Direcursion and Difunctorial Semantics of Typed Object Calculus
2007 (English)Doctoral thesis, comprehensive summary (Other academic)
In the first part of this thesis, we contribute to the semantics of typed object calculus by giving (a) a category-theoretic denotational semantics using partial maps making use of an algebraic compactness assumption, (b) a notion of "wrappers'' by which algebraic datatypes can be represented as object types, and (c) proofs of computational soundness and adequacy of typed object calculus via Plotkin's FPC (with lazy operational semantics), thus making models of FPC suitable also for first-order typed object calculus (with recursive objects supporting method update, but not subtyping). It follows that a valid equation in the model induces operationally congruent terms in the language, so that program algebras can be studied. For (c), we also develop an extended first-order typed object calculus, and prove subject reduction. The second part of the thesis concerns recursion principles on datatypes including the untyped lambda calculus as a special case. Freyd showed that in certain domain theoretic categories, locally continuous functors have minimal invariants, which possess a structure that he termed dialgebra. This gives rise to a category of dialgebras and homomorphisms, where the minimal invariants are initial, inducing a powerful recursion scheme (direcursion) on a complete partial order. We identify a problem that appears when we translate (co)iterative functions to direcursion, and as a solution to this problem we develop a recursion scheme (primitive direcursion). This immediately gives a number of examples of direcursive functions, improving on the situation in the literature where only a few examples have appeared. By means of a case study, this line of work is connected to object calculus models.
Place, publisher, year, edition, pages
Stockholm: Numerisk analys och datalogi (NADA), (tills m KTH) , 2007. , 185 p.
Trita-CSC-A, ISSN 1653-5723 ; 22
denotational semantics, axiomatic domain theory, coalgebra, primitive (co)recursion, object-based programming, typed object calculus
Research subject Computer Science
IdentifiersURN: urn:nbn:se:su:diva-7208ISBN: 978-91-7155-550-2OAI: oai:DiVA.org:su-7208DiVA: diva2:197860
2008-01-09, Lecture Theatre F3, Royal Institute of Technology, Lindstedtsvägen 26, Stockholm, 14:00
Power, John, Dr
Meinke, Karl, Professor
Delarbete II är även publicerad som Teknisk rapport, 2007, Oct, No2.2007-12-042007-12-03Bibliographically approved
List of papers