mirror of
https://github.com/Z3Prover/z3
synced 2025-08-07 03:31:23 +00:00
model_evaluator: optionally expand arrays as sequence of stores
commit on behalf of Nikolaj
This commit is contained in:
parent
2f369d8d41
commit
7281616084
3 changed files with 26 additions and 18 deletions
|
@ -44,6 +44,7 @@ public:
|
|||
|
||||
void operator()(expr * t, expr_ref & r);
|
||||
expr_ref operator()(expr* t);
|
||||
expr_ref_vector operator()(expr_ref_vector const& ts);
|
||||
|
||||
// exception safe
|
||||
bool eval(expr* t, expr_ref& r, bool model_completion = true);
|
||||
|
@ -53,6 +54,11 @@ public:
|
|||
bool is_false(expr * t);
|
||||
bool is_true(expr_ref_vector const& ts);
|
||||
|
||||
/**
|
||||
* best effort evaluator of extensional array equality.
|
||||
*/
|
||||
expr_ref eval_array_eq(app* e, expr* arg1, expr* arg2);
|
||||
|
||||
void cleanup(params_ref const & p = params_ref());
|
||||
void reset(params_ref const & p = params_ref());
|
||||
void reset(model_core& model, params_ref const & p = params_ref());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue