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

# apebs = # wlar, # buf = vtblpnum5 + n1, wlar[n4] = wl-entry(m1, used), avols[v][vtblpnum3] = mapped(buf2, m), vols[v][vtblpnum3] = ⌜n4⌝ , apebs[n4] = mkpeb(aehdr, avhdr, buf2, m0, false), n1 ≠ 0, vtblpnum4 ≠ n4, avhdr.valid?, aehdr.valid?, n4 < # wlar, vtblpnum3 < # avols[v], vtblpnum3 < # vols[v], abs(avols, apebs, vols, q), bflipset-cons(bflipset, wlar), ebm-cons(avols), is-aligned(n1, EB_PAGE_SIZE), is-aligned(vtblpnum5, EB_PAGE_SIZE), range=(buf, vtblpnum5, mkbuf(vtblpnum5 + n1), vtblpnum5, n1), 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 ∈ avols, v ∈ vols, m0 ≤ vtblpnum5, m ≤ vtblpnum5, n1 + n3 ≤ # buf3, n3 + n1 ≤ # buf3, vtblpnum5 + n1 ≤ LEB_SIZE, m0 ≤ LEB_SIZE, m ≤ LEB_SIZE, vtblpnum5 ≤ LEB_SIZE, ⌊err3⌋ , ⌊err0⌋ , ¬ VTBL_VOLID ∈ vols ⊦ ⟪debug#("ubi: failed to read data from PEB " + vols[v][vtblpnum3].pnum.toString)⟫ ⟨ebm_write#(v, vtblpnum3, vtblpnum5, n3, n1, buf3; avols; err1)⟩ (abs(avols, apebs, vols, q) ∧ err0 = err1)

User applied rule insert program lemma

And obtained the following new goals

Rule argument

spec: debug name: debug seq: ⊦ ⟪debug#(str)⟫ true subst: [str] → [ "ubi: failed to read data from PEB " + vols[v][vtblpnum3].pnum.toString] flags: <all paths>

Additional information

Used simplifier rules: ⊦ v ∈ avols ∧ m < # avols[v] ∧ abs(avols, apebs, vols, q) → m < # vols[v]; (ss)% ⊦ v ∈ avols ∧ abs(avols, apebs, vols, q) → v ∈ vols; (ss)%abs-vols-unmapped: ⊦ v ∈ vols ∧ m < # vols[v] ∧ vols[v][m] = unmapped ∧ abs(avols, apebs, vols, q) → ¬ avols[v][m].mapped?; (forward) from specification ubi-abs% ⊦ unmapped ≠ ⌜m⌝ ; (s)