| # buf = (n2 + n1) * LEB_SIZE, avol[n3 + n1] = mapped(buf0), err = err0, n = LEB_SIZE, n0 = n1 * LEB_SIZE, subarray(buf, 0, n1 * LEB_SIZE) = lebs(avol, n3, n1), n3 + n1 < # avol, ebm-vol-inv(avol), mapped-full?(avol, n3, n2 + n1), n3 + n2 + n1 ≤ # avol, n1 * LEB_SIZE + LEB_SIZE ≤ # buf, ⌊err0⌋ ∨ err0 = ESUCCESS ⊦ err = ESUCCESS, n2 = 0, ∃ buf1. # buf1 = # buf ∧ range=(buf, 0, buf1, 0, n0) ∧ range=(buf, n0 + n, buf1, n0 + n, # buf - n0 + n) |
# buf = (n2 + n1) * LEB_SIZE, avol[n3 + n1] = mapped(buf0), subarray(buf, 0, n1 * LEB_SIZE) = lebs(avol, n3, n1), n3 + n1 < # avol, ebm-vol-inv(avol), mapped-full?(avol, n3, n2 + n1), n1 * LEB_SIZE + LEB_SIZE ≤ # buf, n3 + n2 + n1 ≤ # avol, ⌊err0⌋ ⊦ n2 = 0, ∃ buf1. # buf1 = # buf ∧ range=(buf, 0, buf1, 0, n1 * LEB_SIZE) ∧ range=(buf, n1 * LEB_SIZE + LEB_SIZE, buf1, n1 * LEB_SIZE + LEB_SIZE, # buf - n1 * LEB_SIZE + LEB_SIZE)
Used simplifier rules: ⊦ ⌊err⌋ → err ≠ ESUCCESS; (s)