| # buf2 = n1 + n0 + n, # buf = # buf2, pebs[m3] = mkpeb(buf1, m2, false), m3 < # pebs, mtd-cons(pebs), range=(buf, 0, buf2, 0, n0), range=(buf, n0 + n, buf2, n0 + n, # buf2 - n0 + n), m0 + n ≤ PEB_SIZE, n0 + n ≤ # buf2, m ≤ UBI_READ_RETRIES + 1, err = ESUCCESS → subarray(buf, n0, n) = subarray(buf1, m0, n), err = ESUCCESS ∨ ⌊err⌋ ⊦ range=(buf, n0 + n, buf2, n0 + n, n1), err ≠ ESUCCESS ∧ m ≤ UBI_READ_RETRIES |
Used simplifier rules: a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic%c: ⊦ m + n = n + m; from specification nat-basic%eqs: ⊦ m = n + n0 ∧ m = n + n1 → n0 = n1; (forward) from specification nat-basic%n ≤ m ⊦ n0 = m - n ↔ m = n0 + n; (elim) Used terms: # buf2, n0 + n, n2