| ts1 = rg + ts2, rg = m0 .. n1, n2 < m0, tr(m0, n1, r + re '), ftr(m1, n2, r + re '), tr(m1, n2, r + re '), tr(m0, n1, r), pos(m0 .. n1, ts0 + (m0 .. # r)' + restn(# ts0 + 1, ts0 + ts1)) ≤ pos(m1 .. n2, ts0 + ts1), ltrans(m0, n1, re.p, r), ∀ n, n0. n .. n0 ∈ ts0 ∨ n .. n0 ∈ ts1 ↔ tr(n, n0, r), m0 .. n1 ∈ ts0 ∨ m0 .. n1 ∈ ts1, m1 .. n2 ∈ ts0 ∨ m1 .. n2 ∈ ts1, m0 .. n1 ∈ ts0 ∨ m0 .. n1 ∈ restn(# ts0 + 1, ts0 + ts1), <rt(m1 .. n2, m0 .. n1, r) → pos(m1 .. n2, ts0 + ts1) < # ts0, ∀ n3, n4. n3 .. n4 ∈ ts0 ∨ n3 .. n4 = m0 .. # r ∨ n3 .. n4 ∈ restn(# ts0 + 1, ts0 + ts1) ↔ tr(n3, n4, r + re '), ∀ m, n, m0, n0. <rt(m .. n, m0 .. n0, r) → pos(m .. n, ts0 + ts1) < pos(m0 .. n0, ts0 + ts1), m1 .. n2 ∈ ts0 ∨ m1 .. n2 ∈ restn(# ts0 + 1, ts0 + ts1) ⊦ ts1 = [], m0 = 0, ts0 + ts1 = [], re = Begin(re.p), m1 .. n2 = m0 .. # r, m0 .. n1 = m1 .. n2, m0 .. n1 = m0 .. # r, dups(ts1), dups(restn(# ts0 + 1, ts0 + ts1)), dups(ts0), dups(ts0 + restn(# ts0 + 1, ts0 + ts1)), m0 .. # r ∈ restn(# ts0 + 1, ts0 + ts1), m0 .. # r ∈ ts0, dups(ts0 + ts1) |
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
Used simplifier rules: lep: ⊦ m ≤ m + n; from specification nat%s: ⊦ m < n + 1 ↔ ¬ n < m; from specification nat-basic2%l: ⊦ m + n < m + n0 ↔ n < n0; from specification nat-basic2%oz: ⊦ m + 1 ≠ 0; from specification nat-basic2%inl-01: ⊦ rg ∈ ts → ¬ # ts ≤ pos(rg, ts); from specification list-del[translist]%app-05: ⊦ rg ∈ ts → pos(rg, ts + ts0) = pos(rg, ts); from specification list-del[translist]%lels: ⊦ ¬ m < n ↔ n ≤ m; from specification nat%l-05: ⊦ m + m0 < n → ¬ n + n0 < m; from specification nat-basic2%succ: ⊦ m +1 = m + 1; from specification nat-basic2%l: ⊦ # ts = 0 ↔ ts = []; from specification list-data[translist]%trans-1: ⊦ n < n0 ∧ n0 < n1 → n < n1; (forward) from specification nat-basic1%lf: ⊦ m < n ∧ n < n0 → m +1 < n0; (forward) from specification nat-basic1%a: ⊦ ¬ dups(ts + ts0) → ¬ dups(ts) ∧ ¬ dups(ts0); (forward) from specification list-dup[translist]%f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic1%in-01: ⊦ rg ≠ rg0 → (rg ∈ rg0 ' + ts ↔ rg ∈ ts); from specification list[translist]%in-10: ⊦ ¬ rg ∈ ts → (rg ∈ rg0 ' + ts ↔ rg = rg0); from specification list[translist]%in-rec: ⊦ rg ∈ rg0 ' + ts ↔ ¬ ¬(rg = rg0 ∨ rg ∈ ts); from specification list[translist]%c: ⊦ m + n = n + m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%succ-01: ⊦ m + 1 ≤ n ↔ m < n; from specification nat%pos-n: ⊦ rg ≠ rg0 → pos(rg, rg0 ' + ts) = pos(rg, ts) + 1; from specification list-del[translist]%app-05-neg: ⊦ ¬ rg ∈ ts → pos(rg, ts + ts0) = pos(rg, ts0) + # ts; from specification list-del[translist]%f-01: ⊦ dups(ts + rg ' + ts0) ↔ rg ∈ ts ∨ rg ∈ ts0 ∨ dups(ts + ts0); from specification list-dup[translist]%rec: ⊦ dups(rg ' + ts) ↔ ¬ ¬(rg ∈ ts ∨ dups(ts)); from specification list-dup[translist]%e-03: ⊦ ts + rg ' + ts0 ≠ []; from specification list[translist]%a: ⊦ (ts + ts0) + ts1 = ts + ts0 + ts1; from specification list[translist]%e-01: ⊦ rg ' + ts ≠ []; from specification list[translist]%c: ⊦ rg + ts = rg ' + ts; from specification list[translist]