3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-09-07 18:21:23 +00:00

disable try_add_overflow_bound, add note on possible rewrite

This commit is contained in:
Jakob Rath 2023-01-11 13:15:46 +01:00
parent fa036ae486
commit 0a2c69332d
2 changed files with 19 additions and 9 deletions

View file

@ -53,17 +53,16 @@ Note:
It can be seen as an instance of lemma 5.2 of Supratik and John.
The following forms are equivalent:
Useful equivalences:
p <= q
p <= p - q - 1
q - p <= q
q - p <= -p - 1
-q - 1 <= -p - 1
-q - 1 <= p - q - 1
- p <= q <=> q - p <= -p - 1 (periodicity 3 if used for rewriting)
<=> -q - 1 <= p - q - 1 (after rewriting twice)
- p <= q <=> p <= p - q - 1
- p <= q <=> -q - 1 <= -p - 1 (combine previous rules)
- p <= q <=> q - p <= q (another combination)
Useful lemmas:
- p <= q ==> p == 0 || -q <= -p