arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.20120cs.AIcs.LO
收藏

使用阿基里斯API进行Lean 4中的AI辅助定理证明:格里菲斯问题的形式化案例研究

Using Aristotle API for AI-Assisted Theorem Proving in Lean 4: A Formalisation Case Study of the Grasshopper Problem

Nanyang Technological University(南洋理工大学)

Gabriel Rongyang Lau

AI总结:

本文通过形式化案例研究,探讨了使用阿基里斯API在Lean 4中进行AI辅助定理证明的挑战,展示了格里菲斯问题的证明过程,揭示了局部证明搜索成功但全局组合计数仍需解决的局限性。

摘要:

AI辅助定理证明现在可以生成大量Lean开发用于奥林匹克级数学,但这些开发的证据状态取决于哪些声明实际上已被验证。本文报告了针对格里菲斯问题(最初作为IMO 2009问题6提出)的Lean 4形式化案例研究,该研究涉及阿基里斯API的证明尝试。生成的成果包含一个通用的Lean定理版本,以及四个已验证的辅助引理,用于局部组件的最大性和相邻交换策略。主定理直接通过一个未解决的sorry声明关闭。已验证的组件证明了最终部分和等于总和,相邻置换仅影响相关的中间部分和,改变的部分和具有预期形式,以及在某个位置允许相邻后继交换的最大性迫使相应的禁止集成员事实。阿基里斯输出摘要识别出剩余的数学步骤是需要证明这些成员事实产生至少n个不同的禁止值,从而反驳| M | < n的基数假设;Lean源代码本身并未将主定理归约到单独编码的计数引理。该案例研究提供了一个可检查的例子,展示了AI辅助形式化中的核心限制,即局部证明搜索可以成功,但定理所需的全局组合计数仍需解决。本文贡献了一个可重复的Lean artifact和对其已验证和未验证证明内容的精确分析。

英文摘要:

AI-assisted theorem proving can now generate substantial Lean developments for olympiad-level mathematics, but the evidential status of such developments depends on which declarations are actually verified. This paper reports a Lean 4 formalization case study of an Aristotle API proof attempt for the Grasshopper problem, originally posed as IMO 2009 Problem 6. The generated artifact states a generalized Lean version of the theorem, contains four verified helper lemmas for local components of a maximality and adjacent-swap exchange strategy, and leaves the main theorem grasshopper closed directly by one unresolved sorry. The verified components establish that the final partial sum equals the total sum, that an adjacent transposition can affect only the relevant intermediate partial sum, that the changed partial sum has the expected form, and that maximality at a position admitting an adjacent successor swap forces a corresponding forbidden-set membership fact. The Aristotle output summary identifies the intended remaining mathematical step as the global counting step needed to show that these membership facts produce at least n distinct forbidden values, contradicting the cardinality assumption |M| < n; the Lean source itself does not reduce the main theorem to a separately encoded counting lemma. This case study gives an inspectable example of a central limitation in AI-assisted formalization, namely that local proof search can succeed while the global combinatorial bookkeeping required for a theorem remains unresolved. The paper contributes a reproducible Lean artifact and a precise analysis of its verified and unverified proof content.

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

↑