mirror of
https://github.com/Z3Prover/z3
synced 2026-02-20 15:34:41 +00:00
add diagnostics option to new arithmetic solver
This commit is contained in:
parent
839b7101ae
commit
8d4e7fac6b
4 changed files with 24 additions and 1 deletions
|
|
@ -1251,6 +1251,9 @@ namespace arith {
|
|||
for (literal c : m_core) tout << c << ": " << literal2expr(c) << "\n";
|
||||
for (auto p : m_eqs) tout << ctx.bpp(p.first) << " == " << ctx.bpp(p.second) << "\n";);
|
||||
|
||||
if (ctx.get_config().m_arith_validate)
|
||||
VERIFY(validate_conflict());
|
||||
|
||||
if (is_conflict) {
|
||||
DEBUG_CODE(
|
||||
for (literal c : m_core) VERIFY(s().value(c) == l_true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue