Native query-chunk descriptors #
For one computed query class, the program writes consecutive triples (residue, pair pointer, pair count). It computes the last chunk's shorter length and advances over the actual two-word
coordinate representation. The input query list is preserved.
This adapts the chunk loop in the pinned Theorem 17 chunk builder.
Main definitions #
Chunks.program: fixed fourteen-register descriptor writer.
Main results #
Chunks.exec: exact chunk count, descriptor readback and a memory frame.
Query pair array base.
Instances For
Descriptor output base.
Instances For
Actual number of query pairs.
Instances For
Positive maximum pairs per chunk.
Instances For
Class residue.
Instances For
Consumed pair count.
Instances For
Number of written chunks.
Instances For
Constant one.
Instances For
Number of words per descriptor.
Instances For
Current chunk length.
Instances For
Output address.
Instances For
Current pair pointer.
Instances For
Compute a nonempty chunk, write its descriptor and advance both counters.
Instances For
Initialize all loop state with charged instructions.
Instances For
Fixed code and no physical-width reads.
Write the exact nonempty chunks of one class. Descriptor k names the query slice beginning
at pair k * capacity, with its final length truncated to the class size. All other memory is
preserved, so placing the query array outside the descriptor block preserves its coordinates.
The final halt is excluded from the 17 total + 7 bound.