The Arthur–Merlin classes MA and AM #
The two-message public-coin proof systems of Babai and
Babai and Moran are defined, like BPP (Cslib.Complexity.BPP), through
deterministic polynomial-time verifiers that read their messages as one string
Arora and Barak, Section 8.2. Write n for the length of the encoded
instance enc a.
- In
MA(Cslib.Complexity.MA) Merlin speaks first: a proofyofq(n)bits, then Arthur flipsp(n)coinsrand accepts whenV (a, y ++ r) = true. On a member some proof is accepted on at least two thirds of the random strings; on a non-member every proof is rejected on at least two thirds of them. - In
AM(Cslib.Complexity.AM) Arthur speaks first: he sends hisp(n)random bitsr, Merlin replies withyofq(n)bits and the verifier accepts whenV (a, r ++ y) = true. On a member, at least two thirds of the random strings admit an accepted reply; on a non-member at least two thirds of them admit none.
As in NP, the lengths are polynomials of n, the messages have exactly these lengths, and the
probabilities are counts of random strings, which are functions Fin (p n) → Bool. Merlin's
messages also range over functions Fin (q n) → Bool, so that the counted condition of AM is
decidable. Games with any fixed pattern of moves, and the round collapse AM[k] = AM, are in
CslibFrontier.Computability.Complexity.Classes.ArthurMerlin.Games and
CslibFrontier.Computability.Complexity.Classes.ArthurMerlin.RoundCollapse. The characterisations
by
interactive machines are not proved.
Both classes contain NP (no coins) and BPP (no proof), and are closed under polynomial-time
many-one reductions. A reduction changes the lengths the verifier expects, so the new verifier
reads only prefixes of the proof and of the random string of the lengths it needs; the ignored
random bits multiply every count by the same power of two
(Cslib.BitString.mul_two_pow_le_mul_card_filter_take).
Error reduction, MA ⊆ AM and MA ⊆ SBP are in
CslibFrontier.Computability.Complexity.Classes.ArthurMerlin.Amplification, and the placements in
the second level of the polynomial hierarchy in
CslibFrontier.Computability.Complexity.Classes.ArthurMerlin.PH.
Main definitions #
Cslib.Complexity.coAMis the class of languages whose complements belong to AM.Cslib.Complexity.IsMerlinArthurVerifier,Cslib.Complexity.MA.Cslib.Complexity.arthurMerlinSlice: reply-existence counting slice of an Arthur–Merlin verifier.Cslib.Complexity.IsArthurMerlinVerifier,Cslib.Complexity.AM.
Main results #
Cslib.Complexity.isArthurMerlinVerifier_iff_decidesWithBoundedError: an Arthur–Merlin verifier is a bounded-error decider when composed with existential quantification over Merlin's reply.Cslib.Complexity.NP_subset_MA,Cslib.Complexity.BPP_subset_MA.Cslib.Complexity.PolyTimeReducible.mem_MA,Cslib.Complexity.PolyTimeReducible.mem_AM: closure under polynomial-time many-one reductions.
References #
Merlin–Arthur #
V is a Merlin–Arthur verifier for A, with proofs of length q and random strings of
length p, both evaluated at the length of the encoded instance: on a member a some proof y
makes at least two thirds of the random strings r accepted, V (a, y ++ r) = true; on a
non-member every proof leaves at least two thirds of the random strings rejected.
Arthur–Merlin #
Whether some reply y of length q(|x.1|) is accepted by V on (x.1, x.2 ++ y).
This is a counting device rather than a polynomial-time verifier: it quantifies over all
2 ^ q(|x.1|) replies, and DecidesWithBoundedError carries no computability requirement.
V is an Arthur–Merlin verifier for A, with random strings of length p and replies of
length q, both evaluated at the length of the encoded instance: on a member a at least two
thirds of the random strings r have a reply y with V (a, r ++ y) = true; on a non-member at
least two thirds of them have none.
The problems with polynomial-time Arthur–Merlin verifiers, with polynomially long random
strings and replies, with respect to the encoding enc of instances
Babai, Babai and Moran.
NP and BPP #
Closure under reductions #
MA is closed under polynomial-time reductions. The verifier runs the verifier of the
target problem on the reduced instance, on the prefix of the proof and the prefix of the random
string of the lengths that it expects.
AM is closed under polynomial-time reductions. The verifier runs the verifier of the
target problem on the reduced instance, on the prefix of the random string and the prefix of the
reply of the lengths that it expects.