Certified UNSAT and CryptoMiniSat

Marijn Heule kindly sent me an email on the 10th of April about DRUP, the new system used this year in the SAT Competition'13 for the UNSAT track. He kindly encouraged me to implement the DRUP system. He personally implemented it into Minisat which was a very helpful lead for me. In this post I will talk about my experiences in implementing DRUP into CryptoMiniSat within a span of 3 days. Implementation complexity It took only 3 days, about 1400 lines of code to implement DRUP: ...

April 25, 2013 · 4 min · msoos

A variable elimination improvement

Lately, I have been thinking about how to improve variable elimination. It’s one of the most important things in SAT solvers, and it’s not exactly easy to do right. Variable elimination Variable elimination simply resolves every occurrence of a literal v1v1v1 with every occurrence of the literal ¬v1\neg v1¬v1 , removes the original clauses and adds the resolvents. For example, let’s take the clauses v1∨v2∨v3v1 \vee v2 \vee v3v1∨v2∨v3 v1∨v4∨v5v1 \vee v4 \vee v5v1∨v4∨v5 ¬v1∨v10∨v11\neg v1 \vee v10 \vee v11¬v1∨v10∨v11 ¬v1∨v12∨v13\neg v1 \vee v12 \vee v13¬v1∨v12∨v13 ...

April 21, 2013 · 3 min · msoos

CryptoMinisat 3.1 released

CryptoMinisat 3.1 has been released. The short changelog is: $ git diff cryptoms-3.0 cryptoms-3.1 --shortstat 84 files changed, 3079 insertions(+), 2751 deletions(-) The changes made were threefold. First, memory usage has been greatly reduced. This is crucial, because memory usage was over 7GB on certain instances. Secondly, the implication cache wasn’t very well-used and an idea that came to my mind greatly improved performance on most problems. Finally, time limiting of some inprocessing techniques on certain types of problems has been improved. ...

April 14, 2013 · 4 min · msoos