| ltrans(m, n, re.p, r), m .. n ∈ restn(# ts0 + 1, ts0 + (m .. n)' + ts2), ∀ n0, n1. n0 .. n1 ∈ ts0 ∨ n0 .. n1 = m .. n ∨ n0 .. n1 ∈ ts2 ↔ tr(n0, n1, r) ⊦ m .. n = m .. # r, re = Begin(re.p), ltrans(m, n, re.p, r + re '), ftrans(m, n, re.p, r), m .. n ∈ ts0, m .. n ∈ ts2, dups(ts0 + ts2), m .. # r ∈ ts0, m .. # r ∈ ts2, dups(ts0), dups(ts2) |
⊦ 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: (m .. n)' + ts2, ts0, # ts0 + 1