mirror of
https://github.com/Z3Prover/z3
synced 2025-08-20 10:10:21 +00:00
allow range comparison for bit-vectors and int/real
This commit is contained in:
parent
1d224d1bcd
commit
081c62d006
2 changed files with 11 additions and 2 deletions
|
@ -3128,8 +3128,8 @@ void seq_rewriter::mk_antimirov_deriv_rec(expr* e, expr* r, expr* path, expr_ref
|
|||
expr_ref range(m());
|
||||
expr_ref psi(m().mk_false(), m());
|
||||
if (str().is_unit_string(r1, c1) && str().is_unit_string(r2, c2)) {
|
||||
SASSERT(u().is_char(c1));
|
||||
SASSERT(u().is_char(c2));
|
||||
// SASSERT(u().is_char(c1));
|
||||
// SASSERT(u().is_char(c2));
|
||||
// case: c1 <= e <= c2
|
||||
range = simplify_path(e, m().mk_and(u().mk_le(c1, e), u().mk_le(e, c2)));
|
||||
psi = simplify_path(e, m().mk_and(path, range));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue