| pebs[m3] = mkpeb(buf0, m1, false), pebs0 = pebs, m3 < # pebs, is-aligned(n, EB_PAGE_SIZE), is-aligned(m2, EB_PAGE_SIZE), mtd-cons(pebs), n2 + n ≤ # buf, m2 + n ≤ PEB_SIZE, m1 ≤ m2 ⊦ (0 < n ∨ 0 = 0 ∧ n = 0) ∧ is-aligned(0, EB_PAGE_SIZE) ∧ ⟨if 0 ≠ 0 then {pebs[m3].data := copy(buf, n2, pebs[m3].data, m2, 0); pebs[m3].fill := m2 + 0}⟩ (pebs0 = pebs) |
pebs[m3] = mkpeb(buf0, m1, false), m3 < # pebs, is-aligned(n, EB_PAGE_SIZE), is-aligned(m2, EB_PAGE_SIZE), mtd-cons(pebs), n2 + n ≤ # buf, m2 + n ≤ PEB_SIZE, m1 ≤ m2 ⊦ ⟨skip⟩ true
Used simplifier rules: c: ⊦ m + n = n + m; from specification nat-basic%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic% ⊦ n + 0 = n; (s)%n ≠ 0 ⊦ is-aligned(0, n); (s)% ⊦ EB_PAGE_SIZE ≠ 0; (s)% ⊦ 0 < m ↔ m ≠ 0; (s)