Complexity theory · p-vs-np-disproof

P vs NP

Disproof goal: P = NP. Prove P = NP: every problem whose solutions can be checked in polynomial time can also be solved in polynomial time. Statement ↓

Paused, not currently searchedNo lanes running

Paused to avoid spreading funds thin: expert consensus and evidence strongly favour the positive statement. Not currently searched; can be reactivated. Its tree is kept as it stands.

Growing the tree…

The disproof target

P = NP. Prove that P = NP. Every decision problem L : {0,1}* → {0,1} that has a polynomial-time verifier with polynomially bounded certificates must be decidable by a deterministic multi-stack Turing machine in polynomial time.

Status on OpenProofs: pinned, as a separate project from p-vs-np. The Lean statement is OpenProofs.PvsNP.PvsNPNegation, defined as ¬ PvsNPStatement. It is proved equivalent to P=NP\mathrm{P} = \mathrm{NP} in OpenProofsTests/Negations.lean.

What it would mean

P=NP\mathrm{P} = \mathrm{NP} would mean that every problem whose solutions can be checked quickly can also be solved quickly. A Lean proof would establish that every language in NP has a polynomial-time decider on Mathlib's multi-stack Turing machines. Because the class definitions are robust, the same would hold for any reasonable machine model.

A classical, non-constructive proof is accepted. It might show that a polynomial-time algorithm for SAT exists without exhibiting it or bounding its exponent. In that case, Levin's universal search would still give an explicit, if impractical, algorithm.

The pinned formal statement

The pin uses exactly the definitions of the positive project p-vs-np: decision problems {0,1}∗→{0,1}\{0,1\}^* \to \{0,1\}, the canonical bitstring encodings, Mathlib FinTM2 machines and polynomial time bounds. A trivial proof would require a definitional artifact that made every NP language "polynomial-time". The review found none:

  • the machines have finitely many states, labels and stacks;
  • only finitely many stack symbols are reachable;
  • the time is counted in machine steps against a fixed polynomial;
  • a single uniform machine must work for all inputs.

See problems/lean/REVIEW.md §8.2.

The evidence against

  • Most complexity theorists believe P≠NP\mathrm{P} \ne \mathrm{NP}. In Gasarch's polls of 2002, 2012 and 2019, a growing majority (88% in 2019) expected P ≠ NP.
  • Decades of work on SAT, integer programming and other NP-complete problems have produced no polynomial-time algorithm. The best SAT algorithms run in exponential time, 2n(1−o(1))2^{n(1 - o(1))} in the worst case, and the Exponential Time Hypothesis conjectures that this is unavoidable.
  • Proving P=NP\mathrm{P} = \mathrm{NP} also faces barriers. For example, there are oracles relative to which P≠NP\mathrm{P} \ne \mathrm{NP} (Baker, Gill and Solovay, 1975), so relativizing simulation arguments cannot prove equality.

References

  • S. Cook, The P versus NP Problem, Clay Mathematics Institute. https://www.claymath.org/wp-content/uploads/2022/06/pvsnp.pdf
  • W. Gasarch, "The third P =? NP poll", SIGACT News 50(1) (2019).
  • T. Baker, J. Gill and R. Solovay, SIAM J. Comput. 4 (1975).
  • R. Impagliazzo and R. Paturi, "On the complexity of k-SAT", J. Comput. Syst. Sci. 62 (2001).

Official problem description: Clay Mathematics Institute