Skip to content

Commit d3e4dd6

Browse files
relax condition on theory disequality propagation fix #4194
1 parent fcab7e4 commit d3e4dd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/smt/smt_context_inv.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ namespace smt {
276276
enode * rhs = n->get_arg(1)->get_root();
277277
if (rhs->is_interpreted() && lhs->is_interpreted())
278278
continue;
279+
if (lhs == rhs)
280+
continue;
279281
TRACE("check_th_diseq_propagation", tout << "num. theory_vars: " << lhs->get_num_th_vars() << " "
280282
<< mk_pp(m.get_sort(lhs->get_owner()), m) << "\n";);
281283
theory_var_list * l = lhs->get_th_var_list();

0 commit comments

Comments
 (0)