| apebs[n] = mkpeb(aehdr0, avhdr0, buf0, m0, boolvar0), n < # apebs, ∀ n0. n0 < # apebs → # apebs[n0].data = LEB_SIZE ∧ ( ¬ apebs[n0].bad → (apebs[n0].echdr = empty → apebs[n0].vidhdr = empty) ∧ (apebs[n0].echdr ≠ garbage ∧ apebs[n0].vidhdr = empty → apebs[n0].fill = 0) ∧ apebs[n0].fill ≤ LEB_SIZE ∧ is-aligned(apebs[n0].fill, EB_PAGE_SIZE) ∧ subarray(apebs[n0].data, apebs[n0].fill, LEB_SIZE - apebs[n0].fill) = mkempbuf(LEB_SIZE - apebs[n0].fill)) ∧ (¬ apebs[n0].bad → apebs[n0].echdr.valid? ∧ apebs[n0].vidhdr = empty) ⊦ # buf1 = LEB_SIZE ∧ ( ¬ boolvar1 → (aehdr1 = empty → avhdr1 = empty) ∧ (aehdr1 ≠ garbage ∧ avhdr1 = empty → m1 = 0) ∧ m1 ≤ LEB_SIZE ∧ is-aligned(m1, EB_PAGE_SIZE) ∧ subarray(buf1, m1, LEB_SIZE - m1) = mkempbuf(LEB_SIZE - m1)) ∧ (¬ boolvar1 → aehdr1.valid? ∧ avhdr1 = empty), # buf0 = LEB_SIZE ∧ ( ¬ boolvar0 → (aehdr0 = empty → avhdr0 = empty) ∧ (aehdr0 ≠ garbage ∧ avhdr0 = empty → m0 = 0) ∧ m0 ≤ LEB_SIZE ∧ is-aligned(m0, EB_PAGE_SIZE) ∧ subarray(buf0, m0, LEB_SIZE - m0) = mkempbuf(LEB_SIZE - m0)) ∧ (¬ boolvar0 → aehdr0.valid? ∧ avhdr0 = empty) |
Used simplifier rules: ⊦ mkpeb(aehdr, avhdr, buf, m, boolvar).data = buf; (s)% ⊦ mkpeb(aehdr, avhdr, buf, m, boolvar).bad ↔ boolvar; (s)% ⊦ mkpeb(aehdr, avhdr, buf, m, boolvar).echdr = aehdr; (s)% ⊦ mkpeb(aehdr, avhdr, buf, m, boolvar).vidhdr = avhdr; (s)% ⊦ mkpeb(aehdr, avhdr, buf, m, boolvar).fill = m; (s) Used terms: n