Complete native Chan–He node construction #
The parent supplies three injective signed-encoded input arrays ending before a fresh allocation
base, a positive modulus M, N ≥ 2M, and magnitude bound U. The fixed native program computes
all residues/histograms, the three exact compact heavy arrays and the existing Node.oneArray
in 4N cells. Initialization, tags, address calculations, all called code and count stores are
charged. A single polynomial envelope derives every arithmetic/address fit.
Main results #
NodePacking.exec: complete native execution in66(n₀+n₁+n₂)+15M+12N+228instructions.NodePacking.time_le_linear: a uniform linear instruction bound.
Prime selection, the frontend, recursion, global State.init composition and the global width
and preprocessing asymptotics remain the responsibility of the parent construction.
References #
Complete node work, with only actual supplied array contents and one explicit polynomial width envelope as premises. The instruction bound excludes the final halt.