OAI/Computability/MaxCut/Encoding/TableKeysGame.lean
58 declarations, 0 contain sorry, 0 declared as axioms
Restore actual orbit labels as a total function of the entire reduced key. The arbitrary value at unrealized orbit bodies is used only to make this function total; every table queried by the verifier and by the sparse experiment is proved to be an actual realization. Folding holds even for the total extension, because the removed intercept is always restored.
- abbrev
OAI.MaxCutGames.Decoder.TableKeysGame.Questionline 13 - abbrev
OAI.MaxCutGames.Decoder.TableKeysGame.Mapline 14 - abbrev
OAI.MaxCutGames.Decoder.TableKeysGame.Dualline 15 - abbrev
OAI.MaxCutGames.Decoder.TableKeysGame.Queryline 16 - abbrev
OAI.MaxCutGames.Decoder.TableKeysGame.canonicalline 17 - abbrev
OAI.MaxCutGames.Decoder.TableKeysGame.Vertexline 20Source documentation
One realized key orbit, with no prover-side copy.
abbrev Vertex (S : Source) (k s d : Nat) := ActualGame.Vertex S k s d
- abbrev
OAI.MaxCutGames.Decoder.TableKeysGame.vertexline 21 - abbrev
OAI.MaxCutGames.Decoder.TableKeysGame.offsetline 22 - abbrev
OAI.MaxCutGames.Decoder.TableKeysGame.shiftQueryline 23 - def
OAI.MaxCutGames.Decoder.TableKeysGame.vertexCountline 25 - def
OAI.MaxCutGames.Decoder.TableKeysGame.vertexEncodingline 28 - abbrev
OAI.MaxCutGames.Decoder.TableKeysGame.Outcomeline 32Source documentation
All four sampling choices remain separate occurrence indices.
abbrev Outcome (S : Source) (k : Nat) {s d : Nat} (g : SplitGadget s d) := … - abbrev
OAI.MaxCutGames.Decoder.TableKeysGame.leftQueryline 35 - abbrev
OAI.MaxCutGames.Decoder.TableKeysGame.rightQueryline 37 - def
OAI.MaxCutGames.Decoder.TableKeysGame.edgeline 40 - def
OAI.MaxCutGames.Decoder.TableKeysGame.outcomesline 47 - def
OAI.MaxCutGames.Decoder.TableKeysGame.outputInstanceline 50 - theorem
OAI.MaxCutGames.Decoder.TableKeysGame.outputInstance_constraints_lengthline 62 - def
OAI.MaxCutGames.Decoder.TableKeysGame.vertexLabelline 67 - def
OAI.MaxCutGames.Decoder.TableKeysGame.labelingOfline 72 - theorem
OAI.MaxCutGames.Decoder.TableKeysGame.vertexLabel_labelingOfline 77 - def
OAI.MaxCutGames.Decoder.TableKeysGame.unfoldedline 84Source documentation
Restore the removed alphabet component of the affine intercept.
noncomputable def unfolded (S : Source) (k s d : Nat) (labeling : Fin (vertexCount S k s d) → Fin (2^s)) (q : Query S k s d) : Alphabet s := …Mentions: OAI.MaxCutGames.Decoder.TableKeysGame.vertexCount, OAI.MaxCutGames.Decoder.TableKeysGame.Query
- theorem
OAI.MaxCutGames.Decoder.TableKeysGame.unfolded_equivariantline 89 - theorem
OAI.MaxCutGames.Decoder.TableKeysGame.edge_satisfied_iffline 100 - def
OAI.MaxCutGames.Decoder.TableKeysGame.acceptanceProbabilityline 114 - theorem
OAI.MaxCutGames.Decoder.TableKeysGame.acceptanceProbability_eq_testline 118 - theorem
OAI.MaxCutGames.Decoder.TableKeysGame.countSatisfied_map_inline_TableKeysGameline 130 - theorem
OAI.MaxCutGames.Decoder.TableKeysGame.countSatisfied_eq_sumline 138 - theorem
OAI.MaxCutGames.Decoder.TableKeysGame.acceptanceProbability_eq_countline 147Source documentation
The test probability is the satisfied fraction of the actual occurrence list.
theorem acceptanceProbability_eq_count (S : Source) (k : Nat) {s d : Nat} (g : SplitGadget s d) (labeling : Fin (vertexCount S k s d) → Fin (2^s)) : acceptanceProbability S k g labeling = (countSatisfied labeling (outputInstance S k g).constraints : ℚ) / (outputInstance S k g).constraints.length := by …Mentions: OAI.MaxCutGames.Decoder.TableKeysGame.vertexCount, OAI.MaxCutGames.Decoder.TableKeysGame.acceptanceProbability, OAI.MaxCutGames.Decoder.TableKeysGame.outputInstance
- def
OAI.MaxCutGames.Decoder.TableKeysGame.explicitVertexCountline 158Source documentation
Exhaustive numbering of the same single-orbit vertex type.
def explicitVertexCount (S : Source) (k s d : Nat) : Nat := …
- def
OAI.MaxCutGames.Decoder.TableKeysGame.explicitVertexEncodingline 161 - def
OAI.MaxCutGames.Decoder.TableKeysGame.semanticToExplicitVerticesline 167 - theorem
OAI.MaxCutGames.Decoder.TableKeysGame.semanticToExplicitVertices_applyline 171 - theorem
OAI.MaxCutGames.Decoder.TableKeysGame.explicitVertexCount_eqline 177 - def
OAI.MaxCutGames.Decoder.TableKeysGame.explicitEdgeline 181 - theorem
OAI.MaxCutGames.Decoder.TableKeysGame.explicitEdge_eq_renameline 188 - def
OAI.MaxCutGames.Decoder.TableKeysGame.outputInstanceWithEnumerationline 196Source documentation
Executable finite output, still allowing loops and parallel occurrences.
def outputInstanceWithEnumeration (S : Source) (k : Nat) {s d : Nat} (g : SplitGadget s d) (en : NoiseEnumeration g) : Instance (2^s) where … - theorem
OAI.MaxCutGames.Decoder.TableKeysGame.outputInstanceWithEnumeration_lengthline 209 - theorem
OAI.MaxCutGames.Decoder.TableKeysGame.explicitConstraints_perm_renamedline 216 - theorem
OAI.MaxCutGames.Decoder.TableKeysGame.completeAt_outputInstanceWithEnumeration_iffline 225 - theorem
OAI.MaxCutGames.Decoder.TableKeysGame.soundAt_outputInstanceWithEnumeration_iffline 233 - def
OAI.MaxCutGames.Decoder.TableKeysRestoration.extendedLabelline 265 - theorem
OAI.MaxCutGames.Decoder.TableKeysRestoration.extendedLabel_actualline 269 - def
OAI.MaxCutGames.Decoder.TableKeysRestoration.restoredDataline 276Source documentation
Restore the full affine intercept after labeling the orbit body.
def restoredData (can : Q → Ambient s d × T) (label : ActualOrbit.Vertex can → Alphabet s) (D : Ambient s d × T) : Alphabet s := … - theorem
OAI.MaxCutGames.Decoder.TableKeysRestoration.restoredData_actualline 280 - theorem
OAI.MaxCutGames.Decoder.TableKeysRestoration.restoredData_shiftline 287 - def
OAI.MaxCutGames.Decoder.TableKeysRestoration.keyAnswerline 296Source documentation
The actual verifier labeling, viewed as a function of exact affine keys.
def keyAnswer (S : Source) (k s d : Nat) (labeling : Fin (TableKeysGame.vertexCount S k s d) → Fin (2^s)) (D : TableKeys.Key k (Fin S.«variables») (Fin S.occurrences) (Ambient s d)) : Alphabet s := …Mentions: OAI.MaxCutGames.Decoder.TableKeysGame.vertexCount, OAI.MaxCutGames.Decoder.TableKeys.Key
- theorem
OAI.MaxCutGames.Decoder.TableKeysRestoration.keyAnswer_actualline 302 - theorem
OAI.MaxCutGames.Decoder.TableKeysRestoration.keyAnswer_shiftline 309 - def
OAI.MaxCutGames.Decoder.TableKeysRestoration.projectedAnswerline 316 - theorem
OAI.MaxCutGames.Decoder.TableKeysRestoration.projectedAnswer_pullbackline 326Source documentation
No extra consistency predicate: projected answers equal full-query answers for every table and every compatible hidden extension.
theorem projectedAnswer_pullback (S : Source) (k s d : Nat) (labeling : Fin (TableKeysGame.vertexCount S k s d) → Fin (2^s)) (J : Finset (Fin k)) (occ : Fin k → Fin S.occurrences) (slot : Fin k → PartnerProjection.Slot) (Y : RawPartnerTarget.RawPoint J →ₗ[F2] Ambient s d) : projectedAnswer S k s d labeling J (RawPrivateTable.supported J (ActualGame.names S) occ slot) Y = TableKeysGame.unfolded S k s d labeling (occ, Y.comp (RawPrivateTable.projection J (ActualGame.rhs S) occ slot)) := by …Mentions: OAI.MaxCutGames.Decoder.TableKeysGame.vertexCount, OAI.MaxCutGames.Decoder.TableKeysRestoration.projectedAnswer, OAI.MaxCutGames.Decoder.TableKeysGame.unfolded
- theorem
OAI.MaxCutGames.Decoder.TableKeysRestoration.projectedAnswer_foldline 342Source documentation
The visible table has the exact same affine folding law, with its genuine homogeneous coordinate rather than an assumed or reconstructed first bit.
theorem projectedAnswer_fold (S : Source) (k s d : Nat) (labeling : Fin (TableKeysGame.vertexCount S k s d) → Fin (2^s)) (J : Finset (Fin k)) (O : RawPrivateTable.SupportedV J (ActualGame.names S)) (Y : RawPartnerTarget.RawPoint J →ₗ[F2] Ambient s d) (c : Alphabet s) : projectedAnswer S k s d labeling J O (Y + (TableKeys.visibleTau J).smulRight (c, (0 : Vector d))) = projectedAnswer S k s d labeling J O Y + c := by …Mentions: OAI.MaxCutGames.Decoder.TableKeysGame.vertexCount, OAI.MaxCutGames.Decoder.TableKeysRestoration.projectedAnswer, OAI.MaxCutGames.Decoder.TableKeys.visibleTau
- theorem
OAI.MaxCutGames.Decoder.TableKeysPrivateRow.assemble_prod_shiftline 376 - def
OAI.MaxCutGames.Decoder.TableKeysPrivateRow.rowAnswerline 393Source documentation
The right player's actual private table, formed from visible row advice.
def rowAnswer (S : Source) (labeling : Fin (TableKeysGame.vertexCount S k s d) → Fin (2^s)) (J : Finset (Fin k)) (Q : RawPrivateTable.SupportedV J (ActualGame.names S)) (A : Alphabet s →ₗ[F2] R) (rows : AdviceFibers.ObservedRow (E := RawPartnerTarget.RawPoint J) A) …Mentions: OAI.MaxCutGames.Decoder.TableKeysGame.vertexCount, OAI.MaxCutGames.Decoder.AdviceFibers.ObservedRow
- theorem
OAI.MaxCutGames.Decoder.TableKeysPrivateRow.rowAnswer_foldline 405Source documentation
Folding on the hidden kernel is a consequence of the exact key action.
theorem rowAnswer_fold (S : Source) (labeling : Fin (TableKeysGame.vertexCount S k s d) → Fin (2^s)) (J : Finset (Fin k)) (Q : RawPrivateTable.SupportedV J (ActualGame.names S)) (A : Alphabet s →ₗ[F2] R) (rows : AdviceFibers.ObservedRow (E := RawPartnerTarget.RawPoint J) A) …Mentions: OAI.MaxCutGames.Decoder.TableKeysGame.vertexCount, OAI.MaxCutGames.Decoder.AdviceFibers.ObservedRow
- theorem
OAI.MaxCutGames.Decoder.TableKeysPrivateRow.rowAnswer_actualline 419Source documentation
At the actual hidden matrix this row table is exactly the projected table used by the verifier, with the same complement and the same complete key.
theorem rowAnswer_actual (S : Source) (labeling : Fin (TableKeysGame.vertexCount S k s d) → Fin (2^s)) (J : Finset (Fin k)) (Q : RawPrivateTable.SupportedV J (ActualGame.names S)) (A : Alphabet s →ₗ[F2] R) (M : RawPartnerTarget.RawPoint J →ₗ[F2] Alphabet s) (T : RawPartnerTarget.RawPoint J →ₗ[F2] Vector d) : rowAnswer S labeling J Q A (AdviceFibers.observe A M) T (AdviceFibers.hiddenCoordinate A M) = TableKeysRestoration.projectedAnswer S k s d labeling J Q (M.prod T) := by …Mentions: OAI.MaxCutGames.Decoder.TableKeysGame.vertexCount, OAI.MaxCutGames.Decoder.TableKeysPrivateRow.rowAnswer, OAI.MaxCutGames.Decoder.AdviceFibers.observe, OAI.MaxCutGames.Decoder.AdviceFibers.hiddenCoordinate, OAI.MaxCutGames.Decoder.TableKeysRestoration.projectedAnswer
- def
OAI.MaxCutGames.Decoder.TableKeysPrivateRow.targetInterceptline 436Source documentation
This intercept is determined once the visible base and affine witness are fixed; it is not silently erased when decoding from a row fiber.
def targetIntercept (J : Finset (Fin k)) (A : Alphabet s →ₗ[F2] R) (rows : AdviceFibers.ObservedRow (E := RawPartnerTarget.RawPoint J) A) … - theorem
OAI.MaxCutGames.Decoder.TableKeysPrivateRow.affine_target_on_rowline 441