Bosphorus simplifies and solves systems of polynomial equations over GF(2), given in algebraic normal form (ANF), and converts between ANF and CNF. Such systems come up all over cryptanalysis: for example, the multivariate quadratic systems behind post-quantum schemes can be read in directly, including the Fukuoka MQ challenges and HFE systems.
Bosphorus combines many algorithms: XL, ElimLin, Gauss-Jordan elimination, Gröbner bases (its own matrix-F4 engine, a Matrix-F5 variant, or BRiAl’s), and SAT solving with CryptoMiniSat, feeding facts learnt by each into the others. Its ANF-to-CNF conversion uses Brickenstein’s algorithm for small polynomials and linearisation with native XOR clauses for larger ones, and it can map CNF solutions back to the ANF. Solutions can be counted by passing the CNF to ApproxMC. Release binaries are on GitHub, and it is available via Nix.
Bosphorus was developed by Davin Choo and Kian Ming A. Chai of DSO National Laboratories, Singapore, together with Kuldeep S. Meel and myself, and is described in Bosphorus: Bridging ANF and CNF Solvers (DATE 2019). See also the blog post Bosphorus, an ANF and CNF simplifier and converter.