3
0
Fork 0
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:
Nikolaj Bjorner 2019-06-22 23:55:11 +02:00
parent 2a1f8ac2d8
commit e8080d2307

View file

@ -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);
}