| PEB_SIZE = n0 + m1, PEB_SIZE = n1 + m2 + n, pebs[m3] = mkpeb(buf0, m1, false), n3 < n1, m3 < # pebs, is-aligned(m1, EB_PAGE_SIZE), is-aligned(n, EB_PAGE_SIZE), is-aligned(m2, EB_PAGE_SIZE), mtd-cons(pebs), range=(buf0, m1, emptypeb, m1, n0), m1 ≤ PEB_SIZE, m2 + n ≤ PEB_SIZE, n2 + n ≤ # buf, m1 ≤ m2 ⊦ copy(buf, n2, buf0, m2, n)[(m2 + n) + n3] = empty |
⊦ m0 < # buf → copy(buf0, n, buf, n0, m)[m0] = (m0 < n0 ∨ n0 + m ≤ m0 ⊃ buf[m0];buf0[m0 + n - n0])
PEB_SIZE = n1 + m2 + n, PEB_SIZE = n0 + m1, pebs[m3] = mkpeb(buf0, m1, false), m3 < # pebs, n3 < n1, (m2 + n) + n3 < # buf0, is-aligned(m2, EB_PAGE_SIZE), is-aligned(n, EB_PAGE_SIZE), is-aligned(m1, EB_PAGE_SIZE), mtd-cons(pebs), range=(buf0, m1, emptypeb, m1, n0), m1 ≤ m2, n2 + n ≤ # buf, m2 + n ≤ PEB_SIZE, m1 ≤ PEB_SIZE ⊦ ((m2 + n) + n3 < m2 ∨ m2 + n ≤ (m2 + n) + n3 ⊃ buf0[(m2 + n) + n3];buf[((m2 + n) + n3) + n2 - m2]) = empty
Used simplifier rules: ⊦ m < n ↔ ¬ n ≤ m; (ss)% ⊦ m < n → (n ≤ m ↔ false); (s)%n < # pebs ⊦ pebs[n] = mkpeb(buf, m, boolvar) ∧ mtd-cons(pebs) → # buf = PEB_SIZE; (s)%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic%c: ⊦ m + n = n + m; from specification nat-basic% ⊦ m = m0 + n0 ∧ n < n0 → m0 + n < m; (s) Used terms: (m2 + n) + n3, n, m2, buf0, n2, buf