[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 151 from proof refine-sync (previous step)

# lpt1 = # avol0, # lpt0 = # avol0, # gndx = # lax, EB_PAGE_SIZE = # buf1 + # buf0 % EB_PAGE_SIZE, lpt1[pstate.lnum] = mklp(m, # buf0, LP_GROUP_NODES, m7), avol0[pstate.lnum] = mapped(buf0), gstore2[pstate.lnum] = groupblock(gndx, lax, m), keyset(gch) = gc-heap(lpt1, log1), remove-refsize0(istore1) = istore1, remove-refsize0(gstore1) = gstore1, elems log1 ∩ ginval = ∅, dom gstore1 ∪ elems log1 = dom gstore2 ∪ ginval, pstate.lnum < # avol0, ginval < # avol0, abs-istore(avol0, lpt1, istore2), abs-nodes(buf0, gndx, lax, # buf0 = LEB_SIZE), abs-padding(buf1), awbuf-inv(avol0, buffered(pstate.lnum)), awbuf-inv(avol0[pstate.lnum, mapped(buf0 + buf1)], buffered(pstate.lnum)), bin-heap-inv(gch, lpt1), buf-ro-rw-mode(false, buffered(pstate.lnum), lpt1, avol0), bufs-log-only(buffered(pstate.lnum), log1, lpt1), flash-lpt-cons(lpt0, istore1, gstore1), freelist-cons(lpt1, freelist), inv(istore1), inv(istore2), inv(gstore1), inv(gstore2 \ ginval), inv(groupblock(gndx, lax, m)), is-aligned(# buf0, 2 * NODE_HEADER_SIZE), 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), lpt-ram-flash(lpt1[pstate.lnum, mklp(m, # buf0 + # buf1, LP_GROUP_NODES, m7)], lpt0, log1), pstate.lnum ∈ gstore2, # buf0 + # buf1 ≤ LEB_SIZE, # buf0 ≤ LEB_SIZE, EB_PAGE_SIZE + # buf0 ≤ LEB_SIZE + # buf0 % EB_PAGE_SIZE, istore1 ⊑ istore2, pstate.index? → pstate.lnum ∈ istore2, pstate.journal? → log1 ≠ [] ∧ pstate.lnum = log1.last, pstate.index? ∨ pstate.journal? ⊦ buf1 = mkbuf(0), pstate = unbuffered, pstate = readonly, abs-nodes(buf0 + buf1, gndx, lax, # buf0 + # buf1 = LEB_SIZE), dups(log1), is-aligned(# buf0, EB_PAGE_SIZE), pstate.lnum ∈ ginval

Heuristic nonsplitting cut applied rule cut formula

And closed the goal!

Rule argument

fma: # buf0 = LEB_SIZE

Additional information

Used simplifier rules: ⊦ m ≠ n → (m ≤ n ↔ m < n); (s)%⊦ abs-nodes(buf0, gndx, lax0, false) → ( abs-nodes(buf0 + buf1, gndx, lax0, weak) ↔ abs-nodes(buf1, # buf0, [], [], weak)); (ss)%⊦ abs-padding(buf) → (abs-nodes(buf, m, gndx, lax, weak) ↔ gndx = [] ∧ lax = []); (s)%append-a: ⊦ (buf + buf0) + buf1 = buf + buf0 + buf1; from specification array-splice[buffer]%let: ⊦ n ≤ n0 ∧ n0 ≤ n1 → n ≤ n1; (forward) from specification nat% ⊦ m + m0 ≤ m ↔ m0 = 0; (s)% ⊦ # buf = 0 ↔ buf = mkbuf(0); (s)%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic%c: ⊦ m + n = n + m; from specification nat-basic Used formulas: # buf0 = LEB_SIZE