P vs NP
Compare checking a candidate answer with searching for one. A toy SAT formula shows how one assignment is verified in a few clause checks, while finding a satisfying one may require trying every possibility.
Checking one assignment takes 8 clause checks. Finding a satisfying assignment may require searching all 2⁶ = 64 possibilities. That gap — fast verification versus unknown search time — is the heart of P vs NP. This is a toy instance; real SAT instances have thousands of variables.
What you are seeing
Each row is one truth assignment to the variables. Checking whether it satisfies the formula takes a handful of clause tests.
A satisfying assignment is highlighted. Finding it by brute force means scanning up to 2^n assignments.
The gap between fast checking and (possibly) slow finding is the whole P vs NP question.
Why it matters
P vs NP is a Millennium Prize problem. A proof either way would reshape cryptography, optimisation, and our understanding of what computers can do efficiently.
Complexity & details
Verifying one assignment is O(clauses × clause length). Brute-force search is O(2^n).
Frequently asked questions
What do experts believe?+
Most believe P ≠ NP, meaning some problems are easy to check but hard to solve. But belief is not proof.
What would a proof change?+
If P = NP, many hard problems (scheduling, protein folding, breaking encryption) would become tractable. If P ≠ NP, modern cryptography rests on firmer ground.