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