Documentation

Complexitylib.SAT.CookLevin.Corollaries

Corollaries of Cook–Levin #

Structural consequences of the NP-completeness of SAT (SAT.NPComplete_language):

Note that languageᶜ is the complement as a set of bit-strings: it contains the encodings of unsatisfiable CNF formulas together with all strings that are not well-formed formula encodings. This is the standard convention — completeness of the complement holds regardless, because the ill-formed strings are polynomial-time recognizable.

The complement of SAT is coNP-complete. Immediate dual of the Cook–Levin theorem NPComplete_language.

SAT is in P iff P = NP. Deciding satisfiability in deterministic polynomial time is equivalent to the collapse of NP to P.

SAT is in coNP iff NP = coNP. A coNP certificate for satisfiability would collapse NP and coNP.