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.
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.
Applications and reductions
The game Sudoku has been shown to be NP-complete via proof by reduction.
A polynomial-time solution to Sudoku could be used to solve Latin squares in polynomial time.
Solving Latin squares in polynomial time could be used to partition tri-partite graphs into triangles.
Partitioning tri-partite graphs into triangles could be used to solve the special case of SAT known as 3-SAT.
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.
Solving 3-SAT in polynomial time could be used to solve general Boolean satisfiability.
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.