[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 277 from proof refine-add-gnds (previous step)

# lpt1 = # avol, # lpt0 = # avol, # buf0 = gndx0.flashsize, # gndx0 = # lax0, (elems nx ∪ dom gstore0) ++ n = dom gstore ∪ ginval, isbuf ↔ isbuf1, avol[n] = mapped(buf1), gstore[n] = groupblock(gndx1, lax, m1), lpt1[n] = mklp(m1, # buf1, LP_GROUP_NODES, m2), adr = adr0, ax = ax0, gndx = gndx0, istore = istore1, istore0 = istore2, keyset(gch) = gc-heap(lpt1, nx + n '), log = nx + n ', maxino = m0, ns = ns0, pstate = journal(n), remove-refsize0(istore1) = istore1, remove-refsize0(gstore0) = gstore0, ginval ∩ elems nx = ∅, n < # avol, ginval < # avol, abs-gstore(avol, lpt1, gstore, ginval), abs-istore(avol, lpt1, istore2), abs-nodes(buf0, # buf1, gndx0, lax0, false), awbuf-inv(avol, buffered(n)), bin-heap-inv(gch, lpt1), buf-ro-rw-mode(false, buffered(n), lpt1, avol), bufs-log-only(buffered(n), nx + n ', lpt1), flash-lpt-cons(lpt0, istore1, gstore0), freelist-cons(lpt1, freelist), inv(groupblock(gndx1, lax, m1)), inv(istore1), inv(istore2), inv(gstore0), inv(gstore \ ginval), log-group-block(nx + n ', lpt1), lpt-free-unref(lpt1), lpt-free-unref(lpt0), lpt-leb-size(lpt1), lpt-leb-size(lpt0), lpt-ram-flash(lpt1, lpt0, nx + n '), n ∈ gstore, # buf1 + gndx0.flashsize ≤ LEB_SIZE, istore1 ⊑ istore2, ⌊err⌋ , isbuf1 → synced(avol) ⊦ ⟨if pstate.journal? ∨ pstate = readonly then if pstate = readonly then err0 := EROFS else {choose lax, err with (⌊err⌋ ∨ err = ESUCCESS) ∧ ¬ dups(gstore[pstate.lnum].ladrlist + lax) ∧ # lax ≤ # gndx ∧ inv-flashsize(prefixn(# lax, gndx), lax) ∧ (err = ESUCCESS ↔ # lax = # gndx) in {ax := lax.to-adr(pstate.lnum), err0 := err; gstore[pstate.lnum].gndlist := gstore[pstate.lnum].gndlist + prefixn(# lax, gndx); gstore[pstate.lnum].ladrlist := gstore[pstate.lnum].ladrlist + lax; if err0 ≠ ESUCCESS then ax := ?, pstate := readonly}; isbuf := ?} else abort⟩ ( abs-gstore(avol, lpt1[n, mklp(lpt1[n].ref-size, LEB_SIZE, lpt1[n].flags, lpt1[n].gcheapidx)], gstore, ginval) ∧ (isbuf → synced(avol)) ∧ pstate = readonly ∧ lax0.to-adr(n) = ax ∧ err = err0), gndx0 = [], dups(nx), n ∈ ginval, n ∈ nx

Heuristic symbolic execution applied rule if positive right

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Used simplifier rules: ⊦ journal(m).journal?; (s)