Documentation

CslibFrontier.Computability.Machines.Turing.MultiTape.Complexity.PolyTime.Window

Polynomial-time enumeration of tape windows #

The existing Turing.windowList enumerates -T, …, T from left to right. With the bound in unary and the positions in signed unary, the same list is computable in polynomial time.

Main results #

References #

Enumerate all tape positions within a unary distance of the origin, in signed unary.

Move and clamp a unary input-head position, including positions outside the input boundary.