| # buf0 = PEB_SIZE, pebs[n] = mkpeb(buf0, m0, boolvar0), ¬ boolvar1, n < # pebs, (¬ boolvar0 → m0 = EB_PAGE_SIZE ∧ (∃ n0. is-encoded(echdr(n0), subarray(buf0, 0, EB_PAGE_SIZE)))) → # buf1 = PEB_SIZE ∧ (¬ boolvar1 → m1 ≤ PEB_SIZE ∧ is-aligned(m1, EB_PAGE_SIZE) ∧ range=(buf1, m1, emptypeb, m1, PEB_SIZE - m1)) ∧ (¬ boolvar1 → m1 = EB_PAGE_SIZE ∧ is-encoded(echdr(n1), subarray(buf1, 0, EB_PAGE_SIZE))), ¬ boolvar0 → m0 ≤ PEB_SIZE ∧ is-aligned(m0, EB_PAGE_SIZE) ∧ range=(buf0, m0, emptypeb, m0, PEB_SIZE - m0), ¬ boolvar0 → m0 = EB_PAGE_SIZE ∧ is-encoded(echdr(n0), subarray(buf0, 0, EB_PAGE_SIZE)), ∀ n0. n0 < # pebs → # pebs[n0].data = PEB_SIZE ∧ ( ¬ pebs[n0].bad → pebs[n0].fill ≤ PEB_SIZE ∧ is-aligned(pebs[n0].fill, EB_PAGE_SIZE) ∧ range=(pebs[n0].data, pebs[n0].fill, emptypeb, pebs[n0].fill, PEB_SIZE - pebs[n0].fill)) ∧ (¬ pebs[n0].bad → pebs[n0].fill = EB_PAGE_SIZE ∧ (∃ n. is-encoded(echdr(n), subarray(pebs[n0].data, 0, EB_PAGE_SIZE)))) ⊦ m1 = EB_PAGE_SIZE ∧ (∃ n1. is-encoded(echdr(n1), subarray(buf1, 0, EB_PAGE_SIZE))) |
# buf0 = PEB_SIZE, pebs[n] = mkpeb(buf0, m0, boolvar0), n < # pebs, ¬ boolvar0 → m0 = EB_PAGE_SIZE ∧ is-encoded(echdr(n0), subarray(buf0, 0, EB_PAGE_SIZE)), ¬ boolvar0 → m0 ≤ PEB_SIZE ∧ is-aligned(m0, EB_PAGE_SIZE) ∧ range=(buf0, m0, emptypeb, m0, PEB_SIZE - m0), (¬ boolvar0 → m0 = EB_PAGE_SIZE ∧ (∃ n0. is-encoded(echdr(n0), subarray(buf0, 0, EB_PAGE_SIZE)))) → # buf1 = PEB_SIZE ∧ EB_PAGE_SIZE ≤ PEB_SIZE ∧ range=(buf1, EB_PAGE_SIZE, emptypeb, EB_PAGE_SIZE, PEB_SIZE - EB_PAGE_SIZE) ∧ m1 = EB_PAGE_SIZE ∧ is-encoded(echdr(n1), subarray(buf1, 0, EB_PAGE_SIZE)), ∀ n0. n0 < # pebs → # pebs[n0].data = PEB_SIZE ∧ ( ¬ pebs[n0].bad → pebs[n0].fill ≤ PEB_SIZE ∧ is-aligned(pebs[n0].fill, EB_PAGE_SIZE) ∧ range=(pebs[n0].data, pebs[n0].fill, emptypeb, pebs[n0].fill, PEB_SIZE - pebs[n0].fill)) ∧ (¬ pebs[n0].bad → pebs[n0].fill = EB_PAGE_SIZE ∧ (∃ n. is-encoded(echdr(n), subarray(pebs[n0].data, 0, EB_PAGE_SIZE)))) ⊦ m1 = EB_PAGE_SIZE ∧ (∃ n1. is-encoded(echdr(n1), subarray(buf1, 0, EB_PAGE_SIZE)))
Used simplifier rules: n ≠ 0 ⊦ is-aligned(n, n); (s)% ⊦ EB_PAGE_SIZE ≠ 0; (s)