Definition at line 2578 of file z3++.h.
◆ goal() [1/3]
goal |
( |
context & |
c, |
|
|
bool |
models = true , |
|
|
bool |
unsat_cores = false , |
|
|
bool |
proofs = false |
|
) |
| |
|
inline |
◆ goal() [2/3]
◆ goal() [3/3]
◆ ~goal()
◆ add() [1/2]
void add |
( |
expr const & |
f | ) |
|
|
inline |
◆ add() [2/2]
◆ as_expr()
Definition at line 2619 of file z3++.h.
2620 unsigned n =
size();
2626 array<Z3_ast> args(n);
2627 for (
unsigned i = 0; i < n; i++)
2628 args[i] =
operator[](i);
◆ convert_model()
Definition at line 2608 of file z3++.h.
2612 return model(
ctx(), new_m);
◆ depth()
◆ dimacs()
std::string dimacs |
( |
bool |
include_names = true | ) |
const |
|
inline |
◆ get_model()
model get_model |
( |
| ) |
const |
|
inline |
Definition at line 2614 of file z3++.h.
2617 return model(
ctx(), new_m);
◆ inconsistent()
bool inconsistent |
( |
| ) |
const |
|
inline |
◆ is_decided_sat()
bool is_decided_sat |
( |
| ) |
const |
|
inline |
◆ is_decided_unsat()
bool is_decided_unsat |
( |
| ) |
const |
|
inline |
◆ num_exprs()
unsigned num_exprs |
( |
| ) |
const |
|
inline |
◆ operator Z3_goal()
operator Z3_goal |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ operator[]()
expr operator[] |
( |
int |
i | ) |
const |
|
inline |
◆ precision()
◆ reset()
◆ size()
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
goal const & |
g |
|
) |
| |
|
friend |
bool Z3_API Z3_goal_is_decided_sat(Z3_context c, Z3_goal g)
Return true if the goal is empty, and it is precise or the product of a under approximation.
expr operator[](int i) const
Z3_goal_prec Z3_API Z3_goal_precision(Z3_context c, Z3_goal g)
Return the "precision" of the given goal. Goals can be transformed using over and under approximation...
Z3_ast Z3_API Z3_mk_and(Z3_context c, unsigned num_args, Z3_ast const args[])
Create an AST node representing args[0] and ... and args[num_args-1].
unsigned Z3_API Z3_goal_size(Z3_context c, Z3_goal g)
Return the number of formulas in the given goal.
Z3_goal Z3_API Z3_mk_goal(Z3_context c, bool models, bool unsat_cores, bool proofs)
Create a goal (aka problem). A goal is essentially a set of formulas, that can be solved and/or trans...
void Z3_API Z3_goal_reset(Z3_context c, Z3_goal g)
Erase all formulas from the given goal.
unsigned Z3_API Z3_goal_num_exprs(Z3_context c, Z3_goal g)
Return the number of formulas, subformulas and terms in the given goal.
Z3_ast Z3_API Z3_goal_formula(Z3_context c, Z3_goal g, unsigned idx)
Return a formula from the given goal.
unsigned Z3_API Z3_goal_depth(Z3_context c, Z3_goal g)
Return the depth of the given goal. It tracks how many transformations were applied to it.
void Z3_API Z3_goal_dec_ref(Z3_context c, Z3_goal g)
Decrement the reference counter of the given goal.
bool Z3_API Z3_goal_is_decided_unsat(Z3_context c, Z3_goal g)
Return true if the goal contains false, and it is precise or the product of an over approximation.
Z3_string Z3_API Z3_goal_to_string(Z3_context c, Z3_goal g)
Convert a goal into a string.
void Z3_API Z3_goal_inc_ref(Z3_context c, Z3_goal g)
Increment the reference counter of the given goal.
Z3_string Z3_API Z3_goal_to_dimacs_string(Z3_context c, Z3_goal g, bool include_names)
Convert a goal into a DIMACS formatted string. The goal must be in CNF. You can convert a goal to CNF...
void Z3_API Z3_goal_assert(Z3_context c, Z3_goal g, Z3_ast a)
Add a new formula a to the given goal. The formula is split according to the following procedure that...
friend void check_context(object const &a, object const &b)
Z3_model Z3_API Z3_goal_convert_model(Z3_context c, Z3_goal g, Z3_model m)
Convert a model of the formulas of a goal to a model of an original goal. The model may be null,...
Z3_error_code check_error() const
bool Z3_API Z3_goal_inconsistent(Z3_context c, Z3_goal g)
Return true if the given goal contains the formula false.