Skip to content

Commit

Permalink
Merge pull request #4325 from mtrberzi/issue4322
Browse files Browse the repository at this point in the history
ignore true/false/null literals during theory case split propagation
  • Loading branch information
mtrberzi committed May 16, 2020
2 parents fcbcad6 + ae18150 commit ce07138
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/smt/smt_context.cpp
Expand Up @@ -3018,7 +3018,8 @@ namespace smt {
literal l2 = *set_it;
if (l2 != l) {
b_justification js(l);
TRACE("theory_case_split", tout << "case split literal "; l2.display(tout, m, m_bool_var2expr.c_ptr()););
TRACE("theory_case_split", tout << "case split literal "; l2.display(tout, m, m_bool_var2expr.c_ptr()); tout << std::endl;);
if (l2 == true_literal || l2 == false_literal || l2 == null_literal) continue;
assign(~l2, js);
if (inconsistent()) {
TRACE("theory_case_split", tout << "conflict detected!" << std::endl;);
Expand Down

0 comments on commit ce07138

Please sign in to comment.