在Axiom Math的AI蜂群于10月25日周日为《有限单群分类定理》(CFSG)——俗称"巨大定理"——那篇长达15000页的证明进行自动验证的最后润色工作时,该公司创始数学家Ken Ono除了观看和回顾这一成就之外无事可做。
作为数学家的儿子,他在一些参与构建该证明的人中长大,这些人的工作被广泛认为是人类有史以来写过的最长的数学证明。现在,他正在为形式化验证父亲和同事们的成果贡献力量。"我妻子和我在一起,看着团队倒数完成验证,"他回忆道。"天哪,我无法形容我当时多么激动。"
未参与此项工作的圣安德鲁斯大学群论专家Colva Roney-Dougal谈到将CFSG形式化时表示:"我曾将其作为一个例子,说明某件事将非常难以形式化,因为我一直认为所需的计算量是根本无法企及的。"她说,"因此当我听到这个公告时,我真的、真的很惊讶。"
这项成果以及同期进行的7500页"Stacks项目"的形式化验证结果,代表了巨大的人工智能工程成就,并为将全部数学数字化奠定了一些基础工作。
为何如此轰动?CFSG涉及的是有限单群。所谓群,是指一组元素与一个运算(如加法或乘法)的组合,其遵循特定规则;而"单群"指的是无法进一步简化或分解的群,"有限"则是相对于包含无限多元素的群而言的。例如,一副牌的所有排列构成一个简单的有限群。
近两个世纪前,Évariste Galois奠定了群论的基础。此后,众多数学家将有限单群归类为18个家族(外加26个不属于任何家族的散在单群)。CFSG的证明证实了这一分类列表的完备性。
然而,完成这项看似简单的任务,需要整合远远超出任何一位数学家能够从半个世纪内约100位作者撰写的500余篇期刊文章中彻底理解的结果与论证。因此,将这一相互交织的知识网络转化为代码并验证其正确性,带来了诸多重大工程挑战,甚至超出了今年Axiom Math先前在证明形式化工作中所克服的困难。
据领导CFSG形式化的Axiom Math的Niels Voss表示,最难的挑战之一是证明本身的庞大篇幅。长达15,000多页的高度浓缩数学内容中,CFSG证明包含了多个定理、引理和定义,而这些所有内容都必须先转化为机器可读格式才能逐一核查。
要解决这一难题需要一些巧思。“我们处理了CFSG的所有文献,并在开始工作之前先梳理了非正式证明的网络结构,”Voss说道。“随后我们将CFSG的命题分解为约100个里程碑——沿途可独立验证的重要成果——并用它们来指导形式化过程并确保进展顺利。”
Roney-Dougal表示她对结果非常印象深刻,尤其赞赏形式化证明如何发现并澄清了原始人工证明中的几处错误。她认为这一成果对将群论中的任何现代研究进行形式化至关重要,例如她自己关于理解简单有限群行为的研究。
但Roney-Dougal表示,由于验证是自动完成的,很少有数学家能够从证明中提取信息并与社区分享,而且新一代数学家可能会“错过从实际操作中获取知识的机会”。
需要堆叠式的巧思
CFSG形式化宣布仅九天之后,Axion Math就披露其已自动完成了对Stacks项目的形式化工作。该项目由哥伦比亚大学数学家Aise Johan de Jong于2005年发起,是一部聚焦高度抽象的代数几何与代数栈(对现代弦论和数论至关重要的几何空间)的大型开源协作数学教科书及参考著作。
CFSG是一项单一的(规模宏大的)里程碑式定理,而Stacks项目本质上是一个组织精良的知识库,包含数千个环环相扣的定义、构造和引理,将现代代数几何的全部内容融会贯通。
该项目的最终形式化版本代码量仅为1600万行(相比之下,CFSG的形式化代码达4300万行,大致与Linux kernel相当),但这给Axiom Math的工程师带来了不同的挑战:需要在数千个相互交织的定义和定理之间实现忠实性与连贯性,该项目的负责人、Axiom Math的Vasily Ilin表示。
这就要求团队设计了一个分层 AI agent 系统,各专业职责并行运作,同时保持图书馆内每个定义的一致对齐,并以多 agent 审计、交叉核对源材料以及高强度测试来检验忠实度。这确保了每个元素和任务在整个项目中保持一致。
作为高度高效、通用、可复用且易于维护的基础概念正式库——为现代数学的许多领域所支撑——Stacks 形式化的影响可能是深远的。如今,任何人或任何 bot 都可以访问正式的 Stacks 库并在此基础上构建新的形式化数学。而 CFSG 与 Stacks 形式化两者相结合,标志着向形式化全部数学迈出了重要一步。"它们展示了形式化扩展的两种方式:一个极其漫长的证明,以及一个极其广泛的互联理论体系,"Ono 说。
Ono 和 Voss 认为,未来形式化数学将成为核心,会带来诸多优势:为定理和证明盖章确认、随着专业知识随时间流逝而保存知识、以及构建共享库作为创造新数学的基础。当所有数学被形式化之后,他们也对人类的角色持乐观态度,将形式化视为人类以新颖和创新方式使用和理解数学的跳板。"难道我们不应该更广泛地思考数学的未来可以是怎样的吗?"Ono 问道,"这让我兴奋,我真的非常兴奋。"
- AI 解决重大未解数学问题,并非所有人都高兴 ›
- AI 用于验证迄今最难数学证明 ›
本杰明·斯基斯(Benjamin Skuse)是一名专注于科学和技术领域的专业自由撰稿人。他曾于爱丁堡大学获得应用数学博士学位,并于西英格兰大学获得科学传播理学硕士学位。他的作品曾刊登于 New Scientist、WIRED、Physics World、Sky & Telescope、Photonics Focus 等多家刊物。
本文由 AI图鉴自动抓取并翻译,版权归原作者所有;如需查看原文请点下方链接。
As Axiom Math’s AI swarm was putting the final touches on the automatic verification of 15,000-page proof of the Classification of Finite Simple Groups (CFSG), colloquially referred to as the ‘enormous theorem’, on Sunday 25 October, the company’s Founding Mathematician Ken Ono had nothing to do but watch and reflect on the achievement.
As the son of a mathematician, he had grown up surrounded by some of the architects of the CFSG’s proof, widely considered to be the longest mathematical proof ever written by humans. Now, he was contributing to formally verifying what his father and peers had created. “My wife was with me as I watched the team countdown to completing the verification,” he recalls. “God, I cannot tell you how emotional I was.”
University of St Andrews group theorist Colva Roney-Dougal (who was not involved in the work) says of formalizing CFSG: “I held it up as an example of something that was going to be incredibly hard to formalize because I had thought that the amount of computing it was going to require was just unattainable,” she says. “So when I heard the announcement, I was really, really surprised.”
This result, along with the concurrent formal verification of the 7500-page Stacks project, represent a huge AI engineering achievement and lay some of the groundwork for digitizing all mathematics.
Formally enormous
Why the hoo-ha? The CFSG concerns finite simple groups. These are groups (sets of elements combined with an operation, like addition or multiplication, that follows specific rules) that are simple (in other words, cannot be reduced or simplified further) and finite (as opposed to groups containing an infinite number of elements). For example, all the permutations of a deck of cards form a simple finite group.
Évariste Galois laid the foundations for group theory almost 200 years ago. Finite simple groups have since been classified by myriad mathematicians into 18 families (plus 26 sporadic simple groups that do not belong to any of these families). The CFSG’s proof confirms that this list is complete.
But this simple task was only achieved by bringing together results and arguments that far exceed what any individual mathematician can fully absorb from more than 500 journal articles written by around 100 authors over a half-century period. Translating this interconnected web of knowledge into code and verifying its correctness therefore posed a number of significant engineering challenges, even beyond those overcome in earlier proof formalizations by Axiom Math this year.
One of the hardest, according to Axiom Math’s Niels Voss, who led the CFSG formalization, was the sheer length of the proof. Over 15,000 pages of dense mathematics, the CFSG proof contains multiple theorems, lemmas, and definitions none of which can be checked until everything has been made machine-readable.
To get around this required some ingenuity. “We processed all the literature from the CFSG, and traced the network structure of the informal proof before we were able to start working on it,” says Voss. “We then broke up the statement of the CFSG into about 100 milestones—landmark results along the way that can be independently verified—which we used to guide the formalization and stay on track.”
Roney-Dougal says she is very impressed with the result, and particularly appreciates how the formal proof finds and clears up several mistakes in the original human proof. She thinks this result is critical to formalizing any modern research in group theory, such as her own work understanding how simple finite groups behave.
But, Roney-Dougal says, because the verification was done automatically, there are few mathematicians capable of extracting information from the proof to share with the community, and that a new generation of mathematicians may have “missed a chance to gain knowledge from the doing of it”.
Stacks of ingenuity required
Just nine days after the CFSG formalization announcement, Axion Math revealed it had automatically formalized the Stacks project, too. Started in 2005 by Columbia University mathematician Aise Johan de Jong, Stacks is a massive, open-source collaborative mathematics textbook and reference work focused on highly abstract algebraic geometry and algebraic stacks (geometric spaces that are vital to modern string theory and number theory).
Whereas CFSG is a single (huge) landmark theorem, the Stacks project is essentially a well-structured library of thousands of interlocking definitions, constructions, and lemmas bringing all of modern algebraic geometry together.
The final Stacks formalization stands at a mere 16 million lines of code (compared to CFSG’s 43 million lines of code, roughly on a par with the Linux kernel), but it presented a different challenge to Axiom Math engineers: needing to achieve faithfulness and coherence across thousands of interlocking definitions and theorems, says Axiom Math’s Vasily Ilin, who led the project.
This required the team to design a hierarchical system of AI agents with specialized responsibilities working in parallel, keeping every definition aligned across the library, while also checking faithfulness with multi-agent audits, cross-checks against sources, and hard tests. This ensured that every element and task aligned across the entire project.
A highly efficient, general, reusable, and maintainable formal library of foundational concepts underpinning much of modern mathematics, the impact of the Stacks formalization could be profound. Now, anyone or any bot can access the formal Stacks library and build new formal mathematics upon it. And together, the CFSG and Stacks formalizations represent a significant step toward formalizing all of mathematics. “They show the two ways formalization has to scale: one very long proof, and one very wide body of connected theory,” says Ono.
Ono and Voss see numerous advantages to a future in which formal mathematics becomes central: rubber stamping theorems and proofs, preserving knowledge as expertise dwindles over time, and building a shared library as a basis for creating new mathematics. They are also optimistic about humanity’s role when all of mathematics is formalized, viewing formalization as a launchpad for humans to use and understand mathematics in new and innovative ways. “Aren’t we excited to think more broadly about what the future of math can be?,” asks Ono. “I’m excited by that. I’m really excited.”
- AI Solves a Major Unsolved Math Problem. Not Everyone Is Happy ›
- AI Used to Verify Toughest Mathematics Proof Yet ›
Benjamin Skuse is a professional freelance writer of all things science and technology. Previously, he earned a Ph.D. in applied mathematics from the University of Edinburgh and an M.Sc. in science communication from the University of the West of England. His work has appeared in New Scientist, WIRED, Physics World, Sky & Telescope, Photonics Focus, and many more.
Auto-fetched and translated by AI Atlas. All rights belong to the original author.