自动定理证明中苦涩教训的初尝

·

研究论文 · 2026/10/28

本文探讨了形式定理证明中是否可以通过简单的智能体循环扩展测试时计算来匹配人类设计的工作流。作者提出了h1,一个为模型提供高效Lean 4接口并通过验证器反馈和自我反思持续工作的简单框架,不施加分解或搜索结构。h1在PutnamBench、FATE-X和FormalConjectures100-Solved上达到最先进结果,解决了FormalConjectures中的八个开放问题,并在匹配模型下匹配或超越Goedel-Architect和AlphaProof Nexus等专用工作流,表明单次尝试(pass@1)通常可以扩展解决开放问题。通过消融和与Claude Code及AxProverBase的匹配模型比较,作者发现仅简单性不够:高效的Lean接口很大程度上决定了成本和解决率。因此建议未来工作在规定工作流之前,先用高效执行反馈评估前沿模型,以避免苦涩的教训。

本文挑战了形式定理证明中依赖复杂人类工作流的趋势,证明简单智能体循环结合高效接口即可达到最先进性能,并解决开放问题,为未来研究提供了重要启示:应优先评估模型在高效执行反馈下的能力,而非过早设计工作流。

While progress in informal mathematics has come largely from scaling the chain-of-thought and agentic reasoning of frontier language models, formal theorem proving has increasingly relied on human-designed workflows around these models, such as planning, decomposition, and orchestrating specialized provers. This raises a bitter-lesson question: can a simple agentic loop that scales test-time compute match these workflows? The answer matters as formal verification must scale to keep up with frontier models producing research mathematics, yet new workflows rarely settle it, as their gains are often confounded with stronger models or more compute. We study this question with h1, a simple harness that gives a model an efficient interface to Lean 4 and keeps it working through verifier feedback and self-reflection, without imposing a decomposition or search structure. h1 reaches state-of-the-art results on PutnamBench, FATE-X, and FormalConjectures100-Solved, settles eight open problems in FormalConjectures, and, at matched models, matches or outperforms specialized workflows such as Goedel-Architect and AlphaProof Nexus, surprisingly showing that a single attempt (pass@1) can often scale to solve open problems. Through ablations and matched-model comparisons with Claude Code and AxProverBase, we find that simplicity alone is not enough: an efficient Lean interface largely determines cost and solve rate. We thus recommend that future work evaluate frontier models with efficient execution feedback before prescribing workflows, at the risk of bitter lessons.

阅读原文

参与讨论