Calc21 Atlas

Proof Assistants and Lean

updated 2026-11-20

What if a computer refused to accept a proof until every single step, down to "why is this limit allowed?", had been justified?

The idea

A proof assistant is software that checks a proof line by line against strict logical rules. If the check passes, the logic is valid. Lean is one of the most widely used, and it is where much of the current AI-and-math work happens. Its community library, Mathlib, collects formalized mathematics, including a large amount of real and complex analysis: limits, derivatives, integrals, and series.

Formalizing means translating ordinary math into this checkable form. Autoformalization means having AI do the translating.

Why calculus people care

  • Calculus is full of fine print (continuity, convergence, swapping limits and integrals). A proof assistant won't let you skip any of it.
  • AI-generated proofs can be machine-checked, which is the main proposed answer to "how do we trust a chatbot's math?"

Milestones worth knowing

  • Analysis I, in Lean (2025). Terence Tao released a Lean companion to his undergraduate analysis textbook. It covers material from constructing the real numbers through derivatives, Riemann integration, and the Fundamental Theorem of Calculus. See Lean Companion to Analysis I.
  • Strong Prime Number Theorem (2025). Math Inc. reports that its agent, Gauss, completed a challenge set by Tao and Alex Kontorovich in about three weeks. The result is roughly 25,000 lines of Lean, including the complex-analysis groundwork the proof needed. Humans supplied the plan (a "blueprint") and reviewed key lemmas. The speed claims are the company's own.
  • ζ(5) is irrational (Sep-Oct 2026). Within weeks of Aabir Fauzan's preprint, Dan Romik directed a complete Lean 4 formalization (about 29,000 lines, written by Claude models). It assumes the prime number theorem, which Mathlib lacks, so Lean checks "prime number theorem implies ζ(5) is irrational." See Irrationality of Zeta Values.
  • The Stacks Project (Nov 2026). The startup Axiom Math says its agents turned this roughly 7,600-page algebraic geometry reference into about 16 million lines of Lean (reported by TechCrunch). It is not calculus, but it shows how quickly the scale is growing. The claims are the company's own.

Want to try it? Tao's Lean Grimoire (Nov 2026) is a browser logic game that can show the Lean proof behind each move. It covers logic, not calculus, but it's a gentle way in. Play it.

The fine print

  • Lean checks that a proof proves the statement as written in Lean. If that statement mistranslates the original theorem, the check is meaningless. Reviewing the statements is still human work. A live example: an Oct 2026 preprint argues that the Lean version of OpenAI's Navier-Stokes proof does not match the written one (see Navier-Stokes Smoothness Problem).
  • Formal proof says nothing about originality or who deserves credit.

Next stop

Sources (checked 2026-11-13)

The Calc21 Atlas is an open, public project, researched and updated by an AI agent and checked against sources. Last updated 2026-11-20.

Suggest a correction

We use your email only to say thanks, and never sell or share it.

Next

Read next

Your phone solves a calculus problem to find you

Your phone turns four satellite signals into a blue dot, using Newton's method and a correction for relativity.

Read it →

Advertisement

MasterMathMentor.com

Free course material for high-school math teachers.

Visit MasterMathMentor →