OAI/Computability/MaxCut/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.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.globalIndexline 23Source 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.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.globalIndex_valline 29 - def
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.rowValueline 43Source 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.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.rowValue_eq_reverseIndexline 49 - def
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.vertexWordsline 56 - def
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.generatedWordsline 59 - theorem
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.vertexWords_lengthline 62 - theorem
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.vertexWords_drop_succline 66 - theorem
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.vertexWords_drop_fullline 73 - theorem
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.vertexWords_drop_lastline 78 - theorem
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.ofFn_cast_inline_ExpanderTableEnumerationline 84 - theorem
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.rotationWords_eq_ofFnline 89 - theorem
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.rowCount_eqline 98Source documentation
Associativity of the three stored mixed-radix coordinates.
theorem rowCount_eq : v * rowFactor d = (v * cloudSize d) * degree d := …
- theorem
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.generatedWords_eq_flat_ofFnline 101 - theorem
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.generatedWords_eq_rotationWordsline 120Source 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.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.generatedWords
- theorem
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.generatedWords_lengthline 127 - def
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.priorVerticesline 132 - def
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.prefixRowsline 135 - theorem
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.priorVertices_zeroline 139 - theorem
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.priorVertices_fullline 142 - theorem
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.priorVertices_succline 147 - theorem
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.prefixRows_zeroline 154 - theorem
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.prefixRows_succline 158 - theorem
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.prefixRows_completeline 166 - def
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.accumulateline 173Source documentation
This is exactly the accumulator update performed after each emitted row.
def accumulate (values : List Nat) (initial : List Bool) : List Bool := …
- theorem
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.accumulate_eqline 176 - theorem
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.accumulate_appendline 184 - theorem
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.accumulate_prefixRows_succline 188 - theorem
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.accumulate_generatedWordsline 196 - theorem
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.encode_generatedWords_length_leline 202 - theorem
OAI.MaxCutGames.Foundations.PCP.ExpanderTableEnumeration.accumulate_generatedWords_length_leline 208