Native consumption of one prepared record's product answers #
The existing 320-register producer/product bank stays in place. A disjoint controller reads the actual record, derives the original piece interval with charged square-root/ceiling code, and reads nonzero encoded product answers and their raw interleaved coordinates. Each accepted pair invokes the real original-weight verifier. Once a witness is found, later scans are skipped. All memory is read-only in this phase; no result, catalogue or window snapshot is needed.
The consumer adapts the control of the pinned ScanPairs.lean procedure in the
proof of Theorem 17 at anthropics/formal-math@16a5ce41304fcdaea4e0be7c132e1c361dc26da5.
The native ABI, code and charged constants are original. These stage definitions are internal
implementation interfaces. The outer instance loop and prime/global parameter choice are separate.
Absolute product-answer pointer.
Protected interleaved query-pair pointer.
Actual number of query occurrences.
Original outer dimension.
First original vertex of this piece.
Actual number of original vertices in this piece.
Number of query occurrences already treated.
Constant one.
Actual memory-address temporary.
Loaded canonical-signed product answer.
Actual piece ordinal read from the prepared record.
Computed maximum piece length.
Original positive piece divisor.
Index/product temporary.
Raw unsigned success flag.
Original first coordinate of a verified triangle.
Original second coordinate of a verified triangle.
Original third coordinate of a verified triangle.
Actual number of original-weight interval scans performed.
Constant zero, disjoint from both procedure banks.
Preserve the complete existing producer/product register bank.
The entire thirty-two-register original-weight verifier moves together.
The root computation temporarily reuses the first six verifier registers.
Actual charged square root for the local piece-size decoder.
Read original scalar words and the selected record's piece/query fields.
Compute the original interval and deliver the unchanged signed-array pointers once.
Complete actual local descriptor and interval decoding.
Actual original signed-weight scan, with the complete bank renamed together.
Load the real original coordinate pair and charge this invocation in the native counter.
A verifier success returns its original vertex together with the actual pair that was read.
The accepted-candidate branch contains the real verifier, not a supplied witness routine.
Read a product answer only while searching, and skip all later scans after a success.
Consume one actual product-answer slice without modifying any memory.
Actual product calculation followed immediately by original-weight verification.
The real producer occupies the existing low bank of the larger caller.
Original initialized producer, actual first-record selection and actual product/verifier. The selected ordinal is preserved by the real product, so no later reset is needed.
The consumer is one fixed finite instruction graph and never reads the physical width.