Private-coin interactive games with a fixed pattern of moves #
The interactive proofs with a constant number of rounds of
Goldwasser and Sipser, in the form of IP[k] in
Arora and Barak, Definition 8.6. A move is IPMove.verifier (the verifier sends a
message computed from its private coins) or IPMove.prover (the prover sends a message). A shape
List (IPMove × ℕ) lists the moves with their lengths, and a polynomial shape evaluates to a
shape at the length n of the encoded instance (Cslib.Complexity.IPGame.evalShape).
The verifier is deterministic given its coins: a pair of polynomial-time functions, the message
msg (a, c, j, p) at its move number j after the transcript p with coins c, and the
decision dec (a, c, t) on the whole transcript t. The coins are ρ(n) bits and the prover
never sees them. A message is read as a string of the length of its move
(Cslib.BitString.ofList), so every verifier respects the shape.
The value of a game is counted exactly, as for public-coin games
(Cslib.Complexity.AMGame.count). Cslib.Complexity.IPGame.count sums over the verifier's
messages and takes the maximum over the prover's messages. At a complete transcript the payoff
Cslib.Complexity.IPGame.acceptedCoins counts the coins that agree with every verifier message of
the transcript (Cslib.Complexity.IPGame.agrees) and accept it. The resulting
Cslib.Complexity.IPGame.bestCount is the number of coins accepted against an optimal prover:
every deterministic prover P, which sees the move number and the transcript so far, is accepted
on at most bestCount coin strings (Cslib.Complexity.IPGame.card_filter_run_le_bestCount), and
some prover attains it (Cslib.Complexity.IPGame.exists_card_filter_run_eq_bestCount). So the
count agrees with the definition of IP[k] by acceptance probabilities against all provers
(Cslib.Complexity.isIPGameVerifier_iff_provers). Randomized provers do no better than the best
deterministic one, so they are not modelled.
A problem A is in IPGameClass enc π when some polynomial shape with move pattern π, some
polynomial ρ and some polynomial-time verifier accept at least two thirds of the coin strings on
members against an optimal prover, and at most one third on non-members. IPk enc k is the
alternating pattern of k moves, the verifier first. A public-coin verifier is a private-coin
verifier that sends its coins as its messages, so AMGameClass π ⊆ IPGameClass π and
AM[k] ⊆ IP[k].
The bookkeeping of shapes shared by the later constructions is here too: how
Cslib.Complexity.IPGame.evalShape, Cslib.Complexity.IPGame.verifierBits,
Cslib.Complexity.IPGame.verifierMoves and Cslib.Complexity.IPGame.count behave on
concatenations, and the bound Cslib.Complexity.IPGame.count_le_two_pow of a count of a
0/1-valued payoff.
Main definitions #
Cslib.Complexity.IPMove,Cslib.Complexity.IPGame.count,Cslib.Complexity.IPGame.agrees,Cslib.Complexity.IPGame.run,Cslib.Complexity.IPGame.acceptedCoins,Cslib.Complexity.IPGame.bestCount,Cslib.Complexity.IPGame.countAt,Cslib.Complexity.IPGame.verifierMoves.Cslib.Complexity.IsIPGameVerifier,Cslib.Complexity.IPGameClass,Cslib.Complexity.IPk:IP[k].
Main results #
Cslib.Complexity.IPGame.card_filter_run_le_bestCount,Cslib.Complexity.IPGame.exists_card_filter_run_eq_bestCount: the count is the maximum over deterministic provers.Cslib.Complexity.isIPGameVerifier_iff_provers: the class in terms of provers.Cslib.Complexity.AMGameClass_subset_IPGameClass,Cslib.Complexity.AMk_subset_IPk: public coins are private coins.
Parallel repetition is in CslibFrontier.Computability.Complexity.Classes.IP.Games.Repetition.
References #
The public-coin move with the same speaker: the verifier is Arthur, the prover is Merlin.
The public-coin move pattern with the same speakers.
Verifiers with private coins #
The run depends only on the prover's answers from move j on, after extensions of p.
The count bounds every prover, from move j after the transcript p, for the coins in
S. The coins in S are those consistent with p, and D c t is the decision on the rest t
of the transcript.
Accepted coins #
The count bounds every prover: against every deterministic prover P, at most
bestCount msg dec g coins accept.
The count of a private-coin game verifier on the instance a: the number of coin strings of
ρ(n) bits that an optimal prover makes accept, where n is the length of the encoded instance.
The verifier sends msg (a, c, j, p) at its move j after the transcript p, with coins c,
and finally accepts the transcript t when dec (a, c, t).
(msg, dec) is a private-coin game verifier for A with the polynomial shape G and
ρ(n) coins: on a member an optimal prover is accepted on at least two thirds of the coin
strings, and on a non-member on at most one third of them, whatever the prover does.
The input of a verifier's message function: the instance, the coins, the move number in unary
and the transcript so far, nested to the right. The instance is encoded with enc, the coins and
the transcript as raw bits.
The input of a verifier's decision: the instance, the coins and the whole transcript, nested to
the right. The instance is encoded with enc, the coins and the transcript as raw bits.
The problems with polynomial-time private-coin game verifiers whose moves follow the pattern
π, with polynomially many coins and polynomially long messages, with respect to the encoding
enc of instances Goldwasser and Sipser.
Private-coin game verifiers in terms of provers: on a member some deterministic prover is accepted on at least two thirds of the coin strings, and on a non-member every deterministic prover is accepted on at most one third of them.
Public coins are private coins #
The verifier that sends its coins as Arthur's messages agrees with a transcript exactly when its coins agree with Arthur's messages. The coins used so far are as many as the bits of the transcript so far.
Exactly 2 ^ merlinBits g coin strings agree with Arthur's messages in a transcript: Arthur's
bits are determined, Merlin's are free.
The coins accepting a transcript of the verifier that sends its coins as Arthur's messages
and then runs the public-coin verifier V.
The count of the verifier that sends its coins as Arthur's messages is 2 ^ merlinBits g
times the count of the public-coin game.