mirror of
https://github.com/Z3Prover/z3
synced 2025-07-25 21:57:00 +00:00
This commit is contained in:
parent
79296d8dfc
commit
16413b4f9a
3 changed files with 11 additions and 11 deletions
|
@ -1261,7 +1261,8 @@ namespace opt {
|
||||||
m_var2value[x] = eval(result);
|
m_var2value[x] = eval(result);
|
||||||
TRACE("opt1", tout << "updated eval " << x << " := " << eval(x) << "\n";);
|
TRACE("opt1", tout << "updated eval " << x << " := " << eval(x) << "\n";);
|
||||||
}
|
}
|
||||||
retire_row(row_id1);
|
else
|
||||||
|
retire_row(row_id1);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,9 +23,9 @@ namespace q {
|
||||||
std::ostream& lit::display(std::ostream& out) const {
|
std::ostream& lit::display(std::ostream& out) const {
|
||||||
ast_manager& m = lhs.m();
|
ast_manager& m = lhs.m();
|
||||||
if (m.is_true(rhs) && !sign)
|
if (m.is_true(rhs) && !sign)
|
||||||
return out << mk_bounded_pp(lhs, m, 2);
|
return out << lhs;
|
||||||
if (m.is_false(rhs) && !sign)
|
if (m.is_false(rhs) && !sign)
|
||||||
return out << "(not " << mk_bounded_pp(lhs, m, 2) << ")";
|
return out << "(not " << lhs << ")";
|
||||||
return
|
return
|
||||||
out << mk_bounded_pp(lhs, m, 2)
|
out << mk_bounded_pp(lhs, m, 2)
|
||||||
<< (sign ? " != " : " == ")
|
<< (sign ? " != " : " == ")
|
||||||
|
@ -43,13 +43,13 @@ namespace q {
|
||||||
for (auto const& lit : m_lits)
|
for (auto const& lit : m_lits)
|
||||||
lit.display(out) << "\n";
|
lit.display(out) << "\n";
|
||||||
binding* b = m_bindings;
|
binding* b = m_bindings;
|
||||||
if (b) {
|
if (!b)
|
||||||
do {
|
return out;
|
||||||
b->display(ctx, num_decls(), out) << "\n";
|
do {
|
||||||
b = b->next();
|
b->display(ctx, num_decls(), out) << "\n";
|
||||||
}
|
b = b->next();
|
||||||
while (b != m_bindings);
|
}
|
||||||
}
|
while (b != m_bindings);
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -162,7 +162,6 @@ namespace q {
|
||||||
return r;
|
return r;
|
||||||
if (r == l_true) {
|
if (r == l_true) {
|
||||||
model_ref mdl;
|
model_ref mdl;
|
||||||
expr_ref proj(m);
|
|
||||||
m_solver->get_model(mdl);
|
m_solver->get_model(mdl);
|
||||||
if (check_forall_subst(q, *qb, *mdl))
|
if (check_forall_subst(q, *qb, *mdl))
|
||||||
return l_false;
|
return l_false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue