OAI/Computability/UniqueGames/PCP/SourceContextLoad.lean
46 declarations, 0 contain sorry, 0 declared as axioms
A shared-arena context loader. Its finite program copies each selected clause index, executes the checked lookup, and clears consumed scratch tapes. Tuple digits and arbitrary extra tapes are protected throughout.
- inductive
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.Tapeline 17 - inductive
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.Labelline 24 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.placeline 33 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.fillline 37 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.fill_placeline 44 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.fill_selfline 49 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.fill_updateline 59 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.placedLabelline 68 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.placedConfigurationline 72 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.placedStatementline 78 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.placed_stepAuxline 90 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.nextLabelline 115 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.programline 118 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.placed_stepline 129 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.lookupOutputline 146 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.placedLookupInTimeline 151 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.copiedTapesline 167 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.coordinateOutputline 170 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.cleanup_lookupOutputline 178 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.coordinateOutput_currentline 207 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.coordinateOutput_remainingline 212 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.coordinateOutput_fieldline 217 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.coordinateOutput_other_fieldline 224 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.suffix_length_le_inputline 229 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.coordinateInTimeline 241 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.labelAtline 286 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.nextLabel_eqline 289 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.stageTapesline 291 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.stageTapes_frameline 299 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.stageTapes_cleanline 312 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.stageTapes_fieldline 324 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.prefixInTimeline 349 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.loadInTimeline 392 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.clauses_length_le_inputline 415 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.loadUnaryInTimeline 422Source documentation
Actual odometer digits have empty suffixes. The resulting complete loader runs in a polynomial whose coefficients depend only on the fixed repetition u.
noncomputable def loadUnaryInTime (F : Target.Formula) (tuple : Fin u → Fin F.clauses.length) (base : Tape u Extra → List Bool) (hformula : base .formula = formulaBits F) (hcurrent : ∀ j, base (.current j) = encodeWord (tuple j).val) (hindex : base .index = []) (hwork : base .work = []) (hscratch : base .scratch = []) (hcopy : base .copyScratch = []) : StateTransition.EvalsToInTime (TM2.step program) ⟨some (labelAt 0), ((), none), base⟩ (some ⟨none, ((), none), stageTapes F tuple base u⟩) (u * (10 * (formulaBits F).length + 20) + 1) := by …Mentions: OAI.UniqueGamesTheorem.Foundations.Target.Formula, OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.Tape, OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.program, OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.labelAt, OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.stageTapes
- def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.timePolynomialline 445 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.timePolynomial_evalline 448 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.variableSlotline 454 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.polaritySlotline 455 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.variableFieldline 456 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.polarityFieldline 457 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.clauseWords_variableline 459 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.clauseWords_polarityline 465 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.output_variableline 473 - theorem
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.output_polarityline 480 - def
OAI.UniqueGamesTheorem.Foundations.Hastad.SourceContextLoad.machineline 489