| (σ4 + mem ')[0] = ∅, ((m5 .. m6)' + ts1)[# ts1] = m3 .. m4, # σ2 = # cp(firstn(# ts1, (m5 .. m6)' + ts1), r), # σ3 = # runevs(m3, m4, r), mem ' + σ1 = σ2 + mem1 ' + σ3, # σ4 = # cp(ts0, r), ⟦runevs(m5, m6, r)⟧ (mem ' + mklist(mem, # runevs(m5, m6, r))), ⟦runevs(m3, m4, r)⟧ (mem1 ' + σ3), ⟦cp(firstn(# ts1, (m5 .. m6)' + ts1), r)⟧ (σ2 + mem1 '), transseq(r, ts0 + (m5 .. m6)' + (m1 .. m2)' + ts1), nowrites(runevs(m5, m6, r)), ltr(m5, m6, r), nowrites(runevs(m1, m2, r)), ltr(m1, m2, r), transseq(r, ts0 + (m1 .. m2)' + (m5 .. m6)' + ts1), presrt(r, ts0 + (m1 .. m2)' + (m5 .. m6)' + ts1), ⟦cp(ts0, r)⟧ (σ4 + mem '), ⟦runevs(m1, m2, r)⟧ (mem ' + mklist(mem, # runevs(m1, m2, r))), ⟦[]⟧ (mem '), ts1 = [] → mem = (mem ' + σ1).last, ∀ n2. n2 < # ts0 + 2 + # ts1 → (∃ σ. σ[0] = ∅ ∧ ⟦ cp(firstn(n2, ts0 + (m1 .. m2)' + (m5 .. m6)' + ts1), r) + runevs((ts0 + (m1 .. m2)' + (m5 .. m6)' + ts1)[n2].begin, (ts0 + (m1 .. m2)' + (m5 .. m6)' + ts1)[n2].end, r) ⟧ (σ) ∧ (n2 = # ts0 + # ts1 + 1 → σ.last = (mem ' + σ1).last)), mem ∈ σ2 ∨ mem = mem1 ∨ mem ∈ σ3 ⊦ (σ4 + mem ' + mklist(mem, # runevs(m1, m2, r)))[0] = ∅ ∧ ⟦cp(ts0, r) + runevs(m1, m2, r)⟧ (σ4 + mem ' + mklist(mem, # runevs(m1, m2, r))) ∧ (ts1 = [] → (σ4 + mem ' + mklist(mem, # runevs(m1, m2, r))).last = (mem ' + σ1).last) |
(σ4 + mem ')[0] = ∅, ((m5 .. m6)' + ts1)[# ts1] = m3 .. m4, # σ2 = # cp(firstn(# ts1, (m5 .. m6)' + ts1), r), # σ3 = # runevs(m3, m4, r), mem ' + σ1 = σ2 + mem1 ' + σ3, # σ4 = # cp(ts0, r), ⟦runevs(m5, m6, r)⟧ (mem ' + mklist(mem, # runevs(m5, m6, r))), ⟦runevs(m3, m4, r)⟧ (mem1 ' + σ3), ⟦cp(firstn(# ts1, (m5 .. m6)' + ts1), r)⟧ (σ2 + mem1 '), transseq(r, ts0 + (m5 .. m6)' + (m1 .. m2)' + ts1), nowrites(runevs(m5, m6, r)), ltr(m5, m6, r), nowrites(runevs(m1, m2, r)), ltr(m1, m2, r), transseq(r, ts0 + (m1 .. m2)' + (m5 .. m6)' + ts1), presrt(r, ts0 + (m1 .. m2)' + (m5 .. m6)' + ts1), ⟦cp(ts0, r)⟧ (σ4 + mem '), ⟦runevs(m1, m2, r)⟧ (mem ' + mklist(mem, # runevs(m1, m2, r))), ⟦[]⟧ (mem '), ts1 = [] → mem = (mem ' + σ1).last, ∀ n2. n2 < # ts0 + 2 + # ts1 → (∃ σ. σ[0] = ∅ ∧ ⟦ cp(firstn(n2, ts0 + (m1 .. m2)' + (m5 .. m6)' + ts1), r) + runevs((ts0 + (m1 .. m2)' + (m5 .. m6)' + ts1)[n2].begin, (ts0 + (m1 .. m2)' + (m5 .. m6)' + ts1)[n2].end, r) ⟧ (σ) ∧ (n2 = # ts0 + # ts1 + 1 → σ.last = (mem ' + σ1).last)), mem ∈ σ2 ∨ mem = mem1 ∨ mem ∈ σ3 ⊦ ⟦cp(ts0, r) + runevs(m1, m2, r)⟧ (σ4 + mem ' + mklist(mem, # runevs(m1, m2, r)))
Used simplifier rules: app-getzero: ⊦ (σ + mem ' + σ0)[0] = (σ + mem ')[0];%consmklist-last: ⊦ (mem ' + mklist(mem, n)).last = mem; from specification list-last[memorylist]%lapp-01: ⊦ (σ + mem ' + σ0).last = (mem ' + σ0).last; from specification list-last[memorylist]%a: ⊦ (σ + σ0) + σ1 = σ + σ0 + σ1; from specification list[memorylist]