TheoremSmith
A pipeline that generates difficult proof tasks from existing Lean projects and verifies solutions
What does it do?
TheoremSmith finds top-level theorems in Lean projects that are not dependencies of other proofs, then creates tasks by removing the supporting proofs they need. For dependencies that appear in a proposition, it preserves the propositions and removes only the proofs so the solver cannot change the goal. When an agent fills in an answer file, Lean Comparator compares the submitted solution with the original proposition and checks whether the proof holds.
Key features
- Identify top-level theorems in existing Lean projects
- Create tasks requiring new proofs by removing dependent proofs
- Preserve propositions used as dependencies while removing only their proofs
- Compare submitted answer files with the original task propositions
- Use the Lean kernel to check proof validity and whether additional axioms were used