QBF Modeling: Exploiting Player Symmetry for Simplicity and Efficiency

  • Ashish Sabharwal
  • Carlos Ansotegui
  • Carla P. Gomes
  • Justin W. Hart
  • Bart Selman
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4121)

Abstract

Quantified Boolean Formulas (QBFs) present the next big challenge for automated propositional reasoning. Not surprisingly, most of the present day QBF solvers are extensions of successful propositional satisfiability algorithms (SAT solvers). They directly integrate the lessons learned from SAT research, thus avoiding re-inventing the wheel. In particular, they use the standard conjunctive normal form (CNF) augmented with layers of variable quantification for modeling tasks as QBF. We argue that while CNF is well suited to “existential reasoning” as demonstrated by the success of modern SAT solvers, it is far from ideal for “universal reasoning” needed by QBF. The CNF restriction imposes an inherent asymmetry in QBF and artificially creates issues that have led to complex solutions, which, in retrospect, were unnecessary and sub-optimal. We take a step back and propose a new approach to QBF modeling based on a game-theoretic view of problems and on a dual CNF-DNF (disjunctive normal form) representation that treats the existential and universal parts of a problem symmetrically. It has several advantages: (1) it is generic, compact, and simpler, (2) unlike fully non-clausal encodings, it preserves the benefits of pure CNF and leverages the support for DNF already present in many QBF solvers, (3) it doesn’t use the so-called indicator variables for conversion into CNF, thus circumventing the associated illegal search space issue, and (4) our QBF solver based on the dual encoding (Duaffle) consistently outperforms the best solvers by two orders of magnitude on a hard class of benchmarks, even without using standard learning techniques.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Ansotegui, C., Gomes, C.P., Selman, B.: The Achilles’ heel of QBF. In: 20th AAAI, Pittsburgh, PA, July 2005, pp. 275–281 (2005)Google Scholar
  2. 2.
    Benedetti, M.: Extracting certificates from quantified Boolean formulas. In: 19th IJCAI, Edinburgh, Scotland, July 2005, pp. 47–53 (2005)Google Scholar
  3. 3.
    Benedetti, M.: sKizzo: a suite to evaluate and certify QBFs. In: Nieuwenhuis, R. (ed.) CADE 2005. LNCS (LNAI), vol. 3632, pp. 369–376. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  4. 4.
    Biere, A.: Resolve and expand. In: H. Hoos, H.H., Mitchell, D.G. (eds.) SAT 2004. LNCS, vol. 3542, pp. 59–70. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  5. 5.
    Cadoli, M., Schaerf, M., Giovanardi, A., Giovanardi, M.: An algorithm to evaluate QBFs and its experimental evaluation. J. Auto. Reas. 28(2), 101–142 (2002)MATHCrossRefMathSciNetGoogle Scholar
  6. 6.
    Davis, M., Logemann, G., Loveland, D.: A machine program for theorem proving. CACM 5, 394–397 (1962)MATHMathSciNetGoogle Scholar
  7. 7.
    Gent, I.P., Rowley, A.G.: Encoding Connect-4 using quantified Boolean formulae. In: Work. Modelling and Reform. CSP, Ireland, pp. 78–93 (September 2003)Google Scholar
  8. 8.
    Giunchiglia, E., Narizzano, M., Tacchella, A.: QUBE: A symtem for deciding QBFs satisfiability. In: Goré, R.P., Leitsch, A., Nipkow, T. (eds.) IJCAR 2001. LNCS (LNAI), vol. 2083, pp. 364–369. Springer, Heidelberg (2001)CrossRefGoogle Scholar
  9. 9.
    Kautz, H.A., Selman, B.: Planning as satisfiability. In: Proc. 10th Euro. Conf. on AI, Vienna, Austria, August 1992, pp. 359–363 (1992)Google Scholar
  10. 10.
    Letz, R.: Lemma and model caching in decision procedures for quantified Boolean formulas. In: Egly, U., Fermüller, C. (eds.) TABLEAUX 2002. LNCS (LNAI), vol. 2381, pp. 160–175. Springer, Heidelberg (2002)CrossRefGoogle Scholar
  11. 11.
    Madhusudan, P., Nam, W., Alur, R.: Symbolic computation techniques for solving games. Elec. Notes TCS 89(4) (2003)Google Scholar
  12. 12.
    Narizzano, M., Tacchella, A.: (Organizers). QBF 2005 evaluation (June 2005), http://www.qbflib.org/qbfeval/2005
  13. 13.
    Otwell, C., Remshagen, A., Truemper, K.: An effective QBF solver for planning problems. In: Proc. MSV/AMCS, Las Vegas, NV, June 2004, pp. 311–316 (2004)Google Scholar
  14. 14.
    Papadimitriou, C.H.: Computational Complexity. Addison-Wesley, Reading (1994)MATHGoogle Scholar
  15. 15.
    Rintanen, J.: Improvements to the evaluation of quantified Boolean formulae. In: 16th IJCAI, Stockholm, Sweden, July 1999, pp. 1192–1197 (1999)Google Scholar
  16. 16.
    Rintanen, J.: Partial implicit unfolding in the Davis-Putnam procedure for quantified Boolean formulae. In: Nieuwenhuis, R., Voronkov, A. (eds.) LPAR 2001. LNCS (LNAI), vol. 2250, pp. 362–376. Springer, Heidelberg (2001)CrossRefGoogle Scholar
  17. 17.
    Rintanen, J.: Constructing conditional plans by a theorem prover. JAIR 10, 323–352 (1999)MATHGoogle Scholar
  18. 18.
    Stockmeyer, L.J., Meyer, A.R.: Word problems requiring exponential time. In: Conf. Record of 5th STOC, Austin, TX, April–May 1973, pp. 1–9 (1973)Google Scholar
  19. 19.
    Zhang, L.: Solving QBF by combining conjunctive and disjunctive normal forms. In: 21th AAAI, Boston, MA July 2006 (to appear)Google Scholar
  20. 20.
    Zhang, L., Malik, S.: Conflict driven learning in a quantified Boolean satisfiability solver. In: ICCAD, San Jose, CA, November 2002, pp. 442–449 (2002)Google Scholar
  21. 21.
    Zhang, L., Malik, S.: Towards a symmetric treatment of satisfaction and conflicts in QBF evaluation. In: Van Hentenryck, P. (ed.) CP 2002. LNCS, vol. 2470, pp. 200–215. Springer, Heidelberg (2002)CrossRefGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Ashish Sabharwal
    • 1
  • Carlos Ansotegui
    • 2
  • Carla P. Gomes
    • 1
  • Justin W. Hart
    • 1
  • Bart Selman
    • 1
  1. 1.Dept. of Computer ScienceCornell UniversityIthacaU.S.A.
  2. 2.Dept. of Computer ScienceUniversitat de LleidaLleidaSpain

Personalised recommendations