Skip to main content
Log in

Intractable unifiability problems and backtracking

  • Published:
Journal of Automated Reasoning Aims and scope Submit manuscript

Abstract

Restrictions of the problem of finding all maximal unifiable or minimal nonunifiable subsets to those of certain sizes are shown to be NP-hard, and consequently inappropriate in general for reducing thrashing by intelligent backtracking in resolution theorem provers and logic program executions. We also show that existing backtrack methods based on the computation of all maximal unifiable subsets of assignments as a means to avoid thrashing are intractable because the solution length of these subsets can increase exponentially with the input length, and we give a corresponding result for minimal nonunifiability. The results apply not only to standard unification, but to a characterized collection of unification algorithms which includes unification without the occurs check. This now justifies the necessity for approximate or heuristic approaches to reduce thrashing in resolution theorem provers and the execution of logic programs.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Bruynooghe, M. and Pereira, L. M., ‘Deduction Revision by Intelligent Backtracking,’ in: J. Campbell (ed.), Implementations of Prolog (Ellis Horwood, Chichester, 1984) pp. 194–215.

    Google Scholar 

  2. Chen, T. Y., Lassez, J.-L. and Port, G. S., ‘Maximal Unifiable Subsets and Minimal Non-unifiable Subsets’, New Generation Computing 4, 133–152 (1986).

    Google Scholar 

  3. Clocksin, W. F. and Mellish, C. S., Programming in Prolog, Third Edition, Springer, Berlin (1987).

    Google Scholar 

  4. Cox, P. T., ‘Finding Backtrack Points for Intelligent Backtracking’, in: J. Campbell, (ed.), Implementations of Prolog (Ellis Horwood, Chichester, 1984) pp. 216–233.

    Google Scholar 

  5. Cox, P. T., ‘On Determining the Causes of Nonunifiability’, Journal of Logic Programming 4, 33–58 (1987).

    Google Scholar 

  6. Dilger, W. and Janson, A., ‘Intelligent Backtracking in Deduction Systems by Means of Extended Unification Graphs’, Journal of Automated Reasoning 2 (1), 43–62 (1986).

    Google Scholar 

  7. Forster, D. R., GTP: A Graph Based Theorem Prover, M.S. Thesis, University of Waterloo, Ontario, Canada, 1982.

  8. Forsythe, K. and Matwin, S., ‘Implementation Strategies for Plan-Based Deduction’, Proceedings of the Seventh International Conference on Automated Deduction, R. E. Shostak (ed.), Napa, California, USA., Lecture Notes in Computer Science, Springer 170, 426–444 (1984).

  9. Forsythe, K. and Matwin, S., ‘Copying of Dynamic Structures in a Pascal Environment’, Software-Practice and Experience 16 (4), 335–340 (April 1986).

    Google Scholar 

  10. Garey, M. R. and Johnson, D. S., Computers and Intractability: A Guide to the Theory of NP-Completeness, Freeman, San Francisco (1979).

    Google Scholar 

  11. Mackworth, A. K., ‘Consistency in Networks of Relations’, Artificial Intelligence 8, 99–118 (1977).

    Google Scholar 

  12. Matwin, S. and Pietrzykowski, T., ‘Intelligent Backtracking in Plan-Based Deduction’, IEEE Transactions on Pattern Analysis and Machine Intelligence 7 (6) 682–692 (1985).

    Google Scholar 

  13. Nilsson, N. J., Principles of Artificial Intelligence, Springer (1982).

  14. Paterson, M. S. and Wegman, M. N., ‘Linear Unification’, Journal of Computer and System Sciences 16, 158–167 (1978).

    Google Scholar 

  15. Sato, T., ‘An Algorithm for Intelligent Backtracking’, Proceedings of the RIMS Symposia on Software Science and Engineering, Lecture Notes in Computer Science, 147, Springer (1983).

  16. Schaefer, T. J., ‘The Complexity of Satisfiability Problems’, Conference Record of the Tenth Annual ACM Symposium on Theory of Computing, ACM, New York (1978) pp. 216–226.

  17. Wilf, H. S., ‘Backtrack: An O(I) Expected Time Algorithm for the Graph Coloring Problem’, Information Processing Letters 18, 119–121 (1984).

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Additional information

A version of this paper appears in Proceedings of the Third International Logic Programming Conference, London, Lecture Notes in Computer Science, Springer 225, 107–121 (1986).

Rights and permissions

Reprints and permissions

About this article

Cite this article

Wolfram, D.A. Intractable unifiability problems and backtracking. J Autom Reasoning 5, 37–47 (1989). https://doi.org/10.1007/BF00245020

Download citation

  • Received:

  • Accepted:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF00245020

Key words

Navigation