Documentation

Complexity.Computability.Machines.Turing.MultiTape.Probabilistic.ReplayInput

Efficient replay from an encoded input and saved coins #

Replay receives an ordinary encoded pair of coins and input. A pair preparer writes both words, a marker enables virtual input, and the saved-coin controller executes the supplied transitions. The final tidy normalization clears the working storage and restores all heads.

Main results #

References #

Adapted from the cslib crypto branch's MultiTape/Oracle/ReplayInput.lean at 5ff69ca93402e7c947208dc56396d6d86203ccd8, using the common machine and the tidy pair calculus.

Saved-coin replay retains linear time and linear workspace in the encoded coins/input pair.

Running a fixed machine on a supplied pair of coins and input is computable in polynomial time.