| int2bytes(i) ≠ [], i < 0, 2 ^ (8 * n→i((# int2bytes(i))-1)) + i < 0 ⊦ int2bytes(i).first = i2b(~1), # int2bytes(i) ≤ n ↔ ¬ 2 ^ (8 * n→i(n)) + i < 0, b2i(int2bytes(i).first) = ~1 |
i < 0, 2 ^ (8 * n→i(# int2bytes(i) - 1)) + i < 0 ⊦ int2bytes(i).first = i2b(~1), # int2bytes(i) ≤ n ↔ ¬ 2 ^ (8 * n→i(n)) + i < 0, b2i(int2bytes(i).first) = ~1
Used simplifier rules: int2bytes-empty: ⊦ int2bytes(i) ≠ [];% ⊦ j < i ∧ i ≤ 0 → j < 0; (forward)% ⊦ n -1 = n - 1;% ⊦ i + j = j + i;% ⊦ i + j + i0 = (i + j) + i0;