| i % 256 = 0, i < 0, i < ~256 ⊦ int2bytes(i) = int2bytes(i / 256) + i2b(0) ' |
j < ~(2 ^ (i * 8)), 0 < i, j % 2 ^ (i * 8) = 0 ⊦ int2bytes(j) = int2bytes(j / 2 ^ (i * 8)) + fix(i→n(i + 1), int2bytes(j % 2 ^ (i * 8))).rest
Used simplifier rules: int2bytes-byte: ~128 ≤ i, i < 128 ⊦ int2bytes((* i)) = i2b(i) ';%fix-two: ⊦ fix(2, i2b(0) ') = i2b(0) ' + i2b(0) ';% ⊦ bytes + bytes0 = bytes + bytes1 ↔ bytes0 = bytes1;% ⊦ (bytes + bytes0) + bytes1 = bytes + bytes0 + bytes1;%j0 ≠ 0, j ≤ j0 ⊦ i < (* j) → i < (* j0);% ⊦ (by ' + bytes).rest = bytes;% ⊦ by ' = by0 ' ↔ by = by0; Used terms: i, 0 +1