| # bytes = # int2bytes(bytes2int(bytes.butlast) * 256 + band(b2i(bytes.last), 255)), bytes2int(bytes.butlast) * 256 + band(b2i(bytes.last), 255) ≤ 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 = [] |
bytes = bytes1 + by ', # bytes = # int2bytes(bytes2int(bytes1) * 256 + band(b2i(by), 255)), bytes2int(bytes1) * 256 + band(b2i(by), 255) ≤ 255, ∀ bytes0. # bytes0 < # bytes → true → # bytes0 = # int2bytes(bytes2int(bytes0)) → bytes0 = int2bytes(bytes2int(bytes0)) ⊦ bytes = int2bytes(bytes2int(bytes1) * 256 + band(b2i(by), 255)), # bytes = 1, bytes = []
Used simplifier rules: bytes ≠ [] ⊦ by = bytes.last ∧ bytes0 = bytes.butlast ↔ bytes = bytes0 + by '; (elim) Used terms: bytes, by, bytes1