Advertisement

Boolean Equi-propagation for Optimized SAT Encoding

  • Amit Metodi
  • Michael Codish
  • Vitaly Lagoon
  • Peter J. Stuckey
Part of the Lecture Notes in Computer Science book series (LNCS, volume 6876)

Abstract

We present an approach to propagation based SAT encoding, Boolean equi-propagation, where constraints are modelled as Boolean functions which propagate information about equalities between Boolean literals. This information is then applied as a form of partial evaluation to simplify constraints prior to their encoding as CNF formulae. We demonstrate for a variety of benchmarks that our approach leads to a considerable reduction in the size of CNF encodings and subsequent speed-ups in SAT solving times.

Keywords

Boolean Function Unit Propagation Integer Variable Boolean Formula Binary Decision Diagram 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Bailleux, O., Boufkhad, Y.: Efficient CNF encoding of boolean cardinality constraints. In: Rossi, F. (ed.) CP 2003. LNCS, vol. 2833, pp. 108–122. Springer, Heidelberg (2003)CrossRefGoogle Scholar
  2. 2.
    Barrett, C., Stump, A., Tinelli, C.: The Satisfiability Modulo Theories Library, SMT-LIB (2010), www.SMT-LIB.org
  3. 3.
    Bofill, M., Suy, J., Villaret, M.: A System for solving constraint satisfaction problems with SMT. In: Strichman, O., Szeider, S. (eds.) SAT 2010. LNCS, vol. 6175, pp. 300–305. Springer, Heidelberg (2010)CrossRefGoogle Scholar
  4. 4.
    Bryant, R.: Graph-based algorithms for Boolean function manipulation. IEEE Transactions on Computers C-35(8), 677–691 (1986)CrossRefzbMATHGoogle Scholar
  5. 5.
    Cadoli, M., Schaerf, A.: Compiling problem specifications into SAT. Artificial Intelligence 162(1-2), 89–120 (2005)MathSciNetCrossRefzbMATHGoogle Scholar
  6. 6.
    Crawford, J., Baker, A.: Experimental results on the application of satisfiability algorithms to scheduling problems. In: Procs. AAAI 1994, pp. 1092–1097 (1994)Google Scholar
  7. 7.
    Eén, N., Biere, A.: Effective preprocessing in SAT through variable and clause elimination. In: Bacchus, F., Walsh, T. (eds.) SAT 2005. LNCS, vol. 3569, pp. 61–75. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  8. 8.
    Eén, N., Sörensson, N.: An extensible sat-solver. In: Giunchiglia, E., Tacchella, A. (eds.) SAT 2003. LNCS, vol. 2919, pp. 502–518. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  9. 9.
    Feydy, T., Stuckey, P.: Lazy clause generation reengineered. In: Gent, I.P. (ed.) CP 2009. LNCS, vol. 5732, pp. 352–366. Springer, Heidelberg (2009)CrossRefGoogle Scholar
  10. 10.
    Frutos, A.G., Qinghua Liu, A.J.T., Sanner, A.M.W., Condon, A.E., Smith, L.M., Corn, R.M.: Demonstration of a word design strategy for DNA computing on surfaces. Journal of Nucleic Acids Research 25(23), 4748–4757 (1997)CrossRefGoogle Scholar
  11. 11.
    Gent, I.P., Jefferson, C., Miguel, I.: Minion: A fast scalable constraint solver. In: Brewka, G., Coradeschi, S., Perini, A., Traverso, P. (eds.) ECAI. Frontiers in Artificial Intelligence and Applications, vol. 141, pp. 98–102. IOS Press, Amsterdam (2006)Google Scholar
  12. 12.
    Gomes, C., Shmoys, D.: Completing Quasigroups or Latin Squares: A structured graph coloring problem. In: Proceedings of the Computational Symposium on Graph Coloring and Extensions (2002)Google Scholar
  13. 13.
    Huang, J.: Universal Booleanization of constraint models. In: Stuckey, P.J. (ed.) CP 2008. LNCS, vol. 5202, pp. 144–158. Springer, Heidelberg (2008)CrossRefGoogle Scholar
  14. 14.
    Li, C.M.: Equivalent Literal Propagation in the DLL Procedure. Discrete Applied Mathematics 130(2), 251–276 (2003)MathSciNetCrossRefzbMATHGoogle Scholar
  15. 15.
    Nethercote, N., Stuckey, P.J., Becket, R., Brand, S., Duck, G.J., Tack, G.: Minizinc: Towards a standard CP modelling language. In: Bessière, C. (ed.) CP 2007. LNCS, vol. 4741, pp. 529–543. Springer, Heidelberg (2007)CrossRefGoogle Scholar
  16. 16.
    Ohrimenko, O., Stuckey, P., Codish, M.: Propagation via lazy clause generation. Constraints 14(3), 357–391 (2009)MathSciNetCrossRefzbMATHGoogle Scholar
  17. 17.
    Pomeranz, D., Raziel, B., Rabani, R., Berend, D., Goldberg, M.: BGU Nonogram solver (student project), http://www.cs.bgu.ac.il/~benr/nonograms (viewed March 2011)
  18. 18.
    Regin, J.-C.: A filtering algorithm for constraints of difference in CSP. In: Procs. AAAI 1994, pp. 362–367 (1994)Google Scholar
  19. 19.
    Somenzi, F.: CUDD: Colorado University Decision Diagram package (February 2009), http://vlsi.colorado.edu/~fabio/CUDD/ (Online, accessed April 13, 2011)
  20. 20.
    Tamura, N., Taga, A., Kitagawa, S., Banbara, M.: Compiling finite linear CSP into SAT. Constraints 14(2), 254–272 (2009)MathSciNetCrossRefzbMATHGoogle Scholar
  21. 21.
    Tarjan, R.: Efficiency of a good but not linear set union algorithm. JACM 22(2), 215–225 (1975)MathSciNetCrossRefzbMATHGoogle Scholar
  22. 22.
    Wolter, J.: Nonogram puzzle collection, http://webpbn.com/export.cgi (viewed March 2011)
  23. 23.
    Wolter, J.: Nonogram random puzzle collection, http://webpbn.com/survey/rand30.tgz (viewed March 2011)
  24. 24.
    Wolter, J.: Wolter Nonogram solver, http://webpbn.com/pbnsolve.html (viewed March 2011)

Copyright information

© Springer-Verlag Berlin Heidelberg 2011

Authors and Affiliations

  • Amit Metodi
    • 1
  • Michael Codish
    • 1
  • Vitaly Lagoon
    • 2
  • Peter J. Stuckey
    • 3
  1. 1.Department of Computer ScienceBen Gurion University of the NegevIsrael
  2. 2.Cadence Design SystemsUSA
  3. 3.Department of Computer Science and Software Engineering, and NICTA Victoria LaboratoryThe University of MelbourneAustralia

Personalised recommendations