| 1 + # bytes0 < n, 0 ≤ b2i(by), 0 ≤ bytes2int(by ' + bytes0) ⊦ mklist(i2b(0), n - 1 + # bytes0) + by ' + bytes0 = i2b(0) ' + fix(n - 1, by ' + bytes0) |
⊦ # bytes ≤ n ∧ 0 ≤ bytes2int(bytes) → fix(n, bytes) = mklist(i2b(0), n - # bytes) + bytes
#(by ' + bytes0) ≤ n - 1 ∧ 0 ≤ bytes2int(by ' + bytes0), 1 + # bytes0 < n, 0 ≤ b2i(by), 0 ≤ bytes2int(by ' + bytes0) ⊦ mklist(i2b(0), n - 1 + # bytes0) + by ' + bytes0 = i2b(0) ' + mklist(i2b(0), n - 1 - #(by ' + bytes0)) + by ' + bytes0
Used simplifier rules: ⊦ #(bytes + bytes0) = # bytes + # bytes0;% ⊦ # by ' = 0 +1;% ⊦ (bytes + bytes0) + bytes1 = bytes + bytes0 + bytes1;% ⊦ m + 1 ≤ n ↔ m < n;% ⊦ m < n → n ≠ 0;% ⊦ m < 1 ↔ m = 0;% ⊦ ¬ m ≤ n ↔ n < m;%n0 ≤ n ⊦ m < n - n0 ↔ m + n0 < n;% ⊦ ¬ m < n ↔ n ≤ m;% ⊦ m + n = n + m;% ⊦ m < n → (n ≤ m ↔ false);% ⊦ (m + n0) + n1 = m + n0 + n1;% ⊦ ¬ i ≤ j ↔ j < i;% ⊦ i ≤ j → (¬ ¬ j < i ↔ false); Used terms: by ' + bytes0, n - 1