Skip to main content

Exponential improvement of exhaustive backtracking: data structure and implementation

  • Conference paper
  • First Online:
Book cover 6th Conference on Automated Deduction (CADE 1982)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 138))

Included in the following conference series:

Abstract

The paper presents the data structure enabling an implementation of an efficient backtracking method for plan-based deduction. The structure consists of two parts. Static structure combines information about the initial set of clauses and unifiers. Dynamic structure records information about the history of the deduction process (plan graph), about the unifications built in this process (graph of constraints), and about the conflicts encountered. Dynamic structure consists purely of pointers and integers and is extremely economical.

The system operates on units. The units describe attempts to find the solution and reside on disk. A procedure controlling traffic of units between disk and memory and guaranteeing completeness of the search is presented. Some other procedures (development and pruning of plans, development of constraints graph and conflict detection) are also discussed.

The last section presents an example of a problem and follows its solution by a conventional PROLOG interpreter and by our system.

This work was supported by National Sciences and Engineering Research Council of Canada grants NO A5111 and E4450.

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Bibliography

  1. L. D. Baxter, “A practically linear unification algorithm”, University of Waterloo, CS-76-13, 1976.

    Google Scholar 

  2. C. L. Chang, R. C. T. Lee, Symbolic Logic and Mechanical Theorem Proving”, NY, Academic Press, 1973.

    Google Scholar 

  3. P. T. Cox, “Representational Economy in Mechanical Theorem-Prover”, Proc. 4th Workshop in Automat. Deduction, Austin, TX, Feb. 1979.

    Google Scholar 

  4. P. T. Cox, “Deduction Plans: A Graphical Proof Procedure for the First-order Predicate Calculus”, Ph.D. dissertation, Dept. Computer Sci., University of Waterloo, 1977.

    Google Scholar 

  5. P. T. Cox, T. Pietrzykowski, “Deduction Plans: A Basis for Intelligent Backtracking”, IEEE Trans. on Pattern Analysis and Machine Intelligence, Vol.3, Jan. 1981.

    Google Scholar 

  6. D. Forster, “GTP: A Graph-based Theorem Prover”, Master Thesis, University of Waterloo, 1980.

    Google Scholar 

  7. L. M. Pereira, F. C. N. Pereira, D. H. D. Warren, “User's Guide to DEC system-10 PROLOG”, LNEC, Lisbon, 1978.

    Google Scholar 

  8. L. M. Pereira, “Selective Backtracking for Logic Programs”, proceedings of CADE-5, Les Arcs, 1980.

    Google Scholar 

  9. T. Pietrzykowski, S. Matwin, “Exponential Improvement of Efficient Backtracking: A Strategy for Plan-based Deduction”, this volume.

    Google Scholar 

  10. G. Roberts, “Waterloo Prolog User's Manual”, University of Waterloo, 1980.

    Google Scholar 

  11. P. Roussel, “PROLOG: manuel de reference et d'utilization”, GIA, Marseille-Luminy, 1975.

    Google Scholar 

  12. D. H. D. Warren, Implementing PROLOG, Department of Artificial Intelligence, Edinburgh University, 1976.

    Google Scholar 

  13. P. T. Cox, “Deduction plans: A graphical proof procedure for the first-order predicate calculus ”Ph.D.dissertation, Dep. Comput. Sci., University of Waterloo, 1977.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

D. W. Loveland

Rights and permissions

Reprints and permissions

Copyright information

© 1982 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Matwin, S., Pietrzykowski, T. (1982). Exponential improvement of exhaustive backtracking: data structure and implementation. In: Loveland, D.W. (eds) 6th Conference on Automated Deduction. CADE 1982. Lecture Notes in Computer Science, vol 138. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0000063

Download citation

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

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-11558-8

  • Online ISBN: 978-3-540-39240-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics