Abstract
Various problems in artificial intelligence can be solved by translating them into a quantified boolean formula (QBF) and evaluating the resulting encoding. In this approach, a QBF solver is used as a black box in a rapid implementation of a more general reasoning system. Most of the current solvers for QBFs require formulas in prenex conjunctive normal form as input, which makes a further translation necessary, since the encodings are usually not in a specific normal form. This additional step increases the number of variables in the formula or disrupts the formula’s structure. Moreover, the most important part of this transformation, prenexing, is not deterministic. In this paper, we focus on an alternative way to process QBFs without these drawbacks and describe a solver, \(\ensuremath{\sf qpro}\), which is able to handle arbitrary formulas. To this end, we extend algorithms for QBFs to the non-normal form case and compare \(\ensuremath{\sf qpro}\) with the leading normal form provers on several problems from the area of artificial intelligence. We prove properties of the algorithms generalized to non-clausal form by using a novel approach based on a sequent-style formulation of the calculus.
Similar content being viewed by others
References
Ansótegui, C., Gomes, C., & Selman, B. (2005). The Achilles’ heel of QBF. In Proceedings of the 20th National Conference on Artificial Intelligence and the 17th Innovative Applications of Artificial Intelligence Conference (AAAI/IAAI 2005) (pp. 275–281). Cambridge: AAAI/MIT.
Arieli, O., & Denecker, M. (2003). Reducing preferential paraconsistent reasoning to classical entailment. Journal of Logic and Computation, 13(4), 557–580.
Ayari, A., & Basin, D. (2002). QUBOS: Deciding quantified boolean logic using propositional satisfiability solvers. In Proceedings of the 4th International Conference on Formal Methods in Computer-aided Design (FMCAD 2002). LNCS (Vol. 2517, pp. 187–201). Heidelberg: Springer.
Baaz, M., Fermüller, C., & Leitsch, A. (1994). A non-elementary speed up in proof length by structural clause form transformation. In Proceedings of the 9th Annual IEEE Symposium on Logic in Computer Science (LICS 1994) (pp. 213–219). Silver Spring: IEEE Computer Society Press.
Baaz, M., & Leitsch, A. (1994). On skolemization and proof complexity. Fundamenta Informaticae, 20, 353–379.
Benedetti, M. (2005). sKizzo: A suite to evaluate and certify QBFs. In Proceedings of the 21th International Conference on Automated Deduction (CADE 2005). LNCS (Vol. 3632, pp. 369–376). Heidelberg: Springer.
Besnard, P., Schaub, T., Tompits, H., & Woltran, S. (2005). Representing paraconsistent reasoning via quantified propositional logic. In Inconsistency Tolerance. LNCS (Vol. 3300, pp. 84–118). Heidelberg: Springer.
Biere, A. (2005). Resolve and expand. In Proceedings of the 7th International Conference on Theory and Applications of Satisfiability Testing (SAT 2004). LNCS (Vol. 3542). Heidelberg: Springer.
Boy de la Tour, T. (1992). An optimality result for clause form translation. Journal of Symbolic Computation, 14(4), 283–302.
Eder, E. (1992). Relative complexities of first-order calculi. Artificial intelligence. Wiesbaden: Vieweg Verlag.
Egly, U. (1996). On different structure-preserving translations to normal form. Journal of Symbolic Computation, 22, 121–142.
Egly, U. (1999). Quantifiers and the system KE: Some surprising results. In Proceedings of the 12th International Workshop on Computer Science Logic (CSL 1998). LNCS (Vol. 1584, pp. 90–104). Heidelberg: Springer.
Egly, U., Eiter, T., Tompits, H., & Woltran, S. (2000). Solving advanced reasoning tasks using quantified boolean formulas. In Proceedings of the 17th National Conference on Artificial Intelligence and the 12th Innovative Applications of Artificial Intelligence Conference (AAAI/IAAI 2000) (pp. 417–422). Cambridge: AAAI/MIT.
Egly, U., & Rath, T. (1996). On the practical value of different definitional translations to normal form. In Proceedings of the 13th International Conference on Automated Deduction (CADE 1996). LNCS (Vol. 1104, pp. 403–417). Heidelberg: Springer.
Egly, U., Seidl, M., Tompits, H., Woltran, S., & Zolda, M. (2004). Comparing different prenexing strategies for quantified boolean formulas. In Proceedings of the 6th International Conference on Theory and Applications of Satisfiability Testing (SAT 2003). LNCS (Vol. 2919, pp. 214–228). Heidelberg: Springer.
Egly, U., Seidl, M., & Woltran, S. (2006). A solver for QBFs in nonprenex form. In Proceedings of the 17th European Conference on Artificial Intelligence (ECAI 2006) (pp. 477–481). Amsterdam: IOS.
Eiter, T., & Gottlob, G. (1996). The complexity of nested counterfactuals and iterated knowledge base revisions. Journal of Computer and System Sciences, 53(3), 497–512.
Eiter, T., Tompits, H., & Woltran, S. (2005). On solution correspondences in answer set programming. In Proceedings of the 19th International Joint Conference on Artificial Intelligence (IJCAI 2005) (pp. 97–102). London: Professional Book Center.
Gelfond, M., & Leone, N. (2002). Logic programming and knowledge representation—The A-Prolog perspective. Artificial Intelligence, 138(1–2), 3–38.
GhasemZadeh, M., Klotz, V., & Meinel, C. (2004). Embedding memoization to the semantic tree search for deciding QBFs. In Proceedings of the 17th Australian Joint Conference on Artificial Intelligence (AI 2004). LNCS (Vol. 3339, pp. 681–693). Heidelberg: Springer.
Ginsberg, M. (1986). Counterfactuals. Artificial Intelligence, 30, 35–79.
Giunchiglia, E., Narizzano, M., & Tacchella, A. (2002). Learning for quantified boolean logic satisfiability. In Proceedings of the 17th National Conference on Artificial Intelligence and the 14th Innovative Applications of Artificial Intelligence Conference (AAAI/IAAI 2002) (pp. 649–654). Cambridge: AAAI.
Giunchiglia, E., Narizzano, M., & Tacchella, A. (2003). Backjumping for quantified boolean logic satisfiability. Artificial Intelligence, 145, 99–120.
Giunchiglia, E., Narizzano, M., & Tacchella, A. (2006). Quantifier structure in search based procedures for QBFs. In Proceedings of the Conference on Design, Automation and Test in Europe (DATE 2006) (pp. 812–817). Grenoble: European Design and Automation Association.
Jussila, T., & Biere, A. (2007). Compressing BMC encodings with QBF. Electronic Notes in Theoretical Computer Science, 174(3), 45–56.
Katz, J., Hanna, Z., & Dershowitz, N. (2005). Space-efficient bounded model checking. In Proceedings of the Conference on Design, Automation and Test in Europe (DATE 2005) (pp. 686–687). Los Alamitos: IEEE Computer Society.
Kleene, S. C. (1952). Permutability of inferences in Gentzen’s calculi LK and LJ. Memoirs of the AMS, 10, 1–26.
Le Berre, D., Narizzano, M., Simon, L., & Tacchella, A. (2005). The second QBF solvers comparative evaluation. In Proceedings of the 7th International Conference on Theory and Applications of Satisfiability Testing (SAT 2004), revised selected papers. LNCS (Vol. 3542, pp. 376–392). Heidelberg: Springer.
Letz, R. (2002). Lemma and model caching in decision procedures for quantified boolean formulas. In Proceedings of the International Conference on Automated Reasoning with Analytic Tableaux and Related Methods (TABLEAUX 2002). LNCS (Vol. 2381, pp. 160–175). Heidelberg: Springer.
Ling, A., Singh, D., & Brown, S. D. (2005). FPGA logic synthesis using quantified boolean satisfiability. In Proceedings of the 8th International Conference on Theory and Applications of Satisfiability Testing (SAT 2005). LNCS (Vol. 3569, pp. 444–450). Heidelberg: Springer.
Narizzano, M., Pulina, L., & Tacchella, A. (2006). Report of the third QBF solvers evaluation. Journal of Satisfiability, Boolean Modeling and Computation, 2, 145–164.
Nonnengart, A., Rock, G., & Weidenbach, C. (1998). On generating small clause normal forms. In Proceedings of the 15th International Conference on Automated Deduction (CADE 1998). LNCS (Vol. 1421, pp. 397–411). Heidelberg: Springer.
Oetsch, J., Seidl, M., Tompits, H., & Woltran, S. (2006). ccT: A tool for checking advanced correspondence problems in answer-set programming. In Proceedings of the 15th International Conference on Computing (CIC 2006) (pp. 3–10). Silver Spring: IEEE Computer Society Press.
Oikarinen, E., & Janhunen, T. (2004). Verifying the equivalence of logic programs in the disjunctive case. In Proceedings of the 7th International Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR 2004). LNCS (Vol. 2923, pp. 180–193). Heidelberg: Springer.
Pan, G., & Vardi, M. (2003). Optimizing a BDD-based modal solver. In Proceedings of the 20th International Conference on Automated Deduction (CADE 2003). LNCS (Vol. 2741, pp. 75–89). Heidelberg: Springer.
Plaisted, D., & Greenbaum, S. (1986). A structure preserving clause form translation. Journal of Symbolic Computation, 2(3), 293–304.
Rintanen, J. (1999). Constructing conditional plans by a theorem prover. Journal of Artificial Intelligence Research, 10, 323–352.
Sabharwal, A., Ansótegui, C., Gomes, C. P., Hart, J. W., & Selman, B. (2006). QBF modeling: Exploiting player symmetry for simplicity and efficiency. In Proceedings of the 9th International Conference on Theory and Applications of Satisfiability Testing (SAT 2006). LNCS (Vol. 4121, pp. 382–395). Heidelberg: Springer.
Samulowitz, H., Davies, J., & Bacchus, F. (2006). Preprocessing QBF. In Proceedings of the 12th International Conference on Principles and Practice of Constraint Programming (CP 2006). LNCS (Vol. 4204, pp. 514–529). Heidelberg: Springer.
Tompits, H., & Woltran, S. (2005). Towards implementations for advanced equivalence checking in answer-set programming. In Proceedings of the 21st International Conference on Logic Programming (ICLP 2005). LNCS (Vol. 3668, pp. 189–203). Heidelberg: Springer.
Troelstra, A. S., & Schwichtenberg, H. (1996). Basic proof theory. Cambridge tracts in theoretical computer science (Vol. 43). Cambridge: Cambridge University Press.
Zhang, L. (2006). Solving QBF by combining conjunctive and disjunctive normal forms. In Proceedings of the 21st National Conference on Artificial Intelligence and the 18th Innovative Applications of Artificial Intelligence Conference (AAAI/IAAI 2006). Cambridge: AAAI.
Zhang, L., & Malik, S. (2002). Towards a symmetric treatment of satisfaction and conflicts in quantified boolean formula evaluation. In Proceedings of the 8th International Conference on Principles and Practice of Constraint Programming (CP 2002). LNCS (Vol. 2470, pp. 200–215). Heidelberg: Springer.
Zolda, M. (2004). Comparing different prenexing strategies for quantified boolean formulas. M.S. thesis, Technische Universität Wien, Institut für Informationssysteme.
Author information
Authors and Affiliations
Corresponding author
Additional information
This paper is based on an extended abstract presented at ECAI 2006 (see [16]). This work was supported by the Austrian Science Fund (FWF) under grant P18019, the Austrian Academic Exchange Service (ÖAD) under grant Amadée 2/2006, and by the Austrian Federal Ministry of Transport, Innovation and Technology BMVIT and the Austrian Research Promotion Agency FFG under grant FIT-IT-810806.
Rights and permissions
About this article
Cite this article
Egly, U., Seidl, M. & Woltran, S. A solver for QBFs in negation normal form. Constraints 14, 38–79 (2009). https://doi.org/10.1007/s10601-008-9055-y
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10601-008-9055-y