[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 76 from proof delta-wear-leveling (previous step)

# wlar1 = # wlar, # apebs = # wlar, # apebs0 = # wlar, avhdr0.leb = VTBL_LNUM, q0.lebrefs = q.lebrefs, avhdr0.vol = VTBL_VOLID, apebs[n2] = mkpeb(aehdr, avhdr0, buf1, m2, false), wlar[vtblpnum1] = wl-entry(m3, free), wlar[n2] = wl-entry(m0, used), ecs(wlar1) = ecs(wlar), Δ wlar1 = Δ wlar, vtblpnum1 ≠ n2, vtblpnum1 < # wlar, n2 < # wlar, bflipset-cons(bflipset0, wlar), bflipset-cons(bflipset, wlar1), id(apebs0, apebs, mapped-pebs(vols)), id○(apebs0, apebs, vtblpnum1), is-aligned(LEB_SIZE, EB_PAGE_SIZE), ubi-io-inv(apebs), ubi-io-inv(apebs0), ubi-io-peb-inv(mkpeb(aehdr, avhdr0, buf1, m2, false)), unique-sqns(apebs), unique-sqns(apebs0), valid-ebatbl(apebs0, wlar1, vols, n0), valid-ebatbl(apebs, wlar, vols, n2), valid-eraseq(apebs, q), valid-eraseq(wlar, q), valid-eraseq(q), valid-eraseq(apebs0, q0), valid-eraseq(wlar1, q0), valid-eraseq(q0), valid-global-sqn(apebs, n1), valid-global-sqn(apebs0, n), valid-vtbl(apebs0, vols, wlar1, n0), valid-vtbl(apebs, vols, wlar, n2), valid-wl(apebs, wlar), valid-wl(apebs0, wlar1), m0 + WL_THRESHOLD ≤ m3, ⌊err⌋ , ¬ VTBL_VOLID ∈ vols ⊦ [debug#("ubi: wear-leveling of PEB " + n2.toString + " to PEB " + vtblpnum1.toString + " failed"); if err = ESUCCESS then {ubi_erase_worker_helper#(n2; wlar1, apebs0; err); if err = ESUCCESS then q0 := q0.butlast}] ( # apebs0 = # wlar1 ∧ unique-sqns(apebs0) ∧ valid-global-sqn(apebs0, n) ∧ valid-wl(apebs0, wlar1) ∧ valid-eraseq(q0) ∧ valid-eraseq(wlar1, q0) ∧ valid-eraseq(apebs0, q0) ∧ bflipset-cons(bflipset, wlar1) ∧ valid-ebatbl(apebs0, wlar1, vols, n0) ∧ valid-vtbl(apebs0, vols, wlar1, n0) ∧ ubi-io-inv(apebs0) ∧ ( id(apebs0, apebs, mapped-pebs(vols)) ∧ q0.lebrefs ⊆ q.lebrefs ++ (VTBL_VOLID × VTBL_LNUM) ∨ (∃ v, m, n. v ∈ vols ∧ m < # vols[v] ∧ vols[v][m] ≠ unmapped ∧ vols = vols[v, vols[v][m, ⌜n⌝ ]] ∧ id(apebs0, apebs, mapped-pebs(vols) -- vols[v][m].pnum) ∧ apebs0[n].data = apebs[vols[v][m].pnum].data ∧ apebs0[n].fill ≤ apebs[vols[v][m].pnum].fill ∧ q0.lebrefs ⊆ q.lebrefs ++ (v × m))) → err = ESUCCESS → Δ wlar1 < Δ wlar)

User applied rule skip call

And obtained the following new goals

Rule argument

pos: right 1

Additional information