Why CryptoMiniSat 3.3 doesn't have XORs

I’ve had a number of inquiries about why CryptoMiniSat 3.3 doesn’t have native XOR clause support. Let me explain what I think the benefits and the drawbacks are of having native XOR support and why I made the choice of removing them. Benefits The most trivial benefit is that users don’t have to translate XORs into plain CNF. Although transforming is rather easy, some prefer not to go through the hassle. The principle is to cut the XOR into smaller XORs by introducing new variables and then representing the cut-down XORs by banning all the wrong combinations. For example the the XOR x+y+z+w=0x+y+z+w=0x+y+z+w=0 is cut into two XORs x+y+r=0x+y+r=0x+y+r=0, z+w+r=0z+w+r=0z+w+r=0 and then x+y+r=0x+y+r=0x+y+r=0 is represented as x∨y∨r,x∨¬y∨¬r,…x \vee y \vee r, x \vee \neg y \vee \neg r, \ldotsx∨y∨r,x∨¬y∨¬r,…. ...

August 1, 2013 · 7 min · msoos

Handling disconnected components

In CryptoMiniSat 3.2 and above there is a disconnected component finding&solving system. This finds toplevel disconnected components regularly and solves them by launching an instance of the solver itself. If the component is unsatisfiable (UNSAT), the whole system is UNSAT and solving can be immediately aborted. If the component is satisfiable (SAT) the component’s solution is saved and later when printing the solution to the whole problem the component’s satisfying assignment is also printed. ...

July 31, 2013 · 7 min · msoos

CryptoMiniSat 3.3 released

This is just a short note that CryptoMiniSat 3.3 has been released. This is mainly a bugfix release. I have managed to make a fuzzer that simulates library usage of the system by interspersing the CNF with “c Solver::solve()” calls and then checking the intermediate solutions. Checking is either performed by verifying that all clauses are satisfied, or if the solution is UNSAT, by using a standard SAT solver (I use lingeling). This turned up a surprising number of bugs. I have also fixed the web-based statistics printing which should now work without a hitch. ...

July 10, 2013 · 1 min · msoos