| # buf < ENCODED_NAT_SIZE ⊦ is-encoded-pad(ns, n, buf) ↔ ns = ∅ ∧ n = 0 ∧ is-aligned(# buf, EB_PAGE_SIZE) |
⊦ is-encoded-pad(ns, n, buf) ↔ n = # ns ∧ (∃ buf0, buf1. is-aligned(# buf, EB_PAGE_SIZE) ∧ buf = buf0 + buf1 ∧ is-encoded(ns, buf0))
# buf < ENCODED_NAT_SIZE ⊦ n = # ns ∧ (∃ buf0, buf1. is-aligned(# buf, EB_PAGE_SIZE) ∧ buf = buf0 + buf1 ∧ is-encoded(ns, buf0)) ↔ ns = ∅ ∧ n = 0 ∧ is-aligned(# buf, EB_PAGE_SIZE)
Used terms: buf, n, ns