# 递归定理（戴德金）

戴德金递归定理是理查德·戴德金（Richard Dedekind）在其1888年专著《数是什么，数应当是什么？》（*Was sind und was sollen die Zahlen?*）中证明的结果：在自然数上递归定义的函数存在且唯一。它为诸如“f(0) = a；f(n+1) = g(f(n))”这样的定义补上了所缺的正当性——这类定义看上去提到了正在被定义的函数本身——并且为加法、乘法与乘方的标准递归定义提供了依据。<sup>[1](https://plato.stanford.edu/archives/fall2020/entries/recursive-functions/)</sup>

| 关键事实 | 细节 |
|---|---|
| 出处 | 理查德·戴德金，《数是什么，数应当是什么？》，1888年；以原始递归方式定义的函数之存在性与唯一性，在§125–126中作为定理得到证明<sup>[1](https://plato.stanford.edu/archives/fall2020/entries/recursive-functions/)</sup> |
| 术语 | “递归定义”（definition by recursion）一语最早由戴德金在该文中使用<sup>[1](https://plato.stanford.edu/archives/fall2020/entries/recursive-functions/)</sup> |
| 弱形式 | 对非空集合X、函数g: X → X 及 a ∈ X，存在唯一的 f: N → X，使 f(0) = a，且对每个 n 有 f(σ(n)) = g(f(n))<sup>[2](https://riviste.unime.it/index.php/AAPP/article/download/AAPP.99S1A17/AAPP99S1A17/0)</sup> |
| 一般形式 | 对任意集合 a 与函数 g: (N × V) → V，存在函数 h: N → V，使 h(0) = a 且 h(n+1) = g(n, h(n))<sup>[3](https://randall-holmes.github.io/proofsetslogic.pdf)</sup> |
| 该专著中的应用 | 加法（§135）、乘法（§147）与乘方（§155）的递归定义；前两者于1889年被皮亚诺采用<sup>[1](https://plato.stanford.edu/archives/fall2020/entries/recursive-functions/)</sup> |
| 证明方法 | 取 N × X 的一切包含 (0, a) 且在 (n, b) ↦ (σ(n), g(b)) 下封闭的归纳子集之交，再用归纳法证明它是某个函数的图像<sup>[2](https://riviste.unime.it/index.php/AAPP/article/download/AAPP.99S1A17/AAPP99S1A17/0)</sup> |

## 递归定义的问题

递归定义先指定函数在0处的值，再借助它在n处的值指定它在n+1处的值。一例是 f(0) = 0 与 f(n+1) = (f(n) + 1) + 1。这样的定义看上去可疑，因为它在右端提到了 f 本身，而且并不显然有任何函数满足它，也不显然只有一个。<sup>[3](https://randall-holmes.github.io/proofsetslogic.pdf)</sup> 戴德金在该书前言中把这一点列为全著的主要成就之一：证明被称为完全归纳法（从 n 推 n+1）的证明方法真正具有证明力，并且归纳定义、亦即递归定义，是确定的、无矛盾的（§126）。<sup>[4](https://www.math.ru.nl/werkgroepen/gmfw/bronnen/dedekind1.html)</sup>

正是这条定理，使得自然数算术仅凭公理即可使用。给定戴德金-皮亚诺公设——一个集合 N，带有一个特出元素 0 和一个值域不含 0 的单射后继函数 σ——人们不能径直假定加法与乘法存在；它们的定义是递归的，而递归定理保证这些定义挑出了良定义的函数。<sup>[2](https://riviste.unime.it/index.php/AAPP/article/download/AAPP.99S1A17/AAPP99S1A17/0)</sup>

## 陈述

弱形式在戴德金-皮亚诺算术中成立，表述如下。设 X 为非空集合，g: X → X 为函数，a ∈ X。则存在唯一的函数 f: N → X，使得 f(0) = a，且对每个 n ∈ N 有 f(σ(n)) = g(f(n))。<sup>[2](https://riviste.unime.it/index.php/AAPP/article/download/AAPP.99S1A17/AAPP99S1A17/0)</sup> 用文字说：从 a 出发迭代 g，定义出一条且仅一条序列。

一般形式允许步骤函数既依赖于阶段 n，也依赖于当前值。对任意集合 a 与任意函数 g: (N × V) → V，存在函数 h: N → V，使 h(0) = a，且对每个 n 有 h(n+1) = g(n, h(n))。<sup>[3](https://randall-holmes.github.io/proofsetslogic.pdf)</sup> 弱形式是 g 忽略其第一个参数的特例。当 X 是真类而非集合时，还有进一步的推广。<sup>[2](https://riviste.unime.it/index.php/AAPP/article/download/AAPP.99S1A17/AAPP99S1A17/0)</sup>

## 证明思路

标准证明分两步，存在性与唯一性，两者都用归纳法。<sup>[2](https://riviste.unime.it/index.php/AAPP/article/download/AAPP.99S1A17/AAPP99S1A17/0)</sup>

**存在性。** 考虑由一切满足下述条件的 N × X 的子集 S 构成的汇集 C：(0, a) ∈ S，且只要 (n, b) ∈ S，就有 (σ(n), g(b)) ∈ S。整个积 N × X 属于 C，故 C 全体成员之交 Gr(f) 也满足这两条封闭条件。接着证明 Gr(f) 是某个函数的图像：使恰有一个 b ∈ X 满足 (n, b) ∈ Gr(f) 的自然数 n 所构成的集合 M 是归纳的，因为 0 ∈ M（0 处的任何竞争值都可在保持封闭性的前提下删去），而 n 属于 M 又由同样的删去论证迫使 σ(n) 属于 M。<sup>[2](https://riviste.unime.it/index.php/AAPP/article/download/AAPP.99S1A17/AAPP99S1A17/0)</sup> 所得的 f 满足 f(0) = a 与 f(σ(n)) = g(f(n))。

**唯一性。** 若 f′ 是满足这两个方程的第二函数，则它的图像本身就是 C 中的一个封闭集，故 Gr(f) ⊆ Gr(f′)；既然两者都是定义域相同的函数图像，它们便重合。<sup>[2](https://riviste.unime.it/index.php/AAPP/article/download/AAPP.99S1A17/AAPP99S1A17/0)</sup><sup> • </sup><sup>[3](https://randall-holmes.github.io/proofsetslogic.pdf)</sup>

这一构造在精神上与戴德金的链理论相同：所求函数是包含初始数据的全体封闭系统之交，正如自然数本身被刻画为全体归纳集之交。<sup>[2](https://riviste.unime.it/index.php/AAPP/article/download/AAPP.99S1A17/AAPP99S1A17/0)</sup>

## 在戴德金1888年专著中的地位

这条定理位于戴德金为算术所建立的集合论基础的中心。在展开系统、映射与链的理论之后，他在§126中证明递归定义是合法的，然后加以应用：加法在§135中递归定义，乘法在§147中，乘方在§155中；他又用归纳法证明这些运算满足预期的代数律。<sup>[1](https://plato.stanford.edu/archives/fall2020/entries/recursive-functions/)</sup> 朱塞佩·皮亚诺（Giuseppe Peano）1889年的算术公理化以戴德金的专著为基础，他把加法与乘法的递归定义采纳为符号 + 与 × 的定义。<sup>[1](https://plato.stanford.edu/archives/fall2020/entries/recursive-functions/)</sup>

戴德金的处理是结构性的。他表述戴德金-皮亚诺公理，证明其范畴性（任意两个模型同构），并把自然数分析为有限序数；对归纳与递归的正当化只是这一更大纲领的一部分，该纲领还包括坚持集合与函数的外延性概念。<sup>[5](https://plato.stanford.edu/entries/dedekind-foundations/)</sup> 同一专著中还有一个相关结果，有时也归于戴德金1888年：对任意带有元素 a 的集合 A 与任意映射 g: A → A，存在单射 φ: N → A，使 φ(0) = a 且保持后继结构；这是 N 的刻画中的唯一性部分。<sup>[6](https://www.math.cmu.edu/users/fabbri/latex/number/node4.html)</sup>

与现代集合论的一处差异值得注意：戴德金没有假定无穷公理，而是试图证明无穷集合存在，论证说能够成为其思想对象的全体事物是无穷的。今天很少有集合论学家在这一点上追随他，但只要承认一个无穷系统，递归定理本身就原封不动地成立。<sup>[5](https://plato.stanford.edu/entries/dedekind-foundations/)</sup>

## 后续发展

戴德金的定理为用递归定义具体函数提供了正当性；对这些可定义函数的系统研究出现得更晚。第一部专门讨论递归可定义性的著作是斯科伦（Skolem）1923年的论文，它非形式地描述了如今称为原始递归函数的类，并把递归可定义性与有效可计算性联系起来。<sup>[1](https://plato.stanford.edu/archives/fall2020/entries/recursive-functions/)</sup> 在原始递归模式中，函数 h 由 f 与 g 通过 h(0, x) = f(x) 与 h(n+1, x) = g(h(n, x), n, x) 定义；由初始函数经复合与该模式生成的类封闭，且其中每个成员都终止，但它并不穷尽可计算函数，阿克曼函数（Ackermann function）即为一例：它可计算，却不是原始递归的。<sup>[7](https://plato.stanford.edu/entries/computability/)</sup><sup> • </sup><sup>[8](https://xlinux.nist.gov/dads/HTML/primitivrecr.html)</sup>

这条定理也推广到自然数之外。在 ZFC 集合论中，超限递归在序数上产生一个类函数 F，F(α) 由 G 作用于 F 在 α 上的限制而确定；其证明需要替换公理，而它正是用来定义序数加法、乘法与乘方的工具。<sup>[9](https://plato.stanford.edu/entries/set-theory/)</sup> 在类型论中，归纳与递归以归纳类型的消去规则这一共同形式出现——这一统一，在戴德金原论文对证明与定义的平行处理中已见端倪。<sup>[10](https://ncatlab.org/nlab/show/induction)</sup>

## References

1. [Recursive Functions, Stanford Encyclopedia of Philosophy (Fall 2020 edition)](https://plato.stanford.edu/archives/fall2020/entries/recursive-functions/)
2. [G. Devillanova, G. Molica Bisci, Elements of set theory and recursive arguments, Atti Accad. Pelorit. Pericol. Cl. Sci. Fis. Mat. Nat. 99, S1, A17 (2021)](https://riviste.unime.it/index.php/AAPP/article/download/AAPP.99S1A17/AAPP99S1A17/0)
3. [R. Holmes, Elementary Set Theory with a Universal Set, chapter 2.9: Defining Functions by Recursion](https://randall-holmes.github.io/proofsetslogic.pdf)
4. [R. Dedekind, Was sind und was sollen die Zahlen?, transcription, Radboud University Nijmegen](https://www.math.ru.nl/werkgroepen/gmfw/bronnen/dedekind1.html)
5. [Dedekind's Contributions to the Foundations of Mathematics, Stanford Encyclopedia of Philosophy](https://plato.stanford.edu/entries/dedekind-foundations/)
6. [The Natural Numbers, CMU lecture notes](https://www.math.cmu.edu/users/fabbri/latex/number/node4.html)
7. [Computability and Complexity, Stanford Encyclopedia of Philosophy](https://plato.stanford.edu/entries/computability/)
8. [primitive recursive, Dictionary of Algorithms and Data Structures, NIST](https://xlinux.nist.gov/dads/HTML/primitivrecr.html)
9. [Set Theory, Stanford Encyclopedia of Philosophy](https://plato.stanford.edu/entries/set-theory/)
10. [Induction, nLab](https://ncatlab.org/nlab/show/induction)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Arithmetic and number systems › Elementary and formal arithmetic › Formal theories of arithmetic

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/recursion-theorem-dedekind

English original: https://www.edgepedia.org/recursion-theorem-dedekind
