[Imprint][Data Privacy Statement][E-Mail]



View long theorem info. View the proof. Back to main index. View the specification. View theorem base summary, View theorem base listing, the used properties by spec, the dependency list, the symbol table,

Proof step 171 from proof refine-allocate-gnd (previous step)

# lpt1 = # avol, # lpt0 = # avol, lpt1[n0] = mklp(0, m1, LP_FREE, m2), keyset(gch) = gc-heap(lpt1, log1), log = log1, pstate0 = pstate, remove-refsize0(gstore0) = gstore0, remove-refsize0(istore0) = istore0, elems log1 ∩ ginval = ∅, dom gstore0 ∪ elems log1 = dom gstore ∪ ginval, pstate ≠ readonly, ginval < # avol, n0 < # avol, abs-gstore(avol, lpt1, gstore, ginval), abs-istore(avol, lpt1, istore), awbuf-inv(avol, bleb), bin-heap-inv(gch, lpt1), buf-ro-rw-mode(false, bleb, lpt1, avol), bufs-log-only(bleb, log1, lpt1), flash-lpt-cons(lpt0, istore0, gstore0), freelist-cons(lpt1, n0 ' + nx0), inv(gstore \ ginval), inv(gstore0), inv(istore), inv(istore0), log-group-block(log1, lpt1), lpt-free-unref(lpt1), lpt-free-unref(lpt0), lpt-leb-size(lpt1), lpt-leb-size(lpt0), lpt-ram-flash(lpt1, lpt0, log1), synced(avol), istore0 ⊑ istore, ⌊err0⌋ , ¬ dups(log1), pstate = unbuffered → bleb = nobuffer, pstate.journal? → log1 ≠ [] ∧ pstate.lnum = log1.last ∧ pstate.lnum ∈ gstore, pstate.index? → pstate.lnum ∈ istore, pstate ≠ unbuffered → bleb = buffered(pstate.lnum) ⊦ ⟨apersistence_allocate_gnd#(adr0, istore, istore0, gstore0, m, ns0, true; ginval, gstore, log1, pstate; err1)⟩ ( abs-gstore(avol, lpt1, gstore, ginval) ∧ log1 = log ∧ ginval < # avol ∧ (pstate = unbuffered → bleb = nobuffer) ∧ (pstate = readonly ↔ pstate0 = readonly) ∧ (pstate ≠ unbuffered ∧ pstate ≠ readonly → bleb = buffered(pstate.lnum)) ∧ err0 = err1)

Heuristic nonrecursive calls applied rule call right

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Used simplifier rules: apersistence_allocate_gnd# (ROOTADR, ISTORE, ISTORE0, GSTORE0, MAXINO, OS, PSYNCED ; GINVAL, GSTORE, NL, PSTATE ; ERR ) {if PSYNCED then if PSTATE = readonly then ERR := EROFS else {fail_or_success#(; ; ERR); if ERR = ESUCCESS then choose N with ¬ N ∈ GSTORE in GSTORE[N] := groupblock([], [], 0), NL := NL + N, GINVAL := GINVAL -- N, PSTATE := journal(N)} else abort };