mirror of
https://github.com/Z3Prover/z3
synced 2025-04-05 09:04:07 +00:00
model
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
90d5a0d401
commit
1ff08c45ce
|
@ -119,7 +119,7 @@ jobs:
|
|||
set -e
|
||||
mkdir build
|
||||
cd build
|
||||
CC=clang CXX=clang++ cmake -DBUILD_JAVA_BINDINGS=True -DBUILD_PYTHON_BINDINGS=True -DBUILD_DOTNET_BINDINGS=True -G "Ninja" ../
|
||||
CC=clang CXX=clang++ cmake -DBUILD_JAVA_BINDINGS=True -DBUILD_PYTHON_BINDINGS=True -DBUILD_DOTNET_BINDINGS=False -G "Ninja" ../
|
||||
ninja
|
||||
ninja test-z3
|
||||
cd ..
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -18,7 +18,6 @@ Notes:
|
|||
--*/
|
||||
#include "util/scoped_timer.h"
|
||||
#include "util/cancel_eh.h"
|
||||
#include "util/cooperate.h"
|
||||
#include "util/scoped_ptr_vector.h"
|
||||
#include "tactic/tactical.h"
|
||||
#include <thread>
|
||||
|
|
Loading…
Reference in a new issue