mirror of
https://github.com/Z3Prover/z3
synced 2025-05-04 06:15:46 +00:00
unsat core
This commit is contained in:
parent
509a007ed7
commit
fd353bff17
3 changed files with 11 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue