OAI/Computability/UniqueGames/PCP/ExpanderTables.lean
28 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.rowIndexline 12 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.rowIndex_valline 14 - structure
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.Tableline 18Source documentation
Stored reverse-dart indices, with a proof of the finite involution law.
structure Table (v d : Nat) where …
- def
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.reverseIndexline 22 - def
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.lookupline 25 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.lookup_involutiveline 28 - def
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.graphline 35 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.graph_rotline 39 - def
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.ofGraphline 42 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.lookup_ofGraphline 50 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.graph_extline 55 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.graph_ofGraphline 63 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.row_countline 66 - def
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.vertexIndexline 70Source documentation
Explicit mixed-radix vertex coordinates for one square/zigzag step.
def vertexIndex (v q : Nat) : Fin v × (Fin q × Fin q) ≃ Fin (v * (q * q)) := …
- def
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.stepGraphline 74Source documentation
The actual square/zigzag graph, expressed in the table's integer coordinates.
def stepGraph {v d : Nat} (G : Table v (d * d)) (H : Table ((d * d) * (d * d)) d) : PortGraph (Fin (v * ((d * d) * (d * d)))) (Fin (d * d)) := …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.Table
- def
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.stepline 83Source documentation
Materialize every row of the next table in the declared order.
def step {v d : Nat} (G : Table v (d * d)) (H : Table ((d * d) * (d * d)) d) : Table (v * ((d * d) * (d * d))) (d * d) := ofGraph (stepGraph G H)Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.Table, OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.ofGraph, OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.stepGraph
- def
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.stepLookupline 88Source documentation
A row uses exactly the displayed four lookups in already stored tables.
def stepLookup {v d : Nat} (G : Table v (d * d)) (H : Table ((d * d) * (d * d)) d) (x : Fin (v * ((d * d) * (d * d))) × Fin (d * d)) : Fin (v * ((d * d) * (d * d))) × Fin (d * d) := …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.Table
- theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.lookup_stepline 102 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.step_certificateline 114 - def
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.initialline 125 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.initial_certificateline 128 - def
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.vertexCountline 138 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.vertexCount_eqline 142 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.vertexCount_positiveline 147 - def
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.familyline 154Source documentation
A bottom-up vector of rotation rows. The recursive result is passed once to
step, whose row formula reads only that already materialized table.def family {d : Nat} (H : Table ((d * d) * (d * d)) d) : (n : Nat) → Table (vertexCount (d * d) n) (d * d) | 0 => initial d | n + 1 => step (family H n) HMentions: OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.Table, OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.vertexCount, OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.initial, OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.step
- theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.family_certificateline 159 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.family_row_countline 170 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.exists_base_tableline 175Source documentation
The only selected data is one fixed finite table, independent of the input.
theorem exists_base_table : ∃ H : Table ((Expanders.baseDegree * Expanders.baseDegree) * (Expanders.baseDegree * Expanders.baseDegree)) Expanders.baseDegree, SpectralCertificate (graph H) (1 / 100 : ℝ) := by …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.Table, OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.baseDegree, OAI.UniqueGamesTheorem.Foundations.PCP.ExpanderTables.graph