OAI/Computability/UniqueGames/PCP/RawInitialMachineLoop.lean
5 declarations, 0 contain sorry, 0 declared as axioms
Exact execution of the clause loop, in the original occurrence order.
- def
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineLoop.finalSignsline 15 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineLoop.trace_transline 20 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineLoop.empty_loopTapesline 24 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineLoop.loopTraceline 31Source documentation
The complete actual loop: every clause is read once, emits six rows, and leaves clean field tapes before the next guard. The final zero guard is included.
theorem loopTrace {n : Nat} (i : Nat) (cs : List (Clause n)) (rev : List Bool) (state : State) : (MachineComposition.advance (TM2.step program))^[loopTime i cs] (some ⟨some .guard, state, loopTapes n i cs.length (clauseInput cs) rev⟩) = some ⟨some (.scan .dummyVariables), (finalSigns state.1 cs, none), finishTapes n (i + cs.length) ((encodeWords (clauseOutput n i cs)).reverse ++ rev)⟩ := by …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineLoop.finalSigns
- def
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineLoop.loopInTimeline 55