Documentation

CslibFrontier.Computability.Complexity.Classes.PCP.Oracle

Probabilistically checkable proofs against a proof oracle #

PCPPoly is the class of problems with an adaptive probabilistically checkable proof of polynomial randomness and polynomially many queries: a strict oracle-PPT verifier (Cslib.Probability.IsOraclePPTOn) queries a proof, a function from query words to bits served by the stateless prover Cslib.Complexity.Prover.ofProof. Some proof is accepted with certainty on every member, and every proof is accepted with probability at most 1 / 2 on every non-member Babai, Fortnow and Lund, Arora and Barak, Section 8.5.

Unlike Cslib.Complexity.PCP, whose verifier is nonadaptive and reads a finite proof string, the verifier here may choose each query from the earlier answers, and can address exponentially many locations for a given input length. This is the oracle model used in step 1 of the combined proof of Theorems 2.3 and 2.4 in Babai, Fortnow and Lund, §2, pp. 5–6. The implication PCPPoly ⊆ MIP₂ (Cslib.Complexity.PCPPoly_subset_MIP₂) is the oracularization of CslibFrontier/Computability/Complexity/Classes/MIP/Oracularization.lean.

Main definitions #

Main results #

References #

@[reducible, inline]
noncomputable abbrev Cslib.Complexity.Prover.ofProof {Operation : Type} (π : List Bool → Bool) :
Prover Operation

The proof oracle of the bit string π : List Bool → Bool, answering every query q by the one-bit word [π q], with no state.

def Cslib.Complexity.PCPPoly {α : Type} (enc : α ↪ List Bool) :
Set (Set α)

Probabilistically checkable proofs with polynomial randomness and queries: the problems with a strict oracle-PPT verifier that accepts some proof with certainty on every member, and every proof with probability at most 1 / 2 on every non-member. A proof is a function from query words to bits, with unrestricted support.

Sequential repetitions against a fixed proof have acceptance probability equal to the corresponding power of the single-run probability.

theorem Cslib.Complexity.mem_PCPPoly_of_inverse_gap {α : Type} {enc : α ↪ List Bool} {A : Set α} {V : α → Probability.WordOracleComp Unit Bool} {k : α → ℕ} (hV : Probability.IsOraclePPTOn enc Turing.MultiTapeTM.encBool V) (hk : Turing.MultiTapeTM.ComputableInPolyTime k enc Turing.MultiTapeTM.encUnary) (hpos : ∀ (a : α), 0 < k a) (hc : ∀ a ∈ A, ∃ (π : List Bool → Bool), acceptProb (V a) (Prover.ofProof π) = 1) (hs : ∀ a ∉ A, ∀ (π : List Bool → Bool), acceptProb (V a) (Prover.ofProof π) ≤ 1 - (↑(k a))⁻¹) :
A ∈ PCPPoly enc

A perfectly complete adaptive proof-oracle verifier whose rejection probability on each nonmember is at least 1 / k a gives membership in PCPPoly. The positive denominator is computed in unary polynomial time, so the verifier can repeat k a times on the same proof.

theorem Cslib.Complexity.PolyTimeReducible.mem_PCPPoly {α β : Type} {encA : α ↪ List Bool} {encB : β ↪ List Bool} {A : Set α} {B : Set β} (hred : PolyTimeReducible encA encB A B) (hB : B ∈ PCPPoly encB) :
A ∈ PCPPoly encA

PCPPoly is closed under polynomial-time reductions.