3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-18 14:49:01 +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

@ -1272,6 +1272,8 @@ namespace arith {
for (literal& c : m_core)
c.neg();
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));
}