| # buf3 = EB_PAGE_SIZE, m5 + # lpt = # avol, avol[m2] = mapped(buf0), avol[0] = mapped(buf2), avol[m6] = mapped(buf1), # buf1 ≠ LEB_SIZE, m6 < # avol, disk-layout(mksb(adr, m7, m6, m2, m3, m4, m5), # lpt), ebm-vol-inv(avol), is-encoded(rnode(m8), buf3), is-encoded(mksb(adr, m7, m6, m2, m3, m4, m5), buf2), is-encoded(lpt, lebs(avol, m4, lptlebs(# lpt, LEB_SIZE))), is-encoded(log, buf1), is-encoded-pad(orphans, m3, buf0), mapped-full?(avol, m4, lptlebs(# lpt, LEB_SIZE)), # buf1 + EB_PAGE_SIZE ≤ LEB_SIZE, ⌊err0⌋ ⊦ ⟪debug#("persistence-io: failed to add LEB " + m8.toString + " to log")⟫ ( avol[0].mapped? ∧ is-encoded(mksb(adr, m7, m6, m2, m3, m4, m5), avol[0].data) ∧ avol[m2].mapped? ∧ is-encoded-pad(orphans, m3, avol[m2].data) ∧ avol[m6].mapped? ∧ is-encoded(log, avol[m6].data)) |
⊦ ⟪debug#(str)⟫ true
Used simplifier rules: ⊦ mapped(buf).mapped?; (s)% ⊦ mapped(buf).data = buf; (s)%⊦ is-encoded-pad(ns0, n, buf) → (is-encoded-pad(ns1, n, buf) ↔ ns0 = ns1); (s)% ⊦ is-encoded(nx0, buf) → (is-encoded(nx1, buf) ↔ nx0 = nx1); (s)