| # σ0 = # (ctr(loc, loc0, r) ⊃ runevs(loc, loc0, r);[]), # σ1 = # cp(ts, r), ⟦(ctr(loc, loc0, r) ⊃ runevs(loc, loc0, r);[])⟧ (σ0 + mem '), transseq(r, ts0 + ((loc .. loc0)' + ts) + ts2), ⟦cp(ts, r)⟧ (mem ' + σ1), nowrites(runevs(loc, loc0, r)), ∀ n. ¬ # ts < n → nowrites(runevs(((loc .. loc0)' + ts)[n].begin, ((loc .. loc0)' + ts)[n].end, r)), #(mem ' + σ1) = # cp(ts, r) + 1 ∧ ⟦cp(ts, r)⟧ (mem ' + σ1) ∧ transseq(r, (ts0 + (loc .. loc0)') + ts + ts2) ∧ (∀ n1. n1 < # ts → nowrites(runevs(ts[n1].begin, ts[n1].end, r))) → (∃ mem0. mem ' + σ1 = mklist(mem0, #(mem ' + σ1))) ⊦ ∃ mem0. σ0 + mem ' + σ1 = mklist(mem0, # σ0 + # σ1 + 1) |
# σ0 = # (ctr(loc, loc0, r) ⊃ runevs(loc, loc0, r);[]), # σ1 = # cp(ts, r), ⟦(ctr(loc, loc0, r) ⊃ runevs(loc, loc0, r);[])⟧ (σ0 + mem '), transseq(r, ts0 + ((loc .. loc0)' + ts) + ts2), ⟦cp(ts, r)⟧ (mem ' + σ1), nowrites(runevs(loc, loc0, r)), ∀ n. ¬ # ts < n → nowrites(runevs(((loc .. loc0)' + ts)[n].begin, ((loc .. loc0)' + ts)[n].end, r)), (n < # ts → nowrites(runevs(ts[n].begin, ts[n].end, r))) → mem ' + σ1 = mklist(mem0, # σ1 + 1) ⊦ ∃ mem0. σ0 + mem ' + σ1 = mklist(mem0, # σ0 + # σ1 + 1)
Used simplifier rules: a: ⊦ (ts + ts0) + ts1 = ts + ts0 + ts1; from specification list[translist]%c: ⊦ m + n = n + m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%eq-01: ⊦ m + n = m + n0 ↔ n = n0; from specification nat-basic2%a: ⊦ (σ + σ0) + σ1 = σ + σ0 + σ1; from specification list[memorylist]%succ: ⊦ m +1 = m + 1; from specification nat-basic2%len-05: ⊦ #(mem ' + σ) = (# σ)+1; from specification list[memorylist]