| # avol2 = # avol0, # lebs(avol, 5, lptlebs(# lpt, LEB_SIZE)) = lptsize(# lpt, LEB_SIZE), # lpt0 = # lpt, # avol = # avol0, # avol0 = n0 + 5 + 2 * lptlebs(# lpt, LEB_SIZE), (5 + 2 * lptlebs(# lpt, LEB_SIZE)) + # lpt = # avol0, avol2[0] = mapped(buf3), avol0[2] = mapped(buf1), avol0[4] = mapped(buf0), avol0[0] = mapped(buf2), avol[4] = mapped(buf0), avol[3] = mapped(buf), avol[2] = mapped(buf1), avol[1] = mapped(mkbuf(0)), avol[0] = mapped(buf2), 3 < # avol0, ebm-vol-inv(avol2), ebm-vol-inv(avol0[1, mapped(mkbuf(0))][3, mapped(buf)]), ebm-vol-inv(avol0), ebm-vol-inv(avol0[1, mapped(mkbuf(0))]), ebm-vol-inv(avol), id○(avol2, avol, 0), is-encoded(mksb(adr, m3, 1, 3, # orphans, 5, 5 + 2 * lptlebs(# lpt, LEB_SIZE)), buf3), is-encoded(mksb(adr0, m2, 2, 4, m6, 5 + lptlebs(# lpt, LEB_SIZE), 5 + 2 * lptlebs(# lpt, LEB_SIZE)), buf2), is-encoded(lpt0, lebs(avol0, 5 + lptlebs(# lpt, LEB_SIZE), lptlebs(# lpt, LEB_SIZE))), is-encoded(log, buf1), is-encoded(lpt, lebs(avol, 5, lptlebs(# lpt, LEB_SIZE))), is-encoded-pad(orphans, # orphans, buf), is-encoded-pad(orphans0, m6, buf0), mapped-full?(avol0, 5 + lptlebs(# lpt, LEB_SIZE), lptlebs(# lpt, LEB_SIZE)), mapped-full?(avol, 5, lptlebs(# lpt, LEB_SIZE)), range=(avol, 5 + lptlebs(# lpt, LEB_SIZE), avol0, 5 + lptlebs(# lpt, LEB_SIZE), lptlebs(# lpt, LEB_SIZE) + # lpt), 5 + 2 * lptlebs(# lpt, LEB_SIZE) ≤ # avol0, 5 + lptlebs(# lpt, LEB_SIZE) ≤ # avol0, 5 ≤ # avol0, logoff ≠ LEB_SIZE → # buf1 = logoff ⊦ (∃ lpt1, log0. 2 * lptlebs(# lpt, LEB_SIZE) = 2 * lptlebs(# lpt1, LEB_SIZE) ∧ (5 + 2 * lptlebs(# lpt, LEB_SIZE)) + # lpt1 = # avol0 ∧ avol2[3].mapped? ∧ avol2[1].mapped? ∧ # avol2[1].data = 0 ∧ is-encoded(log0, avol2[1].data) ∧ mapped-full?(avol, 5, lptlebs(# lpt1, LEB_SIZE)) ∧ is-encoded(lpt1, lebs(avol2, 5, lptlebs(# lpt1, LEB_SIZE)))) ∧ avol2[1].data = mkbuf(0) ∧ is-encoded(lpt, lebs(avol2, 5, lptlebs(n0, LEB_SIZE))) ∧ is-encoded-pad(orphans, # orphans, avol2[3].data) ∧ subarray(avol, 5 + 2 * lptlebs(# lpt, LEB_SIZE), n0) = subarray(avol0, 5 + 2 * lptlebs(# lpt, LEB_SIZE), n0) |
# avol2 = # avol0, # lebs(avol, 5, lptlebs(# lpt, LEB_SIZE)) = lptsize(# lpt, LEB_SIZE), # lpt0 = # lpt, # avol = # avol0, (5 + 2 * lptlebs(# lpt, LEB_SIZE)) + # lpt = # avol0, avol2[0] = mapped(buf3), avol0[2] = mapped(buf1), avol0[4] = mapped(buf0), avol0[0] = mapped(buf2), avol[4] = mapped(buf0), avol[3] = mapped(buf), avol[2] = mapped(buf1), avol[1] = mapped(mkbuf(0)), avol[0] = mapped(buf2), 3 < # avol0, ebm-vol-inv(avol2), ebm-vol-inv(avol0[1, mapped(mkbuf(0))][3, mapped(buf)]), ebm-vol-inv(avol0), ebm-vol-inv(avol0[1, mapped(mkbuf(0))]), ebm-vol-inv(avol), id○(avol2, avol, 0), is-encoded(mksb(adr, m3, 1, 3, # orphans, 5, 5 + 2 * lptlebs(# lpt, LEB_SIZE)), buf3), is-encoded(mksb(adr0, m2, 2, 4, m6, 5 + lptlebs(# lpt, LEB_SIZE), 5 + 2 * lptlebs(# lpt, LEB_SIZE)), buf2), is-encoded(lpt0, lebs(avol0, 5 + lptlebs(# lpt, LEB_SIZE), lptlebs(# lpt, LEB_SIZE))), is-encoded(log, buf1), is-encoded(lpt, lebs(avol, 5, lptlebs(# lpt, LEB_SIZE))), is-encoded-pad(orphans, # orphans, buf), is-encoded-pad(orphans0, m6, buf0), mapped-full?(avol0, 5 + lptlebs(# lpt, LEB_SIZE), lptlebs(# lpt, LEB_SIZE)), mapped-full?(avol, 5, lptlebs(# lpt, LEB_SIZE)), range=(avol, 5 + lptlebs(# lpt, LEB_SIZE), avol0, 5 + lptlebs(# lpt, LEB_SIZE), lptlebs(# lpt, LEB_SIZE) + # lpt), 5 + 2 * lptlebs(# lpt, LEB_SIZE) ≤ # avol0, 5 + lptlebs(# lpt, LEB_SIZE) ≤ # avol0, 5 ≤ # avol0, logoff ≠ LEB_SIZE → # buf1 = logoff ⊦ (∃ lpt1, log0. 2 * lptlebs(# lpt, LEB_SIZE) = 2 * lptlebs(# lpt1, LEB_SIZE) ∧ (5 + 2 * lptlebs(# lpt, LEB_SIZE)) + # lpt1 = # avol0 ∧ avol2[3].mapped? ∧ avol2[1].mapped? ∧ # avol2[1].data = 0 ∧ is-encoded(log0, avol2[1].data) ∧ mapped-full?(avol, 5, lptlebs(# lpt1, LEB_SIZE)) ∧ is-encoded(lpt1, lebs(avol2, 5, lptlebs(# lpt1, LEB_SIZE)))) ∧ avol2[1].data = mkbuf(0) ∧ is-encoded-pad(orphans, # orphans, avol2[3].data)
Used simplifier rules: rangeeq-subarray: ⊦ range=(avol, 5 + n, avol0, 5 + n, n + m0) → subarray(avol, 5 + 2 * n, m0) = subarray(avol0, 5 + 2 * n, m0);%mult-c: ⊦ m * n = n * m; from specification nat-mult%mult-a: ⊦ m0 * m * n = (m0 * m) * n; from specification nat-mult%n < m0, m0 + m1 ≤ # avol1 ⊦ id○(avol1, avol0, n) → lebs(avol1, m0, m1) = lebs(avol0, m0, m1); (s)%n < n0 ⊦ (* n) < m0 + (* n0); (s)%lf-01: ⊦ m < n ∧ n = n0 → m < n0; (forward) from specification nat-basic%eqs: ⊦ m = n + n0 ∧ m = n + n1 → n0 = n1; (forward) from specification nat-basic%c: ⊦ m + n = n + m; from specification nat-basic%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic