The native Convolution-3SUM instance loop #
The supplied solver is an actual finite structured program. Its six input registers hold the
side, weight bound, three matrix pointers and workspace pointer; its seventh register returns
an unsigned Boolean. Solver registers are disjoint from the host bank. The host writes each
instance using Fill.program, copies its arguments, executes the solver and accumulates the
verdict. The execution theorem requires the concrete solver's execution/correctness/frame proof;
it does not establish a fast solver by assuming one.
The construction directly adapts Anthropic's pinned
c3Round and c3Body.
Main definitions #
Host.instanceArgsAt,Host.instanceArgs: caller-owned and standalone matrix layouts.Host.hit: the mathematical verdict for one instance.Host.round: fill, invoke the solver and advance one instance.Host.loop: the complete instance loop.
References #
Embed the fixed matrix-builder register bank.
Instances For
Copy every matrix-builder argument; the builder bank occupies the first 28 registers.
Instances For
Matrix construction, including its argument copies.
Instances For
Prepare the solver's side, unsigned bound, AB/BC/AC pointers and free pointer.
Instances For
Accumulate the unsigned Boolean result and advance the instance counter.
Instances For
One complete instance, invoking the supplied finite solver in its own register bank.
Instances For
Every one of the 2t instances is examined, without an uncharged early-exit operation.
Instances For
All eight argument copies and the complete matrix builder are charged. Memory before the matrix blocks is preserved; the result contains the three actual serialized matrices.
The host register bank is embedded injectively.
One generated instance, with the concrete solver's native execution proof supplied by the caller. The solver may overwrite matrices and scratch, but preserves the memory prefix below the workspace, including the supplied input. The matrices in its premise are produced by the native builder, with no supplied layout oracle.
The complete native instance loop. Its invariant records exactly the instances already examined, retains the original input, and charges every solver call and loop instruction.
Standalone specialization of the caller-layout execution theorem.
Standalone specialization of the caller-layout execution theorem.
Standalone specialization of the caller-layout execution theorem.