mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 10:52:02 +00:00
check result of unsat core validation
This commit is contained in:
parent
a1bb1f2a13
commit
367cc4b77f
1 changed files with 12 additions and 4 deletions
|
@ -3281,13 +3281,21 @@ namespace smt {
|
||||||
TRACE("after_internalization", display(tout););
|
TRACE("after_internalization", display(tout););
|
||||||
if (inconsistent()) {
|
if (inconsistent()) {
|
||||||
VERIFY(!resolve_conflict()); // build the proof
|
VERIFY(!resolve_conflict()); // build the proof
|
||||||
mk_unsat_core();
|
lbool result = mk_unsat_core();
|
||||||
r = l_false;
|
if (result == l_undef) {
|
||||||
|
r = l_undef;
|
||||||
|
} else {
|
||||||
|
r = l_false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
r = search();
|
r = search();
|
||||||
if (r == l_false)
|
if (r == l_false) {
|
||||||
mk_unsat_core();
|
lbool result = mk_unsat_core();
|
||||||
|
if (result == l_undef) {
|
||||||
|
r = l_undef;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue