Documentation

CslibFrontier.Computability.PCP.TwoProverGame.SymmetricLinearity

The symmetric linearity game #

In Figure 1 of Natarajan and Vidick (arXiv:1610.03574v1), both players answer a pair of strings in lexicographic order. The verifier assigns roles uniformly at random. The pair player receives two independent uniform strings; the point player receives the selected linearity query together with an independent uniform dummy. The verifier tracks which coordinate carries each answer when sorting the questions.

Main results #

Main definitions #

Private choices for a round of the symmetric linearity game.

  • swapRoles : Bool

    Whether the second player receives the original pair.

  • check : Fin 3

    Which point query and acceptance check the verifier uses.

  • first : Fin n → Bool

    The first string of the original pair before sorting.

  • second : Fin n → Bool

    The second string of the original pair before sorting.

  • dummy : Fin n → Bool

    The point player's independent dummy string.

Instances For

    The five independent choices of a symmetric linearity seed as a product.

    noncomputable def Cslib.PCP.symmetricLinearityGame (n : ℕ) :
    SeededGame (SymmetricLinearitySeed n) ((Fin n → Bool) × (Fin n → Bool)) ((Fin n → Bool) × (Fin n → Bool)) (Bool × Bool) (Bool × Bool)

    The symmetric two-player linearity game. The seed specifies the role assignment, the check, the pair player's two strings and the point player's dummy. The check remains indexed by the sampled choice even when candidate query strings coincide.

    theorem Cslib.PCP.symmetricLinearityGame_accepts_linear {n : ℕ} (seed : SymmetricLinearitySeed n) (f : (Fin n → Bool) →+ Bool) :
    have game := symmetricLinearityGame n; have answer := fun (q : (Fin n → Bool) × (Fin n → Bool)) => (f q.1, f q.2); game.accepts seed (answer (game.query seed).1) (answer (game.query seed).2)

    Evaluating one additive Boolean function at both visible coordinates always passes, for every width and private seed.