David Roe on AI, Proofs and Shared Math Infrastructure

Written by Marcus Banks

Scientific Software Research Faculty Fellow David Roe builds databases and open-source tools that help mathematicians discover, test and share results — including answers first proposed by artificial intelligence.

A man with long curly hair wearing a maroon t-shirt stands behind a wooden railing, viewed through a large metal molecular model sculpture in the foreground.
David Roe, a principal research scientist in the Massachusetts Institute of Technology’s Department of Mathematics, is a Simons Foundation Scientific Software Research Faculty Fellow. Ken Richardson for Simons Foundation

In June 2026, an AI model proposed a solution to a long-standing problem involving 2-adic numbers — an alternative number system in which two numbers are considered “close” if their difference is divisible by a large power of 2. For mathematician David Roe, that breakthrough sparked a whole new challenge: proving whether the AI’s answer was actually right and unraveling the logic behind it. 

Roe, a principal research scientist in the Massachusetts Institute of Technology (MIT)’s Department of Mathematics and a Simons Foundation Scientific Software Research Faculty Fellow, collaborated with MIT undergraduate David Turturean to test AI-generated candidates, develop a proof and formalize it in Lean 4, a computer system used to check mathematical proofs. The project brings together Roe’s interests in number theory and in building tools that make mathematical results easier to check and share. 

Roe, a number theorist, holds a Ph.D. in mathematics from Harvard University. Since the beginning of his fellowship in May 2025, he has advanced three related database projects: the L-Functions and Modular Forms Database, MathBases and a database of Diophantine equations. Together, these projects aim to make mathematical knowledge easier to find, use and build on. 

Roe recently sat down with us to discuss his work over the last year, the impact of AI and the value of shared mathematical infrastructure. Our conversation is edited for clarity.

You’ve had a busy summer. Please tell us about that work.

My work has changed a lot since June 2026 because of AI, although many projects have longer roots.

In fall 2025, Epoch AI asked me to suggest open math problems for evaluating AI systems. I suggested finding an explicit presentation — a description by generators and relations — of the absolute Galois group of the 2-adic numbers, Q₂.

In March 2026, David Turturean emailed me with an AI-generated candidate solution. I replied with evidence that the candidate did not work. We went through three unsuccessful rounds like this. 

In June 2026, I used the Claude Fable 5 model to generate a candidate that passed the verifier I wrote for Epoch AI, but it was unsuccessful in finding a proof. Later that month, David Turturean used GPT-5.5 Pro to produce another candidate, together with an informal proof. 

David and I then independently formalized the argument in Lean, also using AI assistance. Those formalizations check the proof while treating explicitly listed results from existing literature as assumptions. 

Making the argument machine-checkable also forced us to clarify hypotheses and conventions. We’ve documented the proof, the checks and the development process on our project website. 

What are Galois groups?

A Galois group records symmetries among the roots of a polynomial, which are ways of permuting those roots while preserving their algebraic relationships. The p-adic numbers are another number system built from the rational numbers, but with a different notion of closeness from that used to construct the real numbers.

The absolute Galois group packages together the symmetries of all finite algebraic extensions of a number system. For p-adic numbers with odd p, explicit presentations for the absolute Galois group have been known since the 1980s. The missing case was Q₂. We knew abstractly that a finite presentation existed, but we did not have concrete generators and relations. 

An explicit presentation gives us a way to turn questions about field extensions and their symmetries into computations with groups. 

How does this connect with the projects supported by your Simons fellowship?

My three fellowship projects share a goal: making mathematical knowledge easier to find, check and reuse. The Galois group work was not formally part of the fellowship, but it fits that broader purpose. 

The L-Functions and Modular Forms Database (LMFDB) is a collaborative resource in number theory and arithmetic geometry, with long-standing support from the Simons Foundation and over 1,000 citations in the mathematics and physics literature. I’ve contributed to its development for over a decade. As a managing editor, I help coordinate contributors and priorities and add objects and features. During the fellowship, I’ve worked with colleagues on finite groups, p-adic fields, abelian varieties over finite fields, modular curves and lattices.

Another project, MathBases.org, gathers resources from disparate branches of math in one place. I also want to help other mathematicians create databases of their own, through tutorials, documentation and templates. It’s still a work in progress, but the index already contains 178 entries as of August 2026.

The third project, a database of Diophantine equations, has evolved thanks to AI. These are equations for which we seek integer solutions, and over millennia of study, many methods have evolved for approaching them. One part of my original idea is now mostly solved by large language models: AI tools can often take a specific equation and identify it within the mathematical literature. 

That has shifted the emphasis toward a harder question: Do the recorded solutions account for every integer solution of an equation, or could there be others? I want the database to record what is known about completeness, connect those claims to proofs and the relevant literature, and make the remaining questions visible.  

This project was moving slowly, but it has advanced rapidly since June 2026. Claude Code helped me develop the initial software much faster than I could have written it on my own.

You also helped organize a competition involving Galois groups. What was the goal of that effort?

In summer 2026, I helped organize an inverse Galois competition with John Jones, Jen Paulhus, Andrew Sutherland and Terry Tao. The challenge was to find an integer polynomial realizing each of the 25,000 possible transitive permutation groups of degree 24 as a Galois group. 

Participants could use AI and other computational tools to search for polynomials. Leaderboards encouraged participation, and submissions were independently checked using computer algebra systems.

We began on June 16, 2026, and by August 8, there was at least one polynomial for every one of the 25,000 groups. It was fun to watch the number of missing cases go down.  We will be running a second stage of the competition starting in mid-October. 

What first drew you to number theory?

Number theory draws in a lot of deep mathematics, but many of its questions are easy to state, such as finding integer solutions to Diophantine equations. I like that concreteness. And much of number theory has its roots in algebra, a branch of math that I have long appreciated. 

I took four college-level classes at Reed College while I was still in high school, and I am actually still in touch with two of the instructors, including Joe Buhler, who taught the algebraic number theory course. 

How has AI changed the way you work?

AI coding tools have helped me develop the Diophantine equation database and improve the LMFDB much faster than I would have without them.

AI has made me more productive, but it has also made the surrounding infrastructure more important. When we can generate candidate answers quickly, we need reliable ways to test them, understand them and connect them to established mathematics. 

David Roe sitting on the grounds of MIT.
Roe uses AI as both a research assistant and a software development tool. His work illustrates how AI can accelerate mathematical discovery while making rigorous verification even more important. Ken Richardson for Simons Foundation

Building resources for other mathematicians has been a throughline of your career. What draws you to that work?

Mathematics depends on other people being able to inspect, understand and build on a result. A proof gives them more than an answer; it explains why the answer is correct. Open-source software and verifiers that others can inspect support that same goal.

I’ve always been drawn to openness and community building. I became involved with the open-source SageMath project during graduate school, a connection I maintain today. I contributed to the LMFDB long before my Simons fellowship, and I was one of the founders of researchseminars.org, which helped mathematicians stay connected to online seminars during the COVID-19 pandemic.

What difference has the Simons fellowship made to your career?

Spending time on tool development — focusing on infrastructure — is not the usual path to tenure. I earned my Ph.D. in 2011 and obtained my first permanent position in 2025. That was 14 years, and the new job does not have tenure. I am tremendously grateful to the Simons Foundation, which has long invested in infrastructure support for math. This is helpful for math as a whole and for me personally. I doubt that I would still be in academia without Simons support.

The fellowship gives me the stability to build resources whose value grows over many years: databases that preserve mathematical knowledge, software that helps people test new ideas and communities that can maintain both.