| # int2bytes(i) ≤ i→n(j), # int2bytes(i) ≤ i→n(j), 0 ≤ i ⊦ j = 0, i >> 8 * j = bytes2int(firstn(# int2bytes(i), mklist(i2b(0), i→n(j)) + int2bytes(i))) |
⊦ m ≤ # bytes → firstn(m, bytes + bytes0) = firstn(m, bytes)
# int2bytes(i) ≤ # mklist(i2b(0), i→n(j)), # int2bytes(i) ≤ i→n(j), # int2bytes(i) ≤ i→n(j), 0 ≤ i ⊦ j = 0, i >> 8 * j = bytes2int(firstn(# int2bytes(i), mklist(i2b(0), i→n(j))))
Used simplifier rules: ⊦ # mklist(by, n) = n;% ⊦ ¬ m ≤ n ↔ n < m;% ⊦ m ≤ n → (n < m ↔ false); Used terms: int2bytes(i), mklist(i2b(0), i→n(j)), # int2bytes(i)