| 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 ≤ m + n; (s)%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic%c: ⊦ m + n = n + m; from specification nat-basic% ⊦ EB_PAGE_SIZE ≠ 0; (s)%m ≠ 0, is-aligned(n1, m) ⊦ is-aligned(n0 + n1, m) ↔ is-aligned(n0, m); (s)%eqs: ⊦ m = n + n0 ∧ m = n + n1 → n0 = n1; (forward) from specification nat-basic% ⊦ m + n ≤ m + n0 ↔ n ≤ n0; (s)% ⊦ m < n → (n ≤ m ↔ false); (s)%n ≤ m ⊦ n0 = m - n ↔ m = n0 + n; (elim) Used terms: m2, m1, n4