| # buf = (n2 + n1) * LEB_SIZE, avol[n3 + n1] = mapped(buf0), err = err0, err = ESUCCESS, subarray(buf, 0, n1 * LEB_SIZE) = lebs(avol, n3, n1), avol[n3 + n1].mapped?, n3 + n1 < # avol, ebm-vol-inv(avol), mapped-full?(avol, n3, n2 + n1), 0 + LEB_SIZE ≤ #(avol[n3 + n1].data + mkempbuf(LEB_SIZE - # avol[n3 + n1].data)), n3 + n2 + n1 ≤ # avol, n1 * LEB_SIZE + LEB_SIZE ≤ # buf, LEB_SIZE ≥ # avol[n3 + n1].data, ⌊err0⌋ ∨ err0 = ESUCCESS ⊦ ⟪n := n1 + 1⟫ ( n ≤ n2 + n1 ∧ # copy(avol[n3 + n1].data + mkempbuf(LEB_SIZE - # avol[n3 + n1].data), 0, buf, n1 * LEB_SIZE, LEB_SIZE) = (n2 + n1) * LEB_SIZE ∧ (err = ESUCCESS ∨ ⌊err⌋ ) ∧ ( err = ESUCCESS → subarray(copy(avol[n3 + n1].data + mkempbuf(LEB_SIZE - # avol[n3 + n1].data), 0, buf, n1 * LEB_SIZE, LEB_SIZE), 0, n * LEB_SIZE) = lebs(avol, n3, n)) ∧ n1 < n), n2 = 0 |
# buf = (n2 + n1) * LEB_SIZE, avol[n3 + n1] = mapped(buf0), err = ESUCCESS, err = err0, subarray(buf, 0, n1 * LEB_SIZE) = lebs(avol, n3, n1), avol[n3 + n1].mapped?, n3 + n1 < # avol, ebm-vol-inv(avol), mapped-full?(avol, n3, n2 + n1), n1 * LEB_SIZE + LEB_SIZE ≤ # buf, n3 + n2 + n1 ≤ # avol, 0 + LEB_SIZE ≤ #(avol[n3 + n1].data + mkempbuf(LEB_SIZE - # avol[n3 + n1].data)), LEB_SIZE ≥ # avol[n3 + n1].data, ⌊err0⌋ ∨ err0 = ESUCCESS ⊦ n2 = 0, n1 + 1 ≤ n2 + n1 ∧ # copy(avol[n3 + n1].data + mkempbuf(LEB_SIZE - # avol[n3 + n1].data), 0, buf, n1 * LEB_SIZE, LEB_SIZE) = (n2 + n1) * LEB_SIZE ∧ (err = ESUCCESS ∨ ⌊err⌋ ) ∧ ( err = ESUCCESS → subarray(copy(avol[n3 + n1].data + mkempbuf(LEB_SIZE - # avol[n3 + n1].data), 0, buf, n1 * LEB_SIZE, LEB_SIZE), 0, (n1 + 1) * LEB_SIZE) = lebs(avol, n3, n1 + 1)) ∧ n1 < n1 + 1