Only Prime Superpositions Need be Considered in the Knuth-Bendix Completion Procedure

The Knuth and Bendix test for local confluence of a term rewriting system involves generating superpositions of the left-hand sides, and for each superposition deriving a critical pair of terms and checking whether these terms reduce to the same term. We prove that certain superpositions, which are called composite because they can be split into other superpositions, do not have to be subjected to the critical-pair-joinability test; it suffices to consider only prime superpositions. As a corollary, this result settles a conjecture of Lankford that unblocked superpositions can be omitted. To prove the result, we introduce new concepts and proof techniques which appear useful for other proofs relating to the Church-Rosser property. This test has been implemented in the completion procedures for ordinary term rewriting systems as well as term rewriting systems with associative-commutative operators. Performance of the completion procedures with this test and without the test are compared on a number of examples in the Rewrite Rule Laboratory (RRL) being developed at General Electric Research and Development Center.

[1]  J. Hullot A Catalogue of Canonical Term Rewriting Systems. , 1980 .

[2]  Deepak Kapur,et al.  Proof by Consistency , 1987, Artif. Intell..

[3]  David R. Musser,et al.  On proving inductive properties of abstract data types , 1980, POPL '80.

[4]  James R. Slagle,et al.  Automated Theorem-Proving for Theories with Simplifiers Commutativity, and Associativity , 1974, JACM.

[5]  W. W. Bledsoe,et al.  Non-Resolution Theorem Proving , 1977, Artif. Intell..

[6]  Pierre Lescanne,et al.  Computer experiments with the REVE term rewriting system generator , 1983, POPL '83.

[7]  Mark E. Stickel,et al.  Complete Sets of Reductions for Some Equational Theories , 1981, JACM.

[8]  Paliath Narendran,et al.  Proof by Induction Using Test Sets , 1986, CADE.

[9]  David R. Musser,et al.  Abstract Data Type Specification in the Affirm System , 1980, IEEE Transactions on Software Engineering.

[10]  D. Knuth,et al.  Simple Word Problems in Universal Algebras , 1983 .

[11]  Gerard Huet,et al.  Conflunt reductions: Abstract properties and applications to term rewriting systems , 1977, 18th Annual Symposium on Foundations of Computer Science (sfcs 1977).

[12]  Jean-Pierre Jouannaud,et al.  Proofs by induction in equational theories without constructors , 1985, Bull. EATCS.

[13]  Gérard P. Huet,et al.  Proofs by Induction in Equational Theories with Constructors , 1980, FOCS.

[14]  François Fages,et al.  Associative-Commutative Unification , 1984, CADE.

[15]  Bruno Buchberger,et al.  A criterion for detecting unnecessary reductions in the construction of Groebner bases , 1979, EUROSAM.

[16]  Franz Winkler The Church-Rosser property in computer algebra and special theorem proving: an investigation of critical-pair/completion algorithms (Ph.D. thesis) , 1984, SIGS.

[17]  Gérard P. Huet,et al.  Confluent Reductions: Abstract Properties and Applications to Term Rewriting Systems , 1980, J. ACM.

[18]  Hélène Kirchner,et al.  Completion of a set of rules modulo a set of equations , 1984, SIAM J. Comput..

[19]  Mark E. Stickel,et al.  A Unification Algorithm for Associative-Commutative Functions , 1981, JACM.

[20]  Zohar Manna,et al.  Proving termination with multiset orderings , 1979, CACM.

[21]  Deepak Kapur,et al.  Rewrite Rule Theory and Abstract Data Type Analysis , 1982, EUROCAM.

[22]  Deepak Kapur,et al.  RRL: A Rewrite Rule Laboratory , 1986, CADE.

[23]  Albrecht Fortenbacher An algebraic approach to unification under associativity and commutativity , 1985 .

[24]  Wolfgang Küchlin,et al.  A Confluence Criterion Based on the Generalised Neman Lemma , 1985, European Conference on Computer Algebra.

[25]  Bruno Buchberger,et al.  A criterion for eliminating unnecessary reductions in the Knuth-Bendix algorithm , 1983, SIGS.