| tr(m0, n1, r), tr(m1, n2, r + re '), ftr(m1, n2, r + re '), tr(m0, n1, r + re '), n2 < m0, ltrans(m0, n1, re.p, r), m1 .. n2 ∈ ts2, m0 .. n1 ∈ restn(# ts0 + 1, ts0 + (m0 .. n1)' + ts2), pos(m0 .. n1, restn(# ts0 + 1, ts0 + (m0 .. n1)' + ts2)) ≤ pos(m1 .. n2, ts2), m1 .. n2 ∈ restn(# ts0 + 1, ts0 + (m0 .. n1)' + ts2), ∀ m, n, m2, n0. <rt(m .. n, m2 .. n0, r) → pos(m .. n, ts0 + (m0 .. n1)' + ts2) < pos(m2 .. n0, ts0 + (m0 .. n1)' + ts2), ∀ n, n0. n .. n0 ∈ ts0 ∨ n .. n0 = m0 .. # r ∨ n .. n0 ∈ restn(# ts0 + 1, ts0 + (m0 .. n1)' + ts2) ↔ tr(n, n0, r + re '), ∀ n, n0. n .. n0 ∈ ts0 ∨ n .. n0 = m0 .. n1 ∨ n .. n0 ∈ ts2 ↔ tr(n, n0, r) ⊦ m0 .. n1 = m0 .. # r, m0 .. n1 = m1 .. n2, m1 .. n2 = m0 .. # r, re = Begin(re.p), m0 = 0, <rt(m1 .. n2, m0 .. n1, r), dups(restn(# ts0 + 1, ts0 + (m0 .. n1)' + ts2)), dups(ts2), dups(ts0), dups(ts0 + ts2), m0 .. n1 ∈ ts0, m0 .. # r ∈ ts0, m0 .. # r ∈ restn(# ts0 + 1, ts0 + (m0 .. n1)' + ts2), dups(ts0 + restn(# ts0 + 1, ts0 + (m0 .. n1)' + ts2)), m0 .. n1 ∈ ts2, m1 .. n2 ∈ ts0 |
⊦ m ≤ # ts + # ts0 ∧ # ts ≤ m → restn(m, ts + ts0) = restn(m - # ts, ts0)
Used simplifier rules: len-05: ⊦ #(rg ' + ts) = (# ts)+1; from specification list[translist]%succ: ⊦ m +1 = m + 1; from specification nat-basic2%a: ⊦ (ts + ts0) + ts1 = ts + ts0 + ts1; from specification list[translist]%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%lep-02: ⊦ m + n ≤ m + n0 ↔ n ≤ n0; from specification nat%lep: ⊦ m ≤ m + n; from specification nat%c: ⊦ m + n = n + m; from specification nat-basic2%eq-01: ⊦ m + n - m = n; from specification nat%rest-one: ⊦ restn(1, rg ' + ts) = ts; from specification list-del[translist] Used terms: (m0 .. n1)' + ts2, ts0, # ts0 + 1