| firstn(# x0 - # z, x0).last = a, a0 ' + x0 = firstn(n1, a0 ' + x0) + a ' + z, # x0 = n1 + # z, # z ≤ # x0, a0 ∈ firstn(n1, a0 ' + x0) ⊦ n1 = 0, firstn(n1, x0).last = a |
# x0 = n1 + # z, a0 ' + x0 = firstn(n1, a0 ' + x0) + firstn(# x0 - # z, x0).last ' + z, a0 ∈ firstn(n1, a0 ' + x0), # z ≤ # x0 ⊦ firstn(n1, x0).last = firstn(# x0 - # z, x0).last, n1 = 0
Used simplifier rules: in-11: ⊦ a ∈ x → a ∈ x + y; from specification list%a: ⊦ (x + y) + z = x + y + z; from specification list%in-14: ⊦ a ' + x = y → a ∈ y; (forward) from specification list