claimroutineinferred_dep

Padding preserves acceptance probability exactly

Padding makes UU on yxy_x accept with exactly M(x)M(x)'s probability
links the library's answer to the language of MM
Claim·§13.3 Padding and exact preservation of acceptance probability·inside thmEffective compiler from randomized to deterministic logspace

Statement (paper)

Under the stated hypotheses on MM (halting within (n+2)a(n+2)^a steps, using at most b⌈log⁡(n+2)⌉b\lceil\log(n+2)\rceil work bits), all eligibility checks pass for the padded input yxy_x of length Npad=2PBnN_{\mathrm{pad}}=2^{PB_n}, no resource cutoff changes a promised source run, and hence Pr⁡[U(yx) accepts]=Pr⁡[M(x) accepts]\Pr[U(y_x)\text{ accepts}]=\Pr[M(x)\text{ accepts}] exactly, with no conditioning or additional approximation. In particular the decision of A(yx)A(y_x) is the decision required for LML_M.

In plain English

If MM halts within (n+2)a(n+2)^a steps and uses at most b⌈log⁡(n+2)⌉b\lceil\log(n+2)\rceil work bits, then on the padded input yxy_x of length 2PBn2^{PB_n} the interpreter UU passes all its eligibility checks and never cuts off a run. Hence Pr⁡[U(yx) accepts]=Pr⁡[M(x) accepts]\Pr[U(y_x)\text{ accepts}]=\Pr[M(x)\text{ accepts}] exactly, so the decision of A(yx)A(y_x) is the decision needed for LML_M.

Why it's here

The padded length is chosen so that the interpreter's step and work-tape limits from the compiler-interpreter lemma are at least MM's promised bounds. Every run of MM is then simulated faithfully with no truncation, and the two acceptance probabilities agree exactly, with no conditioning or approximation. This lets the later steps apply the library algorithm AA to yxy_x and read off the answer for MM on xx.
Classified routine:
Standard padding argument: the padded length is chosen so that the fixed interpreter's resource limits from lem-compiler-interpreter exceed M's promised bounds. Faithful, untruncated simulation then follows by direct bookkeeping, as in classical universal-machine and padding arguments.

Sources

PaperOpen
Section
§13.3 Padding and exact preservation of acceptance probability
Page
—
Label
—
Line
sections/compiler.tex:256
Leannot aligned

Phase 2 aligns this node to a Lean declaration.

Friction

  • info
    inferred_dep
    outline: "Padding preserves acceptance probability exactly" rests on lem:compiler-interpreter