#include "../Formula.h"
#include "ConstraintBounds.h"
#include "Negations.h"
#include "aux.h"
Go to the source code of this file.
|
template<typename Poly > |
std::vector< Formula< Poly > > | carl::formula_to_cnf::construct_iff (const Formula< Poly > &lhs, const std::vector< Formula< Poly >> &rhs_and) |
| Constructs the equivalent of (iff lhs (and *rhs_and))) The result is the list (=> lhs (and *rhs_and)) (=> rhs !lhs) (for each rhs in rhs_and) More...
|
|
template<typename Poly > |
Formula< Poly > | carl::formula_to_cnf::to_cnf_or (const Formula< Poly > &f, bool keep_constraints, bool simplify_combinations, bool tseitin_equivalence, TseitinConstraints< Poly > &tseitin) |
| Converts an OR to cnf. More...
|
|
template<typename Poly > |
Formula< Poly > | carl::to_cnf (const Formula< Poly > &f, bool keep_constraints=true, bool simplify_combinations=false, bool tseitin_equivalence=true) |
| Converts the given formula to CNF. More...
|
|