3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-01 22:57:51 +00:00
better proof generation for the case when the query is reachable from initial
states. This case needs to be handled better so that spacer can assume
the problem is non-trivial.
This commit is contained in:
Arie Gurfinkel 2020-04-10 15:19:57 -04:00
parent d14ce97b76
commit a261bd94ed
3 changed files with 25 additions and 21 deletions

View file

@ -64,8 +64,9 @@ proof_ref ground_sat_answer_op::operator()(pred_transformer &query) {
solver::scoped_push _s_(*m_solver);
m_solver->assert_expr(query.get_last_rf()->get());
lbool res = m_solver->check_sat(0, nullptr);
(void)res;
SASSERT(res == l_true);
CTRACE("spacer_sat", res != l_true, tout << "solver at check:\n";
m_solver->display(tout) << "res: " << res << "\n";);
VERIFY(res == l_true);
model_ref mdl;
m_solver->get_model(mdl);
mdl->compress();