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