| ∀ x, y. n0 ≤ # x → restn(n0, x + y) = restn(n0, x) + y, n0 +1 ≤ # x ⊦ restn(n0 +1, x + y) = restn(n0 +1, x) + y |
n0 < # x, ∀ x, y. n0 ≤ # x → restn(n0, x + y) = restn(n0, x) + y ⊦ x = [], restn(n0, x.rest + y) = restn(n0, x.rest) + y
Used simplifier rules: restN-rec: ⊦ restn(n + 1, x) = restn(n, x.rest);%a: ⊦ (x + y) + z = x + y + z; from specification list%rest-01: ⊦ x ≠ [] → (x + y).rest = x.rest + y; from specification list%l: ⊦ # x = 0 ↔ x = []; from specification list-data%f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic1%succ-01: ⊦ m + 1 ≤ n ↔ m < n; from specification nat%c: ⊦ m + n = n + m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%succ: ⊦ m +1 = m + 1; from specification nat-basic2