| # lebs(avol, 5 + lptlebs(# lpt, LEB_SIZE), 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, avol0[1] = mapped(buf1), avol0[3] = mapped(buf0), avol0[0] = mapped(buf2), 2 < # avol0, 4 < # avol0, ebm-vol-inv(avol), ebm-vol-inv(avol0[2, mapped(mkbuf(0))][4, mapped(buf)]), ebm-vol-inv(avol0), ebm-vol-inv(avol0[2, mapped(mkbuf(0))]), is-encoded(mksb(adr0, m2, 1, 3, m6, 5, 5 + 2 * lptlebs(# lpt, LEB_SIZE)), buf2), is-encoded(lpt0, lebs(avol0, 5, lptlebs(# lpt, LEB_SIZE))), is-encoded(log, buf1), is-encoded(lpt, lebs(avol, 5 + lptlebs(# lpt, LEB_SIZE), lptlebs(# lpt, LEB_SIZE))), is-encoded-pad(orphans, # orphans, buf), is-encoded-pad(orphans0, m6, buf0), mapped-full?(avol0, 5, lptlebs(# lpt, LEB_SIZE)), mapped-full?(avol, 5 + lptlebs(# lpt, LEB_SIZE), lptlebs(# lpt, LEB_SIZE)), range=(avol, 5 + 2 * lptlebs(# lpt, LEB_SIZE), avol0, 5 + 2 * lptlebs(# lpt, LEB_SIZE), # lpt), range=(avol, 0, avol0[2, mapped(mkbuf(0))][4, mapped(buf)], 0, 5 + lptlebs(# lpt, LEB_SIZE)), 5 + 2 * lptlebs(# lpt, LEB_SIZE) ≤ # avol0, 2 * lptlebs(# lpt, LEB_SIZE) + 5 ≤ # avol0, ⌊err⌋ , logoff ≠ LEB_SIZE → # buf1 = logoff ⊦ (∃ lpt1. 2 * lptlebs(# lpt, LEB_SIZE) = 2 * lptlebs(# lpt1, LEB_SIZE) ∧ (5 + 2 * lptlebs(# lpt, LEB_SIZE)) + # lpt1 = # avol0 ∧ mapped-full?(avol, 5, lptlebs(# lpt1, LEB_SIZE)) ∧ is-encoded(lpt1, lebs(avol, 5, lptlebs(# lpt1, LEB_SIZE)))) ∧ lebs(avol, 5, lptlebs(n0, LEB_SIZE)) = lebs(avol0, 5, lptlebs(n0, LEB_SIZE)) ∧ subarray(avol, 5 + 2 * lptlebs(# lpt, LEB_SIZE), n0) = subarray(avol0, 5 + 2 * lptlebs(# lpt, LEB_SIZE), n0) |
# lebs(avol, 5 + lptlebs(# lpt, LEB_SIZE), lptlebs(# lpt, LEB_SIZE)) = lptsize(# lpt, LEB_SIZE), # lpt0 = # lpt, # avol = # avol0, (5 + 2 * lptlebs(# lpt, LEB_SIZE)) + # lpt = # avol0, avol0[1] = mapped(buf1), avol0[3] = mapped(buf0), avol0[0] = mapped(buf2), 2 < # avol0, 4 < # avol0, ebm-vol-inv(avol), ebm-vol-inv(avol0[2, mapped(mkbuf(0))][4, mapped(buf)]), ebm-vol-inv(avol0), ebm-vol-inv(avol0[2, mapped(mkbuf(0))]), is-encoded(mksb(adr0, m2, 1, 3, m6, 5, 5 + 2 * lptlebs(# lpt, LEB_SIZE)), buf2), is-encoded(lpt0, lebs(avol0, 5, lptlebs(# lpt, LEB_SIZE))), is-encoded(log, buf1), is-encoded(lpt, lebs(avol, 5 + lptlebs(# lpt, LEB_SIZE), lptlebs(# lpt, LEB_SIZE))), is-encoded-pad(orphans, # orphans, buf), is-encoded-pad(orphans0, m6, buf0), mapped-full?(avol0, 5, lptlebs(# lpt, LEB_SIZE)), mapped-full?(avol, 5 + lptlebs(# lpt, LEB_SIZE), lptlebs(# lpt, LEB_SIZE)), range=(avol, 5 + 2 * lptlebs(# lpt, LEB_SIZE), avol0, 5 + 2 * lptlebs(# lpt, LEB_SIZE), # lpt), range=(avol, 0, avol0[2, mapped(mkbuf(0))][4, mapped(buf)], 0, 5 + lptlebs(# lpt, LEB_SIZE)), 5 + 2 * lptlebs(# lpt, LEB_SIZE) ≤ # avol0, 2 * lptlebs(# lpt, LEB_SIZE) + 5 ≤ # avol0, ⌊err⌋ , logoff ≠ LEB_SIZE → # buf1 = logoff ⊦ ∃ lpt1. 2 * lptlebs(# lpt, LEB_SIZE) = 2 * lptlebs(# lpt1, LEB_SIZE) ∧ (5 + 2 * lptlebs(# lpt, LEB_SIZE)) + # lpt1 = # avol0 ∧ mapped-full?(avol, 5, lptlebs(# lpt1, LEB_SIZE)) ∧ is-encoded(lpt1, lebs(avol, 5, lptlebs(# lpt1, LEB_SIZE)))
Used simplifier rules: rangeeq-lebs-5: n ≤ m0 ⊦ range=(avol, 0, avol0, 0, m + m0) → lebs(avol, m, n) = lebs(avol0, m, n);%rangeeq-subarray-5: ⊦ range=(avol, 5 + n, avol0, 5 + n, m0) → subarray(avol, 5 + n, m0) = subarray(avol0, 5 + n, m0);%n0 < n, n + m ≤ # avol ⊦ lebs(avol[n0, aleb], n, m) = lebs(avol, n, m); (s)%mult-c: ⊦ m * n = n * m; from specification nat-mult%mult-a: ⊦ m0 * m * n = (m0 * m) * n; from specification nat-mult% ⊦ m * n + n0 < n ↔ m = 0 ∧ n0 < n; (ws)% ⊦ m + n < m + n0 ↔ n < n0; (s)%n < n0 ⊦ (* n) ≠ m0 + (* n0); (s)%fle-01: ⊦ m ≤ n ∧ n < n0 → m < n0; (forward) from specification nat%transitivity: ⊦ n < n0 ∧ n0 < n1 → n < n1; (forward) from specification oelem[nat-set]%lf: ⊦ m < n ∧ n < n0 → m +1 < n0; (forward) from specification nat-basic%lf-02: ⊦ m < n ∧ m = n0 → n0 < n; (forward) from specification nat-basic%f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic% ⊦ # avol[n, aleb] = # avol; (s)% ⊦ ¬ n < n; (s)% ⊦ m ≤ n ↔ ¬ n < m; (ss)%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