| # x - # z = 0, x = firstn(# x - 1 + # z, x) + a ' + z ⊦ |
Used simplifier rules: first-length: ⊦ # firstn(n, x) = n;% ⊦ #(x + y) = # x + # y; (s)% ⊦ # a ' = 0 +1; (s)%a: ⊦ (x + y) + z = x + y + z; from specification list% ⊦ m + n - m = n; (s)%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic%c: ⊦ m + n = n + m; from specification nat-basic% ⊦ m + 1 ≠ 0; (s)