The Million-Dollar Question

Is verification inherently easier than discovery? An interactive, math-free scrollytelling journey into the heart of computational complexity.

$

The Millennium Bounty

In 2000, the Clay Mathematics Institute chose seven monumental math problems and placed a $1,000,000 bounty on each. Today, only one has been solved. The most famous, widely discussed, and practically consequential of the remaining six is the P vs NP Problem.

Combination Padlock

Can the computer crack the secret code?

0 0 0 0
> Lock is secure. Waiting for instruction...
The Core Dilemma: Solving vs checking

Checking every possible combination (Brute-Force) scales exponentially and takes a lot of time. But checking a combination that is already typed in (Verifying) happens instantly.

P vs NP asks: Is checking combinations mathematically, fundamentally easier than finding them? Or is there a clever algorithm that can find combinations just as easily as we check them?

1

What is a Turing Machine?

Before modern microchips, Alan Turing designed a theoretical device: an infinitely long strip of paper tape divided into cells, a scanner head that reads/writes symbols, and a table of rules. This simple machine can compute anything a modern supercomputer can do. It defines the boundaries of computational power.

State: 0

Turing Machine Program Table

Below is the machine's program. When a rule matches the Current State and the Read Symbol on the tape, it triggers. Click on cells above to edit symbols manually.

If State is And Read is Write Symbol Move Head Next State
2

P: Easy Problems & Complexity Scaling

How do we define an "easy" problem? We measure how the number of steps grows as the input size (N) grows. If the steps scale as a polynomial equation (like N or ), it belongs to class P (Polynomial Time). If it scales exponentially (like 2N), the computation explodes, becoming impossible to solve.

Adjust Input Size (N): N = 10 elements
Linear Scaling O(N)
0.00 ns

Like searching a list of N names. Easily manageable even with massive datasets.

Quadratic Scaling O(N²)
0.00 ns

Like comparing every item in a list with every other item (sorting). Feasible for ordinary computers.

Exponential Explosion O(2N)
0.00 ns

Like cracking passwords. Scaling up N soon requires more time than the lifetime of the universe.

3

NP: The Verification Sandbox

NP problems are ones where finding a solution is difficult (like finding a password), but verifying a solution is extremely fast and easy (polynomial time).

Try the 3-Coloring puzzle below. Can you color all 9 nodes (circles) in Red, Green, or Blue so that no two connected nodes share a color? Solving is tedious, but verifying is instant.

Nodes Checked: 0
Backtracks: 0
Solver Console
> Click Auto-Solve to visualize backtracking search in real time...

💡 How to play: Click any node on the graph to cycle through colors: Grey (uncolored) ➔ Red ➔ Green ➔ Blue.

4

The Bridge: NP-Completeness & SAT

Are NP problems isolated riddles, or are they related? In 1971, computer scientists proved the **Cook-Levin Theorem**: Any NP problem can be translated (reduced) into a master logic problem called **SAT (Satisfiability)**. If we can find a fast algorithm to solve SAT, we can instantly solve every single problem in NP! Hover over the mini-graph below to see how nodes and edges translate directly into logical rules (clauses).

A B C

Node A Coloring Rules

(ARed ∨ AGreen ∨ ABlue) Node A must be at least one color
(¬ARed ∨ ¬AGreen) ∧ (¬ARed ∨ ¬ABlue) ∧ (¬AGreen ∨ ¬ABlue) Node A cannot have more than one color

Node B Coloring Rules

(BRed ∨ BGreen ∨ BBlue) Node B must be at least one color

Node C Coloring Rules

(CRed ∨ CGreen ∨ CBlue) Node C must be at least one color

Edge A-B Conflict Rules

(¬ARed ∨ ¬BRed) ∧ (¬AGreen ∨ ¬BGreen) ∧ (¬ABlue ∨ ¬BBlue) If Node A is a color, Node B cannot be that same color

Edge B-C Conflict Rules

(¬BRed ∨ ¬CRed) ∧ (¬BGreen ∨ ¬CGreen) ∧ (¬BBlue ∨ ¬CBlue) If Node B is a color, Node C cannot be that same color

Edge C-A Conflict Rules

(¬CRed ∨ ¬ARed) ∧ (¬CGreen ∨ ¬AGreen) ∧ (¬CBlue ∨ ¬ABlue) If Node C is a color, Node A cannot be that same color
5

The Big Split: What if?

If someone solves P vs NP, they will prove either that P = NP or P ≠ NP. These two mathematical realities yield vastly different futures for our world.

World A: P = NP

  • Instant Discovery: Protein folding, cancer drug design, and material physics are solved instantly by computation.
  • No Secrets: All modern cryptography (credit cards, banking, blockchain) collapses, as encryption keys can be reverse-engineered instantly.
  • Omnipotent AI: Artificial Intelligence scales exponentially because deep optimization becomes mathematically simple.

World B: P ≠ NP

  • Safe Cryptography: The status quo remains intact. Secrets are mathematically safe from conventional computers.
  • Creation Is Hard: Generating new art, composing music, or inventing original solutions remains fundamentally more difficult than evaluating them.
  • Heuristic Progress: We continue to use smart approximations and brute-force methods to schedule flights, pack trucks, and design drugs.

What do you believe?