skip to main content
article

Knuth--bendix constraint solving is NP-complete

Published:01 April 2005Publication History
Skip Abstract Section

Abstract

We show the NP-completeness of the existential theory of term algebras with the Knuth--Bendix order by giving a nondeterministic polynomial-time algorithm for solving Knuth--Bendix ordering constraints.

References

  1. Baader, F. and Nipkow, T. 1998. Term Rewriting and All That. Cambridge University Press, Cambridge, mass.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Belegradek, O. 1988. Model theory of locally free algebras (in Russian). In Model Theory and its Applications. Trudy Instituta Matematiki, vol. 8. Nauka, Novosibirsk, 3--24. (English translation in Translations of the American Mathematical Society.)]]Google ScholarGoogle Scholar
  3. Comon, H. 1990. Solving symbolic ordering constraints. Int. J. Found. Comput. Sci. 1, 4, 387--411.]]Google ScholarGoogle ScholarCross RefCross Ref
  4. Comon, H. and Lescanne, P. 1989. Equational problems and disunification. Journal of Symbolic Computations 7, 3, 4, 371--425.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Comon, H. and Treinen, R. 1994. Ordering constraints on trees. In Trees in Algebra and Programming: CAAP'94, S. Tison, Ed. Lecture Notes in Computer Science, vol. 787. Springer-Verlag, New York, 1--14.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Comon, H. and Treinen, R. 1997. The first-order theory of lexicographic path orderings is undecidable. Theoret. Comput. Sci. 176, 1--2, 67--87.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Dershowitz, N. 1982. Orderings for term rewriting systems. Theoret. Comput. Sci. 17, 279--301.]]Google ScholarGoogle ScholarCross RefCross Ref
  8. Detlefs, D. and Forgaard, R. 1985. A procedure for automatically proving the termination of a set of rewrite rules. In Rewriting Techniques and Applications, First International Conference, RTA-85 (Dijon, France), J.-P. Jouannaud, Ed. Lecture Notes in Computer Science, vol. 202. Springer-Verlag, New York, 255--270.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Dick, J., Kalmus, J., and Martin, U. 1990. Automating the Knuth--Bendix ordering. Acta Inf. 28, 2, 95--119.]]Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Ganzinger, H. and Nieuwenhuis, R. 2001. Constraints and theorem proving. In Constraints in Computational Logics, International Summer School, September 5--8, 1999, Gif-sur-Yvette, France, Edition, H. Comon, C. Marché, and R. Treinen, Eds. Lecture Notes in Computer Science, vol. 2002. Springer-Verlag, New York, 159--201.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Hodges, W. 1993. Model theory. Cambridge University Press, Cambridge, Mass.]]Google ScholarGoogle Scholar
  12. Jouannaud, J.-P. and Okada, M. 1991. Satisfiability of systems of ordinal notations with the subterm property is decidable. In Automata, Languages and Programming, 18th International Colloquium, ICALP'91 (Madrid, Spain), J. Albert, B. Monien, and M. Rodríguez-Artalejo, Eds. Lecture Notes in Computer Science, vol. 510. Springer-Verlag, New York, 455--468.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Kamin, S. and Lévy, J.-J. 1980. Attempts for generalizing the recursive path orderings. Unpublished manuscript. (Available on the Web page of Pierre Lescanne: http.//perso.ens-lyon.fr/pierre.lescanne/not accessible.html.)]]Google ScholarGoogle Scholar
  14. Kirchner, H. 1995. On the use of constraints in automated deduction. In Constraint Programming: Basics and Tools, A. Podelski, Ed. Lecture Notes in Computer Science, vol. 910. Springer-Verlag, New York, 128--146.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Knuth, D. and Bendix, P. 1970. Simple word problems in universal algebras. In Computational Problems in Abstract Algebra, J. Leech, Ed. Pergamon Press, Oxford, 263--297.]]Google ScholarGoogle Scholar
  16. Korovin, K. and Voronkov, A. 2000. A decision procedure for the existential theory of term algebras with the Knuth--Bendix ordering. In Proceedings of the 15th Annual IEEE Symposium on Logic in Computer Science, (LICS'00). IEEE Computer Society Press, Los Alamitos, California, 291--302.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Korovin, K. and Voronkov, A. 2001. Verifying orientability of rewrite rules using the Knuth--Bendix order. In Rewriting Techniques and Applications, 12th International Conference, RTA 2001, A. Middeldorp, Ed. Lecture Notes in Computer Science, vol. 2051. Springer-Verlag, New York, 137--153. (Journal version: {Korovin and Voronkov 2003b}.)]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Korovin, K. and Voronkov, A. 2002. The decidability of the first-order theory of the Knuth--Bendix order in the case of unary signatures. In Proceedings of the 22th Conference on Foundations of Software Technology and Theoretical Computer Science, (FSTTCS'02). Lecture Notes in Computer Science, vol. 2556. Springer-Verlag, New York, 230--240.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Korovin, K. and Voronkov, A. 2003a. Orienting equalities with the Knuth--Bendix order. In Proceedings of the 18th IEEE Symposium on Logic in Computer Science, (LICS'03). IEEE Computer Society Press, Los Alamitos, Calif., 75--84.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Korovin, K. and Voronkov, A. 2003b. Orienting rewrite rules with the Knuth--Bendix order. Inf. Comput. 183, 2, 165--186.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Krishnamoorthy, M. and Narendran, P. 1985. On recursive path ordering. Theoret. Comput. Sci. 40, 323--328.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. Kunen, K. 1987. Negation in logic programming. J. Logic Prog. 4, 289--308.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Lepper, I. 2001. Derivations lengths and order types of Knuth--Bendix orders. Theoret. Comput. Sci. 269, 1--2, 433--450.]]Google ScholarGoogle ScholarCross RefCross Ref
  24. Lescanne, P. 1984. Term rewriting systems and algebra. In Proceedings of the 7th International Conference on Automated Deduction, CADE-7, R. Shostak, Ed. Lecture Notes in Computer Science, vol. 170. Springer Verlag, New York, 166--174.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. Löchner, B. and Hillenbrand, T. 2002. A phytography of WALDMEISTER. AI Commun. 15, 2--3, 127--133.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. Maher, M. 1988. Complete axiomatizations of the algebras of finite, rational and infinite trees. In Proceedings of the IEEE Conference on Logic in Computer Science (LICS). IEEE Computer Society Press, Los Alamitos, Calif., 348--357.]]Google ScholarGoogle ScholarCross RefCross Ref
  27. Maĺcev, A. 1961. On the elementary theories of locally free universal algebras. Soviet Math. Dokl. 2, 3, 768--771.]]Google ScholarGoogle Scholar
  28. Martin, U. 1987. How to choose weights in the Knuth--Bendix ordering. In Rewriting Technics and Applications. Lecture Notes in Computer Science, vol. 256. Springer-Verlag, New York, 42--53.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. Narendran, P. and Rusinowitch, M. 2000. The theory of total unary RPO is decidable. In Proceedings of 1st International Conference on Computational Logic, CL'2000. Lecture Notes in Computer Science, vol. 1861. Springer-Verlag, New York, 660--672.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. Narendran, P., Rusinowitch, M., and Verma, R. 1999. RPO constraint solving is in NP. In Computer Science Logic, 12th International Workshop, CSL'98, G. Gottlob, E. Grandjean, and K. Seyr, Eds. Lecture Notes in Computer Science, vol. 1584. Springer-Verlag, New York, 385--398.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. Nieuwenhuis, R. 1993. Simple LPO constraint solving methods. Inf. Proc. Lett. 47, 65--69.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  32. Nieuwenhuis, R. 1999. Rewrite-based deduction and symbolic constraints. In Automated Deduction---CADE-16, 16th International Conference on Automated Deduction (Trento, Italy). H. Ganzinger, Ed. Lecture Notes in Artificial Intelligence, vol. 1632. Springer-Verlag, New York, 302--313.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  33. Nieuwenhuis, R. and Rivero, J. 1999. Solved forms for path ordering constraints. In Proceedings of the 10th International Conference on Rewriting Techniques and Applications (RTA) (Trento, Italy). Lecture Notes in Computer Science, vol. 1631. Springer-Verlag, New York, 1--15.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  34. Nieuwenhuis, R. and Rubio, A. 2001. Paramodulation--based theorem proving. In Handbook of Automated Reasoning, A. Robinson and A. Voronkov, Eds. Vol. I. Elsevier Science, Amsterdam, The Netherlands, Chap. 7, 371--443.]]Google ScholarGoogle Scholar
  35. Riazanov, A. and Voronkov, A. 2002. The design and implementation of Vampire. AI Commun. 15, 2--3, 91--110.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  36. Schulz, S. 2002. E---A brainiac theorem prover. AI Commun. 15, 2--3, 111--126.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  37. Venkataraman, K. N. 1987. Decidability of the purely existential fragment of the theory of term algebras. J. ACM 34, 2, 492--510.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  38. Weidenbach, C., Afshordel, B., Brahm, U., Cohrs, C., Engel, T., Keen, E., Theobalt, C., and Topic, D. 1999. System description: SPASS version 1.0.0. In Automated Deduction---CADE-16, 16th International Conference on Automated Deduction (Trento, Italy). H. Ganzinger, Ed. Lecture Notes in Artificial Intelligence, vol. 1632. Springer-Verlag, New York, 378--382.]] Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Knuth--bendix constraint solving is NP-complete

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      • Published in

        cover image ACM Transactions on Computational Logic
        ACM Transactions on Computational Logic  Volume 6, Issue 2
        April 2005
        278 pages
        ISSN:1529-3785
        EISSN:1557-945X
        DOI:10.1145/1055686
        Issue’s Table of Contents

        Copyright © 2005 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 1 April 2005
        Published in tocl Volume 6, Issue 2

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • article
      • Article Metrics

        • Downloads (Last 12 months)7
        • Downloads (Last 6 weeks)0

        Other Metrics

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader