| n < # bytes ⊦ bytes = [], # bytes = 1, n = 0, lastn(n, bytes.butlast) = lastn(n + 1, bytes).butlast |
⊦ n ≠ 0 → lastn(n, bytes) = lastn(n -1, bytes.butlast) + bytes.last
Used simplifier rules: ⊦ (m + 1)-1 = m;% ⊦ (m + n0) + n1 = m + n0 + n1;% ⊦ m + n = n + m;% ⊦ bytes + by = bytes + by ';% ⊦ (bytes + by ').butlast = bytes;% ⊦ (bytes + bytes0) + bytes1 = bytes + bytes0 + bytes1;% ⊦ m + 1 ≠ 0; Used terms: bytes, n + 1