mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
fixes in new solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
21c626e3ee
commit
372e5ca569
12 changed files with 79 additions and 43 deletions
|
@ -99,13 +99,13 @@ namespace q {
|
|||
|
||||
lbool mbqi::check_forall(quantifier* q) {
|
||||
quantifier* q_flat = m_qs.flatten(q);
|
||||
init_solver();
|
||||
::solver::scoped_push _sp(*m_solver);
|
||||
auto* qb = specialize(q_flat);
|
||||
if (!qb)
|
||||
return l_undef;
|
||||
if (m.is_false(qb->mbody))
|
||||
return l_true;
|
||||
init_solver();
|
||||
::solver::scoped_push _sp(*m_solver);
|
||||
m_solver->assert_expr(qb->mbody);
|
||||
lbool r = m_solver->check_sat(0, nullptr);
|
||||
if (r == l_undef)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue