With the programming language Lean, “math proofs can be written in a different way than they have been in millennia.” The future of truth may lie not on paper but in code.