| avol = abs(avols[default-volid]), m < # avols[default-volid], ebm-cons(avols), ebm-vol-inv(abs(avols[default-volid])), is-aligned(n, EB_PAGE_SIZE), default-volid ∈ avols, n ≤ LEB_SIZE, n ≤ # buf, ⌊err0⌋ ⊦ ⟨if m < # avol ∧ n ≤ # buf ∧ n ≤ LEB_SIZE ∧ is-aligned(n, EB_PAGE_SIZE) then {fail_or_success#(; ; err); if err = ESUCCESS then avol[m] := mapped(subarray(buf, 0, n))} else abort⟩ (avol = abs(avols[default-volid]) ∧ err0 = err) |
avol = abs(avols[default-volid]), m < # avols[default-volid], ebm-cons(avols), ebm-vol-inv(abs(avols[default-volid])), is-aligned(n, EB_PAGE_SIZE), default-volid ∈ avols, n ≤ # buf, n ≤ LEB_SIZE, ⌊err0⌋ ⊦ ⟨fail_or_success#(; ; err); if err = ESUCCESS then avol[m] := mapped(subarray(buf, 0, n))⟩ (avol = abs(avols[default-volid]) ∧ err0 = err)
Used simplifier rules: ⊦ # abs(evol) = # evol; (s)