Rational hitting lists: main #
Adapted from OpenAI's formalization at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a.
Source: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Computability/RationalHitting/Main.lean
Imports, namespaces, module visibility, documentation, and formatting are adapted for complexitylib. The source theorem statements and mathematical arguments are retained.
One fixed finite stack program computes the exact canonical list on literal unary inputs, with a fixed polynomial bound on all actual stack steps.
The finite-state compilation of the uniform stack implementation.
A rational hitting list preserving every inverse domain, with invertible values, canonical rational binary output, and polynomial deterministic finite-state Turing time.