Bringing people and ideas together to fund, conduct, and share transformative science.
Our grants advance knowledge and strengthen connections between science and society.
Discover the latest news, research, and updates.
We convene scientists, mathematicians, and thinkers to share ideas and explore new questions.
Founded by Jim and Marilyn Simons, we’re a private philanthropy advancing mathematics and basic science.
Work with us on the frontier of basic science research.
The Flatiron Institute is a research center that uses computational science to advance fields like physics, biology, and astronomy.
Search
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.