OAI/Computability/UniqueGames/Machines/MachineBinaryRenameMachine.lean
31 declarations, 0 contain sorry, 0 declared as axioms
The finite Boolean-stack driver for first-occurrence renaming. Its permanent input is copied to a cursor, each literal is translated by the checked search loop, and the physical output is restored, prefixed with its count headers, and cleaned up. Every tape uses Bool and every control component is finite.
- abbrev
OAI.UniqueGamesTheorem.BinaryRenameMachine.Tapeline 23 - abbrev
OAI.UniqueGamesTheorem.BinaryRenameMachine.Alphabetline 24 - abbrev
OAI.UniqueGamesTheorem.BinaryRenameMachine.Stateline 25 - inductive
OAI.UniqueGamesTheorem.BinaryRenameMachine.Labelline 27 - def
OAI.UniqueGamesTheorem.BinaryRenameMachine.loopTapesline 34 - theorem
OAI.UniqueGamesTheorem.BinaryRenameMachine.loopTapes_injectiveline 36 - def
OAI.UniqueGamesTheorem.BinaryRenameMachine.programline 41 - abbrev
OAI.UniqueGamesTheorem.BinaryRenameMachine.machineline 54 - def
OAI.UniqueGamesTheorem.BinaryRenameMachine.tapesline 65 - def
OAI.UniqueGamesTheorem.BinaryRenameMachine.cfgline 75 - theorem
OAI.UniqueGamesTheorem.BinaryRenameMachine.initList_eqline 80 - theorem
OAI.UniqueGamesTheorem.BinaryRenameMachine.haltList_eqline 87 - theorem
OAI.UniqueGamesTheorem.BinaryRenameMachine.copyTraceline 94 - theorem
OAI.UniqueGamesTheorem.BinaryRenameMachine.restoreTraceline 111 - theorem
OAI.UniqueGamesTheorem.BinaryRenameMachine.headerTraceline 132 - theorem
OAI.UniqueGamesTheorem.BinaryRenameMachine.cleanupTraceline 156 - theorem
OAI.UniqueGamesTheorem.BinaryRenameMachine.outputBody_eqline 174 - theorem
OAI.UniqueGamesTheorem.BinaryRenameMachine.loopTraceline 189 - theorem
OAI.UniqueGamesTheorem.BinaryRenameMachine.joinTraceline 232 - def
OAI.UniqueGamesTheorem.BinaryRenameMachine.stepsline 236 - theorem
OAI.UniqueGamesTheorem.BinaryRenameMachine.renameTraceline 243 - theorem
OAI.UniqueGamesTheorem.BinaryRenameMachine.clause_count_le_streamline 262 - theorem
OAI.UniqueGamesTheorem.BinaryRenameMachine.body_length_leline 267 - def
OAI.UniqueGamesTheorem.BinaryRenameMachine.timePolynomialline 278 - theorem
OAI.UniqueGamesTheorem.BinaryRenameMachine.steps_leline 282 - def
OAI.UniqueGamesTheorem.BinaryRenameMachine.outputsInTimeline 302 - def
OAI.UniqueGamesTheorem.BinaryRenameMachine.tokenComputationline 312Source documentation
The token-stream phase has a displayed finite machine and actual execution bound; its polynomial argument is the token stream's physical bit length.
noncomputable def tokenComputation : TM2ComputableInPolyTime (fun formula : BinaryFormula.Formula => BinaryTokenMachine.tokens formula.clauses) formulaBits BinaryOccurrenceRename.renamed where …Mentions: OAI.UniqueGamesTheorem.BinaryFormula.Formula, OAI.UniqueGamesTheorem.BinaryTokenMachine.tokens, OAI.UniqueGamesTheorem.BinaryOccurrenceRename.renamed
- def
OAI.UniqueGamesTheorem.BinaryRenameMachine.preprocessingline 327Source documentation
Repackage the checked marker-removal machine without changing any machine or word: the intermediate semantic value is the same formula.
noncomputable def preprocessing : TM2ComputableInPolyTime BinaryEncoding.formulaBits (fun formula : BinaryFormula.Formula => BinaryTokenMachine.tokens formula.clauses) (id : BinaryFormula.Formula → BinaryFormula.Formula) where …Mentions: OAI.UniqueGamesTheorem.BinaryEncoding.formulaBits, OAI.UniqueGamesTheorem.BinaryFormula.Formula, OAI.UniqueGamesTheorem.BinaryTokenMachine.tokens
- def
OAI.UniqueGamesTheorem.BinaryRenameMachine.computableInPolyTimeline 339Source documentation
Actual finite-alphabet polynomial-time sparse binary to dense unary renaming. Sparse name magnitudes are never expanded in unary.
noncomputable def computableInPolyTime : TM2ComputableInPolyTime BinaryEncoding.formulaBits formulaBits BinaryOccurrenceRename.renamed := …Mentions: OAI.UniqueGamesTheorem.BinaryEncoding.formulaBits, OAI.UniqueGamesTheorem.BinaryOccurrenceRename.renamed
- theorem
OAI.UniqueGamesTheorem.BinaryRenameMachine.machine_finiteAlphabetline 344 - theorem
OAI.UniqueGamesTheorem.BinaryRenameMachine.computation_finiteAlphabetline 348