ApproxMC is an approximate model counter for CNF formulas. Instead of an exact count, it gives a count that is within a chosen tolerance of the true value with a chosen confidence, which lets it handle problems of a size and complexity that were not possible before. It supports projected counting, where only the solutions over a given set of variables are counted.

ApproxMC adds random XOR constraints to the formula and solves the result with CryptoMiniSat, using its native XOR and Gauss-Jordan elimination support; the input is first simplified by Arjun. For exact or weighted counting, use Ganak instead, and for DNF formulas use Pepin. Release binaries are on GitHub, and you can try it in your browser.

The engineering behind the current versions is described in BIRD: Engineering an Efficient CNF-XOR SAT Solver and Its Applications to Approximate Model Counting (AAAI 2019) and Tinted, Detached, and Lazy CNF-XOR Solving and Its Applications to Counting and Sampling (CAV 2020). The blog post ApproxMCv3, a modern approximate model counter explains the main ideas.