Error reduction for MA and AM, MA ⊆ AM, MA ⊆ SBP and existential quantification in AM #
The error 1 / 3 in the definitions of MA and AM (Cslib.Complexity.MA,
Cslib.Complexity.AM) can be made exponentially small by majority votes over independent runs,
as for BPP (Cslib.Complexity.mem_BPP_iff_forall_decidesWithErrorExponent)
Babai, Arora and Barak, Section 8.2. Write n for the length of the
encoded instance.
- For
MA(Cslib.Complexity.merlinArthurRepeat), Arthur keeps Merlin's proof and runs the verifier with it on2 r(n)independent random rows. The proof length does not change, which is what makes the error smaller than2 ^ (-q(n))for proofs ofq(n)bits possible. - For
AM(Cslib.Complexity.arthurMerlinRepeat), Arthur sends2 r(n)random rows at once and Merlin answers each of them. Merlin can answer every row independently, so the amplified acceptance condition is the majority vote of the original one (Cslib.Complexity.exists_arthurMerlinRepeat_ofFn_append_ofFn_iff).
In both cases a majority of 12 e(n) runs errs on at most a 2 ^ (-e(n)) fraction of the random
strings (Cslib.BitString.two_pow_mul_card_filter_card_filter_block_le, from the exponential
moment bound Cslib.card_filter_card_filter_le_le).
With error below 2 ^ (-q(n) - 2) on q(n)-bit proofs, summing over Merlin's 2 ^ q(n) proofs
shows that the number of accepted pairs of a proof and a random string is at least 3 / 4 of the
random strings on members and at most 1 / 4 on non-members, so MA ⊆ SBP
Böhler, Glaßer and Meister.
The containment MA ⊆ AM (Cslib.Complexity.MA_subset_AM) and closure of AM under polynomially
bounded existential quantification (Cslib.Complexity.mem_AM_of_exists) Babai follow
from the round collapse in
CslibFrontier.Computability.Complexity.Classes.ArthurMerlin.RoundCollapse: MA is the game M A
(Cslib.Complexity.AMGameClass_merlin_arthur, Cslib.Complexity.AMGameClass_subset_AM), and
existential quantification prepends a Merlin move (Cslib.Complexity.mem_AMGameClass_cons_merlin)
to give MAM = AM (Cslib.Complexity.AMGameClass_merlin_arthur_merlin).
Main definitions #
Cslib.Complexity.IsMerlinArthurVerifierWithErrorExponent,Cslib.Complexity.IsArthurMerlinVerifierWithErrorExponent: error at most2 ^ (-e(n)).Cslib.Complexity.merlinArthurRepeat,Cslib.Complexity.arthurMerlinRepeat: majority votes.
Main results #
Cslib.Complexity.IsMerlinArthurVerifier.repeatMajority,Cslib.Complexity.mem_MA_iff_exists_forall_errorExponent: error reduction forMA, with the proof length fixed before the error.Cslib.Complexity.isArthurMerlinVerifierWithErrorExponent_iff_decidesWithErrorExponent,Cslib.Complexity.IsArthurMerlinVerifier.repeatMajority,Cslib.Complexity.mem_AM_iff_forall_errorExponent: error reduction forAM.Cslib.Complexity.MA_subset_AM,Cslib.Complexity.NP_subset_AM,Cslib.Complexity.BPP_subset_AM.Cslib.Complexity.MA_subset_SBP.Cslib.Complexity.mem_AM_of_exists:AMis closed under polynomially bounded existential quantification.
References #
- L. Babai, Trading group theory for randomness
- L. Babai, S. Moran, Arthur–Merlin games: a randomized proof system, and a hierarchy of complexity classes
- E. Böhler, C. Glaßer, D. Meister, Error-bounded probabilistic computations between MA and AM
- S. Arora, B. Barak, Computational Complexity: A Modern Approach
Error reduction for MA #
V is a Merlin–Arthur verifier for A with error at most 2 ^ (-e(n)), with proofs of length
q and random strings of length p, all evaluated at the length n of the encoded instance: on a
member some proof is rejected on at most a 2 ^ (-e(n)) fraction of the random strings; on a
non-member every proof is accepted on at most such a fraction.
The strict majority of 2 r(n) runs of a Merlin–Arthur verifier V on one proof, where n is
the length of the encoded instance: the string is a proof of q(n) bits followed by 2 r(n)
random rows of p(n) bits (Cslib.Complexity.repeatMajority), and V runs on the proof followed
by each row.
Majority votes of a polynomial-time Merlin–Arthur verifier take polynomial time.
Error reduction for MA Babai. The strict majority of 12 e(n) runs of a
Merlin–Arthur verifier with one proof, on independent blocks of random bits, errs on at most a
2 ^ (-e(n)) fraction of the random strings. The proofs keep their length.
Error at most 2 ^ (-e(n)) ≤ 1 / 4 is error at most 1 / 3.
Error reduction for MA Babai: a problem is in MA exactly when, for some
polynomial proof length q and every polynomial e, it has a polynomial-time Merlin–Arthur
verifier with proofs of length q and error at most 2 ^ (-e(n)). The proof length is chosen
before the error, so the error can be made smaller than 2 ^ (-q(n)).
Error reduction for AM #
V is an Arthur–Merlin verifier for A with error at most 2 ^ (-e(n)), with random strings
of length p and replies of length q, all evaluated at the length n of the encoded instance:
on a member at most a 2 ^ (-e(n)) fraction of the random strings have no accepted reply; on a
non-member at most such a fraction have one.
An Arthur–Merlin verifier has error exponent e iff its reply-existence slice decides with
error exponent e.
The strict majority of 2 r(n) parallel runs of an Arthur–Merlin verifier V, where n is the
length of the encoded instance: the string consists of 2 r(n) random rows of p(n) bits followed
by 2 r(n) replies of q(n) bits (Cslib.BitString.listRow), and V runs on each row followed
by its reply. Bits missing from a short string read as false.
Parallel majority votes of a polynomial-time Arthur–Merlin verifier take polynomial time.
Parallel answers. Some replies make a strict majority of the parallel runs accept iff a strict majority of the random rows have an accepted reply each.
Error reduction for AM Babai. The strict majority of 12 e(n) parallel runs
of an Arthur–Merlin verifier, on independent blocks of random bits answered independently, errs on
at most a 2 ^ (-e(n)) fraction of the random strings.
Error at most 2 ^ (-e(n)) ≤ 1 / 4 is error at most 1 / 3.
Error reduction for AM Babai: a problem is in AM exactly when, for every
polynomial e, it has a polynomial-time Arthur–Merlin verifier with error at most
2 ^ (-e(n)).
MA ⊆ AM #
MA ⊆ AM Babai, Arora and Barak, Section 8.2: a special case
of the round collapse (Cslib.Complexity.AMGameClass_merlin_arthur,
Cslib.Complexity.AMGameClass_subset_AM).
MA ⊆ SBP #
MA ⊆ SBP Böhler, Glaßer and Meister. Reduce the error of a
Merlin–Arthur verifier with proofs of q(n) bits below 2 ^ (-q(n) - 2) and count the accepted
pairs of a proof and a random string of P(n) bits: on a member the good proof alone gives at least
3 / 4 ⬝ 2 ^ P(n) of them, and on a non-member all 2 ^ q(n) proofs together give at most
1 / 4 ⬝ 2 ^ P(n). Four times the count is a #P function with threshold 3 ⬝ 2 ^ P(n).
Existential quantification #
AM is closed under existential quantification Babai: if the pairs (a, w)
form a problem in AM, with respect to the encoding of pairs, then so do the instances a for
which some word w of length p(n), n the length of the encoded instance, makes (a, w) a
member. Prepending Merlin's choice of w gives a game of pattern M A M, which collapses to AM
(Cslib.Complexity.mem_AMGameClass_cons_merlin,
Cslib.Complexity.AMGameClass_merlin_arthur_merlin).