← Unknownpedia : voir sur la carte
Is checking a solution as hard as finding it?
Open question
This is the “P versus NP” problem, the central question of complexity theory.
Draft written with an AI (Claude). The references exist, checked in OpenAlex; the text has not yet been reviewed by a specialist. Who writes what
Specialist in this field? Review this fiche (5 min) — Your name and ORCID appear on the reviewed fiche.
Automatic check: 2 point(s) for a human to verify. See the report
What we know
- A problem is in P if a computer can solve it in reasonable time, even as the data grow. It is in NP if, when someone proposes a solution, you can check it quickly.
- Every problem in P is in NP: what we can solve fast we can check fast.
- Thousands of useful problems are in NP (planning routes, filling a timetable, packing objects into the fewest boxes), and for many of them nobody knows a fast algorithm.
- Most specialists think P is different from NP, without having proved it.
What we don't know
- Whether P equals NP or not. Nobody has proved either. The Clay Institute offers a million dollars to whoever does: it is one of the Millennium Prize problems.
Why it's hard
- Proving that a problem cannot be solved quickly means reasoning about all possible programs, including ones nobody has imagined yet.
- Results show that several families of proof techniques cannot be enough to settle it. New methods must be invented.
Why it matters
If P equalled NP with a practical algorithm, much of today's cryptography would be broken. In the other case, we would know that for thousands of problems no trick will give a fast algorithm.
Where to start
- Complexity theory, a branch of theoretical computer science and mathematics.
- A first step: understand why checking a sudoku grid is easy while solving this kind of problem in general is not.
- Read the official description of the problem on the Clay Institute site, below.
Going further
The P versus NP problem is a major unsolved problem in theoretical computer science. Informally, it asks whether every decision problem for which a proposed positive answer can be quickly verified can also be quickly solved.
Excerpt from the Wikipedia article “P versus NP problem” (CC BY-SA licence).
- The status of the P versus NP problem
Lance Fortnow, 2009 - P vs NP, description officielle du problème
Clay Mathematics Institute