goal_to_dimacs_string method
\brief Convert a goal into a DIMACS formatted string. The goal must be in CNF. You can convert a goal to CNF by applying the tseitin-cnf tactic. Bit-vectors are not automatically converted to Booleans either, so if the caller intends to preserve satisfiability, it should apply bit-blasting tactics. Quantifiers and theory atoms will not be encoded.
def_API('Z3_goal_to_dimacs_string', STRING, (_in(CONTEXT), _in(GOAL), _in(BOOL)))
Implementation
Z3_string goal_to_dimacs_string(
Z3_context c,
Z3_goal g,
bool include_names,
) {
return _goal_to_dimacs_string(
c,
g,
include_names,
);
}