| i < 0, bytes2int(int2bytes(i).first ' + int2bytes(i).rest) + 2 ^ (8 * n→i(# int2bytes(i).rest)) < 0 ⊦ int2bytes(i).first = i2b(~1), n ≤ # int2bytes(i) ↔ ¬ 0 ≤ i + 2 ^ (8 * (n→i(n) - 1)), b2i(int2bytes(i).first) = ~1 |
⊦ bytes ≠ [] → bytes.first ' + bytes.rest = bytes
int2bytes(i) ≠ [], i < 0, bytes2int(int2bytes(i)) + 2 ^ (8 * n→i(# int2bytes(i).rest)) < 0 ⊦ int2bytes(i).first = i2b(~1), n ≤ # int2bytes(i) ↔ ¬ 0 ≤ i + 2 ^ (8 * (n→i(n) - 1)), b2i(int2bytes(i).first) = ~1
Used simplifier rules: int2bytes-empty: ⊦ int2bytes(i) ≠ []; Used terms: int2bytes(i)