Skip to main content

Proving Failure of Queries for Definite Logic Programs Using XSB-Prolog

  • Conference paper
Logic for Programming and Automated Reasoning (LPAR 1999)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 1705))

  • 275 Accesses

Abstract

Proving failure of queries for definite logic programs can be done by constructing a finite model of the program in which the query is false. A general purpose model generator for first order logic can be used for this. A recent paper presented at PLILP98 shows how the peculiarities of definite programs can be exploited to obtain a better solution. There a procedure is described which combines abduction with tabulation and uses a meta-interpreter for heuristic control of the search. The current paper shows how similar results can be obtained by direct execution under the standard tabulation of the XSB-Prolog system. The loss of control is compensated for by better intelligent backtracking and more accurate failure analysis.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. M. Bruynooghe. Solving combinatorial search problems by intelligent backtracking. Information Processing Letters, 12(1):36–39, Feb. 1981.

    Article  Google Scholar 

  2. M. Bruynooghe, H. Vandecasteele, D. A. de Waal, and M. Denecker. Detecting unsolvable queries for definitive logic programs. In C. Palamidessi, H. Glaser, and K. Meinke, editors, Principles of Declarative Programming, 10th International Symposium, volume 1490 of Lecture Notes in Computer Science, pages 118–133. Springer Verlag, Sept. 1998.

    Chapter  Google Scholar 

  3. M. Bruynooghe, H. Vandecasteele, D. A. de Waal, and M. Denecker. Detecting unsolvable queries for definitive logic programs. Journal of Functional and Logic Programming, 1999. To Appear.

    Google Scholar 

  4. W. Chen and D. S. Warren. Tabled evaluation with delaying for general logic programs. Journal of the ACM, 43(1):20–74, Jan. 1996.

    Article  MATH  MathSciNet  Google Scholar 

  5. M. Codish and B. Demoen. Analyzing logic programs using “PROP”-ositional logic programs and a magic wand. Journal of Logic Programming, 25(3):249–274, Dec. 1995.

    Article  MATH  MathSciNet  Google Scholar 

  6. J. W. Lloyd. Foundations of Logic Programming. Springer-Verlag, second edition, 1987.

    Google Scholar 

  7. N. Peltier. A new method for automated finite model building exploiting failures and symmetries. Journal of Logic and Computation, 8(4):511–543, 1998.

    Article  MATH  MathSciNet  Google Scholar 

  8. J. A. Robinson. Automatic deduction with hyper-resolution. Int. Journal of Computer Math., 1:227–234, 1965.

    MATH  Google Scholar 

  9. K. Sagonas, T. Swift, and D. S. Warren. XSB as an efficient deductive database engine. SIGMOD Record (ACM Special Interest Group on Management of Data), 23(2):442–453, June 1994.

    Google Scholar 

  10. J. Slaney. Finder version 3.0-notes and guides. Technical report, Centre for Information Science Research, Australian National University, July 1995.

    Google Scholar 

  11. C. B. Suttner and G. Sutcliffe. The TPTP problem library (TPTP v2.1.0). Report AR-97-04, Fakultät für Informatik der Technischen Universität München, 1997.

    Google Scholar 

  12. J. Zhang and H. Zhang. SEM: a system for enumerating models. In C. S. Mellish, editor, Proceedings of the Fourteenth International Joint Conference on Artificial Intelligence, pages 298–303, San Mateo, Aug. 1995. Morgan Kaufmann.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1999 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Pelov, N., Bruynooghe, M. (1999). Proving Failure of Queries for Definite Logic Programs Using XSB-Prolog. In: Ganzinger, H., McAllester, D., Voronkov, A. (eds) Logic for Programming and Automated Reasoning. LPAR 1999. Lecture Notes in Computer Science(), vol 1705. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-48242-3_22

Download citation

  • DOI: https://doi.org/10.1007/3-540-48242-3_22

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-66492-5

  • Online ISBN: 978-3-540-48242-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics