| # buf = EB_PAGE_SIZE, avol[m1] = mapped(buf0), m0 < EB_PAGE_SIZE, m1 < # avol, wbuf-cons(mkwbuf(buf, m, m0), mapped(buf0), rofs) ⊦ is-aligned(m, EB_PAGE_SIZE) ∧ m ≤ # buf0 |
⊦ wbuf-cons(wbuf, aleb, rofs) ↔ aleb.mapped? ∧ wbuf.nbytes < # wbuf.content ∧ # wbuf.content = EB_PAGE_SIZE ∧ (¬ rofs → # aleb.data = wbuf.offset) ∧ (rofs → wbuf.offset ≤ # aleb.data) ∧ is-aligned(wbuf.offset, EB_PAGE_SIZE)
Used simplifier rules: ⊦ mkwbuf(buf, m, m0).content = buf; (s)% ⊦ mkwbuf(buf, m, m0).offset = m; (s)% ⊦ mkwbuf(buf, m, m0).nbytes = m0; (s)% ⊦ mapped(buf).mapped?; (s)% ⊦ mapped(buf).data = buf; (s)% ⊦ m ≤ n ↔ ¬ n < m; (ss)% ⊦ m < n → (n ≤ m ↔ false); (s)%f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic%lf-02: ⊦ m < n ∧ m = n0 → n0 < n; (forward) from specification nat-basic%lf-01: ⊦ m < n ∧ n = n0 → m < n0; (forward) from specification nat-basic% ⊦ m < n → n ≠ 0; (s)% ⊦ m < n → ¬ n < m; (s) Used terms: rofs, mapped(buf0), mkwbuf(buf, m, m0)