3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00

revert rewriting of OP_LE, OP_GE as it breaks axioms

This commit is contained in:
Nikolaj Bjorner 2021-04-12 09:32:03 -07:00
parent 804f065215
commit ff1b35663b

View file

@ -4395,6 +4395,8 @@ br_status seq_rewriter::reduce_re_eq(expr* l, expr* r, expr_ref& result) {
br_status seq_rewriter::mk_le_core(expr * l, expr * r, expr_ref & result) {
return BR_FAILED;
// k <= len(x) -> true if k <= 0
rational n;
if (str().is_length(r) && m_autil.is_numeral(l, n) && n <= 0) {