MA and AM in the second level of the polynomial hierarchy #
MA ⊆ Σ₂ ∩ Π₂ and AM ⊆ Π₂ Babai, Babai and Moran,
Arora and Barak, Section 8.2, by Lautemann's covering argument
(Lautemann, CslibFrontier.Foundations.Combinatorics.Lautemann), as in the
Sipser–Gács–Lautemann theorem BPP ⊆ Σ₂ ∩ Π₂ (Cslib.Complexity.BPP_subset_SigmaP_two).
Write n for the length of the encoded instance.
First reduce the error to 2 ^ (-e(n)), with random strings of m(n) = 12 e(n) p(n) bits, where
p(n) is the original random-string length; then k(n) = e(n) = 12 p(n) + 1 shifts satisfy
m(n) < e(n) k(n) and k(n) < 2 ^ e(n). For a set S of random strings, with xor as addition:
- if
Smisses at most a2 ^ (-e(n))fraction of the strings, somek(n)shiftsu icarry every stringrintoSfor somei(Cslib.BitString.exists_forall_exists_add_mem_of_two_pow_mul_card_compl_le); - if
Sis at most such a fraction, for allk(n)shifts somerhas everyr + u ioutsideS(Cslib.BitString.exists_forall_add_notMem_of_two_pow_mul_card_le).
For MA ⊆ Σ₂, S is the set of random strings accepted with a proof y, and
a ∈ A ↔ ∃ y u, ∀ r, ∃ i, V (a, y ++ (r + u i)); Merlin's proof and the shifts form one existential
block (Cslib.Complexity.ArthurMerlin.sigmaTwoVerifier). For AM ⊆ Π₂, S is the set of random
strings with an accepted reply, and a ∈ A ↔ ∀ u, ∃ r Y, ∀ i, V (a, (r + u i) ++ Y i); the
random string and the k(n) replies form one existential block
(Cslib.Complexity.ArthurMerlin.piTwoVerifier). MA ⊆ Π₂ follows from MA ⊆ AM.
Main definitions #
Cslib.Complexity.ArthurMerlin.sigmaTwoVerifier: theΣ₂verifier of a Merlin–Arthur verifier.Cslib.Complexity.ArthurMerlin.piTwoVerifier: theΠ₂verifier of an Arthur–Merlin verifier.
Main results #
Cslib.Complexity.ArthurMerlin.isAlternatingVerifier_sigmaTwoVerifier,Cslib.Complexity.ArthurMerlin.isAlternatingVerifier_piTwoVerifier: correctness for verifiers with small error.Cslib.Complexity.MA_subset_SigmaP_two,Cslib.Complexity.AM_subset_PiP_two,Cslib.Complexity.MA_subset_PiP_two,Cslib.Complexity.MA_subset_SigmaP_two_inter_PiP_two.Cslib.Complexity.AM_subset_PH.
References #
The Σ₂ verifier of a Merlin–Arthur verifier #
The Σ₂ verifier of a Merlin–Arthur verifier W with proofs of length q and random strings
of length p, with k shifts, all evaluated at the length of the encoded instance. The existential
block is a proof y followed by k shifts of the random string, the universal block is a random
string r, and the verifier accepts when W accepts the proof with r xor some shift. Bits
missing from a short string read as false (Cslib.BitString.listRow).
The Σ₂ verifier of a polynomial-time Merlin–Arthur verifier takes polynomial time.
On a proof followed by the shifts and then a random string r, the Σ₂ verifier accepts iff
W accepts the proof with r xor some shift.
Merlin–Arthur verifiers in Σ₂. 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 k(n) < 2 ^ e(n), then sigmaTwoVerifier enc q k p W verifies A with an existential block
of q + k p bits, a proof and the shifts, followed by a universal block of p bits.
The Π₂ verifier of an Arthur–Merlin verifier #
The Π₂ verifier of an Arthur–Merlin verifier W with random strings of length p and replies
of length q, with k shifts, all evaluated at the length of the encoded instance. The universal
block is k shifts of the random string, the existential block a random string r followed by
k replies, and the verifier accepts when W accepts r xor each shift with its reply. Bits
missing from a short string read as false (Cslib.BitString.listRow).
The Π₂ verifier of a polynomial-time Arthur–Merlin verifier takes polynomial time.
On the shifts followed by any word v, the Π₂ verifier accepts iff W accepts, for each
shift, the first p(n) bits of v xor the shift with the corresponding reply read from the rest
of v.
Arthur–Merlin verifiers in Π₂. 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 verifies A
with a universal block of k p bits, the shifts, followed by an existential block of p + k q
bits, a random string and the replies.
The number of shifts and the error exponent 12 p + 1 cover random strings of
12 (12 p + 1) p bits.
MA ⊆ Σ₂ Babai, Arora and Barak, Section 8.2: Merlin sends his
proof together with Lautemann's shifts.
AM ⊆ Π₂ Babai, Babai and Moran,
Arora and Barak, Section 8.2: against any of Lautemann's shifts, Merlin exhibits a
random string and replies to all of its shifts.