OAI/Computability/UniqueGames/Reduction/MachineReverse.lean
17 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.UniqueGamesTheorem.Reduction.MachineReverse.loopline 9 - def
OAI.UniqueGamesTheorem.Reduction.MachineReverse.machineline 15 - def
OAI.UniqueGamesTheorem.Reduction.MachineReverse.tapeStacksline 26 - def
OAI.UniqueGamesTheorem.Reduction.MachineReverse.runningline 29 - def
OAI.UniqueGamesTheorem.Reduction.MachineReverse.haltedline 32 - theorem
OAI.UniqueGamesTheorem.Reduction.MachineReverse.update_inputline 35 - theorem
OAI.UniqueGamesTheorem.Reduction.MachineReverse.update_outputline 40 - theorem
OAI.UniqueGamesTheorem.Reduction.MachineReverse.step_emptyline 46Source documentation
Popping an empty input resets the internal state to
nonebefore halting.theorem step_empty (output : List Bool) (state : Option Bool) : machine.step (running [] output state) = some (halted output) := by …Mentions: OAI.UniqueGamesTheorem.Reduction.MachineReverse.running, OAI.UniqueGamesTheorem.Reduction.MachineReverse.halted
- theorem
OAI.UniqueGamesTheorem.Reduction.MachineReverse.step_consline 54Source documentation
One transition moves the head symbol from the input onto the output.
theorem step_cons (head : Bool) (input output : List Bool) (state : Option Bool) : machine.step (running (head :: input) output state) = some (running input (head :: output) (some head)) := by …Mentions: OAI.UniqueGamesTheorem.Reduction.MachineReverse.running
- def
OAI.UniqueGamesTheorem.Reduction.MachineReverse.nextline 62 - theorem
OAI.UniqueGamesTheorem.Reduction.MachineReverse.reverse_stepsline 66Source documentation
An exact transition trace, with arbitrary initial accumulator and state.
theorem reverse_steps (input output : List Bool) (state : Option Bool) : next^[input.length + 1] (some (running input output state)) = some (halted (input.reverse ++ output)) := by …Mentions: OAI.UniqueGamesTheorem.Reduction.MachineReverse.next, OAI.UniqueGamesTheorem.Reduction.MachineReverse.running, OAI.UniqueGamesTheorem.Reduction.MachineReverse.halted
- theorem
OAI.UniqueGamesTheorem.Reduction.MachineReverse.initList_eqline 80 - theorem
OAI.UniqueGamesTheorem.Reduction.MachineReverse.haltList_eqline 87 - theorem
OAI.UniqueGamesTheorem.Reduction.MachineReverse.reverse_init_stepsline 92Source documentation
The exact trace starts and ends at the standard encoded TM2 configurations.
theorem reverse_init_steps (input : List Bool) : next^[input.length + 1] (some (initList machine input)) = some (haltList machine input.reverse) := by …Mentions: OAI.UniqueGamesTheorem.Reduction.MachineReverse.next, OAI.UniqueGamesTheorem.Reduction.MachineReverse.machine
- def
OAI.UniqueGamesTheorem.Reduction.MachineReverse.outputsInTimeline 98 - theorem
OAI.UniqueGamesTheorem.Reduction.MachineReverse.outputsInTime_stepsline 104 - def
OAI.UniqueGamesTheorem.Reduction.MachineReverse.computableInPolyTimeline 108Source documentation
Actual finite-machine polynomial-time computability, with identity encodings.
noncomputable def computableInPolyTime : TM2ComputableInPolyTime (id : List Bool → List Bool) id List.reverse where …