| 255 < bytes2int(bytes.butlast) * 256 + band(b2i(bytes.last), 255), # bytes = # ( int2bytes((bytes2int(bytes.butlast) * 256 + band(b2i(bytes.last), 255)) / 256) + int2bytes((bytes2int(bytes.butlast) * 256 + band(b2i(bytes.last), 255)) % 256).last '), ∀ bytes0. # bytes0 < # bytes → true → # bytes0 = # int2bytes(bytes2int(bytes0)) → bytes0 = int2bytes(bytes2int(bytes0)) ⊦ bytes = int2bytes((bytes2int(bytes.butlast) * 256 + band(b2i(bytes.last), 255)) / 256) + int2bytes((bytes2int(bytes.butlast) * 256 + band(b2i(bytes.last), 255)) % 256).last ', # bytes = 1, bytes = [] |
# bytes = # int2bytes((bytes2int(bytes.butlast) * 256 + band(b2i(bytes.last), 255)) / 256) + 1, 0 < bytes2int(bytes.butlast) * 256 + band(b2i(bytes.last), 255), 255 < bytes2int(bytes.butlast) * 256 + band(b2i(bytes.last), 255), ∀ bytes0. # bytes0 < # bytes → true → # bytes0 = # int2bytes(bytes2int(bytes0)) → bytes0 = int2bytes(bytes2int(bytes0)) ⊦ bytes = [], # bytes = 1, bytes = int2bytes((bytes2int(bytes.butlast) * 256 + band(b2i(bytes.last), 255)) / 256) + int2bytes((bytes2int(bytes.butlast) * 256 + band(b2i(bytes.last), 255)) % 256).last '
Used simplifier rules: i0 ≠ 0, i0 < i ⊦ (* i) < j → (* i0) < j;% ⊦ i < j ∧ 0 < i → 0 < j ∧ 1 < j; (forward)% ⊦ i < j ∧ 0 ≤ i → 0 < j; (forward)% ⊦ (bytes + bytes0) + bytes1 = bytes + bytes0 + bytes1;% ⊦ # by ' = 0 +1;% ⊦ #(bytes + bytes0) = # bytes + # bytes0;