| ¬ 0 ≤ b2i(by0), 0 ≤ b2i(by), # bytes2 = # bytes3, b2i(by) = band(b2i(by0), 255), bytes2int(bytes2) = bytes2int(bytes3), ∀ bytes0, bytes1. # bytes1 < #(bytes3 + by0 ') → # bytes0 = # bytes1 ∧ bytes2int(bytes0) = bytes2int(bytes1) → bytes0 = bytes1 ⊦ bytes3 = [], bytes2 + by ' = bytes3 + by0 ', by = by0 |
b2i(by) = 256 + b2i(by0), # bytes2 = # bytes3, bytes2int(bytes2) = bytes2int(bytes3), b2i(by0) < 0, 0 ≤ b2i(by), ∀ bytes0, bytes1. # bytes1 < #(bytes3 + by0 ') → # bytes0 = # bytes1 ∧ bytes2int(bytes0) = bytes2int(bytes1) → bytes0 = bytes1 ⊦ by = by0, bytes2 + by ' = bytes3 + by0 ', bytes3 = []
Used simplifier rules: ⊦ i < 0 ∧ 0 ≤ j → i < j;% ⊦ i ≤ j ∧ 0 ≤ i → 0 ≤ j; (forward)% ⊦ j < i ∧ i ≤ 0 → j < 0; (forward)% ⊦ i < j ∧ j ≤ j0 → i < j0; (forward)% ⊦ band(i, j) = band(j, i);% ⊦ band(i, band(i0, j)) = band(band(i, i0), j);% ⊦ i + j = j + i;% ⊦ i + j + i0 = (i + j) + i0;% ⊦ (b2i(by) + 1) % 256 = b2i(by) + 1;% ⊦ i < 0 → band(i, 255) = (i + 1) % 256 + 255;% ⊦ ¬ i ≤ j ↔ j < i;