[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 180 from proof refine-write-buf (previous step)

# buf1 = EB_PAGE_SIZE, # lpt0 = # avol1, # avol0 = # avol1, avol0[m4] = mapped(buf2), align↓(m2 + n3, EB_PAGE_SIZE) = n + m2, ¬ rofs, n + m2 ≠ 0, n3 ≠ 0, m4 < # avol1, m2 < EB_PAGE_SIZE, abs(avol1, buffered(m4), mkwbuf(buf1, # buf2, m2), avol0, false), awbuf-inv(avol1, buffered(m4)), ebm-vol-inv(avol0), is-aligned(# buf2, EB_PAGE_SIZE), is-aligned(n + m2, EB_PAGE_SIZE), # buf2 + n + m2 ≤ LEB_SIZE, # buf2 + m2 + n3 ≤ LEB_SIZE, EB_PAGE_SIZE ≤ m2 + n3, n3 ≤ # buf3, # avol1[m4].data + n3 ≤ LEB_SIZE, n ≤ # buf3, ⌊err0⌋ ⊦ ⟨awbuf_write_buf#(n3, buf3, adr0, m3, plog0, lpt0, ns0, buffered(m4); avol1, rofs; err1)⟩ (abs(avol1, buffered(m4), mkwbuf(buf1, # buf2, m2), avol0, true) ∧ rofs ∧ 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: awbuf_write_buf# (N, BUF, WROOTADR, WMAXINO, WLOG, WLPT, WORPHANS, WBUFLEB ; WVOL, AROFS ; ERR ) {if WBUFLEB ≠ nobuffer ∧ # WVOL[WBUFLEB.leb].data + N ≤ LEB_SIZE ∧ N ≤ # BUF then if AROFS then ERR := EROFS else {fail_or_success#(; ; ERR); let LNUM = WBUFLEB.leb in if ERR = ESUCCESS then WVOL[LNUM] := mapped(WVOL[LNUM].data + subarray(BUF, 0, N)) else { choose N0 with N0 ≠ 0 ∧ N0 < N ∧ is-aligned (# WVOL[LNUM].data + N0, EB_PAGE_SIZE) in WVOL[LNUM] := mapped (WVOL[LNUM].data + subarray(BUF, 0, N0)) ifnone skip or skip; AROFS := true}} else abort };