| 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), m1 ≤ PEB_SIZE, m2 + n ≤ PEB_SIZE, n2 + n ≤ # buf, m1 ≤ m2, (m2 + n) + n3 - m1 < n0 → buf0[m1 + ((m2 + n) + n3 - m1)] = empty ⊦ buf0[(m2 + n) + n3] = empty |
PEB_SIZE = n1 + m2 + n, PEB_SIZE = n0 + m1, pebs[m3] = mkpeb(buf0, m1, false), m3 < # pebs, n3 < n1, is-aligned(m2, EB_PAGE_SIZE), is-aligned(n, EB_PAGE_SIZE), is-aligned(m1, EB_PAGE_SIZE), mtd-cons(pebs), m1 ≤ m2, n2 + n ≤ # buf, m2 + n ≤ PEB_SIZE, m1 ≤ PEB_SIZE, n0 ≤ (m2 - m1) + n + n3 ⊦ buf0[(m2 + n) + n3] = empty
Used simplifier rules: ⊦ m < n ↔ ¬ n ≤ m; (ss)% ⊦ n ≤ n0 → (m + (n0 - n)) + n = m + n0; (s)%c: ⊦ m + n = n + m; from specification nat-basic%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic% ⊦ n ≤ m → m + n0 - n = (m - n) + n0; (s)