| # buf = n0 + align↓(# buf, EB_PAGE_SIZE), align↓(# buf, EB_PAGE_SIZE) ≤ # buf ⊦ buf = subarray(buf, 0, align↓(# buf, EB_PAGE_SIZE)) + subarray(buf, align↓(# buf, EB_PAGE_SIZE), n0) ∧ # buf < EB_PAGE_SIZE + align↓(# buf, EB_PAGE_SIZE) |
⊦ buf = subarray(buf, 0, align↓(# buf, EB_PAGE_SIZE)) + subarray(buf, align↓(# buf, EB_PAGE_SIZE), # buf % EB_PAGE_SIZE) ∧ # buf < EB_PAGE_SIZE + align↓(# buf, EB_PAGE_SIZE)
Used simplifier rules: m ≠ 0 ⊦ align↓(n0, m) ≤ n0; (s)%c: ⊦ m + n = n + m; from specification nat-basic%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic%n ≠ 0 ⊦ m = m0 + align↓(m, n) ↔ m0 = m % n; (s)% ⊦ EB_PAGE_SIZE ≠ 0; (s)