Unrestricted depth-three lower bound: tape input guard #
Adapted from OpenAI's formalization at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a.
Source: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Computability/DepthThree/TapeInputGuard.lean
Imports, namespaces, module visibility, documentation, and formatting are adapted for complexitylib. The source theorem statements and mathematical proofs are retained.
Read whether the unary comparison returned strictly greater.
Equations
Instances For
Read whether the unary comparison returned greater or equal.
Equations
Instances For
Read whether the unary comparison returned less or equal.
Equations
Instances For
Control states for the check stage of the input guard routine.
- data (q : TapeUnaryCompare.State) : CheckState
- order (dataOK : Bool) (q : TapeUnaryCompare.State) : CheckState
- space (smallOK : Bool) (q : TapeUnaryCompare.State) : CheckState
- clear (accepted : Bool) (q : TapeErase.State) : CheckState
- done (accepted : Bool) : CheckState
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Transition function for the check stage of the input guard routine.
Equations
- One or more equations did not get rendered due to their size.
- Complexity.DepthThreeLowerBound.TapeInputGuard.checkProgram (Complexity.DepthThreeLowerBound.TapeInputGuard.CheckState.done accepted) x✝ = none
Instances For
Initial control state of the check stage of the input guard routine.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Control states for the two stage of the input guard routine.
Equations
Instances For
Transition function for the two stage of the input guard routine.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Initial control state of the two stage of the input guard routine.
Equations
Instances For
Terminal control state of the two stage of the input guard routine.
Equations
Instances For
Control states for the test stage of the input guard routine.
Equations
Instances For
Transition function for the test stage of the input guard routine.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Initial control state of the test stage of the input guard routine.
Equations
Instances For
Terminal control state of the test stage of the input guard routine.
Equations
Instances For
Control states of the input guard routine.
Equations
Instances For
Transition function of the input guard routine.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Initial control state of the input guard routine.
Equations
Instances For
Terminal control state of the input guard routine.
Equations
Instances For
Transition budget for the input guard routine.