We present two type systems for graph rewriting: conventional typing and (polymorphic) uniqueness typing. The latter is introduced as a natural extension of simple algebraic and higher-order uniqueness typing. The systems are given in natural deduction style using an inductive syntax of graph denotations with familiar constructs such as let and case . The conventional system resembles traditional Curry-style typing systems in functional programming languages. Uniqueness typing extends this with reference count information. In both type systems, typing is preserved during evaluation, and types can be determined effectively. Due to the present formalization, the system can easily be compared with other proposals based on linear and affine logic.
Author and article information
University of Nijmegen, Computing Science Institute
Toernooiveld 1, 6525 ED Nijmegen, The Netherlands