| # bytes < n, # bytes < n ⊦ bytes = [], # bytes = 1, fix(n, bytes.butlast) = fillsgn(n, bytes).first ' + fillsgn(n, bytes).butlast |
⊦ # bytes < n → fix(n, bytes) = fillsgn(n, bytes)
# bytes.butlast < n, # bytes < n, # bytes < n ⊦ bytes = [], # bytes = 1, fillsgn(n, bytes.butlast) = fillsgn(n, bytes).first ' + fillsgn(n, bytes).butlast
Used simplifier rules: ⊦ bytes ≠ [] → # bytes.butlast = # bytes - 1;% ⊦ # bytes = 0 ↔ bytes = [];% ⊦ m < 1 ↔ m = 0;% ⊦ ¬ m ≤ n ↔ n < m;%n0 ≤ n ⊦ n - n0 < m ↔ n < m + n0;% ⊦ m < n + 1 ↔ ¬ n < m;% ⊦ m < n → ¬ n < m;% ⊦ (m + n0) + n1 = m + n0 + n1;% ⊦ m + n = n + m; Used terms: bytes.butlast, n