OAI/Computability/UniqueGames/PCP/PreprocessingRegularLoopWordsLemmas.lean
44 declarations, 0 contain sorry, 0 declared as axioms
Prefix and suffix invariants for regular-table row loops
These finite block identities apply to original-vertex blocks, to dummy blocks within an owner, and to whole owner blocks. They expose exactly the next emitted block while preserving the codec's established order.
- def
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularLoopWords.blocksPrefixline 26Source documentation
Bits emitted by the first
kblocks.def blocksPrefix {n : Nat} (f : Fin n → List Bool) (k : Nat) : List Bool := … - def
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularLoopWords.blocksSuffixline 30Source documentation
Bits remaining after the first
kblocks.def blocksSuffix {n : Nat} (f : Fin n → List Bool) (k : Nat) : List Bool := … - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularLoopWords.blocksPrefix_zeroline 33 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularLoopWords.blocksPrefix_allline 37 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularLoopWords.blocksPrefix_succline 43 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularLoopWords.blocksSuffix_zeroline 51 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularLoopWords.blocksSuffix_allline 55 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularLoopWords.blocksSuffix_succline 61 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularLoopWords.blocksPrefix_append_suffixline 69Source documentation
The completed and remaining portions partition the original bitstream.
theorem blocksPrefix_append_suffix {n : Nat} (f : Fin n → List Bool) (k : Nat) : blocksPrefix f k ++ blocksSuffix f k = (List.ofFn f).flatten := by …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularLoopWords.blocksPrefix, OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularLoopWords.blocksSuffix
- theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularBounds.offset_succline 89 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularBounds.blocksPrefix_length_leline 97 - def
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularBounds.headerline 103 - def
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularBounds.ownerBitsline 106 - def
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularBounds.originalPrefixline 111 - def
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularBounds.ownerPrefixline 116 - def
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularBounds.dummyPrefixline 122 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularBounds.originalPrefix_length_leline 130 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularBounds.ownerPrefix_length_leline 138 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularBounds.dummyPrefix_length_leline 149 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularBounds.regular_originalPrefix_leline 163 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularBounds.regular_ownerPrefix_leline 170 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularBounds.regular_dummyPrefix_leline 177 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularBounds.visits_le_inputline 186Source documentation
The number of original and dummy vertex visits is exactly the constructed vertex count; adding owner visits still gives a linear bound in input bits.
theorem visits_le_input : t.darts + t.vertices + (∑ v, padding t v) + 1 ≤ (ExpanderFamily.growth + 1) * PreprocessingMachineBounds.inputLength t + 1 := by …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderFamily.growth, OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingMachineBounds.inputLength
- theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingRegularBounds.sum_body_costs_leline 198Source documentation
An elementary budget aggregation for the actual three finite loops. The per-call bounds must be supplied from the separately checked subprogram runs.
theorem sum_body_costs_le (old : Fin t.darts → Nat) (owners : Fin t.vertices → Nat) (dummy : ∀ v : Fin t.vertices, Fin (padding t v) → Nat) (setup cap : Nat) (hs : setup ≤ cap) (ho : ∀ e, old e ≤ cap) (hv : ∀ v, owners v ≤ cap) (hd : ∀ v j, dummy v j ≤ cap) : setup + (∑ e, old e) + (∑ v, owners v) + (∑ v, ∑ j, dummy v j) ≤ ((ExpanderFamily.growth + 1) * PreprocessingMachineBounds.inputLength t + 1) * cap := by …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderFamily.growth, OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingMachineBounds.inputLength
- inductive
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineModel.Tapeline 231 - abbrev
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineModel.Signsline 236 - abbrev
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineModel.Stateline 237 - abbrev
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineModel.Alphabetline 238 - inductive
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineModel.CopyPhaseline 240 - inductive
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineModel.Labelline 248 - def
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineModel.initialStateline 262 - def
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineModel.stateKeysline 264 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineModel.stateKeys_completeline 269 - def
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineModel.nameFieldline 275 - def
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineModel.copySourceline 277 - def
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineModel.copyScaleline 282 - def
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineModel.copyNextline 286 - def
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineModel.relationNextline 295 - def
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineModel.finalTapeline 301 - def
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineModel.drainline 304 - def
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineModel.headerTapeline 307 - def
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineModel.relationOutputline 309 - def
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineModel.programline 313 - def
OAI.UniqueGamesTheorem.Foundations.PCP.RawInitialMachineModel.machineline 363