| transseq(r, ts0 + (m0 .. n0)' + (m .. n)' + ts1), nowrites(runevs(m0, n0, r)), ltr(m0, n0, r), nowrites(runevs(m, n, r)), ltr(m, n, r), transseq(r, ts0 + (m .. n)' + (m0 .. n0)' + ts1), presrt(r, ts0 + (m .. n)' + (m0 .. n0)' + ts1), ∀ n1. n1 < # ts0 + 2 + # ts1 → (∃ σ. σ[0] = ∅ ∧ ⟦ cp(firstn(n1, ts0 + (m .. n)' + (m0 .. n0)' + ts1), r) + runevs((ts0 + (m .. n)' + (m0 .. n0)' + ts1)[n1].begin, (ts0 + (m .. n)' + (m0 .. n0)' + ts1)[n1].end, r) ⟧ (σ) ∧ (n1 = # ts0 + # ts1 + 1 → σ.last = mem)) ⊦ ∀ n1. n1 < #(ts0 + (m0 .. n0)' + (m .. n)' + ts1) → (∃ σ. σ[0] = ∅ ∧ ⟦ cp(firstn(n1, ts0 + (m0 .. n0)' + (m .. n)' + ts1), r) + runevs((ts0 + (m0 .. n0)' + (m .. n)' + ts1)[n1].begin, (ts0 + (m0 .. n0)' + (m .. n)' + ts1)[n1].end, r) ⟧ (σ) ∧ (n1 + 1 = #(ts0 + (m0 .. n0)' + (m .. n)' + ts1) → σ.last = mem)) |
n1 < # ts0 + 2 + # ts1, presrt(r, ts0 + (m .. n)' + (m0 .. n0)' + ts1), transseq(r, ts0 + (m .. n)' + (m0 .. n0)' + ts1), ltr(m, n, r), nowrites(runevs(m, n, r)), ltr(m0, n0, r), nowrites(runevs(m0, n0, r)), transseq(r, ts0 + (m0 .. n0)' + (m .. n)' + ts1), ∀ n1. n1 < # ts0 + 2 + # ts1 → (∃ σ. σ[0] = ∅ ∧ ⟦ cp(firstn(n1, ts0 + (m .. n)' + (m0 .. n0)' + ts1), r) + runevs((ts0 + (m .. n)' + (m0 .. n0)' + ts1)[n1].begin, (ts0 + (m .. n)' + (m0 .. n0)' + ts1)[n1].end, r) ⟧ (σ) ∧ (n1 = # ts0 + # ts1 + 1 → σ.last = mem)) ⊦ ∃ σ. σ[0] = ∅ ∧ ⟦ cp(firstn(n1, ts0 + (m0 .. n0)' + (m .. n)' + ts1), r) + runevs((ts0 + (m0 .. n0)' + (m .. n)' + ts1)[n1].begin, (ts0 + (m0 .. n0)' + (m .. n)' + ts1)[n1].end, r) ⟧ (σ) ∧ (n1 = # ts0 + # ts1 + 1 → σ.last = mem)
Used simplifier rules: add-num-03: n < n0 ⊦ (* n) ≠ m0 + (* n0); from specification nat%f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic1%add-num-01: n < n0 ⊦ m + (* n) = m0 + (* n0) ↔ m = m0 + (n0 - n); from specification nat%c: ⊦ m + n = n + m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%a: ⊦ (ts + ts0) + ts1 = ts + ts0 + ts1; from specification list[translist]%succ: ⊦ m +1 = m + 1; from specification nat-basic2%len-05: ⊦ #(rg ' + ts) = (# ts)+1; from specification list[translist]%len: ⊦ #(ts + ts0) = # ts + # ts0; from specification list[translist]