| # buf = PEB_SIZE, m0 + 1 = # pebs, pebs[m0] = mkpeb(buf, EB_PAGE_SIZE, false), abs(subarray(pebs, 0, m0), apebs), is-encoded(echdr(n), subarray(buf, 0, EB_PAGE_SIZE)), range=(buf, EB_PAGE_SIZE, emptypeb, EB_PAGE_SIZE, LEB_SIZE + EB_PAGE_SIZE), ubi-io-initial(pebs), ubi-io-initial(apebs), EB_PAGE_SIZE ≤ PEB_SIZE ⊦ (n0 < EB_PAGE_SIZE → buf[EB_PAGE_SIZE + n0] = empty) ∧ (n1 < LEB_SIZE → buf[2 * EB_PAGE_SIZE + n1] = empty) |
⊦ range=(buf, n0, buf0, n1, m) ↔ n0 + m ≤ # buf ∧ n1 + m ≤ # buf0 ∧ (∀ n. n < m → buf[n0 + n] = buf0[n1 + n])
# buf = PEB_SIZE, m0 + 1 = # pebs, pebs[m0] = mkpeb(buf, EB_PAGE_SIZE, false), abs(subarray(pebs, 0, m0), apebs), is-encoded(echdr(n), subarray(buf, 0, EB_PAGE_SIZE)), ubi-io-initial(apebs), ubi-io-initial(pebs), EB_PAGE_SIZE ≤ PEB_SIZE, EB_PAGE_SIZE + LEB_SIZE + EB_PAGE_SIZE ≤ # buf, EB_PAGE_SIZE + LEB_SIZE + EB_PAGE_SIZE ≤ # emptypeb, ∀ n. n < LEB_SIZE + EB_PAGE_SIZE → buf[EB_PAGE_SIZE + n] = (emptypeb)[EB_PAGE_SIZE + n] ⊦ (n0 < EB_PAGE_SIZE → buf[EB_PAGE_SIZE + n0] = empty) ∧ (n1 < LEB_SIZE → buf[2 * EB_PAGE_SIZE + n1] = empty)
Used terms: LEB_SIZE + EB_PAGE_SIZE, EB_PAGE_SIZE, emptypeb, EB_PAGE_SIZE, buf