OAI/Computability/UniqueGames/PCP/PortTableEncoding.lean
12 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.HasPortTailsline 12Source documentation
The flat graph's stored tails agree with its fixed regular-port ordering.
def HasPortTails (rows : GraphTables.Rows n (n * d)) : Prop := …
Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.GraphTables.Rows
- instance
OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.(instance at line 15)line 15 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.flatRows_hasPortTailsline 19 - def
OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.ofRowsline 24Source documentation
The actual reverse and predicate vectors extracted from validated flat rows.
def ofRows (rows : GraphTables.Rows n (n * d)) (valid : GraphTables.Valid rows) : Table n d where …
Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.GraphTables.Rows, OAI.UniqueGamesTheorem.Foundations.PCP.GraphTables.Valid, OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.Table
- theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.table_extline 36 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.ofRows_flatRowsline 46Source documentation
Recovering the implicit-tail representation loses none of its stored data.
@[simp] theorem ofRows_flatRows (table : Table n d) : ofRows (flatRows table) (flatRows_valid table) = table := by …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.Table, OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.ofRows, OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.flatRows, OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.flatRows_valid
- def
OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.extractInputline 57Source documentation
Port-family checks applied after the full existing graph-table validation.
def extractInput (ports : Nat) : GraphTables.Table → Option (Input ports) | ⟨vertices, darts, rows, valid⟩ => if count_ok : darts = vertices * ports then let rows' : GraphTables.Rows vertices (vertices * ports) := count_ok ▸ rows …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.GraphTables.Table, OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.Input, OAI.UniqueGamesTheorem.Foundations.PCP.GraphTables.Rows
- theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.extractInput_graphTableline 69 - def
OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.decodeInputBitsline 73 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.decodeInputBits_inputBitsline 76 - def
OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.encodingline 82Source documentation
A genuine roundtripping encoding of the fixed-port executable input family.
def encoding (ports : Nat) : Computability.Encoding (Input ports) Bool where …
Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.Input
- theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PortTables.inputBits_injectiveline 87