| ts = ts0 + ts1 ∧ # ts0 = n ∧ n ≤ # ts, n < # ts, semok(r, ts, mem), presrt(r, ts), ∀ n0, n1. n0 .. n1 ∈ ts ↔ tr(n0, n1, r), ∀ n0. n ≤ n0 ∧ n0 < # ts → ltr(ts[n0].begin, ts[n0].end, r) ∧ nowrites(runevs(ts[n0].begin, ts[n0].end, r)) ⊦ ts = [], dups(ts), ¬ dups(ts0 + restn(n + 1, ts) + ts[n] ') ∧ (n0 .. n1 ∈ ts0 ∨ n0 .. n1 ∈ restn(n + 1, ts) ∨ n0 .. n1 = ts[n] ↔ tr(n0, n1, r)) |
semok(r, ts0 + ts1, mem), presrt(r, ts0 + ts1), ∀ n, n2. n .. n2 ∈ ts0 ∨ n .. n2 ∈ ts1 ↔ tr(n, n2, r), ∀ n. # ts0 ≤ n ∧ n < # ts0 + # ts1 → ltr((ts0 + ts1)[n].begin, (ts0 + ts1)[n].end, r) ∧ nowrites(runevs((ts0 + ts1)[n].begin, (ts0 + ts1)[n].end, r)) ⊦ ts0 + ts1 = [], ts1 = [], dups(ts0 + ts1), dups(ts0), dups(ts1), ¬ dups(ts0 + restn(# ts0 + 1, ts0 + ts1) + (ts0 + ts1)[# ts0] ') ∧ (n0 .. n1 ∈ ts0 ∨ n0 .. n1 ∈ restn(# ts0 + 1, ts0 + ts1) ∨ n0 .. n1 = (ts0 + ts1)[# ts0] ↔ tr(n0, n1, r))
Used simplifier rules: a: ⊦ ¬ dups(ts + ts0) → ¬ dups(ts) ∧ ¬ dups(ts0); (forward) from specification list-dup[translist]%in-append: ⊦ rg ∈ ts + ts0 ↔ ¬ ¬(rg ∈ ts ∨ rg ∈ ts0); from specification list[translist]%l: ⊦ # ts = 0 ↔ ts = []; from specification list-data[translist]%l-01: ⊦ m < m + n ↔ n ≠ 0; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%lep: ⊦ m ≤ m + n; from specification nat%a: ⊦ (ts + ts0) + ts1 = ts + ts0 + ts1; from specification list[translist]%len: ⊦ #(ts + ts0) = # ts + # ts0; from specification list[translist]