835 On Working with AI

A large amount of the code and machine checking in this work, including the Lean, Agda, and Rocq proofs, was done by Claude and Claude Code. We truly thank the Claude team for building such an amazing AI. It is truly innovative and revolutionary, and we believe it will help mathematics and science break new ground.

We also expect it to help us see what we couldn’t see before. New discoveries will not come from AI doing everything on its own. They will come from humans and AI working together.

PIC
Figure 944: An example of the author’s workflow with Claude Code. Here Claude Code, running in auto mode, updates the status table of certified results (each checked in Lean by rfl) and edits the corresponding section of the paper (SECTION_HODGE.tex), while a verification command runs in the background.

As you can see, Lean verification uses rfl (reflexivity), meaning it verifies via rfl.

When AI meets proof assistants such as Lean, Cubical Agda, and Rocq, something remarkable happens. The AI writes a proof, the kernel checks it, and the kernel’s feedback tells the AI exactly what to fix. Machine and kernel correct each other, round after round, until the proof is right. This is truly innovative. We believe it will change the role of mathematicians: less time spent on verification, and more on creativity, on asking new questions, and on seeing new ideas.

Without AI, completing and verifying all of this would have been far beyond what any one person could do alone. We expect that this way of doing mathematics will soon become the new standard. Mathematics has been stagnating for far too long, and in some respects it has even been moving backward. If long-standing open problems can now be resolved in months or even days, mathematics itself is ready for a revolution, perhaps even a kind of mass production of results. That, in turn, will lead to new technologies and inventions built on this mathematics, and we expect the progress to be immense.

Using AI is nothing to be ashamed of. We should be open and proud about it. Just as mathematicians once embraced computers and proof assistants, working with AI is simply becoming a natural part of doing mathematics. And this is only the beginning. AI still has a long way to grow, and so do we. From here on, a whole new chapter starts, and there is a mountain of work still ahead of us.

Once again, we thank everyone building AI, not only the Claude team, but the countless people across every field, and indeed humanity as a whole, whose work is making breakthroughs like this possible.