| remove-refsize0(gstore0) = gstore0, remove-refsize0(istore0) = istore0, elems nx ∩ ginval = ∅, dom gstore0 ∪ elems nx = dom gstore ∪ ginval, inv(gstore \ ginval), inv(gstore0), inv(istore), inv(istore0), maxino ∈ gstore, istore0 ⊑ istore, ¬ dups(nx), ¬ maxino ∈ ginval, pstate.journal? → nx ≠ [] ∧ pstate.lnum = nx.last ∧ pstate.lnum ∈ gstore, pstate.index? → pstate.lnum ∈ istore ⊦ ⟨apersistence_read_gblock_nodes#(maxino, adr0, istore, istore0, ginval, gstore, gstore0, nx, maxino1, ginval2, pstate, true; ax, gndx; err)⟩ true |
syn ↔ true, adr = adr0, ginval = ginval2, ginval0 = ginval1, gstore = gstore1, gstore0 = gstore2, istore = istore1, istore0 = istore2, maxino = maxino1, maxino0 = maxino2, 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), maxino2 ∈ gstore2, istore1 ⊑ istore2, pstate.index? → pstate.lnum ∈ istore2, pstate.journal? → nx ≠ [] ∧ pstate.lnum = nx.last ∧ pstate.lnum ∈ gstore2 ⊦ ⟨if maxino0 ∈ gstore0 ∧ ¬ maxino0 ∈ ginval0 then {fail_or_success#(; ; err); if err = ESUCCESS then ax := ax + gstore0[maxino0].ladrlist.to-adr(maxino0), gndx := gndx + gstore0[maxino0].gndlist else ax := ?, gndx := ?} else abort⟩ true, dups(nx), maxino2 ∈ ginval1
Used simplifier rules: read-gblock: ⊦ ;