# 忙碌海狸

忙碌海狸函数由蒂博尔·拉多（Tibor Radó）于1962年提出，它把图灵机的状态数 *n* 映射为任一 *n* 状态、二符号机器从空白纸带出发、在停机前所能达到的最大步数，或者纸带上写下的最大 1 的数量。<sup>[1](https://onlinelibrary.wiley.com/doi/abs/10.1002/j.1538-7305.1962.tb00480.x)</sup><sup> • </sup><sup>[2](https://mathworld.wolfram.com/BusyBeaver.html)</sup> 它是一个良定义函数的具体例子，没有任何算法能计算它；它的增长速度超过任何可计算函数。<sup>[3](https://proofandmachine.github.io/articles/the-busy-beaver-and-what-cannot-be-computed/)</sup>

| 关键事实 | 详情 |
|---|---|
| 起源 | 由蒂博尔·拉多定义，《论不可计算函数》，《贝尔系统技术期刊》41: 877–884，1962年5月<sup>[1](https://onlinelibrary.wiley.com/doi/abs/10.1002/j.1538-7305.1962.tb00480.x)</sup> |
| 两个函数 | Σ(n)，纸带上留下的最大 1 的数量（拉多 sigma 函数），以及 S(n)，停机前的最大步数<sup>[2](https://mathworld.wolfram.com/BusyBeaver.html)</sup> |
| S(n) 的已知值 | 当 n = 1, 2, 3, 4 时为 1, 6, 21, 107；S(5) = 47,176,870 于 2024 年得到证明<sup>[2](https://mathworld.wolfram.com/BusyBeaver.html)</sup><sup> • </sup><sup>[4](https://discuss.bbchallenge.org/t/july-2nd-2024-we-have-proved-bb-5-47-176-870/237)</sup> |
| Σ(n) 的已知值 | 当 n = 1, 2, 3, 4 时为 1, 4, 6, 13；Σ(5) = 4,098 于 2025 年得到证明<sup>[2](https://mathworld.wolfram.com/BusyBeaver.html)</sup><sup> • </sup><sup>[5](https://arxiv.org/abs/2509.12337)</sup> |
| 增长 | 最终超过任何可计算函数；用克努特上箭头记号表示，S(6) > 2↑↑↑5<sup>[3](https://proofandmachine.github.io/articles/the-busy-beaver-and-what-cannot-be-computed/)</sup><sup> • </sup><sup>[2](https://mathworld.wolfram.com/BusyBeaver.html)</sup> |
| 逻辑强度 | 一台 748 状态机器（后来改进为 745 状态）当且仅当策梅洛-弗兰克尔集合论不一致时停机，因此 BB(748) 无法在 ZFC 中证明<sup>[3](https://proofandmachine.github.io/articles/the-busy-beaver-and-what-cannot-be-computed/)</sup> |

## 定义

拉多考虑的是字母表为 {0, 1}、带有双向无限纸带、状态标为 1 到 n、从全零纸带上的状态 1 启动的图灵机。<sup>[6](https://www.cs.umd.edu/~gasarch/open/busybeaver.pdf)</sup> 游戏规则是运行所有 n 状态二符号机器，只保留最终停机的那些，并把冠军称号授予在纸带上留下最多 1 的停机机器；这个最大值就是 Σ(n)。拉多还引入了 S(n)，即停机的 n 状态机器从全零纸带出发所能走的最大步数。<sup>[5](https://arxiv.org/abs/2509.12337)</sup> 有些作者用“忙碌海狸”指获胜机器本身，而把函数名留给最大值；记号 BB(n) 历史上有时指 Σ，有时指 S。<sup>[5](https://arxiv.org/abs/2509.12337)</sup>

这两个函数不同，因为运行最久的机器未必是写 1 最多的机器。对于 n = 5，步数冠军在 47,176,870 步中写了 4,098 个 1。<sup>[5](https://arxiv.org/abs/2509.12337)</sup>

## 为什么该函数不可计算

拉多通过最大化论证而非对角线法证明了该函数不可计算：停机的 n 状态机器集合有限且非空，因此它有最大元素，但没有算法能对任意 n 产生该元素。<sup>[1](https://onlinelibrary.wiley.com/doi/abs/10.1002/j.1538-7305.1962.tb00480.x)</sup> 与停机问题的联系是直接的。如果有一个算法能计算忙碌海狸函数，那么给定任意 k 状态机器 M，就能计算 BB(k)，运行 M 这么多步，若到时仍未停下就宣布 M 不停机；运行时间超过所有停机 k 状态机器的机器永不停机。<sup>[3](https://proofandmachine.github.io/articles/the-busy-beaver-and-what-cannot-be-computed/)</sup><sup> • </sup><sup>[7](https://content.wolfram.com/sites/13/2018/02/25-4-4.pdf)</sup>

同一论证也限制了数学能证明的范围。任何写成计算机程序的函数最终都会被忙碌海狸函数超过；知道一个足够大的忙碌海狸值，就能判定所有该规模或更小规模机器的停机状态。<sup>[3](https://proofandmachine.github.io/articles/the-busy-beaver-and-what-cannot-be-computed/)</sup>

## 已知值与 BB(5) 证明

Σ(n) 的最初几个值是 1, 4, 6, 13，S(n) 的最初几个值是 1, 6, 21, 107。<sup>[2](https://mathworld.wolfram.com/BusyBeaver.html)</sup> 三状态情形由林（Lin）与拉多于1965年解决，四状态情形由艾伦·布雷迪（Allen Brady）于1983年解决。<sup>[2](https://mathworld.wolfram.com/BusyBeaver.html)</sup> 1989年，海纳·马克森（Heiner Marxen）和于尔根·本特罗克（Jürgen Buntrock）找到了一台五状态机器，它运行 47,176,870 步并写下 4,098 个 1；但是否有任何五状态机器能胜过它，此后数十年一直悬而未决。<sup>[5](https://arxiv.org/abs/2509.12337)</sup> 2020年，得克萨斯大学奥斯汀分校（University of Texas at Austin）的理论计算机科学家斯科特·阿伦森（Scott Aaronson）在其综述《忙碌海狸前沿》中猜测，马克森–本特罗克机器才是真正的赢家。<sup>[5](https://arxiv.org/abs/2509.12337)</sup><sup> • </sup><sup>[8](https://www.quantamagazine.org/how-the-slowest-computer-programs-illuminate-maths-fundamental-limits-20201210/)</sup>

**2024年证明。** 2024年7月2日，忙碌海狸挑战（bbchallenge）——一个2022年启动、由特里斯坦·斯特兰（Tristan Stérin）协调的在线协作项目——宣布证明了 S(5) = 47,176,870。<sup>[4](https://discuss.bbchallenge.org/t/july-2nd-2024-we-have-proved-bb-5-47-176-870/237)</sup><sup> • </sup><sup>[9](https://www.lemonde.fr/sciences/article/2024/07/17/mathematiques-le-defi-du-castor-affaire-resolu_6251337_1650684.html)</sup> 贡献者 mxdys 在 Coq 证明助手中写出了该证明，其工作建立在十多位其他贡献者的成果之上；独立的 Coq 专家审阅了定理陈述，该证明在标准笔记本电脑上大约需要10小时编译完成。<sup>[4](https://discuss.bbchallenge.org/t/july-2nd-2024-we-have-proved-bb-5-47-176-870/237)</sup> 该证明枚举了181,385,789台五状态机器（通过对称性从完整空间中缩减而来），并运行称为判定器的定制程序，每个程序专门识别某一类不停机行为。<sup>[4](https://discuss.bbchallenge.org/t/july-2nd-2024-we-have-proved-bb-5-47-176-870/237)</sup><sup> • </sup><sup>[5](https://arxiv.org/abs/2509.12337)</sup> 配套论文于2025年9月在arXiv发布，还证明了Σ(5)=4,098以及双状态四符号机器的S(2,4)=3,932,964，并指出这是40多年来首次确定新的忙碌海狸值，也是有史以来第一次经过形式验证。<sup>[5](https://arxiv.org/abs/2509.12337)</sup>

## 五状态之外

n = 5 之后，数值立即爆炸。2022年5月，帕维尔·克罗皮茨（Pavel Kropitz）构造了一台六状态、二符号机器，它在停机前运行超过10↑↑15步（十五个10组成的幂塔），而已证明的 S(6) 下界高于2↑↑↑5。<sup>[2](https://mathworld.wolfram.com/BusyBeaver.html)</sup><sup> • </sup><sup>[5](https://arxiv.org/abs/2509.12337)</sup> 判定其余六状态机器——被 bbchallenge 社区昵称为“隐兽”——将需要解决与考拉兹猜想（Collatz）等未解数学猜想同样困难的问题。<sup>[9](https://www.lemonde.fr/sciences/article/2024/07/17/mathematiques-le-defi-du-castor-affaire-resolu_6251337_1650684.html)</sup>

该函数也衡量形式公理系统的作用范围。尤里·马季亚谢维奇（Yuri Matiyasevich）、斯特凡·奥雷尔（Stefan O'Rear）与斯科特·阿伦森的合作者构造了一台748状态机器，后来改进到745状态，该机器当且仅当策梅洛-弗兰克尔集合论不一致时停机；假设 ZFC 一致，则 ZFC 无法证明这台机器永远运行，因此 BB(748) 的值独立于 ZFC。<sup>[3](https://proofandmachine.github.io/articles/the-busy-beaver-and-what-cannot-be-computed/)</sup><sup> • </sup><sup>[10](https://arxiv.org/abs/1605.04343)</sup> 一项相关结果表明，BB(15) 是迄今为止与数学中一个自然未解问题相关的最小忙碌海狸值。<sup>[11](https://arxiv.org/abs/2107.12475)</sup> 阿伦森的综述提出了更多未解问题，包括 BB(20) 是否独立于集合论，以及给定 n 时，BB(n) 是偶数还是奇数是否可判定。<sup>[6](https://www.cs.umd.edu/~gasarch/open/busybeaver.pdf)</sup>

## 研究怪物

因为冠军机器会运行天文数字般的步数，普通模拟无法用来验证它们。皇家墨尔本理工大学（RMIT University）的詹姆斯·哈兰（James Harland）引入了“善于观察的水獭”启发式方法，它分析机器执行轨迹中的重复模式，并利用这些模式证明机器在极多步之后终止；经验结果表明，该启发式方法对所有已知“怪物”机器都有效。<sup>[12](https://www.sciencedirect.com/science/article/pii/S0304397516303504)</sup> bbchallenge 的判定器遵循同样的总体策略，识别结构化的不停机行为，将机器划分为计数器、分形、螺旋和钟等族类。<sup>[5](https://arxiv.org/abs/2509.12337)</sup>

## References

1. [T. Rado (1962). On Non-Computable Functions. Bell System Technical Journal 41: 877–884.](https://onlinelibrary.wiley.com/doi/abs/10.1002/j.1538-7305.1962.tb00480.x)
2. [Busy Beaver, Wolfram MathWorld](https://mathworld.wolfram.com/BusyBeaver.html)
3. [The Busy Beaver and What Cannot Be Computed, Proof & Machine](https://proofandmachine.github.io/articles/the-busy-beaver-and-what-cannot-be-computed/)
4. [[July 2nd 2024] We have proved "BB(5) = 47,176,870", The Busy Beaver Challenge](https://discuss.bbchallenge.org/t/july-2nd-2024-we-have-proved-bb-5-47-176-870/237)
5. [Determination of the fifth Busy Beaver value, arXiv:2509.12337](https://arxiv.org/abs/2509.12337)
6. [Scott Aaronson (2020). The Busy Beaver Frontier, ACM SIGACT News](https://www.cs.umd.edu/~gasarch/open/busybeaver.pdf)
7. [A Relatively Small Turing Machine Whose Behavior Is Independent of Set Theory, Wolfram](https://content.wolfram.com/sites/13/2018/02/25-4-4.pdf)
8. [How the Slowest Computer Programs Illuminate Math's Fundamental Limits, Quanta Magazine](https://www.quantamagazine.org/how-the-slowest-computer-programs-illuminate-maths-fundamental-limits-20201210/)
9. [Mathématiques : le défi du castor affairé résolu, Le Monde](https://www.lemonde.fr/sciences/article/2024/07/17/mathematiques-le-defi-du-castor-affaire-resolu_6251337_1650684.html)
10. [A Relatively Small Turing Machine Whose Behavior Is Independent of Set Theory, arXiv:1605.04343](https://arxiv.org/abs/1605.04343)
11. [Hardness of busy beaver value BB(15), arXiv:2107.12475](https://arxiv.org/abs/2107.12475)
12. [James Harland (2016). Busy beaver machines and the observant otter heuristic, Theoretical Computer Science 646: 61–85](https://www.sciencedirect.com/science/article/pii/S0304397516303504)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 19, 2026; Sep 30, 2026; Oct 15, 2026 · Edited: Sep 19, 2026; Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 逻辑与离散数学 › Formal logic and foundations › Computability theory › Undecidability and halting results

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/busy-beaver

English original: https://www.edgepedia.org/busy-beaver
