mirror of
https://github.com/Z3Prover/z3
synced 2025-04-10 19:27:06 +00:00
revert normalizing ordering on equality as it breaks others and doesn't necessarily lead to simplification
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
2a1f8ac2d8
commit
e8080d2307
|
@ -646,7 +646,7 @@ br_status bool_rewriter::try_ite_value(app * ite, app * val, expr_ref & result)
|
|||
|
||||
|
||||
app* bool_rewriter::mk_eq(expr* lhs, expr* rhs) {
|
||||
// if (lhs->get_id() > rhs->get_id()) std::swap(lhs, rhs);
|
||||
// degrades simplification on if (lhs->get_id() > rhs->get_id()) std::swap(lhs, rhs);
|
||||
return m().mk_eq(lhs, rhs);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue