The Theory of Total Unary RPO Is Decidable

The Recursive Path Ordering (rpo) is a syntactic ordering on terms that has been widely used for proving termination of term-rewriting systems [7,20]. How to combine term-rewriting with ordered resolution and paramodulation is now well-understood and it has been successfully applied in many theorem-proving systems [11,16,21]. In this setting an ordering such as rpo is used both to orient rewrite rules and to select maximal literals to perform inferences on. In order to further prune the search space the ordering requirements on conditional inferences are better handled when they are treated as constraints [12,18]. Typically a non-orientable equation s = t will be split as two constrained rewrite rules: s → t| s > t and t → s| t > s. Such constrained rules are useless when the constraint is unsatisfiable. Therefore it is important for the efficiency of automated reasoning systems to investigate decision procedures for the theory of terms with ordering predicates. Other types of constraints can be introduced too such as disunification constraints [1]. It is often the case that they can be expressed with ordering constraints (although this might be inefficient). We prove that the first-order theory of the recursive path ordering is decidable in the case of unary signatures with total precedence. This solves a problem that was mentioned as open in [6]. The result has to be contrasted with the undecidability results of the lexicographic path ordering [6] for the case of symbols with arity ≥ 2 and total precedence and for the case of unary signatures with partial precedence. We recall that lexicographic path ordering (lpo) and the recursive path ordering and many other orderings such as [13,10] coincide in the unary case. Among the positive results it is known that the existential theory of total lpo is decidable [3,17]. The same result holds for the case of total rpo [8,15]. The proof technique we use for our decidability result might be interesting by itself. It relies on encoding of words as trees and then on building a tree automaton to recognize the rpo relation.

[1]  David A. Plaisted,et al.  Semantic Confluence Tests and Completion Methods , 1985, Inf. Control..

[2]  William McCune,et al.  Automated Deduction in Equational Logic and Cubic Curves , 1996, Lecture Notes in Computer Science.

[3]  C. Kirchner,et al.  Deduction with symbolic constraints , 1990 .

[4]  Max Dauchet,et al.  Encompassment Properties and Automata with Constraints , 1993, RTA.

[5]  Daniel J. Rosenkrantz,et al.  Sufficient-completeness, ground-reducibility and their complexity , 1992 .

[6]  Joachim Steinbach,et al.  Extensions and Comparison of Simplification Orderings , 1989, RTA.

[7]  Ralf Treinen,et al.  The First-Order Theory of Lexicographic Path Orderings is Undecidable , 1997, Theor. Comput. Sci..

[8]  Ursula Martin,et al.  The order types of termination orderings on monadic terms, strings and monadic terms, strings and multisets , 1993 .

[9]  Robert Nieuwenhuis,et al.  Simple LPO Constraint Solving Methods , 1993, Inf. Process. Lett..

[10]  Deepak Kapur,et al.  An Overview of Rewrite Rule Laboratory (RRL) , 1989, RTA.

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

[12]  Nachum Dershowitz,et al.  Orderings for term-rewriting systems , 1979, 20th Annual Symposium on Foundations of Computer Science (sfcs 1979).

[13]  Christoph Weidenbach,et al.  SPASS: Combining Superposition, Sorts and Splitting , 2000 .

[14]  Ursula Martin,et al.  The order types of termination orderings on monadic terms, strings and multisets , 1993, [1993] Proceedings Eighth Annual IEEE Symposium on Logic in Computer Science.

[15]  Michaël Rusinowitch,et al.  Decision problems in ordered rewriting , 1998, Proceedings. Thirteenth Annual IEEE Symposium on Logic in Computer Science (Cat. No.98CB36226).

[16]  Albert Rubio,et al.  Theorem Proving with Ordering Constrained Clauses , 1992, CADE.

[17]  Michaël Rusinowitch,et al.  RPO Constraint Solving Is in NP , 1998, CSL.

[18]  Pierre Lescanne,et al.  Some Properties of Decomposition Ordering, a Simplification Ordering to Prove Termination of Rewriting Systems , 1982, RAIRO Theor. Informatics Appl..

[19]  Paliath Narendran,et al.  A Path Ordering for Proving Termination of Term Rewriting Systems , 1985, TAPSOFT, Vol.1.

[20]  Nachum Dershowitz Orderings for Term-Rewriting Systems , 1979, FOCS.

[21]  H. Comon Solving Inequations in Term Algebras (Extended Abstract ) , 1990, LICS 1990.

[22]  Jean-Pierre Jouannaud,et al.  Satisfiability of Systems of Ordinal Notations with the Subterm Property is Decidable , 1991, ICALP.