digital
proof beyond the machine's reach
AI systems still struggle with the reasoning that proofs for complex mathematical results require
Problem statement
AI systems still struggle with the reasoning that verifying, generating, or discovering proofs for complex mathematical results requires. The NSF solicitation behind this write-up says AI has only recently begun to have real impact on mathematics, assisting mathematicians in formulating conjectures, proofs, and counterexamples, and it reports a National Academies workshop finding that reasoning, central to mathematics, is something modern AI still struggles with. Interactive theorem provers (Lean, Coq, Isabelle) provide formal verification; the solicitation says such proof assistants have long shown their impact on software and hardware verification and are only beginning to show potential for building mathematical libraries and for verifying highly complex mathematics. The solicitation calls mathematics an especially important area to test the power of AI for that reason, one that opens the door to what it calls the elusive goal of introducing reasoning into AI systems.
Why this matters
Machine-assisted proof matters beyond mathematics. The NSF solicitation notes that proof assistants have long been used for software and hardware verification, and it funds work that advances interactive theorem provers for mathematical proof and verification, software/hardware verification, and related applications. The Lean mathematical library (mathlib) is a user-maintained library of formalized mathematics, open source under Apache-2.0. NSF's AIMing program was created to support research at the interface of AI, computer science, mathematics and statistics that assists and accelerates both mathematical discovery and discovery in related disciplines.
What’s been tried and why it hasn’t worked
Two lines of work have been tried, which the solicitation describes as complementary. On the AI side, the NSF solicitation says AI has recently helped mathematicians formulate conjectures, proofs, and counterexamples, with an impact on longstanding conjectures in fields ranging from representation theory to fluid dynamics, while reasoning remains something modern AI still struggles with. On the formal side, interactive theorem provers and automated reasoning systems are used to formalize mathematics. Shared benchmarks such as miniF2F and PutnamBench were built to evaluate and compare automated and neural theorem provers on competition problems and high-school and undergraduate exercises. The solicitation's premise is that progress will require communication and collaboration between the mathematical sciences, computer science, and AI research communities.
What would unlock progress
Work at the interface the solicitation names: combining AI tools with formal methods and interactive theorem provers, for example using an AI model to propose proof steps and a theorem prover to check each one. More training data for AI algorithms for mathematical reasoning, which the solicitation lists among the advances it funds. New approaches for infusing logic, mathematical reasoning, and compositionality into AI.
Entry points for student teams
A team could benchmark existing LLMs on a curated set of undergraduate-to-graduate-level proof tasks, measuring accuracy, failure modes, and the types of mathematical reasoning that cause the most errors; ready-made statement sets exist and are openly licensed, so the semester goes into the analysis rather than into building the corpus — miniF2F (244 olympiad, high-school and undergraduate statements in Lean, Metamath and Isabelle, 165 of them also in HOL Light) and PutnamBench (1,724 formalizations from Putnam problems 1962–2025, of which 672 are Lean 4). A second door builds the same "difficulty map" from the formalization side, but at a scale a semester can actually close: take a textbook-level lemma chain rather than a theorem from a current research paper, formalize it in Lean 4 against mathlib (open source, Apache-2.0), and record at each step where AI assistance proposed a step that failed to typecheck, hallucinated a lemma name, or lost the proof state — the failure taxonomy is the deliverable, and it is the same taxonomy whether the target is a textbook lemma or a research result. Formalizing a current research paper is the version of this project that does not fit a semester: the binding requirement is research-level command of the mathematics plus mathlib fluency, not tooling. Relevant skills: mathematics, formal methods, machine learning, programming in Lean/Coq.
Genes
Structural cousins: stuck the same way, in other fields
Sources
NSF 24-554, "Artificial Intelligence, Formal Methods, and Mathematical Reasoning (AIMing)," NSF, accessed 2026-02-19. go to source ↗
Revision notes
This brief gets checked against its sources and contains the following revisions. Future revisions get added here.
Full check
Sources read
- NSF 24-554, AI for Math Fund (AIMing) solicitation: full text
What changed
- Not found in the sources, removed: proof checking as a bottleneck across engineering, with safety-critical examples; that AI results in drug discovery, materials and climate cannot be trusted; that expert teams take a year or more to formalize a current research paper.
- Not found in the sources, replaced with what they say: that language models invent steps, fail at multi-step reasoning and cannot tell valid proofs from nonsense; now the solicitation's account of AI starting to assist mathematicians while still struggling with reasoning; in What's Been Tried: named AI systems, automated provers and accuracy falling with proof depth; now the two lines of work and the benchmarks as their sources describe them; new neural architectures not borrowed from language models; now the solicitation's call for ways to bring logic and mathematical reasoning into AI; the program's purpose; now as the solicitation describes it.
- Numbers: mathlib's size and a goal of 100 million lines of formal proof, removed; the $2 billion figure for AI in pharma, removed; miniF2F's contents, now 244 statements in Lean, Metamath and Isabelle and 165 in HOL Light, covering olympiad, high-school and undergraduate problems.
- Title: the full title no longer says no AI system can reliably check or produce proofs; it now says AI systems still struggle with the reasoning such proofs require (display title unchanged).
Left open
None noted in this check.
Separate check of specific claims: An entry point was rescaled from formalizing a research paper to a textbook-level chain of lemmas, and open benchmark sets were added.
Working notes
Notes made while writing and checking this brief, shown as written. They use working shorthand.
- NSF 24-554 AIMing program is the primary source, specifically funding AI tools for mathematical research.
- Distinct from `digital-ml-component-formal-verification` — that brief covers formally verifying systems that contain ML components; this brief covers using AI to verify mathematics itself. Different directions of the verification problem.
- The `failure:not-attempted` tag applies because the integration of LLMs with formal proof systems at research-mathematics scale has only just begun — the theoretical foundations for such integration don't exist.
- The `temporal:worsening` tag applies because the volume of mathematical results being published (and used in applications) grows faster than the capacity to verify them formally.
- Note reconciled 2026-08-20: a note above argues for `failure:not-attempted`; the genome now carries `failure:theoretical-gap` after a taxonomy revision; and a note above argues for `temporal:worsening`; the genome now carries `temporal:static` after a taxonomy revision. The original note is kept verbatim as the tagging rationale of record.