m = m0 + 1, m ≤ # x ⊦ m = 0, firstn(m, x).last = x[m0]
Used simplifier rules: n ≠ 0 ⊦ m = n - 1 ↔ n = m + 1; (elim) Used terms: m, m0