[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 20 from proof inv-io-read (previous step)

# buf2 = n2 + n0 + n, # buf = # buf2, UBI_READ_RETRIES = n1 + m4, pebs[m3] = mkpeb(buf1, m2, false), buf0 = buf, m = m1, m0 = m3, m3 < # pebs, mtd-cons(pebs), range=(buf, 0, buf2, 0, n0), range=(buf, n0 + n, buf2, n0 + n, n2), m1 + n ≤ PEB_SIZE, n0 + n ≤ # buf2, m4 ≤ UBI_READ_RETRIES + 1, m4 ≤ UBI_READ_RETRIES, ⌊err⌋ ⊦ ⟪if m0 < # pebs ∧ ¬ pebs[m0].bad ∧ m + n ≤ PEB_SIZE ∧ n0 + n ≤ # buf0 then {fail_or_success#(; ; err); bitflips := ?; if err = ESUCCESS then buf0 := copy(pebs[m0].data, m, buf0, n0, n) else choose buf with # buf = # buf0 ∧ range=(buf, 0, buf0, 0, n0) ∧ range=(buf, n0 + n, buf0, n0 + n, # buf0 - n0 + n) in buf0 := buf} else abort; if err ≠ ESUCCESS then debug#("ubi-io: failed to read from PEB " + m3.toString); m := m4 + 1⟫ ( n0 + n ≤ # buf0 ∧ m ≤ UBI_READ_RETRIES + 1 ∧ # buf0 = # buf2 ∧ range=(buf0, 0, buf2, 0, n0) ∧ range=(buf0, n0 + n, buf2, n0 + n, n2) ∧ (err = ESUCCESS ∨ ⌊err⌋ ) ∧ (err = ESUCCESS → subarray(buf0, n0, n) = subarray(pebs[m3].data, m1, n)) ∧ UBI_READ_RETRIES < n1 + m)

Heuristic symbolic execution applied rule if positive right

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Used simplifier rules: ⊦ mkpeb(buf, m, boolvar).bad ↔ boolvar; (s)