| LEB_SIZE = n2 + n5 + n4, apebs[n] = mkpeb(aehdr, avhdr, buf0, m, false), avhdr.valid?, aehdr.valid?, n < # apebs, is-aligned(n4, EB_PAGE_SIZE), is-aligned(n5, EB_PAGE_SIZE), ubi-io-inv(apebs), ubi-io-peb-inv(mkpeb(aehdr, avhdr, buf0, m, false)), n4 + n5 ≤ LEB_SIZE, n5 ≤ LEB_SIZE, m ≤ LEB_SIZE, n1 + n4 ≤ # buf, n5 + n4 ≤ LEB_SIZE, m ≤ n5 ⊦ (aehdr = empty → avhdr = empty) ∧ (aehdr ≠ garbage ∧ avhdr = empty → n5 + n4 = 0) |
Used simplifier rules: ⊦ aehdr.valid? → ( ubi-io-peb-inv(mkpeb(aehdr, empty, buf, n, false)) ↔ buf = mkempbuf(LEB_SIZE) ∧ n = 0); (s)% ⊦ ¬ empty.valid?; (s)%⊦ ubi-io-peb-inv(mkpeb(empty, avhdr, buf, n, false)) ↔ avhdr = empty ∧ buf = mkempbuf(LEB_SIZE) ∧ n = 0; (s)