You’ve all heard about the immense and profound achievements in mathematics and computer science made possible by the frontier large language models (LLMs), privately held by AI companies such as Anthropic and OpenAI. What will it all mean for physics, and for particle/string physicists like myself?
While the LLMs are getting well-deserved attention, I think that not enough emphasis is being put on the another important advance: LEAN, the computational language, developed in the last decade or so, for creating provable statements. LEAN is the language in which these AI math proofs are being constructed (and only later translated, with difficulty, into human-readable form.) Its importance should not be underestimated:
- First, LEAN, being a form of language, is perfect for an LLM — Nima Arkani-Hamed has suggested to me that this is one of the reasons that LLMs are so good at doing proofs. Perhaps, if LEAN didn’t exist, these LLMs would be significantly less effective at high-level math? I’m not sure about this; maybe an expert can weigh in?
- Second, LEAN makes it possible for AI and its human helpers to check the validity of parts of a proof at intermediate stages; this makes it easier to find errors in a logical argument, and to determine when a stepping-stone theorem is safe to use in service of a larger goal.
- Third, LEAN makes it possible for humans to confirm the validity of a complete proof when it’s made public, without fully understanding it. If this weren’t possible, checking proofs of this complexity would take years, not hours.
So I personally believe what’s happening now should be viewed as a LEAN+AI revolution, not merely an AI revolution. Comments welcome.
What does this mathematical/logical revolution mean for physics, and for physicists?
AI and Physics
It depends on the problem. Fundamentally, physics is an experimental science, and for experimental questions, AI’s skill with math means nothing directly (though it can help with experimental design, calibration and data analysis). For instance, if we’d had LLMs back in 2000, could they have told us that the Large Hadron Collider would find no big devations from the Standard Model at the TeV energy scale, and could they have predicted the Higgs particle’s mass? Surely not. Too many models of particle physics were consistent with the data that we had back then, and only additional experimental data could distinguish among them.
Even many quasi-theoretical physics problems involve making strategic guesses based on intuition, which the current generation of public AI bots are not good at. For instance, models of particle physics that try to suggest what might lie beyond/behind the Standard Model often must rely on analogies and/or rough estimates, the use of which requires a certain amount of taste brought on by years of experience.
But some theoretical physics problems do lend themselves to formalization as a math problem that can be directly solved. There are plenty of open problems of this sort: these include showing that certain quantum field theories exist [done!], perhaps proving they do or do not have mass gaps [not done yet], and perhaps proving (as Mike Douglas suggested to me) that gauge theory’s crucial yet conjectural property of “factorization” (which greatly simplifies certain calculations) is actually true. Such problems can be formulated mathematically, and thus can be translated (perhaps with great difficulty) into LEAN. Once that is done, proving them may well be within reach of AI. “May” is the operative word, though — we can’t ever know how hard a problem truly is until it is solved.
Still, profound theoretical physics problems are often about formulating a hypothesis in the first place. If you can’t figure out what space and time fundamentally are, you may have trouble using AI to develop a theory of quantum gravity. If you make a guess as to what they are, and you propose a specific theory that requires a particular fact to be true, AI might be able to check that fact. But it’s not clear that current AI models can help you figure out how space and time should be defined; it’s not the type of question that can straightforwardly be posed in LEAN. (Similarly, in mathematics, proofs are about relations among concepts that have been defined already; but what does it take to invent a new idea or concept, such as complex numbers, hyperbolic geometry, or differential forms, that require both a new definition and intuition that such a definition will prove fruitful/useful?)
The new tools virtually guarantee that we will soon be drowning in papers, often authored by humans and AI together, on tough subjects such as quantum gravity. Most will be wrong, incomplete, ill-conceived, misguided. Unfortunately it will not be easy to check such papers, since a proposed theory of quantum gravity with novel assumptions about space and time will likely be challenging to phrase as a LEAN code. It will often be very difficult to verify or reject these ideas except through AI-assisted human labor, which will be more fallible than a LEAN machine.
Of course we already have at least one theory of quantum gravity, namely string theory, that passes lots of internal consistency tests, so maybe people should start there. Yet proving that this theory exists and is fully consistent may be very hard, since we still don’t even know exactly how to write string theory down as a complete set of mathematical formulas. An interesting intermediate question is whether the AdS/CFT correspondence between quantum field theory and string theory can be proven in the limit where the string theory can be approximated by classical (i.e. non-quantum) gravity. Maybe that particular problem can be formulated in a way that is ideal for AI. But it would help if the relevant supersymmetric quantum field theories could be mathematically defined first — an achievement which I suspect is at least a week away.
My Own Experience
Meanwhile, what’s a real practitioner like me actually doing? Well, I have decades of experience during which I got stuck on one problem or another because it proved too technically difficult or too time-consuming or both. So I’m going back to those problems, and using the best public models (which are still far behind the private models inside Anthropic, OpenAI and elsewhere that are making most of the headlines) to explore whether these old nagging problems can now be solved.
Here’s the truly scary, exhilarating thing: with these public LLMs, I can explore in a day or two what in the past would have taken me months.
But still, let’s not overestimate these models. At this point I’m still as smart as they are; although their knowledge is far greater than mine and their calculations much faster and less fallible than I could ever manage, the vast majority of the key ideas are still coming from me. What the AI bot adds is the ability to explore a substantial number of conceptual and/or technical directions with great speed and thoroughness, almost instantly taking advantage of existing literature and public software. This makes it possible to show quickly that most or all of my ideas lead to dead ends (as is typical in research). In the past, reaching those dead ends would have taken me months of work with little payoff. Conversely, the AI bot is not good at suggesting entirely new conceptual/technical directions, much less finding one that works.
The status? So far I have made real progress on only two of my old problems, and neither is entirely clear yet. The others have been narrowed down but remain far from solved. These problems may simply be too hard for the current public LLMs.
But already I live in a different universe, unrecognizable from three months ago, when this would have been impossible. I can’t hope to predict what December will bring, much less 2027. Most notably, it seems clear that the models that are still privately held will go far beyond what I’ve just described. When they make their way into the public sphere, all of us will have a lot of adapting to do — and I don’t just mean mathematicians and theoretical physicists.