[Imprint][Data Privacy Statement][E-Mail]



View long theorem info. View the proof. Back to main index. View the specification. View theorem base summary, View theorem base listing, the used properties by spec, the dependency list, the symbol table,

Proof step 202 from proof swap-preserves-opaqueplus (previous step)

# σ9 = # cp(ts1, r), # σ10 = # runevs(m, m0, r), ∅ ' + σ8 = σ9 + mem4 ' + σ10, ((m .. m0)' + ts2)[# ts2] = m1 .. m2, ∅ ' + σ1 = σ2 + mem1 ' + σ3, # σ3 = # runevs(m1, m2, r), # σ4 = # σ9 + # σ5, mem ' + σ4 = σ + mem2 ' + σ5, # σ5 = # cp(firstn(# ts2, (m .. m0)' + ts2), r), # σ = # σ9, σ2 + mem1 ' = mem ' + σ4, # σ2 = # σ4, cp(ts0, r) = [], presrt(r, ts0 + (m4 .. m5)' + ts1 + (m .. m0)' + ts2), transseq(r, ts0 + (m4 .. m5)' + ts1 + (m .. m0)' + ts2), transseq(r, ts0 + ts1 + ((m .. m0)' + ts2) + (m4 .. m5)'), ⟦cp(ts1, r)⟧ (σ + mem2 '), ⟦cp(firstn(# ts2, (m .. m0)' + ts2), r)⟧ (mem2 ' + σ5), ltr(m4, m5, r), nowrites(runevs(m4, m5, r)), ⟦[]⟧ (mem '), ⟦runevs(m1, m2, r)⟧ (mem1 ' + σ3), ⟦runevs(m, m0, r)⟧ (mem4 ' + σ10), ⟦cp(ts1, r)⟧ (σ9 + mem4 '), ⟦[]⟧ (∅ '), ∅ ∈ σ9, ts2 = [] → (∅ ' + σ8).last = (∅ ' + σ1).last, mem ∈ σ ∨ mem = mem2 ∨ mem ∈ σ5, mem1 = mem ∨ mem1 ∈ σ4, mem ∈ σ2 ∨ mem = mem1, ∀ n. # ts0 ≤ n ∧ ¬ # ts0 + (# ts2 + # ts1) + 1 < n → ltr((ts0 + (m4 .. m5)' + ts1 + (m .. m0)' + ts2)[n].begin, (ts0 + (m4 .. m5)' + ts1 + (m .. m0)' + ts2)[n].end, r) ∧ nowrites(runevs((ts0 + (m4 .. m5)' + ts1 + (m .. m0)' + ts2)[n].begin, (ts0 + (m4 .. m5)' + ts1 + (m .. m0)' + ts2)[n].end, r)), ∅ ∈ σ2 ∨ ∅ = mem1 ∨ ∅ ∈ σ3 ⊦ σ9 = [], σ9.first = ∅

Heuristic elimination applied rule insert elim lemma

And closed the goal!

Rule argument

spec: list-data inst: memorylist name: elim-list-c seq: σ ≠ [] ⊦ mem = σ.first ∧ σ0 = σ.rest ↔ σ = mem + σ0 subst: [σ, mem, σ0] → [σ9, mem0, σ0] flags:

Additional information

Used simplifier rules: c: ⊦ mem + σ = mem ' + σ; from specification list[memorylist]%len-05: ⊦ #(mem ' + σ) = (# σ)+1; from specification list[memorylist]%succ: ⊦ m +1 = m + 1; 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]%σ ≠ [] ⊦ mem = σ.first ∧ σ0 = σ.rest ↔ σ = mem + σ0; (elim) Used terms: σ9, mem0, σ0