Fortnow: why formalizing complexity results in Lean is hard — proving polynomial time

fortnow · x · 2026-10-16

Complexity theorist Lance Fortnow explains why some results from the OpenAI Math Drop (including L = RL = BPL) lack Lean proofs.

Using Lautemann's proof that BPP ⊆ Σ₂ᵖ as an example: the probabilistic argument is not too hard for Claude to formalize, though Lean forces you to handle details papers wave away (e.g. nᵏ·2⁻ⁿ < 1). The real bottleneck is showing algorithms actually run in polynomial time — painfully obvious-on-paper statements like computing the disjunction in polynomial time turn out to be the hardest part to formalize in Lean.

Original post →

More from Research

Research channel →