| 255 < i, int2bytes(i / 256) + int2bytes(i % 256).last ' = i2b(0) ' + by ' + bytes, i2b(0) ∈ int2bytes(i / 256) + int2bytes(i % 256).last ', 0 ≤ b2i(by), ∀ bytes, by, i0. i→n(i0) < i→n(i) → int2bytes(i0) = i2b(0) ' + by ' + bytes ∧ 0 ≤ b2i(by) ∧ i2b(0) ∈ int2bytes(i0) → false ⊦ |
int2bytes(i / 256) + int2bytes(i % 256).last ' = i2b(0) ' + by ' + bytes, 0 < i, 0 ≤ b2i(by), 255 < i, ∀ bytes, by, i0. i→n(i0) < i→n(i) → int2bytes(i0) = i2b(0) ' + by ' + bytes ∧ 0 ≤ b2i(by) ∧ i2b(0) ∈ int2bytes(i0) → false ⊦ int2bytes(i % 256).last ≠ i2b(0) ∧ int2bytes(i % 256).last ≠ by ∧ ¬ int2bytes(i % 256).last ∈ bytes, ¬ i2b(0) ∈ int2bytes(i / 256) ∧ i2b(0) ≠ int2bytes(i % 256).last
Used simplifier rules: i0 ≠ 0, i0 < i ⊦ (* i) < j → (* i0) < j;% ⊦ i < j ∧ 0 < i → 0 < j ∧ 1 < j; (forward)% ⊦ i < j ∧ 0 ≤ i → 0 < j; (forward)% ⊦ by ' + bytes = bytes0 → by ∈ bytes0; (forward)% ⊦ bytes + by ' = bytes0 → by ∈ bytes0; (forward)% ⊦ (bytes + bytes0) + bytes1 = bytes + bytes0 + bytes1;% ⊦ by ∈ by0 ' ↔ by = by0;% ⊦ by ∈ bytes + bytes0 ↔ ¬ ¬(by ∈ bytes ∨ by ∈ bytes0);