OAI/Computability/UniqueGames/Machines/MachineRegularOriginalRow.lean
63 declarations, 0 contain sorry, 0 declared as axioms
Machine execution for an inherited regularization row
The machine reads the original reverse index from the physically stored input table. The unread working copy then starts at the 4096 original predicate fields; a fixed finite Boolean block copy retains exactly those fields. Unary arithmetic computes the new reverse index, and the checked row emitter appends the three physical fields. No input table or unbounded arithmetic function is stored in the machine's finite state or instructions.
- def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.inheritedIndexline 27 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.inheritedRowline 32 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.inheritedRow_eqline 37 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.inheritedRow_tailline 45 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.inheritedRow_reverseline 50 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.inheritedRow_relationline 63 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.inheritedRow_wordsline 76 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.prefixWordsline 83 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.suffixWordsline 86 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.prefixWords_lengthline 89 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.tableWords_at_rowline 94 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.tableWords_drop_rowline 106 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.selected_reverseline 112 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.remaining_relationline 119 - abbrev
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.Tapeline 128 - abbrev
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.Bufferline 129 - abbrev
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.Stateline 130 - abbrev
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.Alphabetline 131 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.zeroBufferline 133 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.lookupTapeline 135 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.lookupTape_injectiveline 137 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.source_outsideline 144 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.fieldsline 150 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.fields_zeroline 152 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.fields_oneline 153 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.fields_twoline 154 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.fields_separateline 156 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.copyStateEquivline 159 - inductive
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.Labelline 165 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.relationCopyAtline 171 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.instructionline 176 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.machineline 188 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.lookedline 201 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.copiedline 205 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.affinedline 210 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.looked_otherline 215 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.looked_reverseline 220 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.looked_relationline 224 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.vectorBits_eq_encodedBlockline 234 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.relationBits_eq_encodedBlockline 246 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.relationCopy_stepline 252Source documentation
Reusable identity copy of exactly the physically read 4096 unary Boolean fields. The fixed register is reset; every other state component is retained.
theorem relationCopy_step {K Λ σ : Type} [DecidableEq K] (src dst : K) (hne : src ≠ dst) (label : Λ) (exit : Option Λ) (program : Λ → TM2.Stmt (fun _ : K => Bool) Λ (State σ)) (code : program label = relationCopyAt src dst exit) (relation : RelationTable) (suffix : List Bool) (base : K → List Bool) (input : base src = encodeWords (relationWords relation) ++ suffix) (ambient : σ) (buffer : Buffer) (register : Option Bool) : TM2.step program ⟨some label, ((ambient, buffer), register), base⟩ = some ⟨exit, ((ambient, zeroBuffer), register), Function.update (Function.update base src suffix) dst (encodeWords (relationWords relation) ++ base dst)⟩ := by …Mentions: OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.State, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.relationCopyAt, OAI.UniqueGamesTheorem.Foundations.Complexity.encodeWords, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.Buffer, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.zeroBuffer
- theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.relationCopy_pushBoundline 281 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.copied_otherline 286 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.copied_reverseline 292 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.copied_relationline 297 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.affined_otherline 301 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.affined_reverseline 306 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.affined_relationline 310 - structure
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.Inputline 315Source documentation
The input graph and dart index occur only as physically stored tape data.
structure Input (t : Table) (e : Fin t.darts) (base : Tape → List Bool) : Prop where …
Mentions: OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.Tape
- def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.emittedWordsline 324 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.affined_fieldsline 327 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.rowStepsline 337 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.stepsline 340 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.finalTapesline 344 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.join_traceline 352 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.lookupTraceline 356 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.copyTraceline 370 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.affineTraceline 385 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.emitTraceline 406 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.traceAtline 433Source documentation
All four phases are derived from their concrete instructions.
theorem traceAt (q : Nat) (labels : Label → Λ) (exit : Option Λ) (program : Λ → TM2.Stmt Alphabet Λ (State σ)) (code : ∀ l, program (labels l) = instruction q labels exit l) (t : Table) (e : Fin t.darts) (base : Tape → List Bool) (input : Input t e base) (ambient : σ) (register : Option Bool) : (advance (TM2.step program))^[steps q t e base] (some ⟨some (labels (.lookup .seed)), ((ambient, zeroBuffer), register), base⟩) = some ⟨exit, ((ambient, zeroBuffer), none), finalTapes q t e base⟩ := by …Mentions: OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.Label, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.Alphabet, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.State, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.instruction, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.Tape, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.Input, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.steps, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.zeroBuffer, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.finalTapes
- def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.timeBoundline 449 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.steps_leline 452 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.machineInTimeline 470Source documentation
Concrete finite-machine execution for the actual regularized input row.
def machineInTime (H : BaseTable) (t : Table) (e : Fin t.darts) (base : Tape → List Bool) (input : Input t e base) (register : Option Bool) : StateTransition.EvalsToInTime (machine internalDegree).step ⟨some (.lookup .seed), (((), zeroBuffer), register), base⟩ (some ⟨none, (((), zeroBuffer), none), Function.update (affined internalDegree t e base) (9 : Tape) (base (9 : Tape) ++ encodeWords (rowWords (inheritedRow H t e)))⟩) (timeBound internalDegree (tableBits t).length (base (9 : Tape)).length) where …Mentions: OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.Tape, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.Input, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.machine, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.zeroBuffer, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.affined, OAI.UniqueGamesTheorem.Foundations.Complexity.encodeWords, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.inheritedRow, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalRow.timeBound