| bytes = bytes.butlast + bytes.last, int2bytes(bytes2int(i2b(0) ' + by ' + bytes)) = i2b(0) ' + by ' + bytes, 0 ≤ b2i(by), ∀ by, bytes0. # bytes0 < # bytes → int2bytes(bytes2int(i2b(0) ' + by ' + bytes0)) = i2b(0) ' + by ' + bytes0 ∧ 0 ≤ b2i(by) → false ⊦ bytes = [] |
bytes = bytes1 + by0 ', bytes = bytes1 + by0, int2bytes(bytes2int(i2b(0) ' + by ' + bytes)) = i2b(0) ' + by ' + bytes, 0 ≤ b2i(by), ∀ by, bytes0. # bytes0 < # bytes → int2bytes(bytes2int(i2b(0) ' + by ' + bytes0)) = i2b(0) ' + by ' + bytes0 ∧ 0 ≤ b2i(by) → false ⊦ bytes = []
Used simplifier rules: bytes ≠ [] ⊦ by = bytes.last ∧ bytes0 = bytes.butlast ↔ bytes = bytes0 + by '; (elim) Used terms: bytes, by0, bytes1