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