| # x = n0 + n1 + 1, x = a + y, ∀ x, n0. # x = n0 + n1 → restn(n1, x) = firstn(n0, restn(n1, x)) ⊦ restn(n1, y) = firstn(n0, restn(n1, y)), x = [] |
# y = n0 + n1, ∀ x, n0. # x = n0 + n1 → restn(n1, x) = firstn(n0, restn(n1, x)) ⊦ restn(n1, y) = firstn(n0, restn(n1, y))
Used simplifier rules: ⊦ a ' + x ≠ []; (s)%c: ⊦ m + n = n + m; from specification nat-basic%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic% ⊦ m + n = m + n0 ↔ n = n0; (s)%a: ⊦ (x + y) + z = x + y + z; from specification list% ⊦ # a ' = 0 +1; (s)% ⊦ #(x + y) = # x + # y; (s)% ⊦ a + x = a ' + x; (s)