arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.17840cs.AI
收藏

组合恒等式的定理证明基准:通过自动定理生成

A Combinatorial Identities Benchmark for Theorem Proving via Automated Theorem Generation

East China Normal University(华东师范大学);Henan University(河南大学);Chinese Academy of Sciences(中国科学院)

Beibei Xiong, Hangyu Lv, Haojia Shan, Jianlin Wang, Zhengfeng Yang, Lihong Zhi

AI总结:

针对组合恒等式定理证明数据稀缺问题,构建LeanComb基准并开发ATG4CI自动生成器,结合自改进LLM与强化学习树搜索,生成26万条带证明定理,显著提升证明成功率。

摘要:

大型语言模型(LLMs)显著推进了形式化定理证明,但高质量训练数据的稀缺限制了它们在复杂数学领域的能力。组合学作为数学的基石,为分析离散结构和解决优化问题提供了基本工具。然而,其固有的复杂性使得组合恒等式的自动定理证明(ATP)尤为困难。为解决这一问题,我们手动构建了LeanComb——一个在Lean中的组合恒等式基准,据我们所知,这是首个为组合恒等式构建的形式化定理证明基准。我们开发了组合恒等式自动定理生成器ATG4CI,它将由自我改进的大型语言模型建议的候选策略与强化学习树搜索方法相结合,用于策略预测。通过利用ATG4CI,我们生成了一个LeanComb-增强数据集,包含26万个组合恒等式定理,每个定理在Lean中都有完整的形式化证明,实验评估表明,在此数据集上训练的模型能生成更有效的策略,从而提高组合恒等式自动定理证明的成功率。

英文摘要:

Large language models (LLMs) have significantly advanced formal theorem proving, yet the scarcity of high-quality training data constrains their capabilities in complex mathematical domains. Combinatorics, a cornerstone of mathematics, provides essential tools for analyzing discrete structures and solving optimization problems. However, its inherent complexity makes it particularly challenging for automated theorem proving (ATP) for combinatorial identities. To address this, we manually construct LeanComb, combinatorial identities benchmark in Lean, which is, to our knowledge, the first formalized theorem proving benchmark built for combinatorial identities. We develop an Automated Theorem Generator for Combinatorial Identities, ATG4CI, which combines candidate tactics suggested by a self-improving large language model with a Reinforcement Learning Tree Search approach for tactic prediction. By utilizing ATG4CI, we generate a LeanComb-Enhanced dataset comprising 260K combinatorial identities theorems, each with a complete formal proof in Lean, and experimental evaluations demonstrate that models trained on this dataset can generate more effective tactics, thereby improving success rates in automated theorem proving for combinatorial identities.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑