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

# apebs = # wlar, # buf0 = vtblpnum5 + n, wlar[n4] = wl-entry(m1, used), avols[v][vtblpnum3] = mapped(buf2, m), vols[v][vtblpnum3] = ⌜n4⌝ , apebs[n4] = mkpeb(aehdr, avhdr, buf2, m0, false), n ≠ 0, vtblpnum4 ≠ n4, avhdr.valid?, aehdr.valid?, vtblpnum3 < # vols[v], n4 < # wlar, vtblpnum3 < # avols[v], abs(avols, apebs, vols, q), bflipset-cons(bflipset, wlar), ebm-cons(avols), is-aligned(n, EB_PAGE_SIZE), is-aligned(vtblpnum5, EB_PAGE_SIZE), range=(buf0, vtblpnum5, mkbuf(vtblpnum5 + n), vtblpnum5, n), ubi-io-inv(apebs), ubi-io-peb-inv(mkpeb(aehdr, avhdr, buf2, m0, false)), unique-sqns(apebs), valid-ebatbl(apebs, wlar, vols, vtblpnum4), valid-eraseq(apebs, q), valid-eraseq(wlar, q), valid-eraseq(q), valid-global-sqn(apebs, sqnum), valid-vtbl(apebs, vols, wlar, vtblpnum4), valid-wl(apebs, wlar), v ∈ vols, v ∈ avols, m0 ≤ vtblpnum5, m ≤ vtblpnum5, n + n3 ≤ # buf3, n3 + n ≤ # buf3, vtblpnum5 + n ≤ LEB_SIZE, m0 ≤ LEB_SIZE, m ≤ LEB_SIZE, vtblpnum5 ≤ LEB_SIZE, ⌊err3⌋ , ⌊err0⌋ , ¬ VTBL_VOLID ∈ vols ⊦ ⟨fail_or_success#(; ; err); if err = ESUCCESS then if avols[v][vtblpnum3].mapped? then if n ≠ 0 then avols[v][vtblpnum3] := mapped (subarray(avols[v][vtblpnum3].data, 0, vtblpnum5) + subarray(buf3, n3, n) + mkempbuf(LEB_SIZE - vtblpnum5 - n), vtblpnum5 + n) else avols[v][vtblpnum3] := mapped(mkempbuf(vtblpnum5) + subarray(buf3, n3, n) + mkempbuf(LEB_SIZE - vtblpnum5 - n), vtblpnum5 + n) else if avols[v][vtblpnum3].mapped? then choose n1 with n1 < n ∧ is-aligned(n1, EB_PAGE_SIZE) in if n1 ≠ 0 then avols[v][vtblpnum3] := mapped (subarray(avols[v][vtblpnum3].data, 0, vtblpnum5) + subarray(buf3, n3, n1) + mkempbuf(LEB_SIZE - vtblpnum5 - n1), vtblpnum5 + n1) ifnone skip else if n ≠ 0 then avols[v][vtblpnum3] := unmapped⟩ (abs(avols, apebs, vols, q) ∧ err0 = err)

Heuristic unfold applied rule call right

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Used simplifier rules: fail_or_success#(; ; ERR) {choose ERR0 with ⌊ERR0⌋ ∨ ERR0 = ESUCCESS in ERR := ERR0};