| # ts1 = n1 + 1, (restn(# ts0 + 1, ts0 + ts1) + (ts0 + ts1)[# ts0] ')[n2] = m .. m0, transseq(r, ts0 + restn(# ts0 + 1, ts0 + ts1) + (ts0 + ts1)[# ts0] '), n2 ≤ n1, transseq(r, ts0 + ts1), presrt(r, ts0 + ts1), ∀ n. # ts0 ≤ n ∧ ¬ # ts0 + n1 < n → ltr((ts0 + ts1)[n].begin, (ts0 + ts1)[n].end, r) ∧ nowrites(runevs((ts0 + ts1)[n].begin, (ts0 + ts1)[n].end, r)), ∀ n. ¬ # ts0 + n1 < n → (∃ σ. σ[0] = ∅ ∧ ⟦cp(firstn(n, ts0 + ts1), r) + runevs((ts0 + ts1)[n].begin, (ts0 + ts1)[n].end, r)⟧ (σ) ∧ (n = # ts0 + n1 → σ.last = mem)) ⊦ ts1 = [], ts0 + ts1 = [], ∃ σ. σ[0] = ∅ ∧ ⟦(cp(ts0, r) + cp(firstn(n2, restn(# ts0 + 1, ts0 + ts1) + (ts0 + ts1)[# ts0] '), r)) + runevs(m, m0, r)⟧ (σ) ∧ (n1 = n2 → σ.last = mem) |
⊦ ¬ n < # ts → (ts + ts0)[n] = ts0[n - # ts]
¬ # ts0 < # ts0, # ts1 = n1 + 1, (restn(# ts0 + 1, ts0 + ts1) + ts1[# ts0 - # ts0] ')[n2] = m .. m0, transseq(r, ts0 + restn(# ts0 + 1, ts0 + ts1) + ts1[# ts0 - # ts0] '), n2 ≤ n1, transseq(r, ts0 + ts1), presrt(r, ts0 + ts1), ∀ n. # ts0 ≤ n ∧ ¬ # ts0 + n1 < n → ltr((ts0 + ts1)[n].begin, (ts0 + ts1)[n].end, r) ∧ nowrites(runevs((ts0 + ts1)[n].begin, (ts0 + ts1)[n].end, r)), ∀ n. ¬ # ts0 + n1 < n → (∃ σ. σ[0] = ∅ ∧ ⟦cp(firstn(n, ts0 + ts1), r) + runevs((ts0 + ts1)[n].begin, (ts0 + ts1)[n].end, r)⟧ (σ) ∧ (n = # ts0 + n1 → σ.last = mem)) ⊦ ts1 = [], ts0 + ts1 = [], ∃ σ. σ[0] = ∅ ∧ ⟦(cp(ts0, r) + cp(firstn(n2, restn(# ts0 + 1, ts0 + ts1) + ts1[# ts0 - # ts0] '), r)) + runevs(m, m0, r)⟧ (σ) ∧ (n1 = n2 → σ.last = mem)
Used simplifier rules: get-append-less: ⊦ n < # ts → (ts + ts0)[n] = ts[n]; from specification list-del[translist]%a: ⊦ (ts + ts0) + ts1 = ts + ts0 + ts1; from specification list[translist]%ref-1: ⊦ ¬ n < n; from specification nat-basic1 Used terms: # ts0, ts1, ts0