| i % 256 = 0, i < 0, i ≤ ~256 ⊦ # (i ≠ ~256 ⊃ int2bytes(i / 256) + i2b(0) ';i2b(~1) ' + i2b(0) ') = 1, i / 256 = bytes2int((i ≠ ~256 ⊃ int2bytes(i / 256) + i2b(0) ';i2b(~1) ' + i2b(0) ').butlast) |
Used simplifier rules: int2bytes-empty: ⊦ int2bytes(i) ≠ [];%int2int: ⊦ bytes2int(int2bytes(i)) = i;%bytes2int-one: ⊦ bytes2int(by ') = b2i(by);%~128 ≤ i, i ≤ 127 ⊦ b2i(i2b((* i))) = i;% ⊦ #(bytes + bytes0) = # bytes + # bytes0;% ⊦ # by ' = 0 +1;% ⊦ (bytes + bytes0) + bytes1 = bytes + bytes0 + bytes1;% ⊦ m + n = 1 ↔ m = 0 ∧ n = 1 ∨ n = 0 ∧ m = 1;% ⊦ # bytes = 0 ↔ bytes = [];% ⊦ (m + n0) + n1 = m + n0 + n1;% ⊦ m + n = n + m;% ⊦ (bytes + by ').butlast = bytes;