Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

Resolution proof transformation for compression and interpolation

  • Published:
Formal Methods in System Design Aims and scope Submit manuscript

Abstract

Verification methods based on SAT, SMT, and theorem proving often rely on proofs of unsatisfiability as a powerful tool to extract information in order to reduce the overall effort. For example a proof may be traversed to identify a minimal reason that led to unsatisfiability, for computing abstractions, or for deriving Craig interpolants. In this paper we focus on two important aspects that concern efficient handling of proofs of unsatisfiability: compression and manipulation. First of all, since the proof size can be very large in general (exponential in the size of the input problem), it is indeed beneficial to adopt techniques to compress it for further processing. Secondly, proofs can be manipulated as a flexible preprocessing step in preparation for interpolant computation. Both these techniques are implemented in a framework that makes use of local rewriting rules to transform the proofs. We show that a careful use of the rules, combined with existing algorithms, can result in an effective simplification of the original proofs. We have evaluated several heuristics on a wide range of unsatisfiable problems deriving from SAT and SMT test cases.

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

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14

Similar content being viewed by others

Notes

  1. Full experimental data, as well as executables used in tests are available at http://verify.inf.usi.ch/sites/default/files/FMSD2014.tar.gz

    Table 1 Results for SMT benchmarks
  2. Full experimental data, as well as executables used in tests are available at http://verify.inf.usi.ch/sites/default/files/FMSD2014.tar.gz

  3. Note that in practice flattening can be avoided. For instance in Example 5 we do not perform any flattening.

  4. The benchmarks and the detailed results are available at http://verify.inf.usi.ch/sites/default/files/FMSD2014.tar.gz

  5. Notice that in some cases \(AB\)-mixed predicates were produced during the search, but they did not appear in the proof.

References

  1. Ackermann W (1954) Solvable cases of the decision problem. Studies in logic and the foundations of mathematics. North-Holland, Amsterdam

    Google Scholar 

  2. Amjad H (2007) Compressing propositional refutations. Electron Notes Theor Comput Sci 185:3–15

    Article  Google Scholar 

  3. Amjad H (2008) Data compression for proof replay. J Autom Reason 41(3–4):193–218

    Article  MATH  MathSciNet  Google Scholar 

  4. Amla N, McMillan K (2003) Automatic abstraction without counterexamples. In: TACAS, pp 2–17

  5. Bar-Ilan O, Fuhrmann O, Hoory S, Shacham O, Strichman O (2008) Linear-time reductions of resolution proofs. In: HVC, pp 114–128

  6. Barrett C, Nieuwenhuis R, Oliveras A, Tinelli C (2006) Splitting on demand in SAT modulo theories. In: LPAR, pp 512–526

  7. Barrett C, Sebastiani R, Seshia S, Tinelli C (2009) Satisfiability modulo theories. In: Biere A, Heule M, van Maaren H, Walsh T (eds) Handbook of satisfiability. IOS Press, Amsterdam, pp 825–885

  8. Bayardo RJ, Schrag R (1997) Using CSP look-back techniques to solve real-world SAT instances. In: AAAI/IAAI, pp 203–208

  9. Biere A, Cimatti A, Clarke E, Strichman O, Zhu Y (2003) Bounded model checking. Adv Comput 58:117–148

    Article  Google Scholar 

  10. Bofill M, Nieuwenhuis R, Oliveras A, Rodrguez-Carbonell E, Rubio A (2008) A write-based solver for SAT modulo the theory of arrays. In: FMCAD, pp 101–108

  11. Boudou J, Paleo B (2013) Compression of propositional resolution proofs by lowering subproofs. In: TABLEAUX, pp 237–251

  12. Bozzano M, Bruttomesso R, Cimatti A, Junttila T, Ranise S, van Rossum P, Sebastiani R (2005) Efficient satisfiability modulo theories via delayed theory combination. In: CAV, pp 335–349

  13. Bradley AR (2011) SAT-based model checking without unrolling. In: VMCAI, pp 70–87

  14. Brummayer R, Biere A (2008) Lemmas on demand for the extensional theory of arrays. In: Workshop on SMT

  15. Bruni R (2003) Approximating minimal unsatisfiable subformulae by means of adaptive core search. Discret Appl Math 130(2):85–100

    Article  MATH  MathSciNet  Google Scholar 

  16. Bruttomesso R, Pek E, Sharygina N, Tsitovich A (2010) The OpenSMT Solver. In: TACAS, pp 150–153

  17. Bruttomesso R, Rollini S, Sharygina N, Tsitovich A (2010) Flexible interpolation with local proof transformations. In: ICCAD, pp 770–777

  18. Christ J, Hoenicke J, Nutz A (2013) Proof tree preserving interpolation. In: TACAS, pp 124–138

  19. Cimatti A, Griggio A, Sebastiani R (2007) A simple and flexible way of computing small unsatisfiable cores in SAT modulo theories. In: SAT, pp 334–339

  20. Cimatti A, Griggio A, Sebastiani R (2008) Efficient interpolant generation in satisfiability modulo theories. In: TACAS, pp 397–412

  21. Cotton S (2010) Two techniques for minimizing resolution proofs. In: SAT, pp 306–312

  22. CMU Benchmarks. http://www.cs.cmu.edu/~modelcheck/bmc/bmc-benchmarks.html. Accessed 24 April 2014

  23. Craig W (1957) Three uses of the herbrand–gentzen theorem in relating model theory and proof theory. J Symb Log 22(3):269–285

    Article  MATH  MathSciNet  Google Scholar 

  24. de Moura L, Bjørner N (2009) Generalized, efficient array decision procedures. In: FMCAD, pp 45–52

  25. de Moura L, Rue H (2002) Lemmas on demand for satisfiability solvers. In: SAT, pp 244–251

  26. Dershowitz N, Hanna Z, Nadel A (2006) A scalable algorithm for minimal unsatisfiable core extraction. In: SAT, pp 36–41

  27. D’Silva V, Kroening D, Purandare M, Weissenbacher G (2008) Restructuring resolution refutations for interpolation. Technical report, ETH

  28. D’Silva V, Kroening D, Purandare M, Weissenbacher G (2010) Interpolant strength. In: VMCAI, pp 129–145

  29. Fontaine P, Marion J, Merz S, Nieto L, Tiu A (2006) Expressiveness + automation + soundness: towards combining SMT solvers and interactive proof assistants. In: TACAS, pp 167–181

  30. Fontaine P, Merz S, Paleo B (2011) Compression of propositional resolution proofs via partial regularization. In: CADE, pp 237–251

  31. Gentzen G (1935) Untersuchungen über das logische schließen. i. Math Z 39(1):176–210

    Article  MathSciNet  Google Scholar 

  32. Goel A, Krstić S, Fuchs A (2008) Deciding array formulas with frugal axiom Instantiation. In: SMT, pp 12–17

  33. Goel A, Krstić S, Tinelli C (2009) Ground interpolation for combined theories. In: CADE, pp 183–198

  34. Goldberg E, Novikov Y (2003) Verification of proofs of unsatisfiability for CNF formulas. In: DATE, pp 10,886–10,891

  35. Gomes C, Kautz H, Sabharwal A, Selman B (2008) Satisfiability solvers. In: van Harmelen F, Lifschitz V, Porter B (eds) Handbook of knowledge representation. Elsevier, Amsterdam, pp 89–134

  36. Grégoire E, Mazure B, Piette C (2007) Local-search extraction of muses. Constraints 12(3):325–344

    Article  MATH  MathSciNet  Google Scholar 

  37. Grumberg O, Lerda F, Ofer OS, Theobald M (2005) Proof-guided underapproximation-widening for multi-process systems. In: POPL, pp 122–131

  38. Gupta A (2012) Improved single pass algorithms for resolution proof reduction. In: ATVA, pp 107–121

  39. Henzinger T, Jhala R, Majumdar R, McMillan K (2004) Abstractions from proofs. In: POPL, pp 232–244

  40. Heule M, Hunt W, Wetzler N (2013) Trimming while checking clausal proofs. In: FMCAD

  41. Huang J (2005) Mup: a minimal unsatisfiability prover. In: ASP-DAC, pp 432–437

  42. Jhala R, McMillan K (2005) Interpolant-based transition relation approximation. In: CAV, pp 39–51

  43. Krajíček J (1997) Interpolation theorems, lower bounds for proof systems, and independence results for bounded arithmetic. J Symb Log 62(2):457–486

    Article  MATH  Google Scholar 

  44. Lynce I, Marques-Silva J (2004) On computing minimum unsatisfiable cores. In: SAT, pp 305–310

  45. Marques-Silva J, Sakallah K (1996) GRASP—a new search algorithm for satisfiability. In: ICCAD, pp 220–227

  46. McMillan K (2003) Interpolation and SAT-based model checking. In: CAV, pp 1–13

  47. McMillan K (2004) An interpolating theorem prover. In: TACAS, pp 16–30

  48. McMillan K (2004) Applications of Craig interpolation to model checking. In: CSL, pp 22–23

  49. Mneimneh M, Lynce I, Andraus Z, Marques-Silva J, Sakallah K (2005) A branch-and-bound algorithm for extracting smallest minimal unsatisfiable formulas. In: SAT, pp 467–474

  50. Necula G (1997) Proof-carrying code. In: POPL, pp 106–119

  51. Nelson G, Oppen D (1979) Simplification by cooperating decision procedures. ACM Trans Progr Lang Syst 1(2):245–257

    Article  MATH  Google Scholar 

  52. Oh Y, Mneimneh MN, Andraus ZS, Sakallah KA, Markov IL (2004) AMUSE: a minimally-unsatisfiable subformula extractor. In: DAC, pp 518–523

  53. Pudlák P (1997) Lower bounds for resolution and cutting plane proofs and monotone computations. J Symb Log 62(3):981–998

    Article  MATH  Google Scholar 

  54. Ranise S, Tinelli C The satisfiability modulo theories library (SMT-LIB). http://www.smtlib.org. Accessed 24 April 2014

  55. Rollini S Proof transformer and interpolator for propositional logic (PeRIPLO). http://verify.inf.usi.ch/content/periplo. Accessed 24 April 2014

  56. Rollini S, Bruttomesso R, Sharygina N (2010) An efficient and flexible approach to resolution proof reduction. In: HVC, pp 182–196

  57. SAT Challenge (2012) http://baldur.iti.kit.edu/SAT-Challenge-2012/. Accessed 24 April 2014

  58. SATLIB Benchmark Suite http://www.cs.ubc.ca/~hoos/SATLIB/benchm.html . Accessed 24 April 2014

  59. Sebastiani R (2007) Lazy satisfiability modulo theories. JSAT 3:144–224

    Google Scholar 

  60. Shlyakhter I, Seater R, Jackson D, Sridharan M, Taghdir M (2003) Debugging overconstrained declarative models using unsatisfiable cores. In: ASE, pp 94–105

  61. Sinz C (2007) Compressing propositional proofs by common subproof extraction. In: EUROCAST, pp 547–555

  62. Sinz C, Kaiser A, Kuchlin W (2003) Formal methods for the validation of automotive product configuration data. AI EDAM 17(1):75–97

    Google Scholar 

  63. Skeptik Proof Theory Library https://github.com/Paradoxika/Skeptik. Accessed 24 April 2014

  64. Tseitin GS (1968) On the complexity of derivation in the propositional calculus. In: Slisenko AO (ed) Studies in constructive mathematics and mathematical logic. Plenum, New York, pp 115–125

    Google Scholar 

  65. Van Gelder A (2008) Verifying RUP proofs of propositional unsatisfiability. In: ISAIM

  66. Weber T, Amjad H (2009) Efficiently checking propositional refutations in hol theorem provers. J Appl Log 7(1):26–40

    Article  MATH  MathSciNet  Google Scholar 

  67. Yorsh G, Musuvathi M (2005) A combination method for generating interpolants. In: CADE, pp 353–368

  68. Zhang L, Malik S (2003) Extracting small unsatisfiable cores from unsatisfiable Boolean formulas. In: SAT

  69. Zhang L, Sharad M (2003) Validating SAT solvers using an independent resolution-based checker: practical implementations and other applications. In: DATE, pp 10,880–10,885

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Simone Fulvio Rollini.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Rollini, S.F., Bruttomesso, R., Sharygina, N. et al. Resolution proof transformation for compression and interpolation. Form Methods Syst Des 45, 1–41 (2014). https://doi.org/10.1007/s10703-014-0208-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10703-014-0208-x

Keywords