| int2bytes(i).first = i2b(0), 0 ≤ i ⊦ # int2bytes(i) = n ↔ ¬ i < 2 ^ ((n→i(n) - 1) * 8 - 1) ∧ ¬ 2 ^ ((n→i(n) - 1) * 8) ≤ i ∧ n ≠ 0 |
⊦ b2i(by) < 0 → bytes2int(i2b(0) ' + by ' + bytes) < 2 ^ ((n→i(# bytes) + 1) * 8)
b2i(int2bytes(i).rest.first) < 0 → bytes2int(i2b(0) ' + int2bytes(i).rest.first ' + int2bytes(i).rest.rest) < 2 ^ ((n→i(# int2bytes(i).rest.rest) + 1) * 8), int2bytes(i).first = i2b(0), 0 ≤ i ⊦ # int2bytes(i) = n ↔ ¬ i < 2 ^ ((n→i(n) - 1) * 8 - 1) ∧ ¬ 2 ^ ((n→i(n) - 1) * 8) ≤ i ∧ n ≠ 0
Used terms: int2bytes(i).rest.first, int2bytes(i).rest.rest