Hostname: page-component-7b7567c8c-2n9c9 Total loading time: 0 Render date: 2026-11-15T10:28:22.617Z Has data issue: false hasContentIssue false

The algebra of recursive graph transformation language UnCAL: complete axiomatisation and iteration categorical semantics

Published online by Cambridge University Press:  24 October 2016

MAKOTO HAMANA
Affiliation:
Department of Computer Science, Gunma University, Kiryu, Japan Email: hamana@cs.gunma-u.ac.jp
KAZUTAKA MATSUDA
Affiliation:
Graduate School of Information Sciences, Tohoku University, Sendai, Japan Email: kztk@ecei.tohoku.ac.jp
KAZUYUKI ASADA
Affiliation:
Department of Computer Science, University of Tokyo, Tokyo, Japan Email: asada@kb.is.s.u-tokyo.ac.jp
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

The aim of this paper is to provide mathematical foundations of a graph transformation language, called UnCAL, using categorical semantics of type theory and fixed points. About 20 years ago, Buneman et al. developed a graph database query language UnQL on the top of a functional meta-language UnCAL for describing and manipulating graphs. Recently, the functional programming community has shown renewed interest in UnCAL, because it provides an efficient graph transformation language which is useful for various applications, such as bidirectional computation.

In order to make UnCAL more flexible and fruitful for further extensions and applications, in this paper, we give a more conceptual understanding of UnCAL using categorical semantics. Our general interest of this paper is to clarify what is the algebra of UnCAL. Thus, we give an equational axiomatisation and categorical semantics of UnCAL, both of which are new. We show that the axiomatisation is complete for the original bisimulation semantics of UnCAL. Moreover, we provide a clean characterisation of the computation mechanism of UnCAL called ‘structural recursion on graphs’ using our categorical semantics. We show a concrete model of UnCAL given by the λG-calculus, which shows an interesting connection to lazy functional programming.

Information

Type
Paper
Copyright
Copyright © Cambridge University Press 2016