| n0 ≤ # y, ∀ n0, y. n0 ≤ # y → restn(n0 + # x0, x0 + y) = restn(n0, y) ⊦ restn(n0 + #(a + x0), (a + x0) + y) = restn(n0, y) |
n0 ≤ # y, ∀ n0, y. n0 ≤ # y → restn(n0 + # x0, x0 + y) = restn(n0, y) ⊦ restn(n0 + # x0, x0 + y) = restn(n0, y)
Used simplifier rules: restN-rec: ⊦ restn(n + 1, x) = restn(n, x.tail);%c: ⊦ m + n = n + m; from specification nat-basic% ⊦ (a ' + x).tail = x; (s)%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic%a: ⊦ (x + y) + z = x + y + z; from specification list% ⊦ # a ' = 0 +1; (s)% ⊦ #(x + y) = # x + # y; (s)% ⊦ a + x = a ' + x; (s)