Lean proof debate: defenders say you only trust the kernel, not proof lines

PMinervini · x · 2026-12-05

A debate over whether .lean files count as formal proofs. Yuxiang Wei pushes back on anti-Lean sentiment: the whole point of proof assistants is to minimize the trust base — you only need to trust your spec, axioms, and the kernel (typechecker), not any line of proofs, per the Curry-Howard isomorphism (proofs = programs).

His analogy: millions of lines of C++ compiling means you don't read every function to trust type rules; proof assistants are just programming languages with much richer type systems expressing arbitrary mathematical propositions.

The original critique from Exomnium: Lean metaprogramming is too expressive, so .lean files (as opposed to proof terms) aren't formal proofs — he built Lean proofs of 2+2=4 that only work on Linux and on Tuesdays. The post links UPenn's Software Foundations chapter on the Curry-Howard correspondence.

Related event: Math Community Debates Whether Lean Code Counts as Proof(3 posts)→

Original post →

More from Research

Research channel →