| # x0 ≤ n ⊦ (n ≤ # x0 + # x1 ⊃ firstn(n, x0 + x1);x0 + x1) = x0 + (n ≤ # x1 + # x0 ⊃ firstn(n - # x0, x1);x1) |
# x0 ≤ n, n ≤ # x0 + # x1 ⊦ firstn(n, x0 + x1) = x0 + (n ≤ # x1 + # x0 ⊃ firstn(n - # x0, x1);x1)
Used simplifier rules: c: ⊦ m + n = n + m; from specification nat-basic% ⊦ x + y = x + z ↔ y = z; (s)%a: ⊦ (x + y) + z = x + y + z; from specification list