Perfect completeness and perfect soundness for MA and AM #
Two-sided bounded error (2 / 3, 1 / 3) in MA and AM (Cslib.Complexity.MA,
Cslib.Complexity.AM) can be replaced by perfect completeness (1) and soundness error 1 / 2
without changing either class (Goldreich, Chapter 6, Footnote 7 and
Exercise 6.12; Goldreich, Exercises 9.8(2) and 9.9;
Fürer, Goldreich, Mansour, Sipser and Zachos):
MAOne(Cslib.Complexity.MAOne) andAMOne(Cslib.Complexity.AMOne) require some proof (inMAOne) or every random string (inAMOne) to be accepted with probability1on members, and at most half of the random strings to be accepted (or to have an accepted reply) on non-members.- Two independent trials (
r = 1inmerlinArthurRepeatandarthurMerlinRepeat, where a strict majority of2trials requires both to accept) reduce soundness error from1 / 2to1 / 4 ≤ 1 / 3while keeping completeness1, givingMAOne ⊆ MAandAMOne ⊆ AM. - Conversely, amplifying a verifier in
MAorAMto error2 ^ (-e(n))withe(n) = k(n) = 12 p(n) + 1and applyingsigmaTwoVerifierorpiTwoVerifier(CslibFrontier.Computability.Complexity.Classes.ArthurMerlin.PH) gives perfect completeness by Lautemann's covering lemma and soundness error at most1 / 2by the union-bound cardinality estimatesCslib.BitString.two_mul_card_filter_exists_add_mem_leandCslib.BitString.two_mul_card_filter_exists_forall_add_mem_le, yieldingMA = MAOneandAM = AMOne.
By contrast, requiring perfect soundness (0 acceptance on non-members) and completeness 1 / 2
on members defines MAZero (Cslib.Complexity.MAZero, written MA^{(1)} in
Goldreich, Exercise 6.12(1)), which collapses to NP: any accepted pair of a
proof and a random string is a deterministic certificate (MAZero = NP).
Main definitions #
Cslib.Complexity.IsMerlinArthurZeroVerifier,Cslib.Complexity.MAZero: completeness1 / 2and perfect soundness (0).Cslib.Complexity.IsMerlinArthurOneVerifier,Cslib.Complexity.MAOne: perfect completeness (1) and soundness error1 / 2for Merlin–Arthur verifiers.Cslib.Complexity.IsArthurMerlinOneVerifier,Cslib.Complexity.AMOne: perfect completeness (1) and soundness error1 / 2for Arthur–Merlin verifiers.
Main results #
Cslib.Complexity.MAZero_eq_NP:MAZero enc = NP enc(Goldreich, Exercise 6.12(1)).Cslib.Complexity.ArthurMerlin.isMerlinArthurOneVerifier_sigmaTwoVerifier,Cslib.Complexity.MA_eq_MAOne:MA enc = MAOne enc(Goldreich, Exercise 6.12(2); Goldreich, Exercise 9.9 atf ≡ 1).Cslib.Complexity.ArthurMerlin.isArthurMerlinOneVerifier_piTwoVerifier,Cslib.Complexity.AM_eq_AMOne:AM enc = AMOne enc(two-message constant-round milestone of Goldreich, Exercise 9.8(2)).Cslib.Complexity.MAOne_subset_AMOne:MAOne enc ⊆ AMOne enc.Cslib.Complexity.IsArthurMerlinOneVerifier.arthurMerlinRepeat_one_perfect: two parallel trials keep perfect completeness and have soundness error1 / 4.
References #
- O. Goldreich, Computational Complexity: A Conceptual Perspective, Draft
r3.pdf, Exercise 6.12 - O. Goldreich, Computational Complexity: A Conceptual Perspective, Draft
r5.pdf, Exercises 9.8 and 9.9 - L. Babai, Trading group theory for randomness
- L. Babai, S. Moran, Arthur–Merlin games: a randomized proof system, and a hierarchy of complexity classes
- C. Lautemann, BPP and the polynomial hierarchy
Perfect soundness for MA: MA^{(1)} = NP #
V is a Merlin–Arthur verifier for A with completeness 1 / 2 and perfect soundness (0),
the class MA^{(1)} of Goldreich, Exercise 6.12(1), 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 is accepted on at least half of the random strings r; on a non-member every
proof and random string are rejected.
The problems with polynomial-time Merlin–Arthur verifiers with completeness 1 / 2 and
soundness error 0 (MA^{(1)} in Goldreich, Exercise 6.12(1)).
A Merlin–Arthur verifier with completeness 1 / 2 and perfect soundness is a deterministic
NP verifier when the proof and random string are read together as one certificate of length
q + p.
A deterministic NP verifier is a Merlin–Arthur verifier with completeness 1 / 2 and
perfect soundness that flips no coins.
MA^{(1)} = NP Goldreich, Exercise 6.12(1): Merlin–Arthur proof
systems with completeness 1 / 2 and perfect soundness (0) characterize NP.
Perfect completeness for MA and AM: definitions and two-trial reduction #
V is a Merlin–Arthur verifier for A with perfect completeness (1) and soundness error
1 / 2 (Goldreich, Chapter 6, Footnote 7 and Exercise 6.12(2)), 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 is accepted on every random string r,
V (a, y ++ r) = true; on a non-member every proof is accepted on at most half of the random
strings.
The problems with polynomial-time Merlin–Arthur verifiers with perfect completeness and
soundness error 1 / 2 (MA in Goldreich, Chapter 6, Footnote 7).
V is an Arthur–Merlin verifier for A with perfect completeness (1) and soundness error
1 / 2 (Goldreich, Exercise 9.8(2); Fürer, Goldreich, Mansour, Sipser and
Zachos), with random strings of length p and replies of length q, both evaluated at the length
of the encoded instance: on a member a every random string r has a reply y with
V (a, r ++ y) = true; on a non-member at most half of the random strings have one.
The problems with polynomial-time Arthur–Merlin verifiers with perfect completeness and
soundness error 1 / 2 (Goldreich, Exercise 9.8(2); Fürer, Goldreich,
Mansour, Sipser and Zachos).
Repeating a perfectly complete Merlin–Arthur verifier twice (r = 1) reduces its soundness
error from 1 / 2 to 1 / 4 ≤ 1 / 3.
Repeating a perfectly complete Arthur–Merlin verifier twice in parallel (r = 1), accepting
when both copies accept, keeps perfect completeness and reduces the soundness error from 1 / 2 to
1 / 4 ≤ 1 / 3, on every input separately: on a member every random string has an accepted reply,
and on a non-member at least two thirds of the random strings have none.
Repeating a perfectly complete Arthur–Merlin verifier twice in parallel (r = 1) reduces its
soundness error from 1 / 2 to 1 / 4 ≤ 1 / 3.
Perfect completeness for MA via Lautemann's shifts
(Goldreich, Exercise 6.12(2);
Goldreich, Exercise 9.9): if W is a Merlin–Arthur verifier for A with
error at most 2 ^ (-e(n)) and random strings of p(n) bits, and k(n) shifts satisfy
p(n) < e(n) k(n) and 2 k(n) ≤ 2 ^ e(n), then sigmaTwoVerifier enc q k p W is a perfectly
complete Merlin–Arthur verifier for A with soundness error 1 / 2.
Perfect completeness for AM via Lautemann's shifts
(Goldreich, Exercise 9.8(2); Fürer, Goldreich, Mansour, Sipser and Zachos):
if W is an Arthur–Merlin verifier for A with error at most 2 ^ (-e(n)), random strings of
p(n) bits and replies of q(n) bits, and k(n) shifts satisfy p(n) < e(n) k(n) and
k(n) < 2 ^ e(n), then piTwoVerifier enc k p q W is a perfectly complete Arthur–Merlin verifier
for A with soundness error 1 / 2.
MA ⊆ MAOne (Goldreich, Exercise 6.12(2);
Goldreich, Exercise 9.9 at f ≡ 1): amplify a Merlin–Arthur verifier and
attach Lautemann's shifts to Merlin's proof.
MA = MAOne (Goldreich, Exercise 6.12(2);
Goldreich, Exercise 9.9 at f ≡ 1): two-sided bounded error
(2 / 3, 1 / 3) and perfect completeness (1, 1 / 2) define the same class MA.
AM ⊆ AMOne (Goldreich, Exercise 9.8(2); Fürer, Goldreich,
Mansour, Sipser and Zachos): amplify an Arthur–Merlin verifier and have Arthur send k random
strings while Merlin replies with one shift and k replies.
AM = AMOne (two-message constant-round milestone of
Goldreich, Exercise 9.8(2); Fürer, Goldreich, Mansour, Sipser and Zachos):
two-sided bounded error (2 / 3, 1 / 3) and perfect completeness (1, 1 / 2) define the same
class AM.