OAI/Computability/UniqueGames/Decoding/IncidenceGap.lean
27 declarations, 0 contain sorry, 0 declared as axioms
The weighted equation-versus-variable game for a three-variable parity system. An occurrence is sampled with its given weight and one of its three positions is sampled uniformly. Alice sees the occurrence and Bob sees only the variable name. Distinct positions make the predicate a partial projection. The loss of a factor of three in the gap is proved directly by counting the three positions. No PCP hardness statement or parallel-repetition bound is a premise here.
- def
OAI.UniqueGamesTheorem.Clean.IncidenceGap.slotLawline 39Source documentation
Independent occurrence and uniform retained-position sampling.
def slotLaw (ω : FiniteDistribution O) : FiniteDistribution (O × Fin 3) := …
- theorem
OAI.UniqueGamesTheorem.Clean.IncidenceGap.slotLaw_weightline 42 - def
OAI.UniqueGamesTheorem.Clean.IncidenceGap.incidenceLawline 47Source documentation
The retained position is internal; the actual right question is its name.
def incidenceLaw (g : Incidence O N) (ω : FiniteDistribution O) : FiniteDistribution (O × N) := … - def
OAI.UniqueGamesTheorem.Clean.IncidenceGap.gameline 51 - theorem
OAI.UniqueGamesTheorem.Clean.IncidenceGap.game_accepts_iffline 56 - theorem
OAI.UniqueGamesTheorem.Clean.IncidenceGap.game_isProjectionline 62 - def
OAI.UniqueGamesTheorem.Clean.IncidenceGap.paritySuccessline 73Source documentation
The actual weighted satisfaction probability of the parity equations.
def paritySuccess (g : Incidence O N) (ω : FiniteDistribution O) (b : N → Bool) : ℝ := …
- def
OAI.UniqueGamesTheorem.Clean.IncidenceGap.parityValueline 77Source documentation
The attained optimum over all assignments to the names.
def parityValue (g : Incidence O N) (ω : FiniteDistribution O) : ℝ := by …
- theorem
OAI.UniqueGamesTheorem.Clean.IncidenceGap.paritySuccess_le_parityValueline 81 - theorem
OAI.UniqueGamesTheorem.Clean.IncidenceGap.local_count_boundline 88Source documentation
If Bob violates the equation, at most two of Alice's three coordinates can agree with him while satisfying the required parity.
theorem local_count_bound (a b : Triple) (rhs : Bool) : (∑ i : Fin 3, if xorTriple a = rhs ∧ a i = b i then (1 : ℝ) else 0) ≤ 2 + if xorTriple b = rhs then (1 : ℝ) else 0 := by … - theorem
OAI.UniqueGamesTheorem.Clean.IncidenceGap.game_success_eq_slot_averageline 101 - theorem
OAI.UniqueGamesTheorem.Clean.IncidenceGap.game_success_honest_eq_paritySuccessline 123Source documentation
The assignment itself supplies both local answer functions. Its incidence success equals its parity satisfaction probability exactly.
theorem game_success_honest_eq_paritySuccess (g : Incidence O N) (ω : FiniteDistribution O) (distinct : ∀ o i j, g.name o i = g.name o j → i = j) (b : N → Bool) : (game g ω).success ((fun o i => b (g.name o i)), b) = paritySuccess g ω b := by …Mentions: OAI.UniqueGamesTheorem.Clean.IncidenceGap.game, OAI.UniqueGamesTheorem.Clean.IncidenceGap.paritySuccess
- theorem
OAI.UniqueGamesTheorem.Clean.IncidenceGap.parityValue_le_game_valueline 136 - theorem
OAI.UniqueGamesTheorem.Clean.IncidenceGap.game_success_le_two_add_parity_thirdline 147 - theorem
OAI.UniqueGamesTheorem.Clean.IncidenceGap.game_value_le_one_sub_thirdline 168 - theorem
OAI.UniqueGamesTheorem.Clean.IncidenceGap.game_value_le_one_sub_gap_thirdline 178 - theorem
OAI.UniqueGamesTheorem.Clean.IncidenceGap.game_value_le_fourteen_fifteenthsline 188 - def
OAI.UniqueGamesTheorem.Clean.IncidenceGap.satisfyingTripleline 197Source documentation
Two bits encode the four satisfying answers for an occurrence.
def satisfyingTriple (rhs : Bool) (a : Bool × Bool) : Triple := …
- theorem
OAI.UniqueGamesTheorem.Clean.IncidenceGap.satisfyingTriple_validline 200 - theorem
OAI.UniqueGamesTheorem.Clean.IncidenceGap.satisfyingTriple_of_validline 205 - def
OAI.UniqueGamesTheorem.Clean.IncidenceGap.fourAnswerGameline 216 - theorem
OAI.UniqueGamesTheorem.Clean.IncidenceGap.four_answer_cardline 221 - theorem
OAI.UniqueGamesTheorem.Clean.IncidenceGap.fourAnswerGame_isProjectionline 223 - theorem
OAI.UniqueGamesTheorem.Clean.IncidenceGap.fourAnswerGame_accepts_encodeline 230 - theorem
OAI.UniqueGamesTheorem.Clean.IncidenceGap.fourAnswerGame_value_eqline 244Source documentation
Rejecting invalid ambient triples does not change the optimum. Both directions transport local answer functions; no extra question is revealed.
theorem fourAnswerGame_value_eq (g : Incidence O N) (ω : FiniteDistribution O) : (fourAnswerGame g ω).value = (game g ω).value := by …Mentions: OAI.UniqueGamesTheorem.Clean.IncidenceGap.fourAnswerGame, OAI.UniqueGamesTheorem.Clean.IncidenceGap.game
- theorem
OAI.UniqueGamesTheorem.Clean.IncidenceGap.fourAnswerGame_value_le_one_sub_thirdline 262 - theorem
OAI.UniqueGamesTheorem.Clean.IncidenceGap.fourAnswerGame_value_le_fourteen_fifteenthsline 269