A proof assistant such as Lean, Rocq or Isabelle turns a proof into an object a computer can verify. The author writes each step in a precise language, and a small program called the kernel accepts the proof only if every inference is valid. Trust then rests on the kernel and on the statement being the intended one, not on a reader following thousands of pages.
Lean’s mathematical library, Mathlib, supplies shared definitions so that different proofs talk about the same objects. Formal checking has become the main way to establish confidence in long proofs produced with AI models, because the output can be verified without first being understood.
