| # buf1 = EB_PAGE_SIZE, # lpt0 = # avol1, # avol0 = # avol1, avol0[m4] = mapped(buf2), adr = adr0, align↓(m2 + n3, EB_PAGE_SIZE) = n + m2, avol = avol0, buf = copy(buf3, 0, copy(buf1, 0, mkbuf(n + m2), 0, m2), m2, n), lpt = lpt0, m = m3, m0 = # buf2, m1 = buffered(m4).leb, n0 = n + m2, n1 = 0, ns = ns0, plog = plog0, buffered(m4).isbuf?, m1 < # avol, m2 < EB_PAGE_SIZE, m4 < # avol1, abs(avol1, buffered(m4), mkwbuf(buf1, # buf2, m2), avol0, false), awbuf-inv(avol1, buffered(m4)), ebm-vol-inv(avol0), is-aligned(# buf2, EB_PAGE_SIZE), n ≤ # buf3, # buf2 + m2 + n3 ≤ LEB_SIZE, EB_PAGE_SIZE ≤ m2 + n3, n3 ≤ # buf3, # avol1[m4].data + n3 ≤ LEB_SIZE, 0 + m2 ≤ # mkbuf(n + m2), 0 + m2 ≤ # buf1, m2 + n ≤ # copy(buf1, 0, mkbuf(n + m2), 0, m2), 0 + n ≤ # buf3 ⊦ n3 = 0, m1 < # avol ∧ (avol[m1].mapped? → avol[m1].mapped? ∧ m1 < # avol) |
Used simplifier rules: ⊦ buffered(m).isbuf?; (s)% ⊦ buffered(m).leb = m; (s)% ⊦ m ≤ m + n; (s)% ⊦ m ≤ m; (s)% ⊦ m + n ≤ m + n0 ↔ n ≤ n0; (s)% ⊦ # mkbuf(n) = n; (s)% ⊦ # copy(buf, m, buf0, m0, n) = # buf0; (s)%c: ⊦ m + n = n + m; from specification nat-basic%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic% ⊦ n + 0 = n; (s)