| ⊦ ~129 = bytes2int(i2b(~1) ' + i2b(127) ') |
⊦ 1 < # bytes → bytes2int(bytes) = bytes2int(bytes.butlast) * 256 + band(b2i(bytes.last), 255)
Used simplifier rules: bytes2int-one: ⊦ bytes2int(by ') = b2i(by);% ⊦ # by ' = 0 +1;% ⊦ #(bytes + bytes0) = # bytes + # bytes0;% ⊦ (bytes + by ').last = by;% ⊦ (bytes + bytes0) + bytes1 = bytes + bytes0 + bytes1;%~128 ≤ i, i ≤ 127 ⊦ b2i(i2b((* i))) = i;% ⊦ 0 ≤ i → band(i, 255) = i % 256;% ⊦ band(i, band(i0, j)) = band(band(i, i0), j);% ⊦ band(i, j) = band(j, i);% ⊦ (bytes + by ').butlast = bytes; Used terms: i2b(~1) ' + i2b(127) '