| # lpt = # avol, avol[m3] = mapped(buf0), n0 < n, m3 < # avol, ebm-vol-inv(avol), is-aligned(n0, EB_PAGE_SIZE), is-aligned(m0, EB_PAGE_SIZE), is-aligned(n, EB_PAGE_SIZE), # buf0 ≤ m0, m0 + n ≤ LEB_SIZE, n2 + n ≤ # buf, avol ⊆ avol0 ⊦ ∃ n1. n1 < n ∧ is-aligned(n1, EB_PAGE_SIZE) ∧ ⟨if n1 ≠ 0 then avol[m3] := mapped(avol[m3].data + mkempbuf(m0 - # avol[m3].data) + subarray(buf, n2, n1))⟩ (avol ⊆ avol0) |
# lpt = # avol, avol[m3] = mapped(buf0), n0 < n, m3 < # avol, ebm-vol-inv(avol), is-aligned(n0, EB_PAGE_SIZE), is-aligned(m0, EB_PAGE_SIZE), is-aligned(n, EB_PAGE_SIZE), # buf0 ≤ m0, m0 + n ≤ LEB_SIZE, n2 + n ≤ # buf, avol ⊆ avol0 ⊦ ∃ n1. n1 < n ∧ is-aligned(n1, EB_PAGE_SIZE) ∧ ⟨if n1 ≠ 0 then avol[m3] := mapped(avol[m3].data + mkempbuf(m0 - # avol[m3].data) + subarray(buf, n2, n1))⟩ (avol ⊆ avol0)
Used simplifier rules: ⊦ m < n → n ≠ 0; (s)%f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic