mirror of
https://github.com/Z3Prover/z3
synced 2025-05-14 11:14:43 +00:00
add stubs for converting assertions, consolidate filter_model_converter
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
53e36c9cf9
commit
0d15b6abb7
76 changed files with 244 additions and 356 deletions
|
@ -30,9 +30,9 @@ solver_na2as::solver_na2as(ast_manager & m):
|
|||
|
||||
solver_na2as::~solver_na2as() {}
|
||||
|
||||
void solver_na2as::assert_expr(expr * t, expr * a) {
|
||||
void solver_na2as::assert_expr_core(expr * t, expr * a) {
|
||||
if (a == 0) {
|
||||
assert_expr(t);
|
||||
assert_expr_core(t);
|
||||
}
|
||||
else {
|
||||
SASSERT(is_uninterp_const(a));
|
||||
|
@ -41,7 +41,7 @@ void solver_na2as::assert_expr(expr * t, expr * a) {
|
|||
m_assumptions.push_back(a);
|
||||
expr_ref new_t(m);
|
||||
new_t = m.mk_implies(a, t);
|
||||
assert_expr(new_t);
|
||||
assert_expr_core(new_t);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue