OAI/Computability/MaxCut/Machines/MachineUnaryAffine.lean
55 declarations, 0 contain sorry, 0 declared as axioms
A real finite program for uniform whole-instance copying. It reads three headers, physically multiplies the occurrence count by the fixed constant, copies the header-free body the same fixed number of times, and clears all working tapes. No input-dependent data are placed in finite control.
- abbrev
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.Alphabetline 16 - def
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.finishline 18 - def
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.scanline 21 - def
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.seedline 31 - def
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.tapesline 35 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.tapes_sourceline 39 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.tapes_scratchline 45 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.tapes_destinationline 50 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.update_source_inline_MachineUnaryAffineAtline 55 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.update_scratch_inline_MachineUnaryAffineAtline 69 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.update_destination_inline_MachineUnaryAffineAtline 80 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.prepend_replicate_wordline 86 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.scan_step_succline 91 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.scan_step_zeroline 111 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.scanTraceline 128 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.restoreTapesline 158 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.affineTraceline 177 - def
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.affineInTimeline 213 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.seededAffineTraceline 235Source documentation
Include the literal offset prefix. The caller supplies an arbitrary output suffix, not a precomputed address; all runtime arithmetic occurs on the tapes.
theorem seededAffineTrace (source scratch destination : K) (hs : source ≠ scratch) (hd : source ≠ destination) (hsd : scratch ≠ destination) (coefficient offset : Nat) (seedLabel scanLabel restoreLabel : Λ) (exit : Option Λ) (program : Λ → TM2.Stmt (Alphabet (K := K)) Λ (σ × Option Bool)) …Mentions: OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.program, OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.Alphabet
- inductive
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.Labelline 269 - abbrev
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.Label.enumListline 273 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.Label.enumList_getElem?_ctorIdx_eqline 275 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.Label.enumList_nodupline 279 - instance
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.(instance at line 281)line 281 - def
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.programline 285 - def
OAI.MaxCutGames.Foundations.Complexity.MachineUnaryAffineAt.machineline 291 - inductive
OAI.MaxCutGames.Explicit.MachineUniformProgram.Tapeline 314 - abbrev
OAI.MaxCutGames.Explicit.MachineUniformProgram.Tape.enumListline 319 - theorem
OAI.MaxCutGames.Explicit.MachineUniformProgram.Tape.enumList_getElem?_ctorIdx_eqline 322 - theorem
OAI.MaxCutGames.Explicit.MachineUniformProgram.Tape.enumList_nodupline 326 - instance
OAI.MaxCutGames.Explicit.MachineUniformProgram.(instance at line 328)line 328 - abbrev
OAI.MaxCutGames.Explicit.MachineUniformProgram.Stateline 332 - def
OAI.MaxCutGames.Explicit.MachineUniformProgram.initialStateline 334 - def
OAI.MaxCutGames.Explicit.MachineUniformProgram.headerFieldline 336 - def
OAI.MaxCutGames.Explicit.MachineUniformProgram.emitFieldline 341 - def
OAI.MaxCutGames.Explicit.MachineUniformProgram.tokensline 347 - def
OAI.MaxCutGames.Explicit.MachineUniformProgram.clearKeysline 350 - inductive
OAI.MaxCutGames.Explicit.MachineUniformProgram.Labelline 354 - def
OAI.MaxCutGames.Explicit.MachineUniformProgram.headerNextline 363 - def
OAI.MaxCutGames.Explicit.MachineUniformProgram.emitEntryline 366 - def
OAI.MaxCutGames.Explicit.MachineUniformProgram.programline 369 - def
OAI.MaxCutGames.Explicit.MachineUniformProgram.machineline 385 - theorem
OAI.MaxCutGames.Explicit.MachineUniformProgram.coversline 396 - theorem
OAI.MaxCutGames.Explicit.MachineUniformProgram.accumulator_not_mem_clearKeysline 400 - theorem
OAI.MaxCutGames.Explicit.MachineUniformProgram.output_not_mem_clearKeysline 401 - def
OAI.MaxCutGames.Explicit.MachineUniformHeaders.inputTapesline 414 - def
OAI.MaxCutGames.Explicit.MachineUniformHeaders.afterVerticesline 417 - def
OAI.MaxCutGames.Explicit.MachineUniformHeaders.afterAlphabetline 420 - def
OAI.MaxCutGames.Explicit.MachineUniformHeaders.resultTapesline 424 - theorem
OAI.MaxCutGames.Explicit.MachineUniformHeaders.initList_eqline 429 - theorem
OAI.MaxCutGames.Explicit.MachineUniformHeaders.first_resultline 435 - theorem
OAI.MaxCutGames.Explicit.MachineUniformHeaders.second_resultline 443 - theorem
OAI.MaxCutGames.Explicit.MachineUniformHeaders.third_resultline 451 - def
OAI.MaxCutGames.Explicit.MachineUniformHeaders.headersInTimeline 461Source documentation
The input headers are consumed literally; all unread constraint bits retain their original order and no tape contains an implicit runtime number.
def headersInTime (C q n Q : Nat) (body : List Bool) : StateTransition.EvalsToInTime (machine C).step (initList (machine C) (encodeWords [n, q, Q] ++ body)) (some ⟨some (.scale 0), initialState, resultTapes n q Q body⟩) (n + q + Q + 6) := by …Mentions: OAI.MaxCutGames.Explicit.MachineUniformHeaders.resultTapes
- theorem
OAI.MaxCutGames.Explicit.MachineUniformHeaders.headers_budgetline 496