arXiv · 2601.17332
TheoremForge: Scaling up Formal Data Synthesis with Low-Budget Agentic Workflow
Abstract
The high cost of agentic workflows in formal mathematics hinders large-scale data synthesis, exacerbating the scarcity of open-source corpora. To address this, we introduce \textbf{TheoremForge}, a cost-effective formal data synthesis pipeline that decomposes the formalization process into five sub-tasks, which are \textit{statement formalization}, \textit{proof generation}, \textit{premise selection}, \textit{proof correction} and \textit{proof sketching}. By implementing a \textit{Decoupled Extraction Strategy}, the workflow recovers valid training signals from globally failed trajectories, effectively utilizing wasted computation. Experiments on a 2,000-problem benchmark demonstrate that TheoremForge achieves a Verified Rate of 12.6\%, surpassing the 8.6\% baseline, at an average cost of only \textbf{\$0.481} per successful trajectory using Gemini-3-Flash. Crucially, our strategy increases data yield by \textbf{1.6$\times$} for proof generation compared to standard filtering. These results establish TheoremForge as a scalable framework for constructing a data flywheel to train future expert models. Our code is available \href{https://github.com/timechess/TheoremForge}{here}.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Yicheng Tao, Hongteng Xu. 2026-01-24. TheoremForge: Scaling up Formal Data Synthesis with Low-Budget Agentic Workflow. https://arxiv.org/abs/2601.17332
Cite the original work for its findings. Save a collection to share your selection of sources.