Skip to main content
Log in

An Algorithm to Evaluate Quantified Boolean Formulae and Its Experimental Evaluation

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

Abstract

The high computational complexity of advanced reasoning tasks such as reasoning about knowledge and planning calls for efficient and reliable algorithms for reasoning problems harder than NP. In this paper we propose Evaluate, an algorithm for evaluating quantified Boolean formulae (QBFs). Algorithms for evaluation of QBFs are suitable for experimental analysis of problems that belong to a wide range of complexity classes, a property not easily found in other formalisms. Evaluate is a generalization of the Davis–Putnam procedure for SAT and is guaranteed to work in polynomial space. Before presenting the algorithm, we discuss several abstract properties of QBFs that we singled out to make it more efficient. We also discuss various options that were investigated about heuristics and data structures and report the main results of the experimental analysis. In particular, Evaluate is orders of magnitude more efficient than a nested backtracking procedure that resorts to a Davis–Putnam algorithm for handling the innermost set of quantifiers. Moreover, experiments show that randomly generated QBFs exhibit regular patterns such as phase transition and easy-hard-easy distribution.

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.

References

  1. Aspvall, B., Plass, M. F. and Tarjan, R. E.: A linear time algorithm for testing the truth of certain quantified Boolean formulas, Inform. Process. Lett. 8 (1979), 121–123.

    Google Scholar 

  2. Buro, M. and Kleine Büning, H.: Report on a SAT competition, EATCS Bull. 49 (1993), 143–151.

    Google Scholar 

  3. Cadoli, M., Giovanardi, A. and Schaerf, M.: Experimental analysis of the computational cost of evaluating quantified Boolean formulae, in Proceedings of the Fifth Conference of the Italian Association for Artificial Intelligence (AI*IA'97), Lecture Notes in Artif. Intell. 1321, Springer, 1997, pp. 207–218.

  4. Cadoli, M., Giovanardi, A. and Schaerf, M.: An algorithm to evaluate quantified Boolean formulae, in Proceedings of the Fifteenth National Conference on Artificial Intelligence (AAAI'98), 1998, pp. 262–267.

  5. Cadoli, M. and Schaerf, M.: A survey of complexity results for non-monotonic logics, J. Logic Programming 17 (1993), 127–160.

    Google Scholar 

  6. Crawford, J. and Auton, L.: Experimental results on the crossover point in random 3-SAT, Artificial Intelligence 81 (1996), 31–57.

    Google Scholar 

  7. Crawford, J. M. and Auton, L. D.: Experimental results on the crossover point in satisfiability problems, in Proceedings of the Eleventh National Conference on Artificial Intelligence (AAAI'93), 1993, pp. 21–27.

  8. Eiter, T. and Gottlob, G.: On the complexity of propositional knowledge base revision, updates and counterfactuals, Artificial Intelligence 57 (1992), 227–270.

    Google Scholar 

  9. Eiter, T. and Gottlob, G.: The complexity of logic-based abduction, J. ACM 42(1) (1995), 3–42.

    Google Scholar 

  10. Gent, I. P. and Walsh, T.: Beyond NP: The QSAT phase transition, in Proceedings of the Sixteenth National Conference on Artificial Intelligence (AAAI'99), 1999. Also available as APES report, APES-05-1998 from http://apes.cs.strath.ac.uk/reports/apes-05-1998.ps. gz.

  11. Giunchiglia, E., Giunchiglia, F., Sebastiani, R. and Tacchella, A.: More evaluation of decision procedures formodal logics, in Proceedings of the Sixth International Conference on Principles of Knowledge Representation and Reasoning (KR'98), 1998, pp. 626–635.

  12. Giunchiglia, F. and Sebastiani, R.: Building decision procedures for modal logics from propositional decision procedures — the case study of modal K, in Proceedings of the Thirteenth International Conference on Automated Deduction (CADE'96), 1996a, pp. 583–597.

  13. Giunchiglia, F. and Sebastiani, R.: A SAT-based decision procedure for ALC, in Proceedings of the Fifth International Conference on the Principles of Knowledge Representation and Reasoning (KR'96), 1996b, pp. 304–314.

  14. Halpern, J. Y.: The effect of bounding the number of primitive propositions and the depth of nesting on the complexity of modal logic, Artificial Intelligence 75(2) (1995), 361–372.

    Google Scholar 

  15. Horrocks, I.: Using an expressive description logic: FaCT or fiction?, in Proceedings of the Sixth International Conference on Principles of Knowledge Representation and Reasoning (KR'98), 1998, pp. 636–647.

  16. Horrocks, I. and Patel-Schneider, P. F.: Optimising propositional modal satisfiability for description logic subsumption, in Proceedings of AISC-98, 1998.

  17. Hustadt, U. and Schmidt, R. A.: On evaluating decision procedures for modal logic, in Proceedings of the Fifteenth International Joint Conference on Artificial Intelligence (IJCAI'97), 1997, pp. 202–207.

  18. Kautz, H. A. and Selman, B.: Pushing the envelope: Planning, propositional logic, and stochastic search, in Proceedings of the Thirteenth National Conference on Artificial Intelligence (AAAI'96), 1996, pp. 1194–1201.

  19. Kleine Büning, H., Karpinski, M. and Flögel, A.: Resolution for quantified Boolean formulas, Inform. and Comput. 117 (1995), 12–18.

    Google Scholar 

  20. Rintanen, J.: Improvements to the evaluation of quantified Boolean formulae, in Proceedings of the Sixteenth International Joint Conference on Artificial Intelligence (IJCAI'99), 1999, pp. 1192–1197.

  21. Selman, B., Levesque, H. and Mitchell, D.: A new method for solving hard satisfiability problems, in Proceedings of the Tenth National Conference on Artificial Intelligence (AAAI'92), 1992, pp. 440–446.

  22. Selman, B., Mitchell, D. and Levesque, H.: Generating hard satisfiability problems, Artificial Intelligence 81 (1996), 17–29.

    Google Scholar 

  23. Stockmeyer, L. J.: The polynomial-time hierarchy, Theoret. Comput. Sci. 3 (1976), 1–22.

    Google Scholar 

  24. Stockmeyer, L. J. and Meyer, A. R.: Word problems requiring exponential time, in Proceedings of the Fifth ACM Symposium on Theory of Computing (STOC'73), 1973, pp. 1–9.

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Cadoli, M., Schaerf, M., Giovanardi, A. et al. An Algorithm to Evaluate Quantified Boolean Formulae and Its Experimental Evaluation. Journal of Automated Reasoning 28, 101–142 (2002). https://doi.org/10.1023/A:1015019416843

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1023/A:1015019416843

Navigation