SorryDB: Can AI Provers Complete Real-World Lean Theorems?

Austin Letson, Leopoldo Sarra, Auguste Poiroux, Oliver Dressler, Paul Lezeau, Dhyan Aranha, Frederick Pu, Aaron Hill, Miguel Corredera Hidalgo, Julian Berman, George Tsoukalas, Lenny Taelman
Proceedings of the 43rd International Conference on Machine Learning, PMLR 306:65604-65627, 2026.

Abstract

We present SorryDB, a dynamically-updating benchmark of open Lean tasks drawn from 78 real world formalization projects on GitHub. Unlike existing static benchmarks, often composed of competition problems, hillclimbing the SorryDB benchmark will yield tools that are aligned to the community needs, more usable by mathematicians, and more capable of understanding complex dependencies. Moreover, by providing a continuously updated stream of tasks, SorryDB mitigates test-set contamination and offers a robust metric for an agent’s ability to contribute to novel formal mathematics projects. We evaluate a collection of approaches, including generalist large language models, agentic approaches, and specialized symbolic provers, over a selected snapshot of 1000 tasks from SorryDB. We show that current approaches are complementary: even though an agentic approach based on Gemini Flash is the most performant, it is not strictly better than other off-the-shelf large-language models, specialized provers, or even a curated list of tactics.

Cite this Paper


BibTeX
@InProceedings{pmlr-v306-letson26a, title = {{S}orry{DB}: Can {AI} Provers Complete Real-World Lean Theorems?}, author = {Letson, Austin and Sarra, Leopoldo and Poiroux, Auguste and Dressler, Oliver and Lezeau, Paul and Aranha, Dhyan and Pu, Frederick and Hill, Aaron and Hidalgo, Miguel Corredera and Berman, Julian and Tsoukalas, George and Taelman, Lenny}, booktitle = {Proceedings of the 43rd International Conference on Machine Learning}, pages = {65604--65627}, year = {2026}, editor = {Zhang, Tong and Dudik, Miroslav and Jaggi, Martin and Agarwal, Alekh and Li, Sharon and Schuurmans, Dale and Zhu, Jerry and Berkenkamp, Felix and Dong, Hanze and Bietti, Alberto}, volume = {306}, series = {Proceedings of Machine Learning Research}, month = {06--11 Jul}, publisher = {PMLR}, pdf = {https://raw.githubusercontent.com/mlresearch/v306/main/assets/letson26a/letson26a.pdf}, url = {https://proceedings.mlr.press/v306/letson26a.html}, abstract = {We present SorryDB, a dynamically-updating benchmark of open Lean tasks drawn from 78 real world formalization projects on GitHub. Unlike existing static benchmarks, often composed of competition problems, hillclimbing the SorryDB benchmark will yield tools that are aligned to the community needs, more usable by mathematicians, and more capable of understanding complex dependencies. Moreover, by providing a continuously updated stream of tasks, SorryDB mitigates test-set contamination and offers a robust metric for an agent’s ability to contribute to novel formal mathematics projects. We evaluate a collection of approaches, including generalist large language models, agentic approaches, and specialized symbolic provers, over a selected snapshot of 1000 tasks from SorryDB. We show that current approaches are complementary: even though an agentic approach based on Gemini Flash is the most performant, it is not strictly better than other off-the-shelf large-language models, specialized provers, or even a curated list of tactics.} }
Endnote
%0 Conference Paper %T SorryDB: Can AI Provers Complete Real-World Lean Theorems? %A Austin Letson %A Leopoldo Sarra %A Auguste Poiroux %A Oliver Dressler %A Paul Lezeau %A Dhyan Aranha %A Frederick Pu %A Aaron Hill %A Miguel Corredera Hidalgo %A Julian Berman %A George Tsoukalas %A Lenny Taelman %B Proceedings of the 43rd International Conference on Machine Learning %C Proceedings of Machine Learning Research %D 2026 %E Tong Zhang %E Miroslav Dudik %E Martin Jaggi %E Alekh Agarwal %E Sharon Li %E Dale Schuurmans %E Jerry Zhu %E Felix Berkenkamp %E Hanze Dong %E Alberto Bietti %F pmlr-v306-letson26a %I PMLR %P 65604--65627 %U https://proceedings.mlr.press/v306/letson26a.html %V 306 %X We present SorryDB, a dynamically-updating benchmark of open Lean tasks drawn from 78 real world formalization projects on GitHub. Unlike existing static benchmarks, often composed of competition problems, hillclimbing the SorryDB benchmark will yield tools that are aligned to the community needs, more usable by mathematicians, and more capable of understanding complex dependencies. Moreover, by providing a continuously updated stream of tasks, SorryDB mitigates test-set contamination and offers a robust metric for an agent’s ability to contribute to novel formal mathematics projects. We evaluate a collection of approaches, including generalist large language models, agentic approaches, and specialized symbolic provers, over a selected snapshot of 1000 tasks from SorryDB. We show that current approaches are complementary: even though an agentic approach based on Gemini Flash is the most performant, it is not strictly better than other off-the-shelf large-language models, specialized provers, or even a curated list of tactics.
APA
Letson, A., Sarra, L., Poiroux, A., Dressler, O., Lezeau, P., Aranha, D., Pu, F., Hill, A., Hidalgo, M.C., Berman, J., Tsoukalas, G. & Taelman, L.. (2026). SorryDB: Can AI Provers Complete Real-World Lean Theorems?. Proceedings of the 43rd International Conference on Machine Learning, in Proceedings of Machine Learning Research 306:65604-65627 Available from https://proceedings.mlr.press/v306/letson26a.html.

Related Material