TreeLook and transitive reduction

The paper by Heule et al. about hyper-binary resolution using intree-based lookahead is pretty funky. The idea is actually quite simple (and as usual, not exactly trivial to come up with): we re-use past propagations by reversing the order in which literals are normally enqueued. A simple example First, a queue is built that starts with a leaf literal and then follows it up through binary clauses until it can. Then it backtracks (adds to the queue a special, * element) and continues. The point of the queue is to have an example order that we can use to dequeue literals from in reverse propagation order. Obviously, there are many different orders in which we can build this queue and I wouldn’t be surprised if there are some nice heuristics one can use. Let’s just assume we have such a queue. ...

August 23, 2014 · 5 min · msoos

SMT Competition'14 and STP

The 2014 SMT competition’s QF_BV divison is over (benchmark tarball here), and the results are (copied from here): Solver Errors Solved Not Solved CPU time (solved instances) Boolector 0 2361 127 138077.59 STP-CryptoMiniSat4 0 2283 205 190660.82 [ MathSAT] 0 2199 289 262349.39 [ Z3] 0 2180 308 214087.66 CVC4 0 2166 322 87954.62 4Simp 0 2121 367 187966.86 SONOLAR 0 2026 462 174134.49 Yices2 0 1770 718 159991.55 abziz_min_features 9 2155 324 134385.22 abziz_all_features 9 2093 386 122540.04 First, let me congratulate Boolector by Armin Biere. STP came a not-so-close second. STP was meant to be submitted twice, once with MiniSat and once with CyrptoMiniSat4 – this is the only reason why the STP submission is called STP-CryptoMiniSat4. Unfortunately, the other submission could not be made because of some compilation problems. ...

June 24, 2014 · 3 min · msoos

Speeding up MiniSat with a one-liner

All SAT solvers must have a tri-state class that can hold the values `true`, `false`, and `undefined`. Although it’s not hard to write code to represent such a class, it’s hard to write such it so that all typical operations are fast. In this blog post I will compare three different ways of doing it. The original MiniSat 2.0 code The original MiniSat 2.0 used the following code for such a class: ...

March 12, 2014 · 4 min · msoos