CryptoMiniSat on XNF Benchmarks, Revisited

I was quite hopeful when I first saw the XNF solver 2-Xornado, and then Xorricane, which solve so-called XOR-OR-AND (XNF) problems, i.e. problems written in the format “(a XOR b XOR c) or (f XOR NOT g)”. The two papers about this family of solvers were [ PDF1][ PDF2], and the results looked impressive. They could outdo CryptoMiniSat, my CNF-XOR solver, on a bunch of instance families. To be honest, I suspected a cutoff being fired, but I was also hopeful and didn’t want to be the annoying person in the way of new research. Then the Xorcle paper dropped [ PDF] and my collaborator asked me to take a look. This led me down a rabbit hole of figuring out that in fact, all these years, XNF solvers have been comparing against CryptoMiniSat in a somewhat unflattering way. ...

September 13, 2026 · 6 min · msoos

Ganakv2 Released

Finally, after many months of waiting for our paper to be accepted (preliminary PDF here), Ganak2 is finally released (GitHub code, released binaries) and easily accessible and modifiable. I wish this release had come earlier, but double-blind requirements didn’t allow us to release the code any sooner. Basically, Ganakv2 has been re-written in many ways. Some of the original ideas by Thurley for SharpSAT has been kept alive, but many-many things are completely different and completely re-written – well over 10'000 lines of change in total. This set of changes has allowed Ganak2 to win every available track at the Model Counting Competition of 2024. In other words, Ganak2 is incredibly fast, making it a state-of-the-art tool. ...

May 12, 2025 · 8 min · msoos

On SAT/SMT Model Counting

I have recently had a few discussions with people who wanted to do some form of model counting, and I decided to put my thoughts about this problem into a single blog post, hopefully bringing some light to this area. Firstly, when talking about model counting, it’s very important to think through what one actually needs to achieve. When people talk about a model, they often mean a solution to a problem, described as a set of constraints over either purely boolean variables (so-called propositional model counting) expressed in so-called CNF, or over higher-level constraints, often expressed in SMT-LIB format. ...

October 24, 2024 · 7 min · msoos