Documentation

CslibFrontier.Computability.Complexity.CookLevin.Witness

Polynomial time for the variables listed along a run #

For a fixed machine, the variables Cslib.Complexity.CookLevin.trueVars tm u w T listed along its run are computable in polynomial time from u, w and the unary bound T (Cslib.Complexity.CookLevin.computableInPolyTime_trueVars). Each time step reads the tracked storage (Turing.MultiTapeTM.computableInPolyTime_trackedRun) and builds its features with the constructor certificates of CslibFrontier.Computability.Complexity.CookLevin.Encoding; the features with finitely many values are selected by a finite case analysis.

Main results #

The listed variables are polynomial-time in the input prefix u, the certificate w and the unary bound T, for a fixed machine.