Native parameters for Chan–He preprocessing #
Original native programs and proofs. The parameter meanings are the existing finite mathematical
Chan–He definitions, with magnitude bound 2U after the distinct-position frontend.
All loops and arithmetic are instructions; the program is fixed for each exponent κ.
Main definitions #
Parameters.program: read the input header and compute the exact parameters.Parameters.Output: identify the unsigned output registers.
Main results #
Parameters.runs_input: native execution from signed-encoded input with derived fits.
References #
A bound covering arithmetic, unsuccessful loop tests, and all output words.
Instances For
Unsigned input length.
Instances For
Original magnitude bound U.
Instances For
Label bits for magnitude bound 2U.
Instances For
Recursion height.
Instances For
Recursion fuel.
Instances For
Number of desired primes.
Instances For
Upper bound on candidate primes.
Instances For
Common packed convolution length, 8m².
Instances For
Magnitude of the padding for the doubled frontend bound, 4U+1.
Instances For
Constant one.
Instances For
Constant two.
Instances For
Constant three.
Instances For
Constant four.
Instances For
Constant five.
Instances For
Constant eight.
Instances For
Input length plus two.
Instances For
Consumed logarithm argument.
Instances For
Floor logarithm of input length.
Instances For
Integer square root of input length.
Instances For
Number of desired primes plus one.
Instances For
Arithmetic scratch.
Instances For
Successor square-root counter.
Instances For
Square of that counter.
Instances For
Square-root test bound.
Instances For
Exact mathematical outputs; every output is an ordinary unsigned word.
Instances For
One header load, constants, and the polynomial base.
Instances For
Unroll only the fixed exponent, never the input length or word width.
Instances For
Register selection for a floor/ceiling logarithm with output dst.
Instances For
Register selection for successive squares.
Instances For
The instruction sequence after the power computation.
Instances For
Fixed 24-register native code for each fixed polynomial magnitude exponent.
Instances For
An explicit charged bound, including all header reads, copies and setup. Halt adds one.
Instances For
Read the native unsigned header and compute all parameters, preserving every memory cell.
This local theorem is discharged from a logarithmic width in runs_input.
A polynomial scale for bounding every parameter intermediate.
Instances For
Positive logarithmic word-width threshold for the complete parameter computation.
Instances For
The width requirement is satisfiable even at empty input and exponent zero.
Every local fit premise follows from the positive logarithmic width.
Signed-encoded inputs and the unsigned length header fit at the same width.
Native run from actual signed input initialization. No parameters or arithmetic routines
are supplied as advice. The returned state identifies all outputs and keeps all input memory.
The flat program has 24 registers and depends only on κ; halting adds one instruction.
The code is the same at every word width.
Canonical-width executions use only polynomially bounded integers, including memory addresses, loop counters, and final unsuccessful tests.