| ⊦ ⟪ebm_vol_format#(m; v, avols; err)⟫ ( (err = ESUCCESS → ⟨ebm_avol_format#(m; ; avol0, err0)⟩ (avol0 = abs(avols[v]) ∧ ESUCCESS = err0)) ∧ (err ≠ ESUCCESS → (∀ avol. ⟨ebm_avol_format#(m; ; avol0, err0)⟩ (avol = avol0 ∧ err = err0)))) |
⊦ ⟪ebm_format#(; ; avols, err); if err = ESUCCESS then {v := default-volid; ebm_create_volume#(v, m; avols; err)}⟫ ( (err = ESUCCESS → ⟨ebm_avol_format#(m; ; avol0, err0)⟩ (avol0 = abs(avols[v]) ∧ ESUCCESS = err0)) ∧ (err ≠ ESUCCESS → (∀ avol. ⟨ebm_avol_format#(m; ; avol0, err0)⟩ (avol = avol0 ∧ err = err0))))
Used simplifier rules: ebm_vol_format#(VOLSIZE; VOLID, AVOLS; ERR) {ebm_format#(; ; AVOLS, ERR); if ERR = ESUCCESS then {VOLID := default-volid; ebm_create_volume#(VOLID, VOLSIZE; AVOLS; ERR)} };