Computed nonempty-child transitions of the native controller #
Main results #
PrunedQuery.exec_node_child: read the actual frame and requests, construct the child by native digit tests/division/deduplication, and push its computed frame.
The nonemptiness premise selects a case of the proof. The machine itself tests the count that it has just computed; no query-selection or layout certificate is input to its code.
Only the next query row, timestamps and the next four-word frame may change during a nonempty-child transition. In particular, parent queries, accumulators and frame survive.
Load the current frame, execute the native child scan, and package the post-scan state v
together with the branch-dispatch wrapper that turns a push/advance branch execution on v
into a full step execution on x.
Any four-word frame write below f + 4 * (L + 1) preserves the scanned child-list and stamp
blocks and composes with the scan footprint.
This is the actual full controller transition, not a callee execution assumption. All
three controller comparisons, the complete native scan, four frame stores and index work
fit in 20 N + 42 instructions. The produced directory describes the same final memory.