P vs NP Problem
Updated 2026-07-31
Summary
The first of the seven Millennium Prize Problems in mathematics.
Definition
The first of the seven Millennium Prize Problems in mathematics. - P problems: Problems that a computer can solve in polynomial time (reasonable time), such as multiplication and sorting. - NP problems: Problems whose answers can be verified in polynomial time, such as Sudoku, puzzles, and password cracking. - Core dilemma: Does P equal NP? That is, 'If the answer to a problem is easy to verify, is it also easy to find?' Currently, it is widely believed that P ≠ NP. - Scaffold role: The physical limit of efficiency. - It tells us
Introduction
How to use
The physical limit of efficiency. - It tells us
Mechanism
P-class problems can be 'solved' in polynomial time, while NP-class problems can have their answers 'verified' in polynomial time. The core question is whether P = NP: if true, then all easily verifiable problems are easily solvable (cryptography collapses, optimization becomes universally solvable); if false (mainstream belief), there exists an essential gap between 'easy to verify' and 'hard to solve'. It is the fundamental boundary of computational complexity.
Practice
In progress 0/4Practice this model in one real situation:
Cases
- Sudoku, the traveling salesman problem, and integer programming all belong to NP—verifying a solution is fast, but finding the optimal solution is extremely hard; the security of RSA encryption relies on the hardness of factoring large numbers (NP).
Common pitfalls
- Misinterpreting 'NP' as 'non-polynomial / very hard' (NP means verifiable, not necessarily hard); thinking that P ≠ NP has been proven (it is still an open problem); mistaking heuristic approximations for 'solving P = NP'.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- en.wikipedia.orghttps://en.wikipedia.org/wiki/P_versus_NP_problemverified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS