针对近期声称使用1700万行Lean代码证明黎曼猜想的事件,一项最新调查通过对比Mathlib和Reservoir中的开源数据指出,该代码长度远远超出常规人类编写的数学证明范畴 1。数据显示,Mathlib中收录的259个著名且由人类生成的Lean证明,其体量均远未达到1700万行的规模 1。分析表明,目前存在的部分超长Lean项目主要依赖自动化生成或AI代理,而非纯粹的人类手写逻辑。例如,CBirkbeck/LeanBridge项目虽然拥有3600万行代码,但其中约98%是由脚本自动生成的数据库检查文件,真正的手写部分仅约为50万行 1。另一例证是Qiuzhen-CFSG/CFSG项目,其代码量高达8800万行,被描述为仍在进行中的AI构建证明 1。
Anthropic发布的费马大定理证明案例进一步佐证了大规模Lean代码可能源于AI生成的观点。该项目README明确指出,源代码是由基于人类编写开源Lean的AI代理生成的 1。与Kevin Buzzard领导的约6万行人类手写版本相比,Anthropic这一AI版费马大定理证明的代码长度约为人类版本的450倍 1。综合这些对比案例,调查确认1700万行对于Lean代码而言确实是一个极大的规模,且往往伴随着大量非手写的自动生成内容 1。
Recent reports claiming a proof of the Riemann Hypothesis using 17 million lines of Lean code have been investigated by comparing them against established open-source mathematical libraries 1. Analysis confirms that this volume is significantly larger than standard human-authored proofs, as none of the 259 famous, human-generated Lean proofs in Mathlib approach this scale 1. While other large projects exist, such as the Qiuzhen-CFSG/CFSG repository with 88 million lines described as an ongoing AI-built proof, the 17-million-line figure remains an outlier compared to traditional manual efforts 1.
The investigation highlights that extreme code lengths in modern formal verification often stem from automated generation rather than manual writing. For instance, the CBirkbeck/LeanBridge project contains 36 million lines, but approximately 98% are database check files generated by scripts, leaving only about 500,000 lines of handwritten code 1. Similarly, Anthropic’s published proof of Fermat's Last Theorem was generated by AI agents based on open-source Lean code, resulting in a program roughly 450 times longer than the approximately 60,000-line version led by Kevin Buzzard 1. These comparisons substantiate that 17 million lines represent a massive deviation from conventional human-written mathematical proofs 1.
评论
还没有评论,欢迎留下第一条。