3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

relax the literal check in theory_lra

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2020-02-14 16:06:57 -08:00
parent 762f265616
commit 697fd37d26
2 changed files with 7 additions and 1 deletions

View file

@ -2221,11 +2221,13 @@ public:
switch (r) {
case l_false: {
m_stats.m_nla_lemmas += lv.size();
int i = 0;
for(const nla::lemma & l : lv) {
m_lemma = l; //todo avoid the copy
m_explanation = l.expl();
m_stats.m_nla_explanations += static_cast<unsigned>(l.expl().size());
false_case_of_check_nla();
i++;
}
break;
}
@ -3371,7 +3373,7 @@ 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) {