| bytes = bytes1 + by ', b2i(bytes.first) < 0, ∀ n, bytes0. # bytes0 < # bytes → b2i(bytes0.first) < 0 → bytes2int(mklist(i2b(~1), n) + bytes0) = bytes2int(bytes0) ∨ bytes0 = [] ⊦ bytes = [], bytes2int(mklist(i2b(~1), n) + bytes) = bytes2int(bytes1) * 256 + band(b2i(by), 255), # bytes = 1 |
b2i(bytes1.first) < 0, ∀ n, bytes0. # bytes0 < #(bytes1 + by ') → b2i(bytes0.first) < 0 → bytes2int(mklist(i2b(~1), n) + bytes0) = bytes2int(bytes0) ∨ bytes0 = [] ⊦ bytes2int(mklist(i2b(~1), n) + bytes1 + by ') = bytes2int(bytes1) * 256 + band(b2i(by), 255), bytes1 = []
Used simplifier rules: ⊦ j < i ∧ i ≤ 0 → j < 0; (forward)% ⊦ bytes ≠ [] → (bytes + bytes0).first = bytes.first;% ⊦ m + n = n + m;% ⊦ (m + n0) + n1 = m + n0 + n1;% ⊦ # bytes = 0 ↔ bytes = [];% ⊦ m + n = 1 ↔ m = 0 ∧ n = 1 ∨ n = 0 ∧ m = 1;% ⊦ # by ' = 0 +1;% ⊦ #(bytes + bytes0) = # bytes + # bytes0;% ⊦ (bytes + bytes0) + bytes1 = bytes + bytes0 + bytes1;% ⊦ bytes + by ' ≠ [];