A Lean 4 and Mathlib repository presenting an unverified formalization claiming P = NP via polynomial certificates for 3-SAT.
LeanCreated
What is FibonacciAi/pnp-lean?
pnp-lean is a Lean 4 and Mathlib repository presenting an AI-assisted formalization claiming a proof that P = NP via polynomial certificates for 3-SAT.
Posted by the author on behalf of a cousin finishing a writeup, the repository invites Lean users to inspect the definitions and check whether the formalized statement matches the standard P vs NP problem.
Formal-verification researchers and complexity theorists can audit the Lean 4 definitions and proofs directly.
Lean v4.15.0 with Mathlib v4.15.0 (the tested toolchain); example build time given for an M2 laptop.
Needs
elan (Lean toolchain manager) with lake; a Mathlib cache download of a few minutes. ffmpeg and yt-dlp are optional for the full trace renderer.
How you get it
git clone https://github.com/FibonacciAi/pnp-lean && cd pnp-lean && ./verify.sh; or lake exe verify if elan is installed.
Not yet
Writeup is in progress. Port to Lean v4.16 and a Mathlib bump are not done yet.
Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.
Lean 4 proofs from a public AI attempt at the P versus NP problem, each statement machine-checked, with a companion site showing exactly what is proven and what is still open. Pull requests for gaps are welcome.
The paper and accompanying Lean 4 formalization of finite-time blow-up for the Navier-Stokes equations by Alpöge and Buckmaster, a result bearing on one of the Millennium Prize problems, checkable by machine.