PCP(r, q) for promise problems #
A PCP system for a promise problem Q asks for completeness only on the yes-instances and for
soundness only on the no-instances. Instances outside the promise are unconstrained. This is
Definition 9.14 of Goldreich, Computational Complexity: A Conceptual Perspective, draft
r5 (printed pp. 419–420), read in the promise-problem framework of its
Section 2.4.1. Exercise 9.25 uses it for gapCSP. Randomness, query bounds and the polynomial-time
requirement are those of Cslib.Complexity.IsPCPVerifier and Cslib.Complexity.PCP.
Unlike Cslib.Complexity.PromiseP, PromisePCP is defined directly, not through total
completions. A particular promise verifier need not verify any completion: for example, one that
accepts every proof on some instance outside the promise with probability 3/4. This is a fact
about that verifier only; whether the class has a characterization by completions is not
addressed here. The resource bounds apply on every instance, including those outside the promise.
Main definitions #
Cslib.Complexity.IsPromisePCPVerifier: bounds, completeness on yes-instances and soundness on no-instances.Cslib.Complexity.PromisePCP: the promise classPCP(r, q), with constant factors.
Main results #
Cslib.Complexity.isPromisePCPVerifier_ofSet_iff,Cslib.Complexity.ofSet_mem_PromisePCP: on decision problems the notions areCslib.Complexity.IsPCPVerifierandCslib.Complexity.PCP.
V is a verifier for the promise problem Q using at most r n random bits and at most q n
queries on instances whose encoding has length n. Every yes-instance has a proof that is
accepted for every random string. On every no-instance, every proof is accepted for at most half
of the random strings. Nothing is required on instances outside the promise.
At most
r nrandom bits on an instance whose encoding has lengthn.- length_queries_le (a : α) (ρ : List Bool) : ρ.length = V.coins a → (V.queries (a, ρ)).length ≤ q (enc a).length
At most
q nqueries on an instance whose encoding has lengthn. - complete (a : α) : a ∈ Q.yes → ∃ (π : List Bool), ∀ (ρ : List Bool), ρ.length = V.coins a → V.accepts a π ρ = true
Completeness: every yes-instance has a proof accepted for every random string.
- sound (a : α) : a ∈ Q.no → ∀ (π : List Bool), 2 * acceptCount (fun (x : α × List Bool) => V.accepts x.1 π x.2) a (V.coins a) ≤ 2 ^ V.coins a
Soundness: on a no-instance, every proof is accepted for at most half of the random strings.
The class PCP(r, q) of promise problems with respect to the encoding enc of instances:
the promise problems with a polynomial-time verifier using O(r n) random bits and O(q n)
queries on instances whose encoding has length n.
On a decision problem, a promise verifier is a PCP verifier.