pnp-lean

FibonacciAi

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.

complexity-theoryformal-verificationlean4mathlibp-vs-np

Before you startThe README says

Runs on
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.