| remove-refsize0(gstore1) = gstore1, remove-refsize0(istore1) = istore1, elems nx ∩ ginval1 = ∅, dom gstore1 ∪ elems nx = dom gstore2 ∪ ginval1, inv(gstore2 \ ginval1), inv(gstore1), inv(istore2), inv(istore1), adr2 ∈ istore2, istore1 ⊑ istore2, ¬ dups(nx), pstate.journal? → nx ≠ [] ∧ pstate.lnum = nx.last ∧ pstate.lnum ∈ gstore2, pstate.index? → pstate.lnum ∈ istore2 ⊦ ⟨err := EIO; if err = ESUCCESS then ind := istore2[adr2] else ind := ?⟩ true |
remove-refsize0(istore1) = istore1, remove-refsize0(gstore1) = gstore1, elems nx ∩ ginval1 = ∅, dom gstore1 ∪ elems nx = dom gstore2 ∪ ginval1, inv(istore1), inv(istore2), inv(gstore1), inv(gstore2 \ ginval1), adr2 ∈ istore2, istore1 ⊑ istore2, pstate.index? → pstate.lnum ∈ istore2, pstate.journal? → nx ≠ [] ∧ pstate.lnum = nx.last ∧ pstate.lnum ∈ gstore2 ⊦ ⟨if EIO = ESUCCESS then ind := istore2[adr2] else ind := ?⟩ true, dups(nx)