Correct and uniform polynomial-time evaluation of the full advice chain #
The actual left-to-right advice fold and final extraction agree with their Boolean-vector definitions at the common scale. A single total string program handles variable sources, scale, error, and advice length. Its loop bound includes both original sources, both parameters, remaining advice, and the right state. No validity promise is needed for polynomial time.
These results establish the algorithm and its runtime. The statistical
chain invariant and the correlation-breaking guarantee are proved in
Advice.Extraction (adviceCorrelationBreaker_dist_le).
Initialization always writes the whole right-state width, using false completion.
Runtime initialization exactly serializes the semantic prefix with false completion.
The full state codec has this exact length, including its immutable data.
Encoding and decoding preserve every component of a canonical state.
The encoded transition computes exactly the structured transition.
Every iterate has a bound accounting for the entire encoded state.
Canonical execution consumes all advice and writes exactly the semantic final state.
The complete runtime agrees with the actual advice chain and final extractor.
Every result fits in the common seed width, including invalid inputs.
The total encoded step is polynomial-time on arbitrary state words.
The complete bounded loop is uniform in both parameters and all three input words.
All advice steps and final extraction have one unconditional polynomial-time certificate.
The evaluator decodes original sources, unary scale/error, and the whole advice word.
One total string evaluator computes the full advice construction in polynomial time.