OAI/Computability/UniqueGames/Machines/MachineRegularVertexBlock.lean
58 declarations, 0 contain sorry, 0 declared as axioms
Actual regularized vertex-block execution
The finite internal-port loop invokes the checked row machine for every port in order. Each invocation restores the shared 27-tape frame. Inherited-row stages use fixed tape placements and finite state permutations.
- abbrev
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.PortLabelline 23 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.portEntryline 25 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.portInstructionline 29 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.portBitsline 36Source documentation
A prefix of the emitted rows, defined without any execution hypothesis.
def portBits {q : Nat} (bits : Fin q → List Bool) : Nat → List Bool | 0 => [] | k + 1 => portBits bits k ++ if h : k < q then bits ⟨k, h⟩ else [] - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.portBits_eqline 40 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.portBits_allline 50 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.rowBitsline 54 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.portStepsline 59 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.joinTraceline 67 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.portPrefixTraceline 73Source documentation
Every body is an actual invocation of
coreTrace; the code hypothesis only states the fixed placement into the caller's program.theorem portPrefixTrace (q : Nat) (positive : 0 < q) (labels : PortLabel q → Λ) (exit : Option Λ) (program : Λ → TM2.Stmt (fun _ : CoreTape => Bool) Λ (CoreState σ q)) (code : ∀ l, program (labels l) = portInstruction q positive labels exit l) (t : GraphTables.Table) (padding : Fin t.vertices → Nat) (tables : ∀ v, ExpanderTables.Table (cloudSize t v + padding v) q) (v : Fin t.vertices) (x : PaddedCloud t padding v) (output : List Bool) (ambient : σ) (k : Nat) (hk : k ≤ q) : (advance (TM2.step program))^[portSteps t padding tables v x output.length k] (some ⟨portEntry q labels exit 0, coreInitialState q positive ambient, coreInputTapes t padding tables v x output⟩) = some ⟨portEntry q labels exit k, coreInitialState q positive ambient, …Mentions: OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.PortLabel, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.portInstruction, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.portSteps, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.portEntry
- theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.portTraceline 102 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalTapesline 118 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalViewline 121 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalView_leftline 126 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalView_rightline 129 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalStateEquivline 134 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalCoreInstructionline 142 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalMemoryline 149 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalMemory_inputline 153 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalMemory_updateline 157 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalFrameline 161 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalCoreTraceline 169Source documentation
The inherited old relation is physically copied by the checked original-row machine, with a static tape placement and state permutation.
theorem originalCoreTrace (q : Nat) (positive : 0 < q) (labels : MachineRegularOriginalClean.Label → Λ) (exit : Option Λ) (program : Λ → TM2.Stmt (fun _ : CoreTape => Bool) Λ (CoreState σ q)) (code : ∀ l, program (labels l) = originalCoreInstruction q labels exit l) (t : GraphTables.Table) (e : Fin t.darts) (v i k o m : Nat) (rotor output : List Bool) (ambient : σ) : (advance (TM2.step program))^[MachineRegularOriginalClean.steps q t e (originalMemory (GraphTables.tableBits t) e.val output)] (some ⟨some (labels (.row (.lookup .seed))), coreInitialState q positive ambient, coreMemory (GraphTables.tableBits t) e.val v i k o m rotor output [] [] [] [] [] []⟩) = some ⟨exit, coreInitialState q positive ambient, coreMemory (GraphTables.tableBits t) e.val v i k o m rotor …Mentions: OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalClean.Label, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalCoreInstruction, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularOriginalClean.steps, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalMemory
- def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.dummyTapesline 201 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.dummyViewline 203 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.dummyView_leftline 208 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.dummyView_rightline 211 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.dummyCoreInstructionline 216 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.dummyMemory_updateline 222 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.dummyFrameline 227 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.dummyCoreTraceline 233 - inductive
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.Labelline 262 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalEntryline 269 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.dummyEntryline 272 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.instructionline 275 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.oldCloudline 284 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalRowStepsline 287 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalRowSteps_eqline 291 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.encodeWords_flatMapline 302 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.encodeWords_pairline 308 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.vertexBits_splitline 311 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalStepsline 324 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalTraceAtline 333Source documentation
The full old-vertex block uses every internal port, then physically copies the original relation and reverse index. The output is the actual table block.
theorem originalTraceAt (q : Nat) (positive : 0 < q) (labels : Label q → Λ) (exit : Option Λ) (program : Λ → TM2.Stmt (fun _ : CoreTape => Bool) Λ (CoreState σ q)) (code : ∀ l, program (labels l) = instruction q positive labels exit l) (t : GraphTables.Table) (padding : Fin t.vertices → Nat) (tables : ∀ v, ExpanderTables.Table (cloudSize t v + padding v) q) (e : Fin t.darts) (output : List Bool) (ambient : σ) : (advance (TM2.step program))^[originalSteps t padding tables e output.length] (some ⟨some (labels (originalEntry q positive)), coreInitialState q positive ambient, coreInputTapes t padding tables t.rows[e].tail (oldCloud t padding e) output⟩) = some ⟨exit, coreInitialState q positive ambient, coreInputTapes t padding tables t.rows[e].tail (oldCloud t padding e) …Mentions: OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.Label, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.instruction, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalSteps, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalEntry, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.oldCloud
- def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.dummyStepsline 376 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.dummyTraceAtline 383 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.rowSizeBoundline 426Source documentation
Uniform bound on a serialized row in the actual output table.
def rowSizeBound (q vertices : Nat) : Nat := vertices + vertices * (q + 1) + 8192
- theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.rowBits_length_leline 428 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.portBits_length_leline 434 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.allRowBits_length_leline 448 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.portTimeBoundline 456 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.portSteps_leline 460 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalTimeBoundline 492 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.dummyTimeBoundline 497 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalSteps_leline 501 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.dummySteps_leline 531 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalMachineline 550Source documentation
A concrete finite program for original vertex blocks.
def originalMachine (q : Nat) (positive : 0 < q) : FinTM2 where …
- def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.dummyMachineline 562Source documentation
The same fixed instructions, entered at the dummy-vertex port loop.
def dummyMachine (q : Nat) (positive : 0 < q) : FinTM2 where …
- def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.originalMachineInTimeline 573 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineRegularVertexBlock.dummyMachineInTimeline 593