Infinitary Term Graph Rewriting

Term graph rewriting provides a formalism for implementing term rewriting in an efficient manner by avoiding duplication. Infinitary term rewriting has been introduced to study infinite term reduction sequences. Such infinite reductions can be used to reason about lazy evaluation. In this paper, we combine term graph rewriting and infinitary term rewriting thereby addressing both components of lazy evaluation: non-strictness and sharing. Moreover, we show how our theoretical underpinnings, based on a metric space and a complete semilattice, provides a unified framework for both term rewriting and term graph rewriting. This makes it possible to study the correspondences between these two worlds. As an example, we show how the soundness of term graph rewriting w.r.t. term rewriting can be extended to the infinitary setting.

[1]  Jan Willem Klop,et al.  On the adequacy of graph rewriting for simulating term rewriting , 1994, TOPL.

[2]  Maurice Nivat,et al.  The metric space of infinite trees. Algebraic and topological properties , 1980, Fundam. Informaticae.

[3]  Joseph A. Goguen,et al.  Initial Algebra Semantics and Continuous Algebras , 1977, J. ACM.

[4]  Stefan Blom,et al.  Skew confluence and the lambda calculus with letrec , 2002, Ann. Pure Appl. Log..

[5]  Richard Kennaway Infinitary rewriting and cyclic graphs , 1995, Electron. Notes Theor. Comput. Sci..

[6]  Marko C. J. D. van Eekelen,et al.  Term Graph Rewriting , 1987, PARLE.

[7]  Jan Willem Klop,et al.  Transfinite Reductions in Orthogonal Term Rewriting Systems , 1995, Inf. Comput..

[8]  Patrick Bahr Abstract Models of Transfinite Reductions , 2010, RTA.

[9]  Patrick Bahr,et al.  Modes of Convergence for Term Graph Rewriting , 2012, Log. Methods Comput. Sci..

[10]  Bruno Courcelle,et al.  Fundamental Properties of Infinite Trees , 1983, Theor. Comput. Sci..

[11]  Stefan Blom An Approximation Based Approach to Infinitary Lambda Calculi , 2004, RTA.

[12]  D. A. Turner,et al.  A new implementation technique for applicative languages , 1979, Softw. Pract. Exp..

[13]  J. R Kennaway On transfinite abstract reduction systems , 1992 .

[14]  Detlef Plump,et al.  Term graph rewriting , 1999 .

[15]  S. Peyton-jones,et al.  Implementation of Functional Languages , 1997, Lecture Notes in Computer Science.

[16]  Patrick Bahr Partial Order Infinitary Term Rewriting and Böhm Trees , 2010, RTA.

[17]  Zena M. Ariola,et al.  Lambda Calculus with Explicit Recursion , 1997, Inf. Comput..