| b2i(by) < 0 ⊦ int2bytes(bytes2int(i2b(0) ' + by ' + bytes)) = i2b(0) ' + by ' + bytes |
1 < # bytes, b2i(bytes.first) = 0, b2i(bytes.rest.first) < 0 ⊦ int2bytes(bytes2int(bytes)) = bytes
Used simplifier rules: ⊦ #(bytes + bytes0) = # bytes + # bytes0;% ⊦ # by ' = 0 +1;% ⊦ (bytes + bytes0) + bytes1 = bytes + bytes0 + bytes1;% ⊦ 1 < m ↔ ¬(m = 0 ∨ m = 1);% ⊦ m + n = 0 ↔ m = 0 ∧ n = 0;% ⊦ (m + n0) + n1 = m + n0 + n1;% ⊦ m + n = n + m;%n < n0 ⊦ (* n) ≠ m0 + (* n0);% ⊦ (by ' + bytes).first = by;% ⊦ b2i(i2b(0)) = 0;% ⊦ (by ' + bytes).rest = bytes;% ⊦ ¬ i < j ↔ j ≤ i;% ⊦ i < j → (¬ ¬ j ≤ i ↔ false); Used terms: i2b(0) ' + by ' + bytes