| int2bytes(i / 256) = i2b(0) ' + (i2b(0) ' + bytes).butlast, int2bytes(i % 256).last = (i2b(0) ' + bytes).last, 0 < i, 0 ≤ i, 255 < i, i2b(0) ∈ int2bytes(i / 256), ∀ bytes, i0. i→n(i0) < i→n(i) → int2bytes(i0) = i2b(0) ' + i2b(0) ' + bytes ∧ 0 ≤ i0 → false ⊦ int2bytes(i % 256).last ≠ i2b(0) ∧ ¬ int2bytes(i % 256).last ∈ bytes |
bytes = [], int2bytes(i / 256) = i2b(0) ' + (i2b(0) ' + bytes).butlast, int2bytes(i % 256).last = (i2b(0) ' + bytes).last, 0 < i, 0 ≤ i, 255 < i, i2b(0) ∈ int2bytes(i / 256), ∀ bytes, i0. i→n(i0) < i→n(i) → int2bytes(i0) = i2b(0) ' + i2b(0) ' + bytes ∧ 0 ≤ i0 → false ⊦ int2bytes(i % 256).last ≠ i2b(0) ∧ ¬ int2bytes(i % 256).last ∈ bytes
int2bytes(i / 256) = i2b(0) ' + (i2b(0) ' + bytes).butlast, int2bytes(i % 256).last = (i2b(0) ' + bytes).last, 0 < i, 0 ≤ i, 255 < i, i2b(0) ∈ int2bytes(i / 256), ∀ bytes, i0. i→n(i0) < i→n(i) → int2bytes(i0) = i2b(0) ' + i2b(0) ' + bytes ∧ 0 ≤ i0 → false ⊦ bytes = [], int2bytes(i % 256).last ≠ i2b(0) ∧ ¬ int2bytes(i % 256).last ∈ bytes
Used formulas: bytes = []