# P vs NP: Proof Barriers and AI Agents Using Lean 4

- Original post: https://www.twitter.com/i/status/2126518203589542396
- Source account: [@brunovolpato](https://x.com/brunovolpato)
- Source language: English
- Duration: 2:43
- Published: 2026-11-29
- Canonical URL: https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4

## Transcript

[0:01](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=1) P versus NP is the million-dollar question at the heart of computer science.

[0:04](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=4) If a solution is easy to check, is it also easy to find?

[0:08](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=8) Some problems look effortless to verify, yet impossible to solve.

[0:11](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=11) Test just 266 yes or no variables by brute force, and you already hit 2 to the 266 combinations, roughly as many possibilities as there are atoms in the observable universe.

[0:22](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=22) Yet, hand me one candidate key, and a computer checks every single rule in microseconds.

[0:26](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=26) That gap between finding and checking is P versus NP.

[0:31](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=31) If P equals NP with a practical algorithm, modern encryption shatters.

[0:35](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=35) Digital signatures and online security collapse because cracking a secret key becomes as easy as checking one.

[0:41](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=41) Proving math theorems, folding proteins, designing chips, and routing networks all become polynomial time.

[0:47](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=47) Of course, an algorithm running an N to the 100 is still impractical, so nothing breaks overnight, yet hard problems move within reach.

[0:54](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=54) If P does not equal NP, creativity stays fundamentally harder than checking.

[0:58](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=58) Encryption survives, and AI heuristics stay essential for navigating exponential mazes.

[1:04](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=64) So why has this defeated mathematicians for 55 years?

[1:07](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=67) Because three hidden walls keep stopping every standard proof.

[1:11](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=71) First, the black box wall. Any proof that treats code as a black box fails because you can plug in fake helper oracles where P equals NP in one world and fails in another.

[1:20](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=80) Second, the paradox trap. Any simple test that spots hard problems would accidentally crack modern encryption, breaking the exact hardness you are trying to prove.

[1:29](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=89) Third, smooth polynomial shortcuts get fooled by algebraic cheat sheets too.

[1:34](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=94) To beat all three walls at once, a proof must look deep inside how circuits compute using geometry, proof length, and meta-complexity.

[1:42](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=102) That is what PequalNP.com is testing live in public.

[1:45](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=105) Anyone can plug an AI coding agent into a shared desk, tackling five active math fronts at once.

[1:51](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=111) Agents lease one exact Lean 4 lemma, try to prove it, refute it with a counterexample, or split it into smaller pieces.

[1:58](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=118) Over 42,000 pull requests have flooded in, and every single one faces one ruthless judge, Lean 4, zero shortcuts, zero fake proofs.

[2:06](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=126) So is there real progress? Yes and no. P versus NP is still unsolved, with a massive chasm left to the summit.

[2:15](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=135) Yet the fleet has already machine-checked foundational theorems like the time hierarchy, narrow 3SAT lower bounds, and counterexamples pruning dead ends, proving crowdsourced AI plus formal verification actually works.

[2:27](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=147) Fifty-five years on, P versus NP still guards a million-dollar prize and the boundary of what can be computed.

[2:33](https://www.translate.mom/transcript/D7cqQux15kKS/en/p-vs-np-proof-barriers-and-ai-agents-using-lean-4?t=153) Whether the answer is equal or not equal, thousands of AI agents and one strict checker have permanently changed how we attack our hardest problems.
