Modes of Convergence for Term Graph Rewriting

Term graph rewriting provides a simple mechanism to finitely represent restricted forms of infinitary term rewriting. The correspondence between infinitary term rewriting and term graph rewriting has been studied to some extent. However, this endeavour is impaired by the lack of an appropriate counterpart of infinitary rewriting on the side of term graphs. We aim to fill this gap by devising two modes of convergence based on a partial order respectively a metric on term graphs. The thus obtained structures generalise corresponding modes of convergence that are usually studied in infinitary term rewriting. We argue that this yields a common framework in which both term rewriting and term graph rewriting can be studied. In order to substantiate our claim, we compare convergence on term graphs and on terms. In particular, we show that the modes of convergence on term graphs are conservative extensions of the corresponding modes of convergence on terms and are preserved under unravelling term graphs to terms. Moreover, we show that many of the properties known from infinitary term rewriting are preserved. This includes the intrinsic completeness of both modes of convergence and the fact that convergence via the partial order is a conservative extension of the metric convergence.

[1]  William M. Farmer,et al.  Redex Capturing in Term Graph Rewriting , 1990, Int. J. Found. Comput. Sci..

[2]  Peter Henderson,et al.  A lazy evaluator , 1976, POPL.

[3]  Salvador Lucas Transfinite Rewriting Semantics for Term Rewriting Systems , 2001, RTA.

[4]  Jan Willem Klop,et al.  Infinitary Lambda Calculus , 1997, Theoretical Computer Science.

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

[6]  Simon L. Peyton Jones,et al.  The Implementation of Functional Programming Languages , 1987 .

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

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

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

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

[11]  Patrick Bahr,et al.  Modes of Convergence for Term Graph Rewriting , 2011, RTA.

[12]  Jakob Grue Simonsen Weak Convergence and Uniform Normalization in Infinitary Rewriting , 2010, RTA.

[13]  Gordon D. Plotkin,et al.  Concrete Domains , 1993, Theor. Comput. Sci..

[14]  John Hughes,et al.  Why Functional Programming Matters , 1989, Comput. J..

[15]  Nachum Dershowitz,et al.  Rewrite, Rewrite, Rewrite, Rewrite, Rewrite, . . , 1991, Theor. Comput. Sci..

[16]  Jan Willem Klop,et al.  Term Graph Rewriting , 1995, HOA.

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

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

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

[20]  Patrick Bahr Infinitary Term Graph Rewriting is Simple, Sound and Complete , 2012, RTA.

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

[22]  Marko C. J. D. van Eekelen,et al.  Functional Programming and Parallel Graph Rewriting , 1993 .

[23]  Stefan Kahrs,et al.  Infinitary rewriting: meta-theory and convergence , 2007, Acta Informatica.

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

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

[26]  Alfred V. Aho,et al.  Proceedings of the 6th ACM SIGACT-SIGPLAN symposium on Principles of programming languages , 1978 .

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

[28]  Patrick Bahr,et al.  Convergence in Infinitary Term Graph Rewriting Systems is Simple (Extended Abstract) , 2013, TERMGRAPH.

[29]  Enno Ohlebusch,et al.  Term Rewriting Systems , 2002 .

[30]  Stefan Blom,et al.  Skew and omega-Skew Confluence and Abstract Böhm Semantics , 2005, Processes, Terms and Cycles.