A new decidability technique for ground term rewriting systems with applications

Programming language interpreters, proving equations (e.g. x3 = x implies the ring is Abelian), abstract data types, program transformation and optimization, and even computation itself (e.g., turing machine) can all be specified by a set of rules, called a rewrite system. Two fundamental properties of a rewrite system are the confluence or Church--Rosser property and the unique normalization property. In this article, we develop a standard form for ground rewrite systems and the concept of standard rewriting. These concepts are then used to: prove a pumping lemma for them, and to derive a new and direct decidability technique for decision problems of ground rewrite systems. To illustrate the usefulness of these concepts, we apply them to prove: (i) polynomial size bounds for witnesses to violations of unique normalization and confluence for ground rewrite systems containing unary symbols and constants, and (ii) polynomial height bounds for witnesses to violations of unique normalization and confluence for arbitrary ground systems. Apart from the fact that our technique is direct in contrast to previous decidability results for both problems, which were indirectly obtained using tree automata techniques, this approach also yields tighter bounds for rewrite systems with unary symbols than the ones that can be derived with the indirect approach. Finally, as part of our results, we give a polynomial-time algorithm for checking whether a rewrite system has the unique normalization property for all subterms in the rules of the system.

[1]  Robert Nieuwenhuis,et al.  The confluence of ground term rewrite systems is decidable in polynomial time , 2001, Proceedings 2001 IEEE International Conference on Cluster Computing.

[2]  Hans Zantema,et al.  Termination of Term Rewriting: Interpretation and Type Elimination , 1994, J. Symb. Comput..

[3]  Michaël Rusinowitch,et al.  Algorithms and Reductions for Rewriting Problems , 1998, Fundam. Informaticae.

[4]  Jean-Pierre Jouannaud,et al.  Rewrite Systems , 1991, Handbook of Theoretical Computer Science, Volume B: Formal Models and Sematics.

[5]  Hubert Comon,et al.  Tree automata techniques and applications , 1997 .

[6]  A. Church,et al.  Some properties of conversion , 1936 .

[7]  Sophie Tison,et al.  Decidability of the Confluence of Finite Ground Term Rewrite Systems and of Other Related Term Rewrite Systems , 1990, Inf. Comput..

[8]  Helmut Seidl Deciding Equivalence of Finite Tree Automata , 1990, SIAM J. Comput..

[9]  Michio Oyamaguchi,et al.  The Church-Rosser Property for Ground Term-Rewriting Systems is Decidable , 1987, Theor. Comput. Sci..

[10]  Rakesh M. Verma Algorithms and reductions for rewriting problems II , 2002, Inf. Process. Lett..

[11]  Ashish Tiwari Deciding confluence of certain term rewriting systems in polynomial time , 2002, Proceedings 17th Annual IEEE Symposium on Logic in Computer Science.

[12]  David A. Plaisted,et al.  Polynomial Time Termination and Constraint Satisfaction Tests , 1993, RTA.

[13]  Sophie Tison,et al.  The theory of ground rewrite systems is decidable , 1990, [1990] Proceedings. Fifth Annual IEEE Symposium on Logic in Computer Science.