| syn ↔ true, adr = adr1, adr0 = adr2, ginval = ginval2, ginval0 = ginval1, gstore = gstore1, gstore0 = gstore2, istore = istore1, istore0 = istore2, maxino = maxino0, 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, pstate.journal? → nx ≠ [] ∧ pstate.lnum = nx.last ∧ pstate.lnum ∈ gstore2, pstate.index? → pstate.lnum ∈ istore2 ⊦ ⟨fail_or_success#(; ; err); if err = ESUCCESS then ind := istore0[adr0] else ind := ?⟩ true, dups(nx) |
syn ↔ true, adr = adr1, adr0 = adr2, ginval = ginval2, ginval0 = ginval1, gstore = gstore1, gstore0 = gstore2, istore = istore1, istore0 = istore2, maxino = maxino0, 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 ⊦ ⟨choose err0 with ⌊err0⌋ ∨ err0 = ESUCCESS in err := err0; if err = ESUCCESS then ind := istore0[adr0] else ind := ?⟩ true, dups(nx)
Used simplifier rules: fail_or_success#(; ; ERR) {choose ERR0 with ⌊ERR0⌋ ∨ ERR0 = ESUCCESS in ERR := ERR0};