| ⟨awbuf_add_log_leb#(m3, # avol[m3].data, adr, m2, avol, lpt, ns, isbuf; nx, bleb; err)⟩ (nx = nx1 ∧ bleb = bleb0 ∧ err = err0), # lpt = # avol, avol[m3] = mapped(buf), nx1 ≠ nx, m3 < # avol, awbuf-inv(avol, bleb), synced(avol), avol0 ↓ avol ⊦ ⟨fail_or_success#(; ; err); if err = ESUCCESS then nx := nx + m3 ', bleb := buffered(m3)⟩ (nx1 = nx) |
⟨awbuf_add_log_leb#(m3, # avol[m3].data, adr, m2, avol, lpt, ns, isbuf; nx, bleb; err)⟩ (nx = nx1 ∧ bleb = bleb0 ∧ err = err0), # lpt = # avol, avol[m3] = mapped(buf), m3 < # avol, awbuf-inv(avol, bleb), synced(avol), avol0 ↓ avol ⊦ ⟨choose err0 with ⌊err0⌋ ∨ err0 = ESUCCESS in err := err0; if err = ESUCCESS then nx := nx + m3 ', bleb := buffered(m3)⟩ (nx1 = nx), nx1 = nx
Used simplifier rules: fail_or_success#(; ; ERR) {choose ERR0 with ⌊ERR0⌋ ∨ ERR0 = ESUCCESS in ERR := ERR0};