Native preparation of the three Chan–He child records #
The third child is pushed first. Original descriptors are retained above the stack dispatcher and restored before replacing another column. All descriptor moves and the fuel decrement are native instructions; the same finite code is used at every recursion level.
Main definitions #
thirdState,secondState,firstState: exact states after the native child-argument blocks.childWords: the seven actual words of one child record, in its pop order.
Main results #
prepareThird_exec,prepareSecond_exec,prepareFirst_exec: charged native argument blocks.
The native stack controller and proofs are original.
Save both descriptors needed for restoration and prepare the third child.
Instances For
Restore the third original column and prepare the second child.
Instances For
Restore the second original column and prepare the first child.
Instances For
Exact child-record serialization. Only the selected column is replaced by its heavy output.
Instances For
Every child occupies exactly one seven-word native record.
The fuel subtraction and all six descriptor copies cost seven native instructions.
Restoring the third column and replacing the second costs four native copies.
Restoring the second column and replacing the first costs four native copies.
Child pushes preserve every persistent controller parameter outside the record and stack.
All three child records are pushed by native instructions in reverse order. The resulting top-first stack contains first, second, third, followed by the original pending suffix.