| (restn(n + 1, ts) + ts[n] ')[n2] = m .. m0, # ts = n1 + n + 1, transseq(r, firstn(n, ts) + restn(n + 1, ts) + ts[n] '), n < # ts, presrt(r, ts), transseq(r, ts), n2 ≤ n1, ∀ n. n < # ts → (∃ σ. σ[0] = ∅ ∧ ⟦cp(firstn(n, ts), r) + runevs(ts[n].begin, ts[n].end, r)⟧ (σ) ∧ (n + 1 = # ts → σ.last = mem)), ∀ n0. n ≤ n0 ∧ n0 < # ts → ltr(ts[n0].begin, ts[n0].end, r) ∧ nowrites(runevs(ts[n0].begin, ts[n0].end, r)) ⊦ ts = [], ∃ σ. σ[0] = ∅ ∧ ⟦cp(firstn(n2 + n, firstn(n, ts) + restn(n + 1, ts) + ts[n] '), r) + runevs(m, m0, r)⟧ (σ) ∧ (# ts = 1 + n2 + n → σ.last = mem) |
ts = ts0 + ts1 ∧ # ts0 = n ∧ n ≤ # ts, (restn(n + 1, ts) + ts[n] ')[n2] = m .. m0, # ts = n1 + n + 1, transseq(r, ts0 + restn(n + 1, ts) + ts[n] '), n < # ts, presrt(r, ts), transseq(r, ts), n2 ≤ n1, ∀ n. n < # ts → (∃ σ. σ[0] = ∅ ∧ ⟦cp(firstn(n, ts), r) + runevs(ts[n].begin, ts[n].end, r)⟧ (σ) ∧ (n + 1 = # ts → σ.last = mem)), ∀ n0. n ≤ n0 ∧ n0 < # ts → ltr(ts[n0].begin, ts[n0].end, r) ∧ nowrites(runevs(ts[n0].begin, ts[n0].end, r)) ⊦ ts = [], ∃ σ. σ[0] = ∅ ∧ ⟦cp(firstn(n2 + n, ts0 + restn(n + 1, ts) + ts[n] '), r) + runevs(m, m0, r)⟧ (σ) ∧ (# ts = 1 + n2 + n → σ.last = mem)
Used simplifier rules: lels-03: ⊦ m < n → m ≤ n; from specification nat%⊦ n ≤ # ts → ( ts0 = firstn(n, ts) ∧ ts1 = restn(n, ts) ↔ ts = ts0 + ts1 ∧ # ts0 = n); (elim) Used terms: ts, n, ts0, ts1