| ∀ y. firstn(# x0, x0 + y) = x0 ⊦ firstn(#(a + x0), (a + x0) + y) = a + x0 |
∀ y. firstn(# x0, x0 + y) = x0 ⊦ firstn(# x0, x0 + y) = x0
Used simplifier rules: firstN-rec: ⊦ firstn(n + 1, x) = x.first + firstn(n, x.rest);%app-08: ⊦ a ' + x = a ' + y ↔ x = y; from specification list%c: ⊦ m + n = n + m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%c-08: ⊦ (a ' + x).first = a; from specification list%c-07: ⊦ (a ' + x).rest = x; from specification list%a: ⊦ (x + y) + z = x + y + z; from specification list%succ: ⊦ m +1 = m + 1; from specification nat-basic2%len-05: ⊦ #(a ' + x) = (# x)+1; from specification list%c: ⊦ a + x = a ' + x; from specification list