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