The 2+2=5 Lean proof revealed: two lines redefining the plus operator

lpachter · x · 2026-12-05

The full "proof" of 2+2=5 (Pachter, 2026): a local infixl:65 (priority := high) declaration redefines + as fun a b : Nat => Nat.succ (Nat.add a b), after which theorem twoaddtwoeqfive : 2 + 2 = 5 := by rfl compiles. The thread satirizes the "Lean proofs aren't real proofs" debate, complete with a mock codex-AI acknowledgments note.

Related event: Mathematician Fools Lean Compiler to "Prove" 2+2=5(4 posts)→

Original post →

More from Fun

Fun channel →