mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
remove a too strict debug check and fix a bug in intervals on terms
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
6ec9f9112c
commit
e56a5787dc
2 changed files with 26 additions and 10 deletions
|
@ -3333,14 +3333,17 @@ public:
|
|||
c.neg();
|
||||
ctx().mark_as_relevant(c);
|
||||
}
|
||||
TRACE("arith", ctx().display_literals_verbose(tout, m_core) << "\n";);
|
||||
DEBUG_CODE(
|
||||
for (literal const& c : m_core) {
|
||||
if (ctx().get_assignment(c) == l_true) {
|
||||
TRACE("arith", ctx().display_literal_verbose(tout, c) << " is true\n";);
|
||||
SASSERT(false);
|
||||
}
|
||||
});
|
||||
|
||||
// DEBUG_CODE(
|
||||
// for (literal const& c : m_core) {
|
||||
// if (ctx().get_assignment(c) == l_true) {
|
||||
// TRACE("arith", ctx().display_literal_verbose(tout, c) << " is true\n";);
|
||||
// SASSERT(false);
|
||||
// }
|
||||
// }); // TODO: this check seems to be too strict.
|
||||
// The lemmas can come in batches
|
||||
// and the same literal can appear in several lemmas in a batch: it becomes l_true
|
||||
// in earlier processing, but it was not so when the lemma was produced
|
||||
ctx().mk_th_axiom(get_id(), m_core.size(), m_core.c_ptr());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue