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