| int2bytes(i1 / 256) = (i2b(0) ' + bytes).butlast, int2bytes((i1 + 255) % 256).last = (i2b(0) ' + bytes).last, i1 < 0, i1 < ~383, ∀ bytes, i0. i→n(i0) < i→n(i1 + 255) → int2bytes(i0) = i2b(0) ' + bytes ∧ i0 < 0 ∧ i2b(0) ∈ int2bytes(i0) → false ⊦ (i2b(0) ' + bytes).last ≠ i2b(0) ∧ ¬ (i2b(0) ' + bytes).last ∈ bytes, ¬ i2b(0) ∈ int2bytes(i1 / 256) ∧ i2b(0) ≠ (i2b(0) ' + bytes).last |
int2bytes(i1 / 256) = (i2b(0) ' + bytes).butlast, int2bytes((i1 + 255) % 256).last = (i2b(0) ' + bytes).last, i1 < 0, i1 < ~383, ∀ bytes, i0. i→n(i0) < i→n(i1 + 255) → int2bytes(i0) = i2b(0) ' + bytes ∧ i0 < 0 ∧ i2b(0) ∈ int2bytes(i0) → false ⊦ bytes = [], (i2b(0) ' + bytes).last ≠ i2b(0) ∧ ¬ (i2b(0) ' + bytes).last ∈ bytes, ¬ i2b(0) ∈ int2bytes(i1 / 256) ∧ i2b(0) ≠ (i2b(0) ' + bytes).last
Used simplifier rules: int2bytes-empty: ⊦ int2bytes(i) ≠ [];% ⊦ bytes + [] = bytes;% ⊦ (bytes + bytes0) + bytes1 = bytes + bytes0 + bytes1;% ⊦ by '.butlast = []; Used formulas: bytes = []