| int2bytes(i).first = i2b(0), 2 ^ (8 * (1 + n→i(# int2bytes(i).rest - 1)) - 1) ≤ i, 0 ≤ i, 2 ≤ # int2bytes(i), i < 2 ^ (8 * n→i(# int2bytes(i) - 1)) ⊦ # int2bytes(i) = n ↔ ¬ i < 2 ^ ((n→i(n) - 1) * 8 - 1) ∧ ¬ 2 ^ ((n→i(n) - 1) * 8) ≤ i ∧ n ≠ 0, int2bytes(i).rest = [] |
int2bytes(i).first = i2b(0), 2 ^ (8 * (1 + n→i(# int2bytes(i).rest - 1)) - 1) ≤ i, 0 ≤ i, 2 ≤ # int2bytes(i), i < 2 ^ (8 * n→i(# int2bytes(i) - 1)) ⊦ n = 0, # int2bytes(i) = n ↔ ¬ i < 2 ^ ((n→i(n) - 1) * 8 - 1) ∧ ¬ 2 ^ ((n→i(n) - 1) * 8) ≤ i ∧ n ≠ 0, int2bytes(i).rest = []
Used simplifier rules: int2bytes-empty: ⊦ int2bytes(i) ≠ [];% ⊦ # bytes = 0 ↔ bytes = [];% ⊦ ¬ i < j ↔ j ≤ i;% ⊦ i ≤ 0 ∧ 0 ≤ j → i ≤ j;% ⊦ ¬ i ≤ j ↔ j < i;% ⊦ i ≤ j → (¬ ¬ j < i ↔ false); Used formulas: n = 0