Documentation

CslibFrontier.Computability.Complexity.ProofSystem.Exhaustive

Exhaustive proof systems for coNP sets #

Every nonempty set in coNP whose encoding has a decoder has a proof system, usually not a polynomially bounded one (Cslib.Complexity.ProofSystem.exhaustive). A proof is an encoded instance followed by padding. For the certificate length m that a verifier for the complement prescribes, the proof is checked when m ≤ ⌊log₂ |π|⌋. For a nonempty proof π this says that π has at least 2 ^ m bits. The empty proof passes only with m = 0, with its single empty certificate. When it passes, checking that the complement's verifier rejects every certificate of length m takes time polynomial in the length of the proof.

Main definitions #

Main results #

References #

The exhaustive proof system of a verifier V for the complement of L, with a default member a₀. A word π proves the instance its first frame decodes to when the certificate length m that V prescribes for it satisfies m ≤ ⌊log₂ |π|⌋ and V rejects every certificate of length m; otherwise it proves a₀. A member a of L is proved by its framed encoding followed by 2 ^ m padding bits (exhaustive_frame_append_replicate), so proofs may be exponentially long.

A member a of L is proved by its framed encoding followed by 2 ^ m padding bits, for the certificate length m = p (|enc a|) of the verifier.

theorem Cslib.Complexity.ProofSystem.exhaustive_eq_of_notMem {α : Type} {enc : α ↪ List Bool} {L : Set α} {p : Polynomial ℕ} {V : α × List Bool → Bool} (D : Turing.MultiTapeTM.Decoder enc) (hV : Turing.MultiTapeTM.ComputableInPolyTime V (Turing.MultiTapeTM.encPair enc Turing.MultiTapeTM.encBits) Turing.MultiTapeTM.encBool) (hVL : IsVerifier enc p V Lᶜ) {a₀ : α} (ha₀ : a₀ ∈ L) {π : List Bool} (h : verifierInstance D π ∉ L) :
(exhaustive D hV hVL ha₀).toFun π = a₀

A word whose first frame decodes to an instance outside L proves the default member.

theorem Cslib.Complexity.ProofSystem.nonempty_of_mem_coNP {α : Type} {enc : α ↪ List Bool} {L : Set α} (D : Turing.MultiTapeTM.Decoder enc) (hL : L ∈ coNP enc) (hne : L.Nonempty) :

Every nonempty coNP set with a decodable encoding has a proof system: the exhaustive proof system of a verifier for its complement.