OAI/Computability/UniqueGames/Machines/MachineCloudPrefix.lean
51 declarations, 0 contain sorry, 0 declared as axioms
- inductive
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.Tapeline 14 - inductive
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.Labelline 19 - abbrev
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.Alphabetline 25 - abbrev
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.Stateline 26 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.memoryline 28 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.frameline 35 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.frame_queryline 38 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.frame_countline 40 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.frame_powerline 42 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.frame_levelline 44 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.frame_boundline 46 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.frame_remainingline 48 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.frame_totalline 50 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.update_frame_queryline 53 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.update_frame_countline 61 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.update_frame_powerline 69 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.update_frame_levelline 77 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.update_frame_remainingline 85 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.update_frame_totalline 89 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.paddingViewline 94 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.paddingView_leftline 98 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.paddingView_rightline 100 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.placedTapesline 104 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.programline 111 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.appendTraceline 127 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.paddingTraceline 133Source documentation
The inner program is embedded with its actual table scan and geometric search; all three additional tapes are preserved by every inner transition.
theorem paddingTrace (t : GraphTables.Table) (v : Fin t.vertices) (bound remaining total : List Bool) (ambient : σ) (register : Option Bool) : (advance (TM2.step program))^[MachineCloudPadding.totalTime t v] (some ⟨some (.padding .init), ((ambient, false), register), frame (GraphTables.tableBits t) (encodeWord v.val) [] [] [] bound remaining total⟩) = some ⟨some .add, ((ambient, false), none), frame (GraphTables.tableBits t) (encodeWord v.val) (encodeWord (PreprocessingCloudIndex.cloudSize t v)) (encodeWord (MachineCloudPadding.padding (PreprocessingCloudIndex.cloudSize t v))) (encodeWord (PreprocessingLevels.boundedLevel (PreprocessingCloudIndex.cloudSize t v))) bound remaining total⟩ := by …Mentions: OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.program, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPadding.totalTime, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.frame, OAI.UniqueGamesTheorem.Foundations.Complexity.encodeWord, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPadding.padding
- theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.incrementStepline 151 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.bodyTimeline 160 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.bodyTraceline 168Source documentation
Padding tallies are consumed by unary addition; count and level fields are scanned away, and the remaining zero padding delimiter is removed while the physical vertex counter increases.
theorem bodyTrace (t : GraphTables.Table) (v : Fin t.vertices) (bound remaining : List Bool) (acc : Nat) (ambient : σ) (register : Option Bool) : (advance (TM2.step program))^[bodyTime t v] (some ⟨some (.padding .init), ((ambient, false), register), frame (GraphTables.tableBits t) (encodeWord v.val) [] [] [] bound remaining (encodeWord acc)⟩) = some ⟨some .guard, ((ambient, false), none), frame (GraphTables.tableBits t) (encodeWord (v.val + 1)) [] [] [] bound remaining (encodeWord (MachineCloudPadding.padding (PreprocessingCloudIndex.cloudSize t v) + acc))⟩ := by …Mentions: OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.program, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.bodyTime, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.frame, OAI.UniqueGamesTheorem.Foundations.Complexity.encodeWord, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPadding.padding
- theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.guardStep_succline 210 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.guardStep_zeroline 220 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.zeroTraceline 228 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.amountline 242 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.cycleTimeline 245 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.sumFromline 248 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.loopTimeline 252 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.loopTraceline 256 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.sumFrom_listline 287 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.sumFrom_eq_offsetline 306 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.initStepline 315 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.totalTimeline 322 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.prefixTraceline 325 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.cycleBudgetline 355Source documentation
Uniform budget for one vertex iteration, including unary addition and cleanup. Its input argument bounds the complete table length.
def cycleBudget (L : Nat) : Nat := …
- theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.bodyTime_leline 359 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.loopTime_leline 387 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.inputLengthline 400 - def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.timePolynomialline 403 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.totalTime_leline 412Source documentation
The full execution has a cubic polynomial bound in the two actual preserved input words. The accumulator is never scanned to perform addition.
theorem totalTime_le (t : GraphTables.Table) (b : Nat) (hb : b ≤ t.vertices) (suffix : List Bool) : totalTime t b suffix ≤ timePolynomial.eval (inputLength t b suffix) := by …Mentions: OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.totalTime, OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.inputLength
- def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.prefixInTimeline 432 - theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.all_padding_sumline 449Source documentation
At the complete vertex bound the output is the sum of all padding counts used by the actual regularized-table header.
theorem all_padding_sum (t : GraphTables.Table) : sumFrom t 0 t.vertices = ∑ v, PreprocessingRegularTables.padding t v := by …Mentions: OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.sumFrom
- theorem
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.paddingOrder_eq_prefixline 455Source documentation
At a vertex bound, adding its local dummy index to this machine's result gives precisely the existing executable padding-order index.
theorem paddingOrder_eq_prefix (t : GraphTables.Table) (v : Fin t.vertices) (j : Fin (PreprocessingRegularTables.padding t v)) : (PreprocessingRegularTables.paddingOrder (PreprocessingRegularTables.padding t) ⟨v, j⟩).val = sumFrom t 0 v.val + j.val := by …Mentions: OAI.UniqueGamesTheorem.Foundations.Complexity.MachineCloudPrefix.sumFrom