OAI/Computability/MaxCut/PCP/ContextLoad.lean
63 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.MaxCutGames.Foundations.Hastad.SourceContextLoad.Tapeline 15 - inductive
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.Labelline 22 - def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.placeline 31 - def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.fillline 35 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.fill_placeline 42 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.fill_selfline 47 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.fill_updateline 57 - def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.placedLabelline 66 - def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.placedConfigurationline 70 - def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.placedStatementline 76 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.placed_stepAuxline 88 - def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.nextLabelline 113 - def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.programline 116 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.placed_stepline 127 - def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.lookupOutputline 144 - def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.placedLookupInTimeline 149 - def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.copiedTapesline 165 - def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.coordinateOutputline 168 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.cleanup_lookupOutputline 176 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.coordinateOutput_currentline 205 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.coordinateOutput_remainingline 210 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.coordinateOutput_fieldline 215 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.coordinateOutput_other_fieldline 222 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.suffix_length_le_inputline 227 - def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.coordinateInTimeline 239 - def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.labelAtline 284 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.nextLabel_eqline 287 - def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.stageTapesline 289 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.stageTapes_frameline 297 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.stageTapes_cleanline 310 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.stageTapes_fieldline 322 - def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.prefixInTimeline 347 - def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.loadInTimeline 390 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.clauses_length_le_inputline 413 - def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.loadUnaryInTimeline 420Source 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.MaxCutGames.Foundations.Target.Formula, OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.Tape, OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.program, OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.labelAt, OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.stageTapes
- def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.timePolynomialline 443 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.timePolynomial_evalline 446 - def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.variableSlotline 452 - def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.polaritySlotline 453 - def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.variableFieldline 454 - def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.polarityFieldline 455 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.clauseWords_variableline 457 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.clauseWords_polarityline 463 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.output_variableline 471 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.output_polarityline 478 - def
OAI.MaxCutGames.Foundations.Hastad.SourceContextLoad.machineline 487 - abbrev
OAI.MaxCutGames.Foundations.Hastad.Cubeline 510 - def
OAI.MaxCutGames.Foundations.Hastad.bitSignline 512 - theorem
OAI.MaxCutGames.Foundations.Hastad.bitSign_sqline 514 - theorem
OAI.MaxCutGames.Foundations.Hastad.bitSign_xorline 517 - def
OAI.MaxCutGames.Foundations.Hastad.cubeXorline 521 - def
OAI.MaxCutGames.Foundations.Hastad.walshline 523 - theorem
OAI.MaxCutGames.Foundations.Hastad.walsh_symmline 526 - theorem
OAI.MaxCutGames.Foundations.Hastad.walsh_sqline 530 - theorem
OAI.MaxCutGames.Foundations.Hastad.walsh_xorline 534 - theorem
OAI.MaxCutGames.Foundations.Hastad.coordinate_orthogonalityline 542 - theorem
OAI.MaxCutGames.Foundations.Hastad.walsh_sum_orthogonalityline 547 - theorem
OAI.MaxCutGames.Foundations.Hastad.walsh_orthogonalityline 564 - def
OAI.MaxCutGames.Foundations.Hastad.coefficientline 571 - theorem
OAI.MaxCutGames.Foundations.Hastad.walsh_inversionline 574 - theorem
OAI.MaxCutGames.Foundations.Hastad.walsh_innerline 591 - theorem
OAI.MaxCutGames.Foundations.Hastad.walsh_parsevalline 608 - theorem
OAI.MaxCutGames.Foundations.Hastad.sign_parsevalline 612