| subarray(buf, n, ENCODED_ELEM_SIZE) = mkempbuf(ENCODED_ELEM_SIZE), is-encoded(a, subarray(buf, n, ENCODED_ELEM_SIZE)), n + ENCODED_ELEM_SIZE ≤ # buf ⊦ ∀ n2. n ≤ n2 ∧ n2 < n + ENCODED_ELEM_SIZE → buf[n2] = empty |
subarray(buf, n, ENCODED_ELEM_SIZE) = mkempbuf(ENCODED_ELEM_SIZE), n < # buf, n0 < n + ENCODED_ELEM_SIZE, n0 < # buf, is-encoded(a, subarray(buf, n, ENCODED_ELEM_SIZE)), n ≤ n0, n + ENCODED_ELEM_SIZE ≤ # buf ⊦ buf[n0] = empty
Used simplifier rules: c: ⊦ m + n = n + m; from specification nat-basic%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic% ⊦ ENCODED_ELEM_SIZE ≠ 0; (s)% ⊦ m < m + n ↔ n ≠ 0; (s)% ⊦ m < n → n ≠ 0; (s)%fle-01: ⊦ m ≤ n ∧ n < n0 → m < n0; (forward) from specification nat%fle: ⊦ m < n ∧ n ≤ n0 → m < n0; (forward) from specification nat%f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic