mirror of
https://github.com/Z3Prover/z3
synced 2025-10-08 08:51:55 +00:00
neat
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
6b66cbf547
commit
f86702a49b
2 changed files with 7 additions and 2 deletions
|
@ -4751,6 +4751,11 @@ namespace smt {
|
|||
}
|
||||
mdl = m_model.get();
|
||||
}
|
||||
if (m_fmls && mdl) {
|
||||
auto convert = m_fmls->model_trail().get_model_converter();
|
||||
if (convert)
|
||||
(*convert)(mdl);
|
||||
}
|
||||
}
|
||||
|
||||
void context::get_levels(ptr_vector<expr> const& vars, unsigned_vector& depth) {
|
||||
|
|
|
@ -118,10 +118,10 @@ namespace smt {
|
|||
b.set_unsat(m_l2g, unsat_core);
|
||||
return;
|
||||
}
|
||||
// report assumptions used in unsat core, so they can be used in final core
|
||||
for (expr *e : unsat_core)
|
||||
if (asms.contains(e))
|
||||
b.report_assumption_used(
|
||||
m_l2g, e); // report assumptions used in unsat core, so they can be used in final core
|
||||
b.report_assumption_used(m_l2g, e);
|
||||
|
||||
LOG_WORKER(1, " found unsat cube\n");
|
||||
b.backtrack(m_l2g, unsat_core, node);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue