3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-22 20:32:05 +00:00

validate sls-arith lemmas

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2024-10-26 14:56:38 -07:00
parent c6f5e3232c
commit 6f37da5a07

View file

@ -1273,6 +1273,8 @@ namespace arith {
c.neg(); c.neg();
DEBUG_CODE(for (literal c : m_core) { SASSERT(s().value(c) != l_true); }); DEBUG_CODE(for (literal c : m_core) { SASSERT(s().value(c) != l_true); });
for (literal c : m_core) { VERIFY(s().value(c) != l_true); }
add_redundant(m_core, explain(ty)); add_redundant(m_core, explain(ty));
} }
} }