TL;DR
Goedel-Architect is a new agentic framework for formal theorem proving in Lean 4 that shifts the paradigm from recursive decomposition to global "blueprint" management. By generating a dependency graph of lemmas and iteratively refining it based on prover feedback, it achieves state-of-the-art performance on undergraduate-level math benchmarks (like PutnamBench) while being up to 500x more cost-effective than previous open-source pipelines.
What Problem Does This Paper Address?
Formal theorem proving—writing mathematical proofs in a language like Lean that a computer can verify—is notoriously difficult for AI. Existing approaches generally fall into two camps:
- Non-agentic provers: These try to generate a complete proof in one shot. They work for simple problems but fail as complexity grows.
- Recursive pipelines: These break a big problem into smaller sub-goals. However, they often get stuck in "dead-end" strategies because they lack a global view of the proof structure.
Furthermore, the "frontier" systems that perform well (like Google’s AlphaProof) are often closed-source or require massive API budgets (thousands of dollars) to run on standard benchmarks. There is a pressing need for an efficient, open-source pipeline that can handle high-level competition mathematics.
Methods
The core innovation is the Blueprint, a global dependency graph of definitions and lemmas. The process follows a three-stage loop:
- Blueprint Generation: The "Architect" (an LLM) receives a formal statement and generates a graph of lemmas. It doesn't prove them yet; it just defines what needs to be true to reach the final theorem. This stage can be optionally "seeded" by a natural language proof to provide a structural scaffold.
- Parallel Theorem Proving: Each lemma node is dispatched to a Lean prover in parallel. The prover only sees the lemma and its declared "parents" (dependencies).
- Blueprint Refinement: If a lemma fails, the system doesn't just give up. It uses the failure as a diagnostic signal:
- Negation: If the prover finds a counter-example (proving the lemma is false), the Architect edits the blueprint to fix the logic or reroute the strategy.
- Forfeit: If the lemma is "too hard" to prove in one go, the Architect decomposes it into even smaller, more manageable helper lemmas.
The authors use DeepSeek-V4-Flash (an open-weight model) as the backbone for both the Architect and the Prover.
Datasets
The framework was evaluated on several rigorous benchmarks:
- MiniF2F-test: A standard suite of 244 high-school competition problems (AMC, AIME, IMO).
- PutnamBench: 672 problems from the William Lowell Putnam Mathematical Competition, representing undergraduate-level difficulty.
- Fresh Benchmarks: To ensure no data contamination, they tested on very recent exams: IMO 2025, Putnam 2025, and USAMO 2026.
Key Insights and Ideas
- Global vs. Local: By maintaining a global graph (the blueprint) rather than a local recursion tree, the system allows parallel proof attempts to share context and enables the Architect to refine the entire strategy at once.
- Failure is Information: A "negated sub-lemma" isn't a total failure; it's a machine-checked signal that a specific branch of the strategy is dead. This allows for "localized, machine-checked edits" rather than discarding the whole proof.
- Natural Language as a Scaffold: For the hardest problems (like IMO or USAMO), providing a natural language proof seed is "decisive." It anchors the strategy, allowing the refinement loop to converge on a formal proof that would be nearly impossible to find through raw search.
- Efficiency is a Feature: By using a structured pipeline and an efficient open-weight backbone, the cost per problem on PutnamBench dropped from ~$244 (for the previous best open pipeline, Hilbert) to just $0.44.
Key Results
- MiniF2F-test: Achieved 99.2% pass@1 (242/244). With natural language guidance, it closed the remaining two problems, reaching 100%—the first Lean prover to do so on this split.
- PutnamBench: Solved 75.6% of problems at pass@1, jumping to 88.8% with natural language guidance. This significantly outperforms previous systems like AxProverBase (54.7%).
- Olympiad Performance: Solved 4/6 on IMO 2025 and 11/12 on Putnam 2025, matching or exceeding the performance of systems using much more expensive proprietary models.
Limitations and Future Work
- Geometry Gaps: The system struggled with IMO 2025 P2, a geometry problem. The authors note that general-purpose Lean provers often need dedicated geometry engines to handle these specific types of proofs.
- Dependency on NL Seeds: While the system is powerful, the most difficult "non-local" problems still require a natural language proof to seed the initial blueprint.
- Search Ceiling: While refinement helps, the system is still limited by the underlying reasoning capabilities of the backbone LLM. Future work may involve integrating more advanced Reinforcement Learning (RL) to improve the "Prover" component's ability to close difficult gaps without further decomposition.
Summary updated