3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-11 09:44:43 +00:00

move unused literals under if0

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-07-03 12:21:20 -07:00
parent 5987d9ae20
commit 5e768c9697
2 changed files with 9 additions and 4 deletions

View file

@ -338,6 +338,10 @@ namespace smt {
flet<bool> l(m_aux_context->get_fparams().m_array_fake_support, true);
lbool r = m_aux_context->check();
ptr_vector<expr> fmls;
m_aux_context->get_assertions(fmls);
for (auto * f : fmls) std::cout << mk_pp(f, m) << "\n";
TRACE("model_checker", tout << "[complete] model-checker result: " << to_sat_str(r) << "\n";);
if (r != l_true) {
return r == l_false; // quantifier is satisfied by m_curr_model