| # buf1 = EB_PAGE_SIZE, # lpt0 = # avol1, # avol0 = # avol1, avol1[m4] = mapped(buf2 + subarray(buf1, 0, m2)), avol0[m4] = mapped(buf2), align↓(m2 + n3, EB_PAGE_SIZE) = n0 + m2, n < m2 + n1, n1 < # buf3, n1 < n0, m2 < EB_PAGE_SIZE, m4 < # avol1, n < # subarray(buf1, 0, m2) + # subarray(buf3, 0, n0), awbuf-inv(avol1, buffered(m4)), ebm-vol-inv(avol0), is-aligned(# buf2, EB_PAGE_SIZE), is-aligned(n0 + m2, EB_PAGE_SIZE), is-aligned(n1 + m2, EB_PAGE_SIZE), (# buf2 + m2) + n3 ≤ LEB_SIZE, # buf2 + n0 + m2 ≤ LEB_SIZE, # buf2 + m2 + n3 ≤ LEB_SIZE, EB_PAGE_SIZE ≤ m2 + n3, n3 ≤ # buf3, n0 ≤ # buf3, ⌊err1⌋ ⊦ (n < m2 ⊃ buf1[n];subarray(buf3, 0, n1)[n - m2]) = (n < # subarray(buf1, 0, m2) ⊃ subarray(buf1, 0, m2)[n];subarray(buf3, 0, n0)[n - # subarray(buf1, 0, m2)]), n1 = 0, n3 = 0 |
# buf1 = EB_PAGE_SIZE, # lpt0 = # avol1, # avol0 = # avol1, avol1[m4] = mapped(buf2 + subarray(buf1, 0, m2)), avol0[m4] = mapped(buf2), align↓(m2 + n3, EB_PAGE_SIZE) = n0 + m2, n < n0 + m2, n < m2 + n0, n < m2 + n1, n1 < # buf3, n1 < n0, m2 < EB_PAGE_SIZE, m4 < # avol1, awbuf-inv(avol1, buffered(m4)), ebm-vol-inv(avol0), is-aligned(# buf2, EB_PAGE_SIZE), is-aligned(n0 + m2, EB_PAGE_SIZE), is-aligned(n1 + m2, EB_PAGE_SIZE), (# buf2 + m2) + n3 ≤ LEB_SIZE, # buf2 + n0 + m2 ≤ LEB_SIZE, # buf2 + m2 + n3 ≤ LEB_SIZE, EB_PAGE_SIZE ≤ m2 + n3, n3 ≤ # buf3, n0 ≤ # buf3, ⌊err1⌋ ⊦ (n < m2 ⊃ buf1[n];subarray(buf3, 0, n1)[n - m2]) = (n < m2 ⊃ buf1[n];subarray(buf3, 0, n0)[n - m2]), n1 = 0, n3 = 0
Used simplifier rules: lf-01: ⊦ m < n ∧ n = n0 → m < n0; (forward) from specification nat-basic%c: ⊦ m + n = n + m; from specification nat-basic%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic% ⊦ n + 0 = n; (s)% ⊦ n0 < n → subarray(buf, m, n)[n0] = buf[m + n0]; (s)% ⊦ # subarray(buf, m, n) = n; (s)