| ¬ ctr(loc, loc0, r), # σ0 = # [], mem ' + σ1 = mklist(mem0, # σ1 + 1), ts[n] = m .. m0, # σ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)) ⊦ ∃ mem0. σ0 + mem ' + σ1 = mklist(mem0, # σ0 + # σ1 + 1) |
mem ' + σ1 = mklist(mem0, # σ1 + 1), ts[n] = m .. m0, # σ1 = # cp(ts, r), ⟦[]⟧ (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)) ⊦ ctr(loc, loc0, r), ∃ mem1. mem ' + σ1 = mklist(mem1, 1 + # σ1)
Used simplifier rules: in-rec: ⊦ mem ∈ mem0 ' + σ ↔ ¬ ¬(mem = mem0 ∨ mem ∈ σ); from specification list[memorylist]%size-01: ⊦ # [] = 0; from specification list-data[memorylist]%c: ⊦ m + n = n + m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%len-02: ⊦ # mem ' = 0 +1; from specification list[memorylist]%Nil: ⊦ [] + σ = σ; from specification list[memorylist]%sem-fw: ⊦ ⟦r⟧ (σ) → # σ = # r + 1; (forward) from specification opaque%a: ⊦ (σ + σ0) + σ1 = σ + σ0 + σ1; from specification list[memorylist]%in-14: ⊦ mem ' + σ = σ0 → mem ∈ σ0; (forward) from specification list[memorylist]%l: ⊦ # σ = 0 ↔ σ = []; from specification list-data[memorylist]%size-01: ⊦ # [] = 0; from specification list-data[run]