| avol[m2] = mapped(buf1), m2 < # avol, ebm-vol-inv(avol), m1 + n1 ≤ LEB_SIZE, n2 + n1 ≤ # buf, avol ⊆ avol0 ⊦ (⌊EIO⌋ ∨ EIO = ESUCCESS) ∧ ⟨err := EIO; if err = ESUCCESS then buf := copy(avol[m2].data + mkempbuf(LEB_SIZE - # avol[m2].data), m1, buf, n2, n1) else choose buf1 with # buf1 = # buf ∧ range=(buf, 0, buf1, 0, n2) ∧ range=(buf, n2 + n1, buf1, n2 + n1, # buf - n2 + n1) in buf := buf1⟩ true |
avol[m2] = mapped(buf1), m2 < # avol, ebm-vol-inv(avol), n2 + n1 ≤ # buf, m1 + n1 ≤ LEB_SIZE, avol ⊆ avol0 ⊦ ⟨err := EIO; if err = ESUCCESS then buf := copy(avol[m2].data + mkempbuf(LEB_SIZE - # avol[m2].data), m1, buf, n2, n1) else choose buf1 with # buf1 = # buf ∧ range=(buf, 0, buf1, 0, n2) ∧ range=(buf, n2 + n1, buf1, n2 + n1, # buf - n2 + n1) in buf := buf1⟩ true
Used simplifier rules: ⊦ ⌊EIO⌋ ; (s)