mirror of
https://github.com/Z3Prover/z3
synced 2025-07-31 16:33:18 +00:00
check for m.get_sort(lhs->get_owner()) == m.get_sort(rhs->get_owner()) in equality propagation
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
4b6ca6a10c
commit
6ced6995d0
2 changed files with 5 additions and 2 deletions
|
@ -2423,7 +2423,8 @@ public:
|
|||
theory_var vv = lp().local_to_external(v); // so maybe better to have them already transformed to external form
|
||||
enode* n1 = get_enode(uv);
|
||||
enode* n2 = get_enode(vv);
|
||||
if (n1->get_root() == n2->get_root())
|
||||
if (n1->get_root() == n2->get_root() ||
|
||||
m.get_sort(n1->get_owner()) != m.get_sort(n2->get_owner()))
|
||||
return;
|
||||
reset_evidence();
|
||||
for (auto const& ev : e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue