| LEB_SIZE = (n4 + n) + n0 + n2, avols[default-volid][m2] = mapped(buf0, n2), n1 < n2 + n0, n1 < LEB_SIZE, m2 < # avols[default-volid], ebm-cons(avols), ebm-vol-inv(abs(avols[default-volid])), is-aligned(n0, EB_PAGE_SIZE), is-aligned(n, EB_PAGE_SIZE), default-volid ∈ avols, (n0 + n2) + n ≤ LEB_SIZE, n3 + n ≤ # buf, n2 ≤ LEB_SIZE, n0 + n2 ≤ LEB_SIZE, n + n0 + n2 ≤ LEB_SIZE ⊦ mkempbuf(n0)[n1 - n2] = buf0[n1], n = 0, n1 < n2 |
LEB_SIZE = (n4 + n) + n0 + n2, avols[default-volid][m2] = mapped(buf0, n2), m2 < # avols[default-volid], n1 < LEB_SIZE, n1 < n2 + n0, n2 < LEB_SIZE, ebm-cons(avols), ebm-vol-inv(abs(avols[default-volid])), is-aligned(n, EB_PAGE_SIZE), is-aligned(n0, EB_PAGE_SIZE), default-volid ∈ avols, n + n0 + n2 ≤ LEB_SIZE, n0 + n2 ≤ LEB_SIZE, n3 + n ≤ # buf, (n0 + n2) + n ≤ LEB_SIZE, n2 ≤ n1 ⊦ n4 + n + n0 = 0, mkempbuf(n0)[n1 - n2] = buf0[n1], n = 0, n0 = 0
Used simplifier rules: lf-01: ⊦ m < n ∧ n = n0 → m < n0; (forward) from specification nat-basic% ⊦ m < n → m ≤ n; (s)%c: ⊦ m + n = n + m; from specification nat-basic%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic% ⊦ m < m + n ↔ n ≠ 0; (s)%fle-01: ⊦ m ≤ n ∧ n < n0 → m < n0; (forward) from specification nat% ⊦ m < n ↔ ¬ n ≤ m; (ss)