probably fixed cnf() and SAT solver