OAI/Computability/UniqueGames/PCP/SourceMachine.lean
27 declarations, 0 contain sorry, 0 declared as axioms
- abbrev
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.Alphabetline 16 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.fieldLoopline 19Source documentation
Read one unary field, stopping at its zero delimiter.
def fieldLoop (source destination : K) (loopLabel : Λ) (exit : Option Λ) : TM2.Stmt (Alphabet (K := K)) Λ (σ × Option Bool) := …Mentions: OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.Alphabet
- def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.fieldStartline 28Source documentation
Seed the destination delimiter before scanning the unary payload.
def fieldStart (destination : K) (loopLabel : Λ) : TM2.Stmt (Alphabet (K := K)) Λ (σ × Option Bool) := …Mentions: OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.Alphabet
- def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.fieldTapesline 32 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.fieldTapes_sourceline 36 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.fieldTapes_destinationline 41 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.fieldTapes_selfline 46 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.fieldTapes_otherline 50 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.update_field_sourceline 56 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.update_field_destinationline 67 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.fieldStep_delimiterline 73 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.fieldStep_trueline 87 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.fieldLoopTraceline 102Source documentation
Exactly one transition per unary bit, including its terminating delimiter.
theorem fieldLoopTrace (source destination : K) (hne : source ≠ destination) (loopLabel : Λ) (exit : Option Λ) (program : Λ → TM2.Stmt (Alphabet (K := K)) Λ (σ × Option Bool)) …Mentions: OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.Alphabet
- theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.fieldStartStepline 134 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.fieldInTimeline 148 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.afterFieldline 179Source documentation
Stack state after one completed field, retaining an arbitrary old destination.
def afterField (source destination : K) (base : K → List Bool) (n : Nat) (suffix : List Bool) : K → List Bool := … - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.fieldNextline 183 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.fourTapesline 190 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.fourTapes_sourceline 197 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.fourTapes_otherline 203 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.fourField_time_eq_lengthline 209 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.fourFieldsInTimeline 216Source documentation
Four fields are separated by actual finite-stack transitions. The stated bound is exactly their serialized length plus four delimiter-seeding steps.
def fourFieldsInTime (source : K) (destination : Fin 4 → K) (hsep : ∀ j, source ≠ destination j) (start loopLabel : Fin 4 → Λ) (exit : Option Λ) (program : Λ → TM2.Stmt (Alphabet (K := K)) Λ (σ × Option Bool)) …Mentions: OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.Alphabet
- def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.fieldDestinationline 260 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.fourTapes_concreteline 262 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.groupingProgramline 274 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.groupingMachineline 283Source documentation
One concrete finite machine: five Boolean stacks, eight labels, and three internal states. Four destination stacks hold the four separated fields.
def groupingMachine : FinTM2 where …
- def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.groupingMachineInTimeline 296Source documentation
The concrete machine's verified trace includes arbitrary unread input and arbitrary prior destination contents. No assumed algorithm remains here.
def groupingMachineInTime (base : Fin 5 → List Bool) (a b c d : Nat) (suffix : List Bool) (hinput : base 0 = encodeWords [a, b, c, d] ++ suffix) (register : Option Bool) : StateTransition.EvalsToInTime groupingMachine.step ⟨some (0, false), ((), register), base⟩ (some ⟨none, ((), none), fourTapes (0 : Fin 5) fieldDestination base a b c d suffix⟩) (a + b + c + d + 8) := …Mentions: OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.fourTapes, OAI.UniqueGamesTheorem.Foundations.Hastad.SourceMachine.fieldDestination