| # buf2 = EB_PAGE_SIZE, # lpt0 = # avol1, # avol0 = # avol1, LEB_SIZE = n0 + # buf, LEB_SIZE = n1 + # buf1, avol0[n2] = mapped(buf), avol1[n2] = mapped(buf1), n2 < # avol1, m4 < EB_PAGE_SIZE, n3 < # buf3, n3 + m0 < LEB_SIZE, n3 < n, awbuf-inv(avol1, buffered(n2)), ebm-vol-inv(avol0), is-aligned(m6, EB_PAGE_SIZE), m0 + n ≤ LEB_SIZE, # buf ≤ LEB_SIZE, n ≤ # buf3, # buf1 ≤ LEB_SIZE, rofs → m6 = # buf ∧ buf1 = buf + subarray(buf2, 0, m4) ∨ m6 < # buf ∧ m6 + m4 < # buf ∧ buf1 = buf ∧ subarray(buf2, 0, m4) = subarray(buf, m6, m4), ¬ rofs → buf1 = buf + subarray(buf2, 0, m4), rofs → m6 ≤ # buf, ¬ rofs → # buf = m6 ⊦ mkempbuf(n0)[n3 + m0 - # buf] = (n3 + m0 < # buf1 ⊃ buf1[n3 + m0];mkempbuf(n1)[n3 + m0 - # buf1]), n3 + m0 < # buf, m0 ≤ m6 + m4 ∧ m6 ≤ m0 + n |
# avol0 = # avol1, # lpt0 = # avol1, # buf2 = EB_PAGE_SIZE, LEB_SIZE = n1 + # buf1, LEB_SIZE = n0 + # buf, avol1[n2] = mapped(buf1), avol0[n2] = mapped(buf), n3 < n, n3 + m0 < LEB_SIZE, n3 < # buf3, m4 < EB_PAGE_SIZE, n2 < # avol1, # buf < LEB_SIZE, awbuf-inv(avol1, buffered(n2)), ebm-vol-inv(avol0), is-aligned(m6, EB_PAGE_SIZE), # buf1 ≤ LEB_SIZE, n ≤ # buf3, m0 + n ≤ LEB_SIZE, # buf ≤ n3 + m0, ¬ rofs → # buf = m6, rofs → m6 ≤ # buf, ¬ rofs → buf1 = buf + subarray(buf2, 0, m4), rofs → m6 = # buf ∧ buf1 = buf + subarray(buf2, 0, m4) ∨ m6 < # buf ∧ m6 + m4 < # buf ∧ buf1 = buf ∧ subarray(buf2, 0, m4) = subarray(buf, m6, m4) ⊦ mkempbuf(n0)[n3 + m0 - # buf] = (n3 + m0 < # buf1 ⊃ buf1[n3 + m0];mkempbuf(n1)[n3 + m0 - # buf1]), n0 = 0, m0 ≤ m6 + m4 ∧ m6 ≤ m0 + n
Used simplifier rules: c: ⊦ m + n = n + m; from specification nat-basic%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic% ⊦ m < m + n ↔ n ≠ 0; (s)%lf-01: ⊦ m < n ∧ n = n0 → m < n0; (forward) from specification nat-basic% ⊦ m < n → m ≤ n; (s)%fle-01: ⊦ m ≤ n ∧ n < n0 → m < n0; (forward) from specification nat% ⊦ m < n ↔ ¬ n ≤ m; (ss)