P = NP

266 words 2 min read Written April 21, 2026

The honourable George Pólya had a great strategy for dealing with tough problems, which was to solve an auxiliary problem first. A simpler surrogate can inch you closer to solving the grander problem.

That’s one way to view the boolean satisfiability problem (SAT) in relation to P versus NP. SAT asks

Given a logical formula made of variables, ANDs, ORs and NOTs, is there some assignment of true or false values that make the whole formula true?

By the Cook–Levin theorem, SAT is NP-complete. So if SAT can be solved in polynomial time, then every problem in NP can be solved in polynomial time. In that case, P = NP.

Suppose the formula is written in conjunctive normal form (CNF)

j=1m(j1j2jkj).\bigwedge_{j=1}^m (\ell_{j1}\lor\ell_{j2}\lor\cdots\lor\ell_{jk_j}).

where each jt\ell_{jt} is a literal, meaning either a variable xix_i or its negation ¬xi\neg x_i.

To turn this into a polynomial system, represent Boolean values by xi{0,1}x_i\in\{0,1\}, and encode each literal numerically as

v()={xiif =xi,1xiif =¬xi.v(\ell)= \begin{cases} x_i & \text{if } \ell=x_i,\\ 1-x_i & \text{if } \ell=\neg x_i. \end{cases}

A clause is false exactly when all of its literals are false. So clause j is satisfied exactly when

t=1kj(1jt)=0andxi2xi=0i.\prod_{t=1}^{k_j}(1-\ell_{jt})=0 \quad \text{and} \quad x_i^2 - x_i = 0 \quad \forall_i.

So a SAT instance is satisfiable if and only if this polynomial system has a solution. Therefore SAT reduces in polynomial time to deciding whether a Boolean polynomial system has a solution.

Hence, if that polynomial feasibility problem were in P, then SAT would also be in P. Since SAT is NP-complete, this would imply

P = NP.