The 2+2=5 Lean proof was a joke: redefined plus operator, with an AI co-author acknowledgment

lpachter · x · 2026-12-05

In this follow-up to his "2+2=5" Lean prank, mathematician Lior Pachter posts a mock acknowledgments section crediting the codex AI tool with developing the mathematical argument and Lean 4 formalization under his direction, while he takes "full responsibility." The actual trick was redefining the + infix operator in Lean so rfl closes the goal — a satire of the "Lean proofs aren't really proofs" discourse.

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

Original post →

More from Fun

Fun channel →