3
0
Fork 0
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:
Nikolaj Bjorner 2024-01-22 16:23:19 -08:00
parent 839b7101ae
commit 8d4e7fac6b
4 changed files with 24 additions and 1 deletions

View file

@ -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);