Public-coin Arthur–Merlin games with a fixed pattern of moves #
The Arthur–Merlin games of Babai and Babai and Moran
Arora and Barak, Section 8.2 with any fixed pattern of moves. A move is
AMMove.arthur (Arthur sends fresh random bits) or AMMove.merlin (Merlin sends a message). A
shape List (AMMove × ℕ) lists the moves with their lengths, and a polynomial shape
List (AMMove × Polynomial ℕ) evaluates to a shape at the length n of the encoded instance
(Cslib.Complexity.AMGame.evalShape). The verifier reads the whole transcript, the messages
concatenated in order.
The value of a game is counted exactly, as for MA and AM (Cslib.Complexity.MA,
Cslib.Complexity.AM). Cslib.Complexity.AMGame.count sums over Arthur's random strings and takes
the maximum over Merlin's messages. Divided by 2 ^ B, where B is the number of Arthur's bits
(Cslib.Complexity.AMGame.arthurBits), it is the acceptance probability against an optimal
Merlin. A problem A is in AMGameClass enc π when some polynomial shape with move pattern π and
some polynomial-time verifier have count at least two thirds of 2 ^ B on members and at most one
third on non-members (Cslib.Complexity.IsAMGameVerifier). The alternating patterns give AM[k]
and MA[k] (Cslib.Complexity.AMk, Cslib.Complexity.MAk).
The proofs work with the normalised value Cslib.Complexity.AMGame.value, in ℚ, of a game on a
payoff List Bool → ℚ. Merlin maximises (b = true) or minimises (b = false). The value is
monotone and commutes with nonnegative affine maps, and it composes over concatenated shapes.
The two choices of b are dual (Cslib.Complexity.AMGame.value_one_sub).
Main definitions #
Cslib.Complexity.AMMove,Cslib.Complexity.alternatingMoves.Cslib.Complexity.AMGame.count,Cslib.Complexity.AMGame.arthurBits,Cslib.Complexity.AMGame.value,Cslib.Complexity.AMGame.evalShape.Cslib.Complexity.IsAMGameVerifier,Cslib.Complexity.AMGameClass.Cslib.Complexity.AMk,Cslib.Complexity.MAk:AM[k]andMA[k].
Main results #
Cslib.Complexity.AMGame.count_eq: the count is2 ^ Btimes the value.Cslib.Complexity.AMGameClass_nil,Cslib.Complexity.AMGameClass_arthur,Cslib.Complexity.AMGameClass_merlin: the patterns[],A,MgiveP,BPP,NP(Cslib.Complexity.AMk_zero,Cslib.Complexity.MAk_zero,Cslib.Complexity.AMk_one,Cslib.Complexity.MAk_one).Cslib.Complexity.AMGameClass_arthur_merlin: the patternA MgivesAM(Cslib.Complexity.AMk_two).Cslib.Complexity.AMGameClass_merlin_arthur: the patternM AgivesMA(Cslib.Complexity.MAk_two).Cslib.Complexity.mem_AMGameClass_cons_merlin: existential quantification over polynomially long words prepends a Merlin move.Cslib.Complexity.AMGameClass_insert,Cslib.Complexity.AMGameClass_merge,Cslib.Complexity.AMGameClass_mono: inserting a move, or merging two consecutive moves of the same player, does not shrink the class. So game classes are monotone along sublists of patterns.
The round collapse AM[k] = AM is in
CslibFrontier.Computability.Complexity.Classes.ArthurMerlin.RoundCollapse, and parallel repetition
and error reduction in
CslibFrontier.Computability.Complexity.Classes.ArthurMerlin.Games.Repetition.
References #
A move of a public-coin Arthur–Merlin game.
Instances For
The count of a game shape g with verifier V on transcripts: the number of Arthur's random
strings that an optimal Merlin makes V accept. At an Arthur move of n bits it sums over the
2 ^ n coin strings, and at a Merlin move of n bits it takes the maximum over his 2 ^ n
messages. Each message is prepended to the rest of the transcript, so Merlin's later messages may
depend on all earlier coins.
The value of a game shape g on a payoff f, normalised to a probability. Arthur's moves
average over their coins, and Merlin's moves take the maximum over his messages (b = true) or the
minimum (b = false). With b = true and a 0/1 payoff it is the count divided by
2 ^ arthurBits g (Cslib.Complexity.AMGame.count_eq).
Total transcript length of a polynomial game shape.
V is a game verifier for A with the polynomial shape G, evaluated at the length n of
the encoded instance: on a member an optimal Merlin makes V (a, t) accept for at least two thirds
of Arthur's random strings, and on a non-member for at most one third of them, whatever Merlin
sends.
Padding: game classes are monotone in the move pattern under List.Sublist.
The game A is BPP.
The game M is NP.
The game A M is AM.
The game M A is MA.
Prepending a polynomially bounded existential quantifier over words prepends a Merlin move to a public-coin game.