| 0 < b2i(by), 2 ^ ((n→i(# bytes) + 1) * 8 - 1) ≤ band(255, b2i(bytes.last)) + 256 * bytes2int(by ' + bytes.butlast), ∀ by, bytes0. # bytes0 < # bytes → true → 0 < b2i(by) → bytes2int(by ' + bytes0) < 2 ^ ((n→i(# bytes0) + 1) * 8 - 1) ⊦ bytes = [], bytes = [] |
bytes = bytes1 + by0 ', 0 < b2i(by), 2 ^ ((n→i(# bytes) + 1) * 8 - 1) ≤ band(255, b2i(by0)) + 256 * bytes2int(by ' + bytes1), ∀ by, bytes0. # bytes0 < # bytes → true → 0 < b2i(by) → bytes2int(by ' + bytes0) < 2 ^ ((n→i(# bytes0) + 1) * 8 - 1) ⊦ bytes = [], bytes = []
Used simplifier rules: bytes ≠ [] ⊦ by = bytes.last ∧ bytes0 = bytes.butlast ↔ bytes = bytes0 + by '; (elim) Used terms: bytes, by0, bytes1