Proof systems #
A proof system for a set L in the sense of Cook and Reckhow is a function,
computable in polynomial time, from words onto L (Cslib.Complexity.ProofSystem). A word π is
a proof of P π: every word proves a member of L, and every member of L has a proof. A proof
system is polynomially bounded when every member has a proof of length polynomial in its own
length (Cslib.Complexity.ProofSystem.PolynomiallyBounded).
Proof systems are compared by simulation: Q simulates P when every proof for P can be
replaced by a proof for Q of the same member that is at most polynomially longer, and Q
p-simulates P when the replacement is computed in polynomial time. Simulation transfers
polynomial bounds (Cslib.Complexity.ProofSystem.PolynomiallyBounded.of_simulates).
A set with a polynomially bounded proof system is in NP, since a short proof is a certificate
checked by computing the member it proves. Conversely, a nonempty set in NP whose encoding has a
decoder has a polynomially bounded proof system: a proof is an encoded instance followed by a
certificate the verifier accepts, and a proof the verifier rejects proves a fixed member
(Cslib.Complexity.ProofSystem.exists_polynomiallyBounded_iff_mem_NP). Applied to a
coNP-complete set, this is the theorem of Cook and Reckhow: coNP ⊆ NP exactly when that set has
a polynomially bounded proof system. For the unsatisfiable formulas in conjunctive normal form,
which are coNP-complete by the Cook–Levin theorem, this reads: NP = coNP exactly when some
propositional refutation system is polynomially bounded
(Cslib.Complexity.ProofSystem.NP_eq_coNP_iff_exists_polynomiallyBounded).
Proofs are words over Bool, as in [CR79b]. The verifier construction uses a total
decoder: even a malformed word can decode to an instance with an accepted certificate. It proves
that instance when the verifier and certificate-length checks pass, and a fixed member otherwise.
Main definitions #
Cslib.Complexity.ProofSystem: Cook–Reckhow proof systems.Cslib.Complexity.ProofSystem.PolynomiallyBounded: polynomially bounded proof systems.Cslib.Complexity.ProofSystem.Simulates,Cslib.Complexity.ProofSystem.PSimulates: simulation and p-simulation.Cslib.Complexity.ProofSystem.ofVerifier: the proof system of a verifier.
Main results #
Cslib.Complexity.ProofSystem.PSimulates.simulates: p-simulation implies simulation; both are preorders.Cslib.Complexity.ProofSystem.PolynomiallyBounded.of_simulates: a proof system simulating a polynomially bounded one is polynomially bounded.Cslib.Complexity.ProofSystem.exists_polynomiallyBounded_iff_mem_NP: a nonempty set with a decodable encoding has a polynomially bounded proof system exactly when it is inNP.Cslib.Complexity.ProofSystem.coNP_subset_NP_iff_exists_polynomiallyBounded:coNP ⊆ NPexactly when acoNP-complete set has a polynomially bounded proof system.Cslib.Complexity.ProofSystem.NP_eq_coNP_iff_exists_polynomiallyBounded:NP = coNPexactly whenUNSAThas a polynomially bounded proof system ([CR79b]; Goldreich, Theorem B.13).
References #
- S. A. Cook, R. A. Reckhow, The relative efficiency of propositional proof systems
- S. Arora, B. Barak, Computational Complexity: A Modern Approach
- O. Goldreich, Computational Complexity: A Conceptual Perspective, May 2007 draft
r6.pdf, Appendix B.4, Definition B.12 and Theorem B.13 (printed p. 527, PDF p. 19)
A proof system for L [CR79b]: a function, computable in polynomial time, from
words onto L. A word π is a proof of P π; every word proves a member of L, and every member
of L has a proof.
The member of
Lthat a word proves.The member a proof proves is computed in polynomial time.
The proved members are exactly the members of
L.
Instances For
A set with a proof system is nonempty.
Polynomial bounds and simulations #
P is polynomially bounded [CR79b]: for a polynomial p, every member a of
L has a proof of length at most p (enc a).length.
Q simulates P: for a polynomial p, every proof π for P can be replaced by a proof
for Q of the same member, of length at most p π.length.
Q p-simulates P [CR79b]: a function computable in polynomial time translates
every proof for P into a proof for Q of the same member.
Every proof system simulates itself.
Every proof system p-simulates itself.
p-simulation is transitive.
p-simulation implies simulation: a translation computed in polynomial time produces proofs of polynomial length.
Simulation transfers polynomial bounds: a proof system simulating a polynomially bounded proof system is polynomially bounded.
Polynomially bounded proof systems and NP #
A set with a polynomially bounded proof system is in NP: a short proof is a certificate,
checked by computing the member it proves.
The instance a word presents to a verifier: the decoding of its first frame.
The proof system of a verifier V for L, with a default member a₀. Each word is
decoded into an instance and a certificate using the total decoder D, unframe and dropFrame.
It proves the decoded instance if V accepts and the certificate has the prescribed length;
otherwise it proves a₀. A malformed frame can pass these checks.
A framed encoded instance followed by an accepted certificate of the prescribed length proves that instance.
The proof system of a verifier is polynomially bounded: an instance a has a proof of length
2 * (enc a).length + 1 + p (enc a).length.
A set is in NP exactly when it has a polynomially bounded proof system
[CR79b], for nonempty sets whose encoding has a decoder.
The theorem of Cook and Reckhow #
Cook and Reckhow, for coNP-complete sets [CR79b]: coNP ⊆ NP, for problems
with every encoding of their instances, exactly when a nonempty coNP-complete set with a
decodable encoding has a polynomially bounded proof system.
The theorem of Cook and Reckhow ([CR79b];
Goldreich, Appendix B.4, Theorem B.13 with Definition B.12, printed
p. 527 / PDF p. 19), for refutations: NP = coNP, for problems with every encoding of their
instances, exactly when some proof system for the unsatisfiable formulas in conjunctive normal
form is polynomially bounded.
Compared with [Gol07e], which states Theorem B.13 for propositional tautologies and
verifier-style proof systems (Definition B.12): proofs here refute unsatisfiable CNF formulas
(the refutation view adopted later in Appendix B.4), proof systems are Cook–Reckhow
polynomial-time surjections onto the set (ProofSystem), and PolynomiallyBounded bounds a
shortest proof of each member by a polynomial in its encoded length.