OAI/Computability/UniqueGames/PCP/ExpanderTableEnumeration.lean
31 declarations, 0 contain sorry, 0 declared as axioms
Exact row enumeration and accumulator contents for an expander-table step
The outer loop enumerates original vertices, and the inner loop enumerates cloud/port positions in increasing mixed-radix order. The resulting list is the actual next table's stored rotation-word list. Prefix and reverse-encoding identities describe data accumulated by a row loop; they assert no runtime.
- def
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.globalIndexline 25Source documentation
Input position in the actual next table, with port varying fastest.
def globalIndex (vertex : Fin v) (position : Fin (rowFactor d)) : Fin ((v * cloudSize d) * degree d) := … - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.globalIndex_valline 31 - def
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.rowValueline 45Source documentation
The number emitted by the checked pure row evaluator.
def rowValue (G : Table v (degree d)) (H : Table (cloudSize d) d) (vertex : Fin v) (position : Fin (rowFactor d)) : Nat := … - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.rowValue_eq_reverseIndexline 51 - def
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.vertexWordsline 58 - def
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.generatedWordsline 61 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.vertexWords_lengthline 64 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.vertexWords_drop_succline 68 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.vertexWords_drop_fullline 75 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.vertexWords_drop_lastline 80 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.ofFn_castline 86 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.rotationWords_eq_ofFnline 91 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.rowCount_eqline 100Source documentation
Associativity of the three stored mixed-radix coordinates.
theorem rowCount_eq : v * rowFactor d = (v * cloudSize d) * degree d := …
- theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.generatedWords_eq_flat_ofFnline 103 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.generatedWords_eq_rotationWordsline 122Source documentation
Complete equality with the actual materialized next-table word order.
theorem generatedWords_eq_rotationWords (G : Table v (degree d)) (H : Table (cloudSize d) d) : generatedWords G H = rotationWords (step G H) := by …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.generatedWords
- theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.generatedWords_lengthline 129 - def
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.priorVerticesline 134 - def
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.prefixRowsline 137 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.priorVertices_zeroline 141 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.priorVertices_fullline 144 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.priorVertices_succline 149 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.prefixRows_zeroline 156 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.prefixRows_succline 160 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.prefixRows_completeline 168 - def
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.accumulateline 175Source documentation
This is exactly the accumulator update performed after each emitted row.
def accumulate (values : List Nat) (initial : List Bool) : List Bool := …
- theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.accumulate_eqline 178 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.accumulate_appendline 186 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.accumulate_prefixRows_succline 190 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.accumulate_generatedWordsline 198 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.encode_generatedWords_length_leline 204 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTableEnumeration.accumulate_generatedWords_length_leline 210