| avol[sb.log].mapped?, sb.log < # avol, ebm-vol-inv(avol), is-encoded(log0, avol[sb.log].data) ⊦ ⟪persistence_io_read_log#(sb, EB_PAGE_SIZE, LEB_SIZE, avol; logoff; log, err)⟫ ((err = ESUCCESS ∨ ⌊err⌋ ) ∧ (err = ESUCCESS → log = log0)) |
avol[sb.log] = mapped(buf), sb.log < # avol, ebm-vol-inv(avol), is-encoded(log0, buf) ⊦ ⟪persistence_io_read_log#(sb, EB_PAGE_SIZE, LEB_SIZE, avol; logoff; log, err)⟫ ((err = ESUCCESS ∨ ⌊err⌋ ) ∧ (err = ESUCCESS → log = log0))
Used simplifier rules: ⊦ mapped(buf).data = buf; (s)% ⊦ m < n → n ≠ 0; (s)%f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic% ⊦ aleb.mapped? ↔ (∃ buf. aleb = mapped(buf)); (as)