mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
relax condition on theory disequality propagation fix #4194
This commit is contained in:
parent
fcab7e4f9c
commit
d3e4dd69f8
|
@ -276,6 +276,8 @@ namespace smt {
|
||||||
enode * rhs = n->get_arg(1)->get_root();
|
enode * rhs = n->get_arg(1)->get_root();
|
||||||
if (rhs->is_interpreted() && lhs->is_interpreted())
|
if (rhs->is_interpreted() && lhs->is_interpreted())
|
||||||
continue;
|
continue;
|
||||||
|
if (lhs == rhs)
|
||||||
|
continue;
|
||||||
TRACE("check_th_diseq_propagation", tout << "num. theory_vars: " << lhs->get_num_th_vars() << " "
|
TRACE("check_th_diseq_propagation", tout << "num. theory_vars: " << lhs->get_num_th_vars() << " "
|
||||||
<< mk_pp(m.get_sort(lhs->get_owner()), m) << "\n";);
|
<< mk_pp(m.get_sort(lhs->get_owner()), m) << "\n";);
|
||||||
theory_var_list * l = lhs->get_th_var_list();
|
theory_var_list * l = lhs->get_th_var_list();
|
||||||
|
|
Loading…
Reference in a new issue