Documentation

CslibFrontier.Computability.Probabilistic.PPT.AuxClock

Probabilistic polynomial-time programs clocked in a designated primary input #

In auxiliary-input cryptography (such as Goldreich's definition of auxiliary-input zero knowledge), a probabilistic machine receives a primary input a : α together with an arbitrary, potentially unbounded auxiliary input word z : List Bool on its input tape encPair input encBits (a, z) = frame (input a) ++ z, while its polynomial step bound c * ((input a).length + 1) ^ d is a function of the primary input length (input a).length alone.

IsPPTWithAux and IsOraclePPTWithAux capture this machine contract for closed and oracle probabilistic programs. Because frame (input a) is self-delimiting (unframe (frame (input a) ++ z) = input a), a machine can recover the primary input length from the combined input tape without scanning z. Since a machine run under any polynomial-time computable clock is clean (Cslib.Probability.IsOraclePPTOn.runOracle_of_clock), every IsOraclePPTWithAux (resp. IsPPTWithAux) program is automatically a standard IsOraclePPTOn (resp. IsPPTOn) program on encPair input encBits. Moreover, by the input-tape prefix-locality theorem (runOracle_append_take / runClosed_append_take), a run of T = c * ((input a).length + 1) ^ d steps on frame (input a) ++ z depends only on z.take T.

Main definitions #

Main results #