mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 10:25:18 +00:00
This commit is contained in:
parent
ff5d210e81
commit
d0d4ab7955
|
@ -241,7 +241,7 @@ class horn_tactic : public tactic {
|
|||
verify(q, g, result, mc, pc);
|
||||
}
|
||||
g->set(pc.get());
|
||||
g->set(mc.get());
|
||||
g->add(mc.get());
|
||||
}
|
||||
|
||||
void verify(expr* q,
|
||||
|
@ -282,12 +282,11 @@ class horn_tactic : public tactic {
|
|||
}
|
||||
case l_false: {
|
||||
// goal is sat
|
||||
mc = concat(g->mc(), mc.get());
|
||||
g->reset();
|
||||
if (produce_models) {
|
||||
model_ref md = m_ctx.get_model();
|
||||
model_converter_ref mc2 = model2model_converter(md.get());
|
||||
mc = concat(mc.get(), mc2.get());
|
||||
mc = mc2.get();
|
||||
TRACE("dl", mc->display(tout << *md << "\n"););
|
||||
}
|
||||
break;
|
||||
|
@ -345,6 +344,7 @@ class horn_tactic : public tactic {
|
|||
g->assert_expr(fml);
|
||||
}
|
||||
g->set_prec(goal::UNDER_OVER);
|
||||
mc = g->mc();
|
||||
}
|
||||
|
||||
void check_parameters() {
|
||||
|
|
Loading…
Reference in a new issue