| # lpt1 = # avol, # lpt2 = # avol, LEB_SIZE = n1 + m1, lpt2[n2] = mklp(m0, m1, lpf, m2), keyset(gch) = gc-heap(lpt2, log1), remove-refsize0(istore1) = istore1, remove-refsize0(gstore1) = gstore1, elems log1 ∩ ginval = ∅, dom gstore1 ∪ elems log1 = dom gstore2 ∪ ginval, pstate ≠ unbuffered, n2 < # avol, ginval < # avol, abs-gstore(avol, lpt2, gstore2, ginval), abs-istore(avol, lpt2, istore2), awbuf-inv(avol, buffered(n2)), bin-heap-inv(gch, lpt2), buf-ro-rw-mode(pstate = readonly, buffered(n2), lpt2, avol), bufs-log-only(buffered(n2), log1, lpt2), flash-lpt-cons(lpt1, istore1, gstore1), freelist-cons(lpt2, freelist), inv(istore1), inv(istore2), inv(gstore1), inv(gstore2 \ ginval), log-group-block(log1, lpt2), lpt-free-unref(lpt1), lpt-free-unref(lpt2), lpt-leb-size(lpt1), lpt-ram-flash(lpt2, lpt1, log1), m1 ≤ LEB_SIZE, istore1 ⊑ istore2, ¬ dups(log1), isbuf0 → synced(avol), pstate.index? → pstate.lnum ∈ istore2, pstate.journal? → log1 ≠ [] ∧ pstate.lnum = log1.last ∧ pstate.lnum ∈ gstore2, pstate ≠ readonly → n2 = pstate.lnum, ∀ n. n < # avol → lpt2[n].size ≤ LEB_SIZE ⊦ ∃ n. n ≤ LEB_SIZE ∧ ⟨n0 := n⟩ ((isbuf0 → synced(avol)) ∧ (pstate ≠ readonly → n2 = pstate.lnum) ∧ n1 = n0) |
# lpt2 = # avol, # lpt1 = # avol, LEB_SIZE = n1 + m1, lpt2[n2] = mklp(m0, m1, lpf, m2), keyset(gch) = gc-heap(lpt2, log1), remove-refsize0(gstore1) = gstore1, remove-refsize0(istore1) = istore1, elems log1 ∩ ginval = ∅, dom gstore1 ∪ elems log1 = dom gstore2 ∪ ginval, ginval < # avol, n2 < # avol, abs-gstore(avol, lpt2, gstore2, ginval), abs-istore(avol, lpt2, istore2), awbuf-inv(avol, buffered(n2)), bin-heap-inv(gch, lpt2), buf-ro-rw-mode(pstate = readonly, buffered(n2), lpt2, avol), bufs-log-only(buffered(n2), log1, lpt2), flash-lpt-cons(lpt1, istore1, gstore1), freelist-cons(lpt2, freelist), inv(gstore2 \ ginval), inv(gstore1), inv(istore2), inv(istore1), log-group-block(log1, lpt2), lpt-free-unref(lpt2), lpt-free-unref(lpt1), lpt-leb-size(lpt1), lpt-ram-flash(lpt2, lpt1, log1), m1 ≤ LEB_SIZE, istore1 ⊑ istore2, pstate ≠ readonly → n2 = pstate.lnum, pstate.journal? → log1 ≠ [] ∧ pstate.lnum = log1.last ∧ pstate.lnum ∈ gstore2, pstate.index? → pstate.lnum ∈ istore2, isbuf0 → synced(avol), pstate.lnum < # avol → lpt2[pstate.lnum].size ≤ LEB_SIZE ⊦ ∃ n. n ≤ LEB_SIZE ∧ ⟨n0 := n⟩ ((isbuf0 → synced(avol)) ∧ (pstate ≠ readonly → n2 = pstate.lnum) ∧ n1 = n0), pstate = unbuffered, dups(log1)
Used terms: pstate.lnum