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

# apebs0 = # wlar, # apebs = # wlar, # wlar1 = # wlar, avhdr0.leb = VTBL_LNUM, avhdr0.vol = VTBL_VOLID, wlar[n2] = wl-entry(m0, used), wlar[vtblpnum1] = wl-entry(m3, free), apebs[n2] = mkpeb(aehdr, avhdr0, buf1, m2, false), ecs(wlar1) = ecs(wlar), err = ESUCCESS, vtblpnum2 = n2, Δ wlar1 = Δ wlar, n2 < # wlar, vtblpnum1 < # wlar, bflipset-cons(bflipset, wlar1), bflipset-cons(bflipset0, wlar), id(apebs0, apebs, mapped-pebs(vols)), id○(apebs0, apebs, vtblpnum1), is-aligned(LEB_SIZE, EB_PAGE_SIZE), ubi-io-inv(apebs0), ubi-io-inv(apebs), ubi-io-peb-inv(mkpeb(aehdr, avhdr0, buf1, m2, false)), unique-sqns(apebs0), unique-sqns(apebs), valid-ebatbl(apebs, wlar, vols, n2), valid-ebatbl(apebs0, wlar1, vols, n0), valid-eraseq(q0), valid-eraseq(wlar1, q0), valid-eraseq(apebs0, q0), valid-eraseq(q), valid-eraseq(wlar, q), valid-eraseq(apebs, q), valid-global-sqn(apebs0, n), valid-global-sqn(apebs, n1), valid-vtbl(apebs, vols, wlar, n2), valid-vtbl(apebs0, vols, wlar1, n0), valid-wl(apebs0, wlar1), valid-wl(apebs, wlar), m0 + WL_THRESHOLD ≤ m3, err = ESUCCESS → (∀ v, m. ¬ v ∈ vols ∧ is-encoded(to-vtbl(vols)[v, m], buf1) → valid-ebatbl(apebs0, wlar1, vols[v, fill(mkebatbl(m), unmapped)], n0) ∧ valid-vtbl(apebs0, vols[v, fill(mkebatbl(m), unmapped)], wlar1, n0)), err = ESUCCESS → q0 = q + eq-entry(n2, VTBL_VOLID × VTBL_LNUM) ', err = ESUCCESS → apebs0[vtblpnum1].fill = align↑(datasize(apebs0[vtblpnum1].data, LEB_SIZE), EB_PAGE_SIZE) ∧ apebs0[vtblpnum1].data = buf1 ∧ q0.lebrefs ⊆ q.lebrefs ++ (VTBL_VOLID × VTBL_LNUM), err ≠ ESUCCESS → q0.lebrefs = q.lebrefs, err = ESUCCESS → wlar1[vtblpnum1].ec = m3 ∧ wlar1[n2].ec = m0, err = ESUCCESS ∨ ⌊err⌋ ⊦ [skip; if err = ESUCCESS then {ubi_erase_worker_helper#(vtblpnum2; 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), vtblpnum1 = n2, VTBL_VOLID ∈ vols

Heuristic symbolic execution applied rule skip right

And obtained the following new goals

Rule argument

Additional information