OAI/Computability/SpaceSimulation/Stack/FromTM.lean
34 declarations, 0 contain sorry, 0 declared as axioms
Calls to fixed accessor programs can be used in binary stack computations. The arguments are small (the conversion charges space for them too). Do not simulate the public input head with a counter: pass it straight through, and rewind when done.
- def
OAI.Fifths.WorkSplit.bitline 17 - def
OAI.Fifths.WorkSplit.bufline 20 - def
OAI.Fifths.WorkSplit.readline 23 - theorem
OAI.Fifths.WorkSplit.read_eqline 25 - def
OAI.Fifths.WorkSplit.stepCenterline 39 - def
OAI.Fifths.WorkSplit.stepOpline 45 - theorem
OAI.Fifths.WorkSplit.stepCenter_eqline 50 - theorem
OAI.Fifths.WorkSplit.stepOp_eqline 58 - def
OAI.Fifths.ArgSplit.bufline 65 - def
OAI.Fifths.ArgSplit.stepCenterline 67 - def
OAI.Fifths.ArgSplit.stepOpline 73 - theorem
OAI.Fifths.ArgSplit.stepCenter_eqline 81 - theorem
OAI.Fifths.ArgSplit.stepOp_eqline 86 - abbrev
OAI.Fifths.TM.stkIdxline 95 - abbrev
OAI.Fifths.TM.stkQline 96 - def
OAI.Fifths.TM.asSMline 104 - structure
OAI.Fifths.TM.SRepline 122 - def
OAI.Fifths.TM.SRep.cfgline 131 - def
OAI.Fifths.TM.SRep.afterline 137 - theorem
OAI.Fifths.TM.SRep.cfg_okline 147 - theorem
OAI.Fifths.TM.SRep.seesline 159 - theorem
OAI.Fifths.TM.SRep.centersline 168 - theorem
OAI.Fifths.TM.SRep.haltline 172 - theorem
OAI.Fifths.TM.SRep.continue_stepline 178 - theorem
OAI.Fifths.TM.SRep.emulateline 196 - def
OAI.Fifths.TM.loadedline 218Source documentation
Work stacks empty. Argument j on its right stack.
def loaded (x : J → List Bool) : M.stkIdx → List Bool := …
- theorem
OAI.Fifths.TM.asSM_execline 221 - def
OAI.Fifths.SM.clearsline 250 - def
OAI.Fifths.SM.wipedline 254 - theorem
OAI.Fifths.SM.clears_execline 257 - def
OAI.Fifths.SM.cleanupline 277Source documentation
Wipe stacks and rewind public input, yielding the initial empty stack configuration (no arg tapes).
noncomputable def cleanup [Fintype K] : SM X Empty K Unit := by …
Mentions: OAI.Fifths.SM
- theorem
OAI.Fifths.SM.cleanup_execline 280 - def
OAI.Fifths.TM.subroutineline 302Source documentation
Any ordinary space-bounded TM with small arguments can be used as a subroutine. The result is a binary stack machine seeing just the public input, expecting the (small) arguments from the caller on designated stacks. No length counter for x.
noncomputable def subroutine : SM X Empty M.stkIdx Y := …
Mentions: OAI.Fifths.SM
- theorem
OAI.Fifths.TM.subroutine_execline 304