| # buf2 = NODE_HEADER_SIZE, # buf = nd.alignedsize, nd.alignedsize + # buf0 < align↑(node-size-headerless(nd), 2 * NODE_HEADER_SIZE), abs-nodes(buf0, 2 * NODE_HEADER_SIZE + n + nd.alignedsize, x0, lax0, weak), is-encoded(nd, subarray(buf, 0, node-size-headerless(nd))), is-encoded(nodeheader(node-size-headerless(nd), false), buf2) ⊦ |
⊦ nd.alignedsize = align↑(node-size-headerless(nd), 2 * NODE_HEADER_SIZE)
Used simplifier rules: ⊦ 2 * m = 0 ↔ m = 0; (s)% ⊦ NODE_HEADER_SIZE ≠ 0; (s)%mult-a: ⊦ m0 * m * n = (m0 * m) * n; from specification nat-mult%mult-c: ⊦ m * n = n * m; from specification nat-mult% ⊦ ¬ m + n < m; (s)%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic%c: ⊦ m + n = n + m; from specification nat-basic%n ≠ 0, m % n = 0 ⊦ align↑(m, n) = m; (s)%# buf = n ⊦ subarray(buf, 0, n) = buf; (s) Used terms: nd