| bytes2int(bytes1) * 256 + band(b2i(by), 255) = i + 256, bytes1 = bytes1.first ', ~129 < i, i < 0, ∀ bytes0. # bytes0 < #(bytes1 + by ') → true → # bytes0 = # int2bytes(bytes2int(bytes0)) → bytes0 = int2bytes(bytes2int(bytes0)) ⊦ bytes1 + by ' = i2b(0) ' + i2b(i) ', bytes1 = [] |
bytes1 = by0 + bytes, bytes2int(bytes1) * 256 + band(b2i(by), 255) = i + 256, bytes1 = by0 ', ~129 < i, i < 0, ∀ bytes0. # bytes0 < #(bytes1 + by ') → true → # bytes0 = # int2bytes(bytes2int(bytes0)) → bytes0 = int2bytes(bytes2int(bytes0)) ⊦ bytes1 + by ' = i2b(0) ' + i2b(i) ', bytes1 = []
Used simplifier rules: bytes ≠ [] ⊦ by = bytes.first ∧ bytes0 = bytes.rest ↔ bytes = by + bytes0; (elim) Used terms: bytes1, by0, bytes