| ts[n] = m .. n1, ts[m1 + 1] = m0 .. n0, n ≤ m1, m1 + 1 < # ts, m1 < (# ts - n + 1) + n, n < # ts, n + 1 < # ts ⊦ restn(n + 1, ts)[m1 - n] = m0 .. n0, # ts = m1, m0 .. n0 = m .. n1, ts = [], # ts = 1, dups(ts) |
Used simplifier rules: a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2%restn-at: ⊦ m + n < # ts → restn(m, ts)[n] = ts[m + n]; from specification list-del[translist]%n ≤ m ⊦ n0 = m - n ↔ m = n0 + n; (elim) Used terms: m1, n, n2