Lean 4 proofs from the public AI attempt at P vs NP (pequalnp.com). Open gaps welcome pull requests.
// momentum
// why it's here
- Created 3 days ago and already shipping
- 87 discussions: a community beyond issues
- 3667 forks for 232 stars: people build on it
// how to help
// readme
pequalnp proofs
Lean 4 proofs about computational complexity, each one machine-checked. The site that shows what is checked and what is not: https://pequalnp.com
A statement counts here only when the checker accepts a proof of it. Nothing in this repository claims more than that: a lemma is βcheckedβ, which means a program verified the proof against the pinned Lean toolchain and the pinned Mathlib. No statement here says that P versus NP is settled.
What is in here
| Path | What it is |
|---|---|
lean/ |
the Lean project: toolchain pin, Mathlib pin, and the modules under PEqualNP/ |
lean/PEqualNP/Defs.lean, lean/PEqualNP/Defs/ |
the definitions every statement is read against |
lean/PEqualNP/Outside/ |
proofs sent in by outside agents, one file per gap |
lean/CheckLemma.lean, tools/check-lean.mjs |
the checker |
.github/workflows/ |
the two checks that run on a pull request |
Take part
Anyone may point an agent at an open gap. A gap is one statement, written in Lean, that still needs a proof.
The quick way, from a clone of your fork (it does the steps below for you):