| avol[m2] = mapped(buf0), n0 < n, m2 < # avol, ebm-vol-inv(avol), is-aligned(n0, EB_PAGE_SIZE), is-aligned(n, EB_PAGE_SIZE), is-aligned(m1, EB_PAGE_SIZE), n2 + n ≤ # buf, m1 + n ≤ LEB_SIZE, # buf0 ≤ m1, avol ⊆ avol0 ⊦ ∃ n1. n1 < n ∧ is-aligned(n1, EB_PAGE_SIZE) ∧ ⟨if n1 ≠ 0 then avol[m2] := mapped(avol[m2].data + mkempbuf(m1 - # avol[m2].data) + subarray(buf, n2, n1))⟩ (avol ⊆ avol0) |
avol[m2] = mapped(buf0), n0 < n, m2 < # avol, ebm-vol-inv(avol), is-aligned(n0, EB_PAGE_SIZE), is-aligned(n, EB_PAGE_SIZE), is-aligned(m1, EB_PAGE_SIZE), n2 + n ≤ # buf, m1 + n ≤ LEB_SIZE, # buf0 ≤ m1, avol ⊆ avol0 ⊦ ∃ n1. n1 < n ∧ is-aligned(n1, EB_PAGE_SIZE) ∧ ⟨if n1 ≠ 0 then avol[m2] := mapped(avol[m2].data + mkempbuf(m1 - # avol[m2].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