About SorryDB
SorryDB aims to bridge the gap between automated formal proof research and day-to-day mathematical practice. It supplies Lean users with the infrastructure needed to develop, test, and deploy AI proof agents against real theorems collected from public repositories.
Project overview
Automated (formal) theorem proving has the potential to make proof assistants such as
Lean easier to use, and ultimately to become a useful tool in mathematical research.
However, at the moment there is a significant gap between automated theorem proving
"in the lab" and adoption by mathematicians in "real world" conditions. This project
aims to help bridge this gap by setting up a continuously running competition that
evaluates the performance of AI theorem provers on sorry statements in
public repositories of ongoing Lean formalization projects.
The key features of this system are
- A focus on research mathematics (as opposed to competition mathematics), in all its diversity.
- The use of new, not-yet-proven statements to minimize the impact of data contamination on evaluation.
- A minimal barrier between competition performance and real-world adoption.
- An open design which allows users to add new or existing AI theorem provers to the competition with minimal engineering effort.
The project provides three pieces of infrastructure, a continuously updating dataset of sorries from public Lean 4 repositories that locally reproduces and verifies each statement; template agents that attempt to fill them; and an independent verifier that checks proposed proofs. The long-term vision is a leaderboard server that serves fresh sorries to competing clients, accepts solutions, and ranks them with an ELO-style rating, eventually opening automated pull requests back to the upstream repositories.
This project was motivated by Jason Rute's talk The Last Mile. It is much inspired by the miniCTX benchmark, the LeanAgent system, and the somewhat analogous SWE-bench for software engineering.
Evaluation Paper
An evaluation of current SOTA models on SorryDB
SorryDB: Can AI Provers Complete Real-World Lean Theorems?
Accepted at ICML 20261Axiomatic AI · 2University of Amsterdam · 3Math, Inc. · 4EPFL · 5Imperial College · 6The London School of Geometry and Number Theory · 7Côte d'Azur University · 8ENSEIRB-MATMECA, INP-Bordeaux · 9Columbia University · 10University of Toronto · 11The University of Texas at Austin