Someone Claims a Lean 4 Formal Proof of P = NP, Posted for an MIT Grad Student

Promptmethus · x · 2026-11-26

A GitHub repo, pnp-lean, claims a Lean 4 / Mathlib machine-checked proof that every language decidable by a polynomial-time verifier is decidable in polynomial time — i.e. P = NP — via polynomial certificates for 3-SAT following a Cook–Levi argument.

The repo has just 22 commits and 11 stars. The README says it was posted on behalf of the author's cousin, an MIT grad student, who asked for it to go up while finishing the writeup; the poster says he is not a complexity theorist and that "the kernel check is the source of truth."

P vs NP is an open Millennium Prize problem, so such formalizations almost certainly hide a flaw (in certificate definitions or the complexity argument), but it is a notable AI-community spectacle.

Original post →

More from Fun

Fun channel →