| adr = adr0, ginval0 = ginval, ginval1 = ginval2, gstore1 = crash(gstore, gstore0, ginval, nx), gstore2 = gstore0, istore1 = remove-refsize0(crash(istore, istore0)), istore2 = istore0, maxino = maxino0, nx0 = nx, syn, inv-index(istore, istore0), inv-journal(nx, gstore, gstore0, ginval), inv-state(pstate, nx, gstore, istore, syn) ⊦ ⟨apersistence_requires_commit#(adr0, istore, istore0, ginval, gstore, gstore0, nx, maxino0, ginval2, pstate, syn; ; syn0)⟩ ( syn ∧ adr = adr0 ∧ istore1 = remove-refsize0(crash(istore, istore0)) ∧ istore2 = istore0 ∧ ginval0 = ginval ∧ gstore1 = crash(gstore, gstore0, ginval, nx) ∧ gstore2 = gstore0 ∧ nx0 = nx ∧ maxino = maxino0 ∧ ginval1 = ginval2) |
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), istore0 ⊑ istore, ¬ dups(nx), pstate.journal? → nx ≠ [] ∧ pstate.lnum = nx.last ∧ pstate.lnum ∈ gstore, pstate.index? → pstate.lnum ∈ istore ⊦ ⟨apersistence_requires_commit#(adr0, istore, istore0, ginval, gstore, gstore0, nx, maxino0, ginval2, pstate, true; ; syn0)⟩ true
Used simplifier rules: ⊦ inv-index(istore, istore0) ↔ inv(istore) ∧ inv(istore0) ∧ istore0 ⊑ istore ∧ remove-refsize0(istore0) = istore0; (s)%⊦ inv-journal(nx, gstore, gstore0, ginval) ↔ inv(gstore \ ginval) ∧ inv(gstore0) ∧ elems nx ∩ ginval = ∅ ∧ ¬ dups(nx) ∧ dom gstore0 ∪ elems nx = dom gstore ∪ ginval ∧ remove-refsize0(gstore0) = gstore0; (s)%⊦ inv-state(pstate, nx, gstore, istore, syn) ↔ ( pstate.journal? → nx ≠ [] ∧ pstate.lnum = nx.last ∧ pstate.lnum ∈ gstore) ∧ (pstate.index? → pstate.lnum ∈ istore) ∧ (pstate = unbuffered → syn); (s)