Stored partial sums between native child calls #
Main definitions #
PrunedQuery.NodeProgress: the actual dispatch cursor, frame, directory and partial values.
Main results #
PrunedQuery.exec_ready_enter: native entry establishes the zero-term invariant.
This is an invariant of the existing finite controller. It contains ordinary register and memory equalities, not assumed executions or resource bounds. The timestamp directory is shared by all nodes, so the parent retains its list but does not retain a stale membership-marker assertion.
Progress after k of the ten actual child dispatches. The initial state is kept only to
express the concrete spatial frame and preservation of its occupied request list.
- regs : KernelRegs L f a0 b0 y
The constants and workspace pointers are unchanged.
The cursor is at this internal node.
The next controller step dispatches the stored term.
A dispatching node is active.
The first three frame words survive all child returns.
- requests (i : ℕ) : i < S.card → y.mem (f + 4 * (L + 1) + d * 10 ^ L + i) = x.mem (f + 4 * (L + 1) + d * 10 ^ L + i)
The parent's requests remain in the actual original row.
- values (q : MatrixMultiplication.Schonhage.OutStr (n + 1)) : q ∈ S → y.mem (f + 4 * (L + 1) + (L + 1) * 10 ^ L + d * 10 ^ L + ↑(queryIndex q)) = WordRAM.Signed.encode (partialValue a b S q k)
Every requested accumulator holds the completed prefix of terms.
Native scans only increase the generation.
Each completed term pays for its scan and its possible descendant calls.
All directory cells admit a further fresh generation.
- footprint : WordRAM.Modifies (nodeWrites L f d) x.mem y.mem
Only the explicit descendant workspace may have changed.
Instances For
The native scan's quotient image is the existing mathematical child set, even though the shared timestamp directory no longer marks the parent's membership.
Before a dispatch, the original scalar budget covers the fresh scan and every possible descendant generation for that term.
Entry performs the actual frame loads, clear loop and term store. The same returned state has zero partial sums and the original request list, including when that list is empty.