3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-04 06:15:46 +00:00

unsat core

This commit is contained in:
Jakob Rath 2022-03-18 15:49:44 +01:00
parent 509a007ed7
commit fd353bff17
3 changed files with 11 additions and 2 deletions

View file

@ -791,5 +791,14 @@ namespace polysat {
return dd::find_t::empty;
}
}
signed_constraints viable_fallback::unsat_core(pvar v) {
signed_constraints cs;
for (unsigned dep : m_usolver[v]->unsat_core()) {
cs.push_back(m_constraints[v][dep]);
}
return cs;
}
}