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