| ctr(loc, loc0, r), # σ0 = # runevs(loc, loc0, r), 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) |
# σ0 = # runevs(loc, loc0, r), mem ' + σ1 = mklist(mem0, # σ1 + 1), ts[n] = m .. m0, # σ1 = # cp(ts, r), transseq(r, ts0 + ((loc .. loc0)' + ts) + ts2), ⟦cp(ts, r)⟧ (mem ' + σ1), nowrites(runevs(loc, loc0, r)), ctr(loc, loc0, r), ⟦runevs(loc, loc0, r)⟧ (σ0 + mem '), ∀ 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)
Used simplifier rules: in-rec: ⊦ mem ∈ mem0 ' + σ ↔ ¬ ¬(mem = mem0 ∨ mem ∈ σ); from specification list[memorylist]%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%len-02: ⊦ # mem ' = 0 +1; from specification list[memorylist]%len: ⊦ #(σ + σ0) = # σ + # σ0; 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]