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

# avol0 = # avol1, # lpt0 = # avol1, # buf1 = EB_PAGE_SIZE, avol0[m4] = mapped(buf2), align↓(m2 + n3, EB_PAGE_SIZE) = n + m2, n + m2 ≠ 0, n3 ≠ 0, m2 < EB_PAGE_SIZE, m4 < # avol1, abs(avol1, buffered(m4), mkwbuf(buf1, # buf2, m2), avol0, false), awbuf-inv(avol1, buffered(m4)), ebm-vol-inv(avol0), is-aligned(n + m2, EB_PAGE_SIZE), is-aligned(# buf2, EB_PAGE_SIZE), n ≤ # buf3, # avol1[m4].data + n3 ≤ LEB_SIZE, n3 ≤ # buf3, EB_PAGE_SIZE ≤ m2 + n3, # buf2 + m2 + n3 ≤ LEB_SIZE, # buf2 + n + m2 ≤ LEB_SIZE, ⌊err1⌋ ⊦ ∃ err0. (⌊err0⌋ ∨ err0 = ESUCCESS) ∧ ⟨err := err0; let m = buffered(m4).leb in {rofs := false; if err = ESUCCESS then avol1[m] := mapped(avol1[m].data + subarray(buf3, 0, n3)) else { choose n with n ≠ 0 ∧ n < n3 ∧ is-aligned(# avol1[m].data + n, EB_PAGE_SIZE) in avol1[m] := mapped(avol1[m].data + subarray(buf3, 0, n)) ifnone skip or skip; rofs := true}}⟩ (abs(avol1, buffered(m4), mkwbuf(buf1, # buf2, m2), avol0, true) ∧ rofs ∧ err1 = err)

Proof step 187 used as proof-lemma