数学的未来
[This is a guest post by Jeremy Avigad. This blog post was initially written in a different file format and converted using AI. — T.]
“Mathematics underwent, in the nineteenth century, a transformation so profound that it is not too much to call it a second birth of the subject—its first birth having occurred among the ancient Greeks…”
Howard Stein, in “Logos, Logic, and Logistiké: Some Philosophical Remarks on Nineteenth-Century Transformation of Mathematics”
“The report of my death was an exaggeration.”
Mark Twain
“May you live in interesting times.”
(traditional)
I recently attended a meeting of innovative science and technology startups supported by Convergent Research, the organization that oversees the Lean FRO, a nonprofit that develops the Lean theorem prover. The meeting was designed to stimulate discussion, and when I introduced myself as a mathematician, many participants were eager to talk about the impact of recent events in AI on mathematics and reactions in the mathematics community. They were surprised to hear that I find the tone of the community responses on blogs like this one and Proofs and Prompts generally positive and encouraging, even though we all recognize that fundamental aspects of our day-to-day professional lives are bound to change. These discussions have helped me shape some of the thoughts I would like to share here.
There is a narrow view of what mathematicians do, encapsulated in our daily workflows: we try to solve problems, and when the hard problems are too hard to solve, we make up easier approximations, solve them, and then vary the parameters. That practice has been disrupted by the events of the last few months, in the sense that the kinds of results that would have, a year ago, made for perfectly respectable publications can now easily be generated with the help of AI. This has left us worrying about what it will mean to do mathematics going forward, as well as how to train and support the next generation of mathematicians to do whatever that is.
The history of mathematics offers us a broader view. What has remained stable, despite centuries of changes, is that mathematics is a culture of rigorous reasoning and communication, providing us with language and abstractions that let us think and communicate more reliably and efficiently. Surely such reasoning is still important, even in the age of AI. The fact that many of us find mathematics aesthetically pleasing doesn’t diminish its practical utility, but rather is explained by it: I expect that the reason that doing mathematics feels so good is that it is the exercise of capacities that are so fundamental to our survival as a species that they are wired into our DNA. If that’s right, mathematical thought isn’t going away any time soon.
The challenge is that solving the kinds of problems we have been solving for decades becomes decoupled from the goal of enhancing our mathematical understanding when we let AI do the work. The question, therefore, isn’t whether we still need mathematics, but rather how to pursue mathematical understanding in the age of AI. I will provide three general answers.
Solve harder problems
There are two salient features of today’s foundation models: first, they have seen the entire mathematical literature, and second, they are tireless; a swarm of agents can make its way to a solution by trying countless variations. This explains why the AI-generated solutions to open problems we have seen all have a similar character: they are problems that AI could solve by cobbling together available techniques. (I am grateful to Matthew Ballard for this characterization, and the subsequent analysis.)
Can every interesting mathematical question be answered that way? Probably not, and even questions that can may have more interesting and satisfying solutions that invoke novel ideas and insights. Perhaps, in the near future, AI systems will be able to come up with such insights, but, at the very least, let’s recognize that we are not there yet. Reinforcement-learning training regimes have systems chain conventional moves and learn, from a history of failures and successes, which ones are most promising in a given state. The fact that the value of an action is graded solely in terms of the success of a final trajectory breeds superhuman cleverness but may miss creativity and higher-level strategizing. In any case, there are still hard questions to be solved and ambitious research programs to pursue, and the possibility of making progress on them with the help of AI is exciting.
Think bigger thoughts
Our present situation would be much more depressing if mathematics were a matter of ticking off problems imposed on us by aliens, an endless sequence of exercises and exams. The good news is that when we do mathematics, we get to choose the problems, grade the solutions, and favor the ones we like best. We decide what’s interesting to us, what questions to pursue, and why. Our destiny is in our hands.
The things we admire most in mathematics often seem to come out of nowhere. In 1853, the young Bernhard Riemann submitted three potential topics to his advisor, Carl Friedrich Gauss, to choose from for his Habilitationsvortrag, a lecture he was required to give to secure a teaching position at the University of Göttingen. Gauss reportedly chose the topic for which Riemann was least prepared, to see what he would make of it. The resulting lecture, “On the Hypotheses Which Lie at the Foundations of Geometry,” was published posthumously in 1868, and it revolutionized the field. The lecture distinguished a space’s metric properties from its topological properties and introduced the general notion of a manifold, though the latter did not receive a fully rigorous treatment until the twentieth century. The focus on intrinsic properties of a space—in Riemannian geometry, those determined by the metric and independent of embedding in a larger space—was key to Einstein’s theory of general relativity decades later. Riemannian geometry has had applications that Riemann himself could never have imagined, from robotics and medical imaging to statistical analysis.
William Ewald’s excellent sourcebook, From Kant to Hilbert, provides a lovely introduction to the paper and quotes Felix Klein’s description of the work:
“The publication of [Riemann’s lecture] occurred just at the time when I was beginning to occupy myself independently with mathematical problems. So I still have vivid memories of the extraordinary impact Riemann’s train of thought made on the young mathematicians of the day. Much seemed to us dark and difficult to understand, and yet of unfathomable depth, where the modern mathematician, who has already absorbed all these things into his mode of thought from the outset, only admires the clarity and fecundity of the exposition.”
What seemed dark and mysterious to the young Klein is now part of the canon, something that foundation models have absorbed and internalized through their training, just as young mathematicians do. I am grateful to Ballard once again for suggesting this example and pointing out that no reinforcement-learning setup could have evaluated Riemann’s decisions: the benefits are diffuse and hard to track, and the time horizon is much too long.
The same can be said for countless mathematical developments that have opened up new vistas, such as Galois’ focus on groups of permutations in the study of solvability of algebraic equations, Poincaré’s qualitative studies of dynamical systems, or Grothendieck’s far-reaching conceptual innovations. Will AI eventually be able to make advances like these? That’s not even the right question to ask. Telling us that some AI agent is spinning out theorems that are highly interesting to it and other AI agents does nothing for us. We should care about AI only insofar as the results are interesting and important to us, and, at the end of the day, it’s up to us to decide what that means. The values we assign to mathematical developments are embedded in our history and culture.
Imagine planning a trip to go backpacking in the Alaskan wilderness for exercise and recreation. You might be happy to let AI help book your flight, but not to let AI take the hike for you and send you pictures. In mathematics, what is at stake isn’t our recreation but agency over our reasoning and deliberation. Whether or not AI can think, it can’t think for us. We have our own lives to live; mathematics is our story to tell, and it’s up to us to decide how to tell it. With AI, there’s even more to explore, and no shortage of avenues for discovery.
Try new things
So far, I have focused on using AI to help us do the things we used to do, but let’s not forget that the technologies themselves raise new questions, and that we have a lot to learn about how to use them effectively. I have argued in another essay (now scheduled to appear in the Notices of the AMS) that mathematicians should be actively involved in understanding how the technologies work and in coming up with novel and creative ways to use them to do new mathematics.
AI changing what it means to do mathematics is not without precedent. The use of algebraic methods to solve geometric problems in the seventeenth century was a new technology, and not everyone liked it; yet we mastered the new techniques and learned how to use them to great effect. The same is true of infinitesimals later in that century, algebraic structures in the nineteenth century, set-theoretic abstraction and structural language in the early twentieth century, and numerical and symbolic computation more recently. These were all alien and disconcerting when they were new. We should view those who invest time and energy in getting proof assistants and neural networks to help us discover new mathematics as doing mathematics proper, rather than dismissing them as mere technicians. In the age of AI, developing symbolic automation or training a neural network can be no less a contribution to mathematics than manually chaining inferences to prove a theorem.
I have heard arguments that as the job market contracts, we should turn inward to preserve traditional mathematical skills. On the contrary, I believe that engaging with new technologies and learning how to use them to improve our ability to reason and discover new mathematics will keep the discipline strong. Expanding our view of mathematics is the best way to expand the profession and keep it relevant.
Our message to the next generation
My rosy outlook on the future and glib advice to solve harder problems, think bigger thoughts, and try new things will not provide much comfort to students and early-career researchers, who feel the ground shifting beneath their feet. My words are not meant to diminish the challenges ahead or suggest easy responses to the disruption. Mathematics departments, community leaders, educators, professional societies, and journal boards are holding emergency meetings all over, and are doing their best to make concrete recommendations and take appropriate action. We have our work cut out for us.
Despite the uncertainty, there are some clear messages we can send to the next generation of mathematicians. The first is that we stand with you. There is nothing more important to us than the health and strength of the discipline, and ensuring that you can thrive. We have the humility to recognize that our experience and expertise are limited, and that some of the things we thought we knew in the past are no longer valid. We are committed to working with you as best we can to preserve the profession and keep it strong.
Second, mathematics is as important today as it ever was, and we need you. AI must not replace our collective ability to reason and deliberate, and mathematics remains a core capacity for doing so. We cannot imagine a world in which mathematics does not play an important part in our lives.
Finally, the next few years will be extremely interesting. We are at a new frontier, where our communal norms, values, and expectations are beginning to break down, and it’s up to all of us to figure out what should replace them. I am confident that future historians will see this moment as the start of a new era of mathematics, and that they will weigh the consequences of our actions and decisions. Mathematics has never been for the faint of heart; this is our opportunity to rise to the occasion and face the challenges together.
摘要
针对AI自动生成数学证明所引发的职业焦虑,学者阿维加德指出,数学本质上是人类追求严谨推理与理解的文化系统,而非单纯的解题演练。强化学习模型虽能不知疲倦地拼接现有技巧,却缺乏具有漫长回馈周期的宏观概念创新能力。数学界应主动接纳自动化工具,拓展探索边界,在解决更深刻难题的过程中牢牢捍卫人类认知主权。
内容框架与概述
近期基础模型与自动化工具的突破使AI能够轻而易举地生成以往足以发表的常规数学成果,引发了数学界对学科前景与人才培养的普遍忧虑。然而,这种焦虑根源于对数学工作的狭隘理解——将其等同于构造近似问题和调试参数的日常解题流。从更宏阔的学科历史来看,数学始终是一种关于严谨推理、抽象建构与交流表达的文化体系,其美感与实用价值深植于人类生存的基本认知机能之中。当机器接管具体问题的求解时,解题本身与数学理解的目标发生了脱钩,如何重新确立人类对数学理解的追寻成为核心命题。
面对这一挑战,数学家需要从策略、视野和工具三个层面做出转向。当前的AI模型凭借遍历文献的先验知识与不知疲倦的搜索能力,擅长通过拼凑已知技巧来攻克特定难题;但强化学习对单一任务成功轨迹的即时奖惩机制,无法孵化出超越局部的远见与高阶策略。真正的数学突破往往源自概念革命,例如黎曼在十九世纪创立流形与内蕴几何学,其价值耗费数十年乃至数个世纪才在相对论与现代科技中显现,这是任何短期目标导向的强化学习算法无法预估的。数学不是被动完成外在考核,而是人类自主赋予问题以价值和意义的探索之旅。
技术革新重塑数学实践在历史上屡见不鲜,从代数几何化、微积分无限小概念、公理化集合论到现代计算,每一次异质工具的引入都曾引发阵痛并最终极大拓展学科的疆界。今天,投身于形式化定理证明系统与神经网络开发的学者同样在从事真正的数学研究。数学界不应在紧缩的市场中内卷守旧,而应主动将AI作为拓展认知边界的杠杆,引领年轻一代向更具深度的大问题进发,在技术剧变中共同塑造下一个时代的数学规范。
核心概念及解读
概念性创新:超越局部解题技巧、提出全新数学语言与抽象结构的认知跃迁,其价值通常需要跨越数十年才能显现。
认知主权与思考解耦:指AI接管解题计算后,答案获得与人类理解出现割裂,数学家必须保留定义问题和深层反思的主体地位。
强化学习的短视困境:强化学习依据最终成功轨迹奖励常规招式拼接,擅长超人级微观精巧,却难以评估发散、长周期的战略洞见。
数学工具范式转移:历史上从微积分到计算工具的引入均拓展了数学本质,开发形式化与AI工具应被视为合法的数学创造。
新意与局限
- 深刻揭示了当下AI自动化解题的本质局限:基于强化学习的模型擅长局部招式拼接与短期奖励优化,但在漫长回馈周期、价值隐蔽弥散的宏观概念创新(如黎曼几何)面前存在根本性盲区,从而有力重构了人类在定义问题与赋予意义上的不可替代性。
- 将开发形式化证明、训练神经网络直接提升至进行正统数学创造的认识论高度,破除了纯粹推演与工程工具之间的等级观念,并以代数引入几何、无穷小计算等技术史案例提供了令人信服的演进范式。
- 尽管文章态度诚恳,但提出攻克更大难题、思考宏大概念的建议对面临发表考核、就业市场紧缩与评价机制重塑的青年研究者而言门槛过高,缺乏制度性支持、评审体系重塑等具体可操作路径。
- 论证默认将AI限定在已知技巧的拼接者角色,而对模型自主形成抽象表征、元数学推理乃至概念自动抽象的长期演化可能讨论不足,其关于AI无法产生宏观洞见的界限未来或面临技术迭代的冲击。
[本文为 Jeremy Avigad 的客座文章。这篇博文最初使用另一种文件格式撰写,后借助 AI 转换格式。——陶]
“十九世纪,数学经历了一场极其深刻的转变,称之为这门学科的第二次诞生也不为过;它的第一次诞生则发生在古希腊人那里……”
Howard Stein,〈逻各斯、逻辑与 Logistiké:关于十九世纪数学变革的若干哲学评论〉
“关于我去世的报道,言过其实了。”
马克·吐温
“愿你生活在有趣的时代。”
(传统说法)
我最近参加了一次由 Convergent Research 支持的创新科技初创机构会议。Convergent Research 是负责统筹 Lean FRO 的组织,后者是一家开发 Lean 定理证明器的非营利机构。这次会议旨在促进讨论。当我介绍自己是一名数学家时,许多与会者都很想聊聊 AI 最近的发展对数学造成的影响,以及数学界的反应。当他们听到我认为,在这个博客和 Proofs and Prompts 等博客上,数学界回应的总体基调是积极且令人鼓舞的,他们很惊讶,尽管我们都意识到,日常职业生活中的一些基本方面势必发生改变。这些讨论帮助我梳理出一些想在这里分享的想法。
对于数学家的工作,有一种狭义的看法,可以概括为我们的日常工作流程:我们尝试解决问题;当难题太难、无法解决时,就构造一些更容易的近似问题,解决它们,再改变参数。过去几个月发生的事情冲击了这种做法,因为一年前还足以构成相当体面的论文的那类结果,如今借助 AI 就能轻松产生。这让我们担忧:今后从事数学将意味着什么,以及应当如何培养和支持下一代数学家,让他们能够从事那样的工作,无论那最终会是什么。
数学史为我们提供了更宽广的视野。尽管经历了数百年的变迁,有一点始终未变:数学是一种严谨推理与交流的文化,它为我们提供语言和抽象工具,使我们能够更可靠、更高效地思考和交流。即使在 AI 时代,这样的推理当然仍然重要。我们许多人觉得数学具有美感,这并不削弱数学的实际效用;相反,这种美感恰恰可以由它的效用来解释。我想,做数学之所以感觉如此美妙,是因为我们在运用一些对人类这一物种的生存至关重要、以至于已经写入我们 DNA 的能力。如果确实如此,数学思维就不会在短期内消失。
挑战在于,当我们让 AI 来完成工作时,解决我们几十年来一直在解决的那类问题,就与增进数学理解的目标脱节了。因此,问题并不是我们是否仍然需要数学,而是在 AI 时代应当如何追求数学理解。我将给出三个总体性的答案。
解决更难的问题
如今的基础模型有两个显著特点:第一,它们看过全部数学文献;第二,它们不知疲倦,一群智能体可以通过尝试无数种变化来找到解答。这解释了为什么我们看到的 AI 对未解决问题给出的解答,都有一种相似的特征:这些问题能够通过把现有技巧拼接起来解决。(感谢 Matthew Ballard 提出这一概括,以及随后的分析。)
每一个有趣的数学问题,都能用这种方式回答吗?恐怕不能。而且,即便某些问题可以这样解决,也可能存在借助新颖思想和洞见的、更有趣、更令人满意的解答。也许在不久的将来,AI 系统就能够提出这样的洞见,但至少,我们应当承认,现在还没有做到。强化学习的训练机制让系统把常规操作串联起来,并从以往的失败和成功中学习,在给定状态下哪些操作最有希望。一个动作的价值仅仅按照最终行动轨迹是否成功来评定,这种做法能培养出超人的机巧,却可能错过创造力和更高层次的战略思考。无论如何,仍然有艰难的问题等待解决,也有雄心勃勃的研究纲领值得推进,而借助 AI 在这些方面取得进展的可能性令人振奋。
思考更宏大的想法
如果数学只不过是逐一完成外星人强加给我们的问题,面对无休无止的练习和考试,那么我们眼下的处境就会令人沮丧得多。好消息是,做数学时,我们可以自己选择问题,评判解答,并偏爱自己最喜欢的那些。什么让我们感兴趣,追求哪些问题,为什么追求,都由我们决定。我们的命运掌握在自己手中。
数学中最令我们钦佩的东西,往往仿佛横空出世。1853 年,年轻的 Bernhard Riemann 向导师 Carl Friedrich Gauss 提交了三个备选题目,请他为自己的大学授课资格演讲(Habilitationsvortrag)挑选一个。这是 Riemann 为获得哥廷根大学的教职而必须作的一场演讲。据说,Gauss 选择了 Riemann 准备最不充分的那个题目,想看看他能做出什么。由此产生的演讲〈论作为几何学基础的假设〉,于 1868 年在 Riemann 去世后发表,并给这个领域带来了革命性的变化。演讲区分了空间的度量性质和拓扑性质,并引入了流形的一般概念,尽管后者直到二十世纪才得到完全严格的处理。对空间内在性质的关注——在黎曼几何中,就是由度量决定、与空间嵌入更大空间的方式无关的性质——成为几十年后爱因斯坦广义相对论的关键。黎曼几何如今的应用,从机器人技术、医学成像到统计分析,有许多是 Riemann 本人绝不可能预料到的。
William Ewald 出色的文献选集《从康德到希尔伯特》为这篇论文作了精彩的导读,并引用了 Felix Klein 对这项工作的描述:
“[Riemann 的演讲]发表时,恰好是我开始独立研究数学问题的时候。因此,我至今仍清楚记得,Riemann 的思路对当时的年轻数学家造成了何等非凡的冲击。许多东西在我们看来晦暗难懂,却又深不可测;而现代数学家从一开始就已经把这些东西全部融入自己的思维方式,只会赞叹这篇论述的清晰与丰饶。”
年轻的 Klein 眼中那些晦暗而神秘的东西,如今已成为经典知识的一部分;基础模型通过训练吸收并内化了它们,正如年轻数学家所做的那样。再次感谢 Ballard 提供这个例子,并指出,没有任何强化学习设置能够评价 Riemann 的决策:其益处分散而难以追踪,涉及的时间跨度又实在太长。
对于无数开辟了新天地的数学进展,也都可以这样说,例如 Galois 在研究代数方程可解性时对置换群的关注,Poincaré 对动力系统的定性研究,或者 Grothendieck 影响深远的概念创新。AI 最终能作出这样的进展吗?这甚至不是我们该问的问题。告诉我们某个 AI 智能体正在源源不断地产出它和其他 AI 智能体觉得十分有趣的定理,对我们并没有帮助。只有当 AI 的结果对我们有趣且重要时,我们才应当关注它;归根结底,这意味着什么,要由我们来决定。我们赋予数学进展的价值,植根于我们的历史与文化。
想象一下,你正在计划一次前往阿拉斯加荒野的背包徒步旅行,为的是锻炼身体和休闲放松。你或许很乐意让 AI 帮你订机票,却不会愿意让 AI 替你徒步,再给你寄照片。在数学中,事关的并非我们的休闲娱乐,而是我们对自身推理与审慎思考的自主权。无论 AI 能否思考,它都不能替我们思考。我们有自己的人生要过;数学是我们要讲述的故事,而如何讲述,由我们决定。有了 AI,可探索的东西更多了,通向发现的道路也远不止一条。
尝试新事物
到目前为止,我主要谈的是用 AI 帮助我们做过去就在做的事情。不过,别忘了,这些技术本身也提出了新的问题,而且关于如何有效使用它们,我们还有很多东西要学。我在另一篇文章中论证过(该文现已确定将发表于《美国数学会通讯》),数学家应当积极参与理解这些技术如何运作,并想出新颖而有创造力的使用方式,借此开展新的数学研究。
AI 改变“做数学”的含义,并非没有先例。十七世纪,用代数方法解决几何问题就是一种新技术,而且并非人人都喜欢;但我们掌握了这些新技巧,并学会了如何有效运用。同一世纪稍后出现的无穷小、十九世纪的代数结构、二十世纪初的集合论抽象与结构性语言,以及更近一些的数值计算和符号计算,也都是如此。这些事物初现之时,全都陌生而令人不安。对于那些投入时间和精力,让证明助手与神经网络帮助我们发现新数学的人,我们应当认为他们从事的就是数学本身,而不是把他们打发为仅仅是技术人员。在 AI 时代,开发符号自动化工具或训练神经网络,对数学的贡献可以丝毫不逊于手工串联推理来证明一个定理。
我听过这样的论点:随着就业市场收缩,我们应该转向内部,守住传统的数学技能。恰恰相反,我相信,参与新技术的发展,并学会利用它们提升我们的推理能力、发现新的数学,才会让这门学科保持强健。拓宽我们对数学的认识,是扩大这一职业领域、使其继续与现实息息相关的最佳途径。
我们想对下一代说的话
我对未来的乐观展望,以及那些说起来轻巧的建议——解决更难的问题,思考更宏大的想法,尝试新事物——不会给学生和职业生涯早期的研究者带来多少安慰;他们正感到脚下的地面发生位移。我说这些话,并不是要淡化前方的挑战,也不是暗示面对这种冲击存在简单的应对办法。各地的数学系、数学界的领导者、教育工作者、专业学会和期刊编委会都在召开紧急会议,尽力提出具体建议并采取恰当行动。我们面前有艰巨的工作要做。
尽管充满不确定性,我们仍然可以向下一代数学家传达一些明确的信息。首先,我们与你们站在一起。对我们而言,没有什么比这门学科的健康与强健,以及确保你们能够蓬勃发展,更重要。我们愿意谦逊地承认,自己的经验和专业知识有限,而且过去一些我们以为自己知道的事情,如今已不再成立。我们承诺尽己所能与你们合作,维护这一职业领域,使它保持强健。
其次,数学在今天与以往任何时候一样重要,而我们需要你们。AI 不能取代我们集体进行推理和审慎思考的能力,数学仍然是支撑这种能力的核心本领。我们无法想象一个数学不再在生活中发挥重要作用的世界。
最后,接下来的几年将极其有趣。我们正处在一个新的前沿,我们共同的规范、价值观和预期开始瓦解,而该用什么取而代之,需要我们所有人一起来探寻。我相信,未来的历史学家会把这一刻视为数学新纪元的开端,并衡量我们的行动与决定所造成的后果。数学从来不属于胆怯者;这是我们挺身而出、共同迎接挑战的机会。