Practical algorithms for unsatisfiability proof and core generation in SAT solvers

  • Authors:
  • Roberto Asín Achá;Robert Nieuwenhuis;Albert Oliveras;Enric Rodríguez-Carbonell

  • Affiliations:
  • (Correspd. E-mail: rasin@lsi.upc.edu) www.lsi.upc.edu/~rasin;www.lsi.upc.edu/~roberto;www.lsi.upc.edu/~oliveras;Technical University of Catalonia, Barcelona, Spain -- www.lsi.upc.edu/~erodri

  • Venue:
  • AI Communications - Practical Aspects of Automated Reasoning
  • Year:
  • 2010

Quantified Score

Hi-index 0.01

Visualization

Abstract

Since Zhang and Malik's work in 2003 [19], it is well-known that modern DPLL-based SAT solvers with learning can be instrumented to write a trace on disk from which, if the input is unsatisfiable, a resolution proof can be extracted (and checked), and hence also an unsatisfiable core: a (frequently small) unsatisfiable subset of the input clauses. In this article we first give a new algorithmic approach for processing these (frequently huge) traces. It achieves the efficiency of a depth-first traversal, while preserving the property that memory usage remains upper bounded by that of the SAT solver that generated the trace. The second part of this article is about in-memory algorithms for generating SAT proofs and cores, without writing traces to disk. We discuss advantages and disadvantages of this approach and investigate why the current SAT solvers with this feature still run out of memory on long SAT runs. We analyze several of these in-memory algorithms, based on carefully designed experiments with our implementation of each one of them, as well as with (our implementation of) a trace-based one. Then we describe a new in-memory algorithm which saves space by doing more bookkeeping to discard unnecessary information, and show that it can handle significantly more instances than the previously existing algorithms, at a negligible expense in time.