| 1 < # bytes, # bytes = # int2bytes(bytes2int(bytes.butlast) * 256 + band(b2i(bytes.last), 255)), ∀ bytes0. # bytes0 < # bytes → true → # bytes0 = # int2bytes(bytes2int(bytes0)) → bytes0 = int2bytes(bytes2int(bytes0)) ⊦ bytes = int2bytes(bytes2int(bytes.butlast) * 256 + band(b2i(bytes.last), 255)) |
# bytes = # int2bytes(bytes2int(bytes.butlast) * 256 + band(b2i(bytes.last), 255)), ∀ bytes0. # bytes0 < # bytes → true → # bytes0 = # int2bytes(bytes2int(bytes0)) → bytes0 = int2bytes(bytes2int(bytes0)) ⊦ bytes = int2bytes(bytes2int(bytes.butlast) * 256 + band(b2i(bytes.last), 255)), # bytes = 1, bytes = []
Used simplifier rules: ⊦ # bytes = 0 ↔ bytes = [];% ⊦ 1 < m ↔ ¬(m = 0 ∨ m = 1);