OAI/Computability/UniqueGames/Decoding/TableKeysAddressGameLemmas.lean
31 declarations, 0 contain sorry, 0 declared as axioms
Direct addresses for the v2 single-orbit matrix game. There is one canonical body address space, with no side bit and no extra right-endpoint offset. Unused addresses are isolated. Runtime construction uses canonical words and radix arithmetic, not deduplication or inverse vertex enumeration.
- abbrev
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.vertexCountline 23 - def
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.vertexAddressline 26 - theorem
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.vertexAddress_injectiveline 29 - def
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.queryAddressline 36Source documentation
Both endpoints use this same routine and this same address block.
def queryAddress (S : Source) (k s d : Nat) (q : TableKeysGame.Query S k s d) : Fin (vertexCount S k s d) := …Mentions: OAI.UniqueGamesTheorem.Decoder.TableKeysGame.Query, OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.vertexCount
- theorem
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.vertexAddress_queryline 40 - def
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.explicitToAddressline 46Source documentation
This inverse is a proof adapter only; the output constructor never calls it.
def explicitToAddress (S : Source) (k s d : Nat) : Fin (TableKeysGame.explicitVertexCount S k s d) → Fin (vertexCount S k s d) := …Mentions: OAI.UniqueGamesTheorem.Decoder.TableKeysGame.explicitVertexCount, OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.vertexCount
- theorem
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.explicitToAddress_injectiveline 50 - theorem
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.explicitToAddress_applyline 55 - def
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.semanticToAddressline 61 - theorem
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.semanticToAddress_injectiveline 65 - theorem
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.semanticToAddress_applyline 70 - def
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.addressEdgeline 76 - theorem
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.addressEdge_eq_embedline 84 - theorem
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.addressEdge_eq_semantic_embedline 91 - def
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.outputInstanceline 99Source documentation
The correcting function is not evaluated when producing an edge list.
def outputInstance (S : Source) (k : Nat) {s d : Nat} (g : SplitGadget s d) (en : NoiseEnumeration g) : Instance (2^s) where … - theorem
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.outputInstance_eq_embedline 111Source documentation
Every occurrence, its order, and its full permutation table are retained.
theorem outputInstance_eq_embed (S : Source) (k : Nat) {s d : Nat} (g : SplitGadget s d) (en : NoiseEnumeration g) : outputInstance S k g en = embedInstance (TableKeysGame.outputInstanceWithEnumeration S k g en) (explicitToAddress S k s d) (explicitToAddress_injective S k s d) := by …Mentions: OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.outputInstance, OAI.UniqueGamesTheorem.Decoder.TableKeysGame.outputInstanceWithEnumeration, OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.explicitToAddress, OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.explicitToAddress_injective
- theorem
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.outputInstance_lengthline 120 - theorem
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.outputInstance_countline 127 - theorem
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.completeAt_outputInstance_iff_explicitline 138 - theorem
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.soundAt_outputInstance_iff_explicitline 145 - theorem
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.completeAt_outputInstance_iffline 152 - theorem
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.soundAt_outputInstance_iffline 159 - theorem
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.outputInstance_translationsline 166 - def
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.tableOutputline 184Source documentation
Fixed finite noise data suffice for executable output.
def tableOutput (S : Source) (k : Nat) {s d : Nat} (T : Integration.NoiseTables.Table s d) : Instance (2^s) := …Mentions: OAI.UniqueGamesTheorem.Integration.NoiseTables.Table
- theorem
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.tableOutput_eq_with_witnessline 190Source documentation
The nonlinear correctness witness is erased from the output program.
theorem tableOutput_eq_with_witness (S : Source) (k : Nat) {s d : Nat} (T : Integration.NoiseTables.Table s d) (f : Ambient s d → Alphabet s) (hf : ∀ x c, f (x + (c, 0)) = f x + c) : tableOutput S k T = outputInstance S k (T.gadget f hf) (Integration.TableReduction.tableEnumeration T f hf) := by …Mentions: OAI.UniqueGamesTheorem.Integration.NoiseTables.Table, OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.tableOutput, OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.outputInstance, OAI.UniqueGamesTheorem.Integration.TableReduction.tableEnumeration
- theorem
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.completeAt_tableOutput_iffline 197 - theorem
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.soundAt_tableOutput_iffline 205 - theorem
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.tableOutput_translationsline 213 - theorem
OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.vertexCount_eq_polynomialline 219Source documentation
Exact polynomial capacity, without the legacy two-side factor.
theorem vertexCount_eq_polynomial (S : Source) (k s d : Nat) : vertexCount S k s d = (CanonicalAddress.capacityPolynomial k s d).eval (S.variables + S.occurrences) := by …Mentions: OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.vertexCount
- theorem
OAI.UniqueGamesTheorem.Decoder.MatrixGap.address_rate_eq_semantic_acceptanceline 243 - theorem
OAI.UniqueGamesTheorem.Decoder.MatrixGap.address_value_le_of_semantic_acceptanceline 271Source documentation
Soundness is measured on the generated direct-address instance. Unused addresses and reindexing introduce no additional labeling advantage.
theorem address_value_le_of_semantic_acceptance (S : Source) (k : Nat) {s d : Nat} (T : NoiseTables.Table s d) (f : Ambient s d → Alphabet s) (hf : ∀ x c, f (x + (c, 0)) = f x + c) (h : ∀ labeling : Fin (TableKeysGame.vertexCount S k s d) → Fin (2 ^ s), TableKeysGame.acceptanceProbability S k (T.gadget f hf) labeling ≤ (99 : ℚ) / 100) : InstanceValue.value (TableKeysAddressGame.tableOutput S k T) ≤ (99 : ℝ) / 100 := by …Mentions: OAI.UniqueGamesTheorem.Decoder.TableKeysGame.vertexCount, OAI.UniqueGamesTheorem.Decoder.TableKeysGame.acceptanceProbability, OAI.UniqueGamesTheorem.Decoder.TableKeysAddressGame.tableOutput