mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
model
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
90d5a0d401
commit
1ff08c45ce
4 changed files with 12 additions and 2 deletions
|
@ -527,6 +527,15 @@ bool model::is_true(expr_ref_vector const& ts) {
|
|||
return true;
|
||||
}
|
||||
|
||||
bool model::is_false(expr_ref_vector const& ts) {
|
||||
for (expr* t : ts) if (is_false(t)) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool model::are_equal(expr* s, expr* t) {
|
||||
return m_mev.are_equal(s, t);
|
||||
}
|
||||
|
||||
void model::reset_eval_cache() {
|
||||
m_mev.reset();
|
||||
}
|
||||
|
|
|
@ -94,6 +94,8 @@ public:
|
|||
bool is_true(expr* t);
|
||||
bool is_false(expr* t);
|
||||
bool is_true(expr_ref_vector const& ts);
|
||||
bool is_false(expr_ref_vector const& ts);
|
||||
bool are_equal(expr* s, expr* t);
|
||||
void reset_eval_cache();
|
||||
bool has_solver();
|
||||
void set_solver(expr_solver* solver);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue