| restn(n, a ' + x0) = [], n ≤ # x0, ∀ n0. n0 < # x0 → restn(n0, x0) = [] → n0 = # x0 ⊦ n = 1 + # x0 |
⊦ 0 < n → restn(n, x) = restn(n -1, x.tail)
restn(n -1, (a ' + x0).tail) = [], 0 < n, n ≤ # x0, ∀ n0. n0 < # x0 → restn(n0, x0) = [] → n0 = # x0 ⊦ n = 1 + # x0
Used simplifier rules: restN-zero: ⊦ restn(0, x) = x;% ⊦ 0 < n ↔ n ≠ 0; (s)% ⊦ x + y = [] ↔ x = [] ∧ y = []; (as)% ⊦ a ' ≠ []; (s)%a: ⊦ (x + y) + z = x + y + z; from specification list Used terms: a ' + x0, n