OAI/Computability/MaxCut/Encoding/InputData.lean
60 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.inputDataline 13 - def
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.headerDataline 26 - def
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.headerStacksline 29 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.headerTraceline 33 - def
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.oldDataline 52 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.originalData_eqline 55 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.oldBodyTraceline 60Source documentation
The actual old-vertex body is transported with all outer counters and header words untouched. No body-execution hypothesis occurs in this lemma.
theorem oldBodyTrace (H : BaseTable) (t : GraphTables.Table) (e : Fin t.darts) (output : List Bool) (header : Header.Tape → List Bool) (counters : Fin 4 → List Bool) : (advance (TM2.step (program H)))^[MachineRegularOriginalBody.totalSteps H t e output] (some (cfg H (some (Label.oldBody MachineRegularOriginalBody.entry)) (oldData t e.val output) header counters)) = some (cfg H (some .oldIncrement) (oldData t e.val (output ++ MachineRegularOriginalBody.emittedBits H t e)) header counters) := by …Mentions: OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.BaseTable, OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Header.Tape, OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.program, OAI.MaxCutGames.Foundations.Complexity.MachineRegularOriginalBody.totalSteps, OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.cfg, OAI.MaxCutGames.Foundations.Complexity.MachineRegularOriginalBody.entry, OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.oldData, OAI.MaxCutGames.Foundations.Complexity.MachineRegularOriginalBody.emittedBits
- def
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.counterStacksline 75 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.frame_oldFuelline 78 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.frame_ownerFuelline 82 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.update_frame_oldFuelline 86 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.update_frame_ownerFuelline 97 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.update_frame_globalline 108 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.update_frame_ownerline 121 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.oldGuardStepline 134 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.oldGuardExitline 148 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.oldIncrementStepline 159 - def
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.oldPrefixline 173 - def
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.oldElapsedline 176 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.joinTrace_inline_MachineRegularTableline 183 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.oldPrefixTraceline 189Source documentation
Each actual fuel/body/increment segment appends exactly the next original vertex block. This induction is over a specification index, not a register.
theorem oldPrefixTrace (H : BaseTable) (t : GraphTables.Table) (output : List Bool) (header : Header.Tape → List Bool) (k : Nat) : k ≤ t.darts → (advance (TM2.step (program H)))^[oldElapsed H t output k] (some (cfg H (some .oldGuard) (oldData t 0 output) header (counterStacks (encodeWord t.darts) [] [] []))) = some (cfg H (some .oldGuard) (oldData t k (output ++ oldPrefix H t k)) header (counterStacks (encodeWord (t.darts-k)) [] [] [])) := by …Mentions: OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.BaseTable, OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Header.Tape, OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.program, OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.oldElapsed, OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.cfg, OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.oldData, OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.counterStacks, OAI.MaxCutGames.Foundations.Complexity.encodeWord, OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.oldPrefix
- theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.oldLoopTraceline 220 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.frame_scratchline 232 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.frame_dartsline 236 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.frame_header_nline 239 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.oldSeedStepline 243 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.copyOldTraceline 256 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.oldStageTraceline 271 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.update_frame_offsetline 281 - def
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.ownerDataline 294 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.ownerSeedStepline 302 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.copyOwnerTraceline 320 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.ownerPlacementline 334 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.ownerInitialData_eqline 346 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.ownerBodyTraceline 349 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.ownerGuardStepline 365 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.ownerGuardExitline 379 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.ownerIncrementStepline 390 - def
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.ownerPrefixline 410 - def
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.ownerElapsedline 413 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.ownerPrefixTraceline 420 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.ownerLoopTraceline 450 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.ownerStageTraceline 462 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.owner_output_eq_ownerPrefixline 472 - def
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.cleanedline 488 - def
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.cleanupTimeline 493 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.drainTraceline 498 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.cleanupPrefixTraceline 506 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.cleanupTraceline 520 - def
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.finalStacksline 526 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.cleaned_finalStacksline 529 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.cleaned_length_leline 549 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.cleanupTime_leline 563 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.cleanupTime_final_leline 579 - def
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.headerOutputline 643 - def
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.oldOutputline 646 - def
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.finalOutputline 649 - def
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.totalTimeline 652 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.old_output_eq_originalPrefixline 658 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineRegularTable.Top.finalOutput_eqline 663