| ⟨awbuf_add_log_leb#(m3, # avol[m3].data, adr, m2, avol, lpt, ns, isbuf; nx, bleb; err)⟩ (nx = nx1 ∧ bleb = bleb0 ∧ err = err1), # lpt = # avol, avol[m3] = mapped(buf), m3 < # avol, awbuf-inv(avol, bleb), synced(avol), avol0 ↓ avol ⊦ ∃ err0. (⌊err0⌋ ∨ err0 = ESUCCESS) ∧ ⟨err := err0; if err = ESUCCESS then nx := nx + m3 ', bleb := buffered(m3)⟩ (nx1 = nx), nx1 = nx |
⟨awbuf_add_log_leb#(m3, # avol[m3].data, adr, m2, avol, lpt, ns, isbuf; nx, bleb; err)⟩ (nx = nx1 ∧ bleb = bleb0 ∧ err = err1), # lpt = # avol, avol[m3] = mapped(buf), nx1 ≠ nx, m3 < # avol, awbuf-inv(avol, bleb), synced(avol), avol0 ↓ avol ⊦ ∃ err0. (⌊err0⌋ ∨ err0 = ESUCCESS) ∧ ⟨err := err0; if err = ESUCCESS then nx := nx + m3 ', bleb := buffered(m3)⟩ (nx1 = nx)