Flat initialized executions of native pruned queries #
Main results #
PrunedQuery.runs: prefixRunsand charged haltingExecutesfrom actualState.init, connected to the same final memory, existing finite pruned values and outside frame.PrunedQuery.bounded_reachable: every reachable prefix has target-sized data words.
The single fixed program returns the unsigned pointer to its encoded answer list. Queries may
repeat and their order is preserved. Its 96 registers and code-size bound are independent of
depth, query count, input values and physical word width.
These initialized-run theorems, runs_wide in Pruned.Width and exec_kernel in
Pruned.Kernel are the client interfaces. Stage exec_* lemmas in their dependencies are
internal implementation APIs exported for proof composition.
Actual initialized flat executions. The prefix witness holding all answers is precisely the state at the final halt, and the halt is charged as one further target instruction.
Ordinary native safety applies to every initialized reachable prefix, not merely the returned witness. The admission hypotheses are the same numerical original-input bounds.
An encoder producer's existing leaf-value contract gives the original bilinear product at
every supplied query. This is the same actual initialized program and charged run as runs;
the mathematical specialization adds no machine operation or assumed producer execution.