mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
parent
ad6062cd9e
commit
bfca26b972
|
@ -173,9 +173,6 @@ lbool tactic2solver::check_sat_core2(unsigned num_assumptions, expr * const * as
|
||||||
try {
|
try {
|
||||||
switch (::check_sat(*m_tactic, g, md, labels, pr, core, reason_unknown)) {
|
switch (::check_sat(*m_tactic, g, md, labels, pr, core, reason_unknown)) {
|
||||||
case l_true:
|
case l_true:
|
||||||
if (m_mc) {
|
|
||||||
(*m_mc)(md);
|
|
||||||
}
|
|
||||||
m_result->set_status(l_true);
|
m_result->set_status(l_true);
|
||||||
break;
|
break;
|
||||||
case l_false:
|
case l_false:
|
||||||
|
@ -191,7 +188,10 @@ lbool tactic2solver::check_sat_core2(unsigned num_assumptions, expr * const * as
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
m_mc = g->mc();
|
m_mc = concat(g->mc(), m_mc.get());
|
||||||
|
if (m_mc && md) {
|
||||||
|
(*m_mc)(md);
|
||||||
|
}
|
||||||
TRACE("tactic", if (m_mc) m_mc->display(tout););
|
TRACE("tactic", if (m_mc) m_mc->display(tout););
|
||||||
}
|
}
|
||||||
catch (z3_error & ex) {
|
catch (z3_error & ex) {
|
||||||
|
|
|
@ -41,6 +41,7 @@ class macro_finder_tactic : public tactic {
|
||||||
goal_ref_buffer & result) {
|
goal_ref_buffer & result) {
|
||||||
SASSERT(g->is_well_sorted());
|
SASSERT(g->is_well_sorted());
|
||||||
tactic_report report("macro-finder", *g);
|
tactic_report report("macro-finder", *g);
|
||||||
|
TRACE("macro-finder", g->display(tout););
|
||||||
|
|
||||||
bool produce_proofs = g->proofs_enabled();
|
bool produce_proofs = g->proofs_enabled();
|
||||||
bool unsat_core_enabled = g->unsat_core_enabled();
|
bool unsat_core_enabled = g->unsat_core_enabled();
|
||||||
|
|
Loading…
Reference in a new issue