| int2bytes(i / 256) = i2b(0) ' + by ' + bytes.butlast, int2bytes(i % 256).last = bytes.last, 0 < i, 0 ≤ b2i(by), 255 < i, i2b(0) ∈ int2bytes(i / 256), ∀ bytes, by, i0. i→n(i0) < i→n(i) → int2bytes(i0) = i2b(0) ' + by ' + bytes ∧ 0 ≤ b2i(by) ∧ i2b(0) ∈ int2bytes(i0) → false ⊦ bytes = [] |
bytes = bytes0 + by0 ', int2bytes(i / 256) = i2b(0) ' + by ' + bytes0, int2bytes(i % 256).last = by0, 0 < i, 0 ≤ b2i(by), 255 < i, i2b(0) ∈ int2bytes(i / 256), ∀ bytes, by, i0. i→n(i0) < i→n(i) → int2bytes(i0) = i2b(0) ' + by ' + bytes ∧ 0 ≤ b2i(by) ∧ i2b(0) ∈ int2bytes(i0) → false ⊦ bytes = []
Used simplifier rules: bytes ≠ [] ⊦ by = bytes.last ∧ bytes0 = bytes.butlast ↔ bytes = bytes0 + by '; (elim) Used terms: bytes, by0, bytes0