In defense of autoformalization

Share

I've been doing a bit of autoformalization with Lean over the last couple months. It's fascinating, slow-moving, and occasionally satisfying. To be honest, I know very little about how to actually construct artisanal Lean proofs - which is why I'm using Claude.

Recently I learned not everyone is as positive about autoformalization - I was surprised as it seems clear to me that on net, the practice of formalization is very good thing for mathematics. I'm going to offer a list of reasons. Some are obvious.

1) Formalization is a checksum against human (or AI) math errors. (Now obviously, blah blah blah, we know the statement being proved has to be faithful to the statement you're trying to prove. But it's not February 2026 anymore - LLMs are very capable nowadays of tracking a proof very closely and not accidently including a boneheaded hypothesis in the code.) Many papers contain small mistakes; a few papers contain fatal mistakes. Why not shoot for zero mistakes if we can?

Demanding Lean proofs of significant results also ensures we don't waste time bushwhacking through wrong arguments. Arguments that work should be better for building understanding.

2) The workload for reviewing a paper can be reduced to an assessment of novelty and interest, instead of correctness. We all have been getting way too many referee requests. We're also instructed not to upload the manuscript to AI tools. This presents a massive asymmetry in the workload - an author can generate a paper with AI, the reviewer is expected to check it the old-fashioned way. (Technically speaking; - the Arxiv version of the paper is not the manuscript submitted to the journal - so there may be ways around this edict.)

3) Demanding formalization in submitted papers shifts the burden toward the authors, creating effectively "Proof-of-Work". Autoformalization takes some amount of time. Significantly more time than generating a paper that appears to contain a correct proof. It might take under 10 minutes to generate a paper that would pass for what a year ago was a top subject level result - but autoformalization probably will take days or weeks. Even with the more expensive plans, there's a lot of annoying buttons that need to be pressed repeatedly.

If you are not fully committed or invested in a result - you aren't going to spend time or tokens autoformalizing it. This is a filter (not completely impenetrable but does filter out some pointless slop). The "do a breakthrough" conjecture tourists will have to choose what results are interesting.

Proof-of-Work was first conceived as a protection against spam, and more generally adopted by open protocols as a way to protect against DoS or sybil attacks on a network. The idea is simple: Anyone hoping to use a network or protocol must prove they've spent non-trivial amount of computer cycles before making the request. Twenty seconds of computer time is little cost to send a single email - but will prevent you from spamming twenty thousand emails.

4) Demanding formalization rewards concise, elegant and elementary proofs. Considering that autoformalization is somewhat time costly - an author of a paper is incentivized to present the most direct proofs (and results). This is probably better for understanding overall. That throwaway hand-wavy Section 7 of your paper that doesn't formalize so well? Leave it out. Come back when you have clear thoughts. (This holds at least for now - I can imagine when the process becomes too easy and one can just bury themselves in both Lean and Latex slop)

5) Formalization is much more concrete than "I take full responsibility" statements. Personally, I don't really know what it means to "take responsibility" - obviously, if you are putting a paper out there with your name on it, you are assuming some responsibility. This was assumed, even in the old days - you would check your work repeatedly until you were satisfied that the probability of a mistake eluding you was acceptably low. But even in those days we made mistakes. Since AI is good, there's temptation not to check. How do we know how carefully you checked before you took "full responsibility"? With formalization, there is no question. "I checked it by formalization - here you go."

6) Requiring formalization levels the playing field in that confident researchers can't bluster through a proof that is clear to experts but less clear to new entrants in a field. One thing I have found annoying about writing (and reading and reviewing) papers in geometric analysis is dealing with the last paragraph, in which decades of theory are alluded to in a quick finishing flourish. "Schauder theory and elliptic regularity finish the proof" might be true for linear equation, but there's a massive amount of work to actually show the details when extending this to a nonlinear perturbation. The experts are allowed to avoid this. Non-experts are too, as long as they LARP as experts. (It's easy to say precisely the same things that experts would say.) This always put me in a weird position as there were times when I would admit to myself that I had no idea what "the standard uniqueness and existence" theory was and had to decide whether to act confidently as if I did, or actually spend some time doing the work. In the past I felt like this may have encouraged mild dishonesty.

7) Dropping a lean proof of an ambitious result pulls off the band-aid and lets mathematicians focus on understanding. Honestly, I think Levent dropping the Lean proof of RH was the best option. Now we can sort through the details in our own time and at whatever granularity we feel useful in order to understand it. We will not have a repeat of 20 years ago when different groups were making conflicting claims about patching gaps in the Poincare conjecture.

Caveats

Lean might bend the game more towards "theorems" and not necessarily towards "understanding". We can't get away from theorems - the search for theorems is deep in our pedigree. It may be enticing for conjecture tourists to swing by and "prove" theorems by directing their model to make a Lean proof. Any higher schooler with an Antigravity account can do this, and labs can do this in batches of 10,000. But the gold rush won't yield anything scarce or valuable and folks will be left trying to understand the theorem.

LARPers might try to use Lean to make claims about things that are "true" because there's a Lean proof of some statement. We've seen things like this with blockchains, in which case somebody with a little bit of Dunning Kruger (or just a grifter) convinces themselves or others that something well beyond the scope of what the mathematics proves must be true. Much of bLoCkChaIN was about solving already solved problems and pretending the final mile was the trivial part. Folks have done this with academic papers - this is nothing new. For example, math can "prove" an economic theory - but only based on the models and assumptions you put in. Formal methods can prove that some part of a computer program does what you have specified it to do - but that doesn't exlude all the other problems. There will be some period where grifters try to use Lean proofs - I hope that literacy will eventually win.

Also there's always going to be Lean FUD