[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 42 from proof inv-recover (previous step)

# apebs0 = # wlar, # wlar1 = # wlar, recs0[VTBL_VOLID × VTBL_LNUM] = recovery-entry(vtblpnum1, avhdr.sqn), apebs0[vtblpnum1] = mkpeb(aehdr, avhdr, buf1, m0, false), nx < # wlar, vtblpnum1 < # wlar, bflipset-cons(bflipset1, wlar1), bflipset-cons(bflipset, wlar), indices-erasing(wlar, nx), ubi-io-inv(apebs0), ubi-io-peb-inv(mkpeb(aehdr, avhdr, buf1, m0, false)), unique-sqns(apebs0), valid-ebatbl(apebs0, wlar1, vols1, vtblpnum1), valid-eraseq(q1), valid-eraseq(wlar1, q1), valid-eraseq(apebs0, q1), valid-eraseq(wlar, q), valid-eraseq-stronger(apebs0, q), valid-global-sqn(apebs0, vtblpnum5), valid-global-sqn(apebs0, sqnum), valid-recs(apebs0, wlar, recs0), valid-recs-sqns(apebs0, recs0), valid-vtbl(apebs0, vols1, wlar1, vtblpnum1), valid-wl(apebs0, wlar1), valid-wl(apebs0, wlar), VTBL_VOLID × VTBL_LNUM ∈ recs0, ⌊err0⌋ ∨ err0 = ESUCCESS ⊦ ⟪err := err0; bitflips := ?; vtblpnum0 := vtblpnum1; vtblpnum := 0; buf := mkbuf(LEB_SIZE); if err = ESUCCESS then buf := copy(apebs0[vtblpnum0].data, vtblpnum, buf, 0, LEB_SIZE) else {n0 := 0; n := LEB_SIZE; choose buf1 with # buf1 = # buf ∧ range=(buf1, 0, buf, 0, n0) ∧ range=(buf1, n0 + n, buf, n0 + n, # buf - n0 + n) in buf := buf1}; vtblpnum3 := vtblpnum1; if bitflips then bflipset := bflipset ++ vtblpnum3; vols := ∅; if err = ESUCCESS then let vtbl = ? in {decode_vtbl#(buf; ; vtbl, err); if err = ESUCCESS then {ubi_init_vols_sizes#(recs0, wlar, apebs0; vtbl, vols); ubi_init_vols_mappings#(vtblpnum3, apebs0; recs0, vols, wlar, q, bflipset); let n = (vtblpnum0 = 0 ⊃ 0;vtblpnum / vtblpnum0) in ubi_fix_ecs#(n; nx, wlar)}}⟫ ( ( err = ESUCCESS → # wlar1 = # wlar ∧ valid-wl(apebs0, wlar) ∧ valid-eraseq(q) ∧ valid-eraseq(wlar, q) ∧ valid-eraseq(apebs0, q) ∧ ¬ VTBL_VOLID ∈ vols ∧ bflipset-cons(bflipset, wlar) ∧ valid-ebatbl(apebs0, wlar, vols, vtblpnum3) ∧ valid-vtbl(apebs0, vols, wlar, vtblpnum3)) ∧ (err = ESUCCESS ∨ ⌊err⌋ ) ∧ (err = ESUCCESS → is-max(apebs0, vols, wlar, q, bflipset, vtblpnum3, sqnum) ∧ q.lebrefs ⊆ q1.lebrefs ∧ vols1 ⊆ vols ∧ vols⌈vols1, q1⌉)), dups(nx), vtblpnum1 ∈ q, VTBL_VOLID ∈ vols1, vtblpnum1 ∈ q1

Heuristic symbolic execution applied rule assign right

And obtained the following new goals

Rule argument

Additional information