OAI/Computability/UniqueGames/PCP/PreprocessingLazyWords.lean
22 declarations, 0 contain sorry, 0 declared as axioms
Exact codec expansion of the executable lazy graph table. Each vertex
contributes its d always-accepting selfloops, followed by its d stored
constraints with the reverse field changed by the displayed div/mod map.
- def
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.rowline 19 - def
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.trueRelationline 23 - def
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.stayRowline 25 - def
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.moveRowline 28 - def
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.reverseMapline 35Source documentation
The machine's fixed-degree numerical map for an old reverse-row index.
def reverseMap (d j : Nat) : Nat := 2 * d * (j / d) + d + j % d
- theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.relation_extline 37 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.row_lazy_stayline 44 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.row_lazy_moveline 57 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.stayRow_reverse_valline 70 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.moveRow_reverse_valline 75 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.relationWords_trueline 83 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.stayRow_wordsline 87 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.moveRow_wordsline 93 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.ofFn_rowIndexline 101Source documentation
Finite mixed-radix indexing agrees with the actual row-vector order.
theorem ofFn_rowIndex {α : Type*} (f : Fin (n * d) → α) : List.ofFn f = (List.ofFn fun v : Fin n => List.ofFn fun p : Fin d => f (rowIndex n d (v, p))).flatten := by … - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.flatRows_listline 115 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.ofFn_lazyPortsline 123Source documentation
Boolean false precedes true in the executable lazy port numbering.
theorem ofFn_lazyPorts {α : Type*} (f : Fin (2 * d) → α) : List.ofFn f = List.ofFn (fun p => f (lazyPorts d (false, p))) ++ List.ofFn (fun p => f (lazyPorts d (true, p))) := by … - def
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.vertexRowsline 136 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.vertexRows_lengthline 140 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.flatRows_lazyline 146Source documentation
Every stored lazy row, with no permutation or multiset quotient.
theorem flatRows_lazy (table : PortTables.Table n d) : (flatRows (lazy table)).toList = (List.ofFn (vertexRows table)).flatten := by …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.Table, OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.vertexRows
- theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.vertexRows_wordsline 156 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.tableWords_lazyline 177Source documentation
The full existing word codec, including both graph header fields.
theorem tableWords_lazy (table : PortTables.Table n d) : PortTables.tableWords (lazy table) = [n, n * (2 * d)] ++ (List.ofFn (vertexRows table)).flatten.flatMap rowWords := by …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.Table, OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.tableWords, OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.vertexRows
- theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.tableBits_lazyline 183Source documentation
The same statement for the exact unary-delimited Boolean input/output codec.
theorem tableBits_lazy (table : PortTables.Table n d) : PortTables.tableBits (lazy table) = encodeWords ([n, n * (2 * d)] ++ (List.ofFn (vertexRows table)).flatten.flatMap rowWords) := by …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.Table, OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.tableBits, OAI.UniqueGamesTheorem.Foundations.PCP.PreprocessingLazyWords.vertexRows