| # avol0 = # avol1, # lpt0 = # avol1, # buf2 = EB_PAGE_SIZE, n1 + n5 = n4 + n2, # buf + n4 + n2 = # buf3, LEB_SIZE = n3 + n2 + # buf0 + # buf, avol0[m2] = mapped(buf0 + buf), avol1[m2] = mapped((buf0 + buf) + subarray(buf2, 0, n2)), n < n4 + n2, n < n2 + n4, n2 < EB_PAGE_SIZE, m2 < # avol1, n < n2, awbuf-inv(avol1, buffered(m2)), ebm-vol-inv(avol0), is-aligned(# buf0 + # buf, EB_PAGE_SIZE), n2 ≤ n1, # buf0 ≤ LEB_SIZE, n1 ≤ n2 + n3, # buf ≤ # buf3 ⊦ buf2[n] = (n < n1 ⊃ (subarray(buf2, 0, n2) + mkempbuf(n3))[n];subarray(buf3, n1 + # buf, n5)[n - n1]) |
# avol0 = # avol1, # lpt0 = # avol1, # buf2 = EB_PAGE_SIZE, n1 + n5 = n4 + n2, # buf + n4 + n2 = # buf3, LEB_SIZE = n3 + n2 + # buf0 + # buf, avol0[m2] = mapped(buf0 + buf), avol1[m2] = mapped((buf0 + buf) + subarray(buf2, 0, n2)), n < n1, n < n4 + n2, n < n2 + n4, n2 < EB_PAGE_SIZE, m2 < # avol1, n < n2, n < n2 + n3, n < EB_PAGE_SIZE, n + 1 < EB_PAGE_SIZE, awbuf-inv(avol1, buffered(m2)), ebm-vol-inv(avol0), is-aligned(# buf0 + # buf, EB_PAGE_SIZE), n2 ≤ n1, # buf0 ≤ LEB_SIZE, n1 ≤ n2 + n3, # buf ≤ # buf3 ⊦ buf2[n] = (subarray(buf2, 0, n2) + mkempbuf(n3))[n]
Used simplifier rules: lf-01: ⊦ m < n ∧ n = n0 → m < n0; (forward) from specification nat-basic% ⊦ m +1 = m + 1; (s)% ⊦ m < n → n ≠ 0; (s)%transitivity: ⊦ n < n0 ∧ n0 < n1 → n < n1; (forward) from specification oelem[nat-set]%fle: ⊦ m < n ∧ n ≤ n0 → m < n0; (forward) from specification nat%lf: ⊦ m < n ∧ n < n0 → m +1 < n0; (forward) from specification nat-basic%f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic