| pebs[m3] = mkpeb(buf0, m1, false), m3 < # pebs, is-aligned(m2, EB_PAGE_SIZE), is-aligned(n, EB_PAGE_SIZE), is-aligned(n1, EB_PAGE_SIZE), mtd-cons(pebs), m1 ≤ m2, m2 + n ≤ PEB_SIZE, n2 + n ≤ # buf, ⌊err0⌋ ∨ err0 = ESUCCESS, n1 < n ∨ n1 = 0 ∧ n = 0 ⊦ ⟪pebs[m3].data := copy(buf, n2, pebs[m3].data, m2, n1); pebs[m3].fill := m2 + n1⟫ mtd-cons(pebs), err0 = ESUCCESS, n1 = 0 |
pebs[m3] = mkpeb(buf0, m1, false), m3 < # pebs, is-aligned(n1, EB_PAGE_SIZE), is-aligned(n, EB_PAGE_SIZE), is-aligned(m2, EB_PAGE_SIZE), mtd-cons(pebs), n2 + n1 ≤ # buf, m2 + n1 ≤ # pebs[m3].data, n2 + n ≤ # buf, m2 + n ≤ PEB_SIZE, m1 ≤ m2, n1 < n ∨ n1 = 0 ∧ n = 0, ⌊err0⌋ ∨ err0 = ESUCCESS ⊦ ⟪pebs := pebs[m3, pebs[m3].data:= copy(buf, n2, pebs[m3].data, m2, n1)] [m3, pebs[m3, pebs[m3].data:= copy(buf, n2, pebs[m3].data, m2, n1)][m3].fill:= (m2 + n1) ]⟫ mtd-cons(pebs), err0 = ESUCCESS, n1 = 0
Used simplifier rules: ⊦ ⌊err⌋ → err ≠ ESUCCESS; (s)%f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic% ⊦ m < n → n ≠ 0; (s)% ⊦ mkpeb(buf, m, boolvar).data = buf; (s)% ⊦ 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)% ⊦ m ≤ n ↔ ¬ n < m; (ss)%fle-01: ⊦ m ≤ n ∧ n < n0 → m < n0; (forward) from specification nat% ⊦ m + n < m + n0 ↔ n < n0; (s)% ⊦ m < n → ¬ n < m; (s)%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic%c: ⊦ m + n = n + m; from specification nat-basic