Arjun is three tools in one: a CNF preprocessor for model counting, a Boolean functional synthesis engine, and a 2QBF solver. Its name comes from the Hindu myth of Arjuna, known as “the one who concentrates the most”. Release binaries are on GitHub, and it is available via Nix.
As a preprocessor, Arjun computes a small independent support of the formula and simplifies the CNF so that its count stays the same, for unweighted as well as weighted counting. It is the preprocessor of ApproxMC and should be used in front of Ganak. Part of its simplification code comes from SharpSAT-TD by Tuukka Korhonen and Matti Järvisalo. The preprocessor is described in Arjun: An Efficient Independent Support Computation Technique and its Applications to Counting and Sampling (ICCAD 2022), see also the blog post Arjun, our New CNF Model Counting Preprocessor and the talk SAT Preprocessing (Dagstuhl, 2026).
As a synthesis engine (--synth), Arjun computes a Skolem function for each non-input variable in terms of the input variables, using counterexample-guided repair, and writes the functions out as Verilog or as an AIG. As a 2QBF solver (--2qbf), it decides forall-exists quantified Boolean formulas given in QDIMACS: if the formula is false, it gives an assignment to the universal variables that no assignment to the existentials can extend to a model, and if it is true, it can write out the Skolem functions. For more, see the talks Arjun as a Boolean-Function Synthesis Engine (Dagstuhl, 2026) and Boolean Functional Synthesis and its possible application to Cryptography (COSIC, KU Leuven, 2025).