| 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 = 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 = []
Used simplifier rules: ⊦ bytes + by = bytes + by ';%bytes ≠ [] ⊦ bytes.butlast + bytes.last ' = bytes;% ⊦ (bytes + bytes0) + bytes1 = bytes + bytes0 + bytes1; Used formulas: bytes = bytes.butlast + bytes.last