| loc .. loc0 = ts[n], ts[n2] = m0 .. n1, n2 < # ts, <rt(m0 .. n1, m .. n0, r), transseq(r, firstn(n, ts) + restn(n + 1, ts) + (loc .. loc0)'), n < # ts, semok(r, ts, mem), # ts + pos(m .. n0, (loc .. loc0)') ≤ (n2 - (n < n2 ⊃ 1;0)) + 1, ∀ n0, n1. n0 .. n1 ∈ ts ↔ tr(n0, n1, r), ∀ m, n, m0, n0. <rt(m .. n, m0 .. n0, r) → pos(m .. n, ts) < pos(m0 .. n0, ts), ∀ n0. n ≤ n0 ∧ n0 < # ts → ltr(ts[n0].begin, ts[n0].end, r) ∧ nowrites(runevs(ts[n0].begin, ts[n0].end, r)) ⊦ ts = [], m0 .. n1 = loc .. loc0, m .. n0 ∈ ts, dups(ts), m .. n0 ∈ restn(n + 1, ts) |
⊦ ¬ rg ∈ ts → pos(rg, ts) = # ts
¬ ¬ m .. n0 ∈ (loc .. loc0)', loc .. loc0 = ts[n], ts[n2] = m0 .. n1, n2 < # ts, <rt(m0 .. n1, m .. n0, r), transseq(r, firstn(n, ts) + restn(n + 1, ts) + (loc .. loc0)'), n < # ts, semok(r, ts, mem), # ts + pos(m .. n0, (loc .. loc0)') ≤ (n2 - (n < n2 ⊃ 1;0)) + 1, ∀ n0, n1. n0 .. n1 ∈ ts ↔ tr(n0, n1, r), ∀ m, n, m0, n0. <rt(m .. n, m0 .. n0, r) → pos(m .. n, ts) < pos(m0 .. n0, ts), ∀ n0. n ≤ n0 ∧ n0 < # ts → ltr(ts[n0].begin, ts[n0].end, r) ∧ nowrites(runevs(ts[n0].begin, ts[n0].end, r)) ⊦ ts = [], m0 .. n1 = loc .. loc0, m .. n0 ∈ ts, dups(ts), m .. n0 ∈ restn(n + 1, ts)
Used simplifier rules: len-02: ⊦ # rg ' = 0 +1; from specification list[translist]%lep-02: ⊦ m + n ≤ m + n0 ↔ n ≤ n0; from specification nat%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2%in-17: ⊦ rg ∈ rg0 ' ↔ rg = rg0; from specification list[translist]%fle: ⊦ m < n ∧ n ≤ n0 → m < n0; (forward) from specification nat%sub-base: ⊦ m - 0 = m; from specification nat%ref-1: ⊦ ¬ n < n; from specification nat-basic1%lels-01: ⊦ ¬ m ≤ n ↔ n < m; from specification nat%one-01: ⊦ m < 1 ↔ m = 0; from specification nat-basic1%get-zero: ⊦ ts ≠ [] → ts[0] = ts.first; from specification list-del[translist]%zero-01: ⊦ ¬ m < 0; from specification nat-basic1%ls: n0 ≤ n ⊦ m < n - n0 ↔ m + n0 < n; from specification nat%ls-le-simp: ⊦ m < n → (n ≤ m ↔ false); from specification nat%lez-01: ⊦ m ≤ 0 ↔ m = 0; from specification nat%l: ⊦ # ts = 0 ↔ ts = []; from specification list-data[translist]%l-02: ⊦ ¬ m + n < m; from specification nat-basic2 Used terms: (loc .. loc0)', m .. n0