| # σ1 + 1 ≠ 0, σ0 = mklist(mem1, # σ0), # σ1 = # cp(ts, r), ts[n] = m .. m0, mem1 ' + σ1 = mem0 + mklist(mem0, # σ1 + 1 - 1), # σ0 = # runevs(loc, loc0, r), ⟦runevs(loc, loc0, r)⟧ (σ0 + mem1 '), ctr(loc, loc0, r), nowrites(runevs(loc, loc0, r)), ⟦cp(ts, r)⟧ (mem1 ' + σ1), transseq(r, ts0 + ((loc .. loc0)' + ts) + ts2), ∀ n. ¬ # ts < n → nowrites(runevs(((loc .. loc0)' + ts)[n].begin, ((loc .. loc0)' + ts)[n].end, r)) ⊦ σ0 + mem1 ' + σ1 = mklist(mem0, # σ0 + # σ1 + 1) |
# σ0 = # runevs(loc, loc0, r), σ0 = mklist(mem0, # σ0), # σ1 = # cp(ts, r), ts[n] = m .. m0, σ1 = mklist(mem0, # σ1), ⟦runevs(loc, loc0, r)⟧ (σ0 + mem0 '), ctr(loc, loc0, r), nowrites(runevs(loc, loc0, r)), ⟦cp(ts, r)⟧ (mem0 ' + σ1), transseq(r, ts0 + ((loc .. loc0)' + ts) + ts2), ∀ n. ¬ # ts < n → nowrites(runevs(((loc .. loc0)' + ts)[n].begin, ((loc .. loc0)' + ts)[n].end, r)) ⊦ σ0 + mem0 ' + σ1 = mklist(mem0, # σ0 + # σ1 + 1)
Used simplifier rules: len-02: ⊦ # mem ' = 0 +1; from specification list[memorylist]%len: ⊦ #(σ + σ0) = # σ + # σ0; from specification list[memorylist]%eq-01: ⊦ m + n = m + n0 ↔ n = n0; from specification nat-basic2%succ: ⊦ m +1 = m + 1; from specification nat-basic2%len-05: ⊦ #(mem ' + σ) = (# σ)+1; from specification list[memorylist]%sem-fw: ⊦ ⟦r⟧ (σ) → # σ = # r + 1; (forward) from specification opaque%oz: ⊦ m + 1 ≠ 0; from specification nat-basic2%a: ⊦ (σ + σ0) + σ1 = σ + σ0 + σ1; from specification list[memorylist]%c-06: ⊦ mem ' + σ = mem0 ' + σ0 ↔ mem = mem0 ∧ σ = σ0; from specification list[memorylist]%c: ⊦ mem + σ = 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%add-base: ⊦ n + 0 = n; from specification nat-basic2%add-01: ⊦ n ≤ m → m + n0 - n = (m - n) + n0; from specification nat