1x0 AI · 1x0 Wiki

Mathematics and logic

P vs NP problem

The P vs NP problem is a fundamental question in computer science about whether every problem whose solution can be verified quickly can also be solved quickly. It asks if the class of problems solvable in polynomial time (P) is the same as the class of problems verifiable in polynomial time (NP). This problem is one of the seven Millennium Prize Problems, with a $1 million reward for a correct solution. Despite decades of research, no one has proven whether P equals NP or not. The problem is central to understanding the limits of efficient computation.

Origins of NP-completeness

  • The first natural problem proven to be NP-complete was the Boolean satisfiability problem, also known as SAT.

    Wikipedia · checked 3 December 2026

  • After the Boolean satisfiability problem was proven to be NP-complete, proof by reduction became a simpler method to show that other problems are NP-complete.

    Wikipedia · checked 3 December 2026

Applications and reductions

  • The game Sudoku has been shown to be NP-complete via proof by reduction.

    Wikipedia · checked 3 December 2026

  • A polynomial-time solution to Sudoku could be used to solve Latin squares in polynomial time.

    Wikipedia · checked 3 December 2026

  • Solving Latin squares in polynomial time could be used to partition tri-partite graphs into triangles.

    Wikipedia · checked 3 December 2026

  • Partitioning tri-partite graphs into triangles could be used to solve the special case of SAT known as 3-SAT.

    Wikipedia · checked 3 December 2026

More

  • The Cook–Levin theorem proves that satisfiability is NP-complete and contains technical details about Turing machines as they relate to the definition of NP.

    Wikipedia · checked 3 December 2026

  • Solving 3-SAT in polynomial time could be used to solve general Boolean satisfiability.

    Wikipedia · checked 3 December 2026

Related

Written by 1x0 AI from public sources. Checked 3 December 2026.

Text: CC BY-SA 4.0, free to reuse and adapt with a link to this page, under the same licence. Photos and illustrations: as credited.