Consider Only General Superpositions in Completion Procedures

Superposition or critical pair computation is one of the key operations in the Knuth-Bendix completion procedure and its extensions. We propose a practical technique which can save computation of some critical pairs where the most general unifiers used to generate these critical pairs are less general than the most general unifiers used to generate other joinable critical pairs. Consequently, there is no need to superpose identical subterms at different positions in a rule more than once and there is also no need to superpose symmetric subterms in a rule more than once. The combination of this technique with other critical pair criteria proposed in the literature is also discussed. The technique has been integrated in the completion procedures for ordinary term rewriting systems as well as term rewriting systems with associative-commutative operators implemented in RRL, Rewrite Rule Laboratory. Performance of the completion procedures with and without this technique is compared on a number of examples.

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

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

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

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

[5]  Nachum Dershowitz,et al.  Critical-pair criteria for the Knuth-Bendix completion procedure , 1986, SYMSAC '86.

[6]  Mark E. Stickel,et al.  A Case Study of Theorem Proving by the Knuth-Bendix Method: Discovering That x³=x Implies Ring Commutativity , 1984, CADE.

[7]  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).

[8]  Larry Wos,et al.  Automated reasoning - 33 basic research problems , 1988 .

[9]  Franz Winkler Reducing the Complexity of the Knuth-Bendix Completion-Algorithm: A "Unification" of Different Approaches , 1985, European Conference on Computer Algebra.

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

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

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

[13]  Nachum Dershowitz,et al.  Critical Pair Criteria for Completion , 1988, J. Symb. Comput..

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

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

[16]  Mark E. Stickel A Complete Unification Algorithm for Associative-Commutative Functions , 1975, IJCAI.

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

[18]  Robert L. Veroff Canonicalization and Demodulation , 1981 .

[19]  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.

[20]  Donald E. Knuth,et al.  Simple Word Problems in Universal Algebras††The work reported in this paper was supported in part by the U.S. Office of Naval Research. , 1970 .

[21]  Nachum Dershowitz,et al.  Orderings for Equational Proofs , 1986, LICS.

[22]  J. Van Leeuwen,et al.  Handbook of theoretical computer science - Part A: Algorithms and complexity; Part B: Formal models and semantics , 1990 .