# 原始递归泛函

**原始递归泛函**是一种泛函，即一种以有限类型——例如自然数和数论函数——的对象为变元的运算，它可通过把原始递归推广到这些高阶类型而定义。这一概念由斯蒂芬·科尔·克林（Stephen Cole Kleene）在其1959年论文《有限类型的递归泛函与量词 I》中引入，该文把此前只对数论函数定义的原始递归性扩展到了更高有限类型的变元<sup>[1](https://doi.org/10.1142/9789812564894_0010)</sup>。一个密切相关的形式系统是库尔特·哥德尔（Kurt Gödel）1958年的系统 T，它把哥德尔所称的有限类型原始递归泛函公理化，并充当其算术辩证法解释的目标系统<sup>[2](https://seop.illc.uva.nl/entries/////////proof-theory/)</sup>。

| 关键事实 | 详情 |
|---|---|
| 定义 | 通过把原始递归模式扩展到高阶类型变元而可定义的有限类型泛函；克林于1959年引入该概念<sup>[1](https://doi.org/10.1142/9789812564894_0010)</sup> |
| 克林的模式 | 部分递归泛函由模式 S1 至 S9 归纳定义；省略 S9 即得到克林原始递归的模式<sup>[3](https://www.sciencedirect.com/topics/mathematics/continuous-functionals)</sup><sup> • </sup><sup>[4](https://doi.org/10.1016/J.APAL.2019.05.007)</sup> |
| 哥德尔系统 T | 在哥德尔1958年辩证法论文中引入；一个无量词理论，其项指称有限类型原始递归泛函<sup>[2](https://seop.illc.uva.nl/entries/////////proof-theory/)</sup> |
| 强度 | 一阶皮亚诺算术中可证为全的函数，恰好就是可由有限类型原始递归泛函经应用归约得到的函数<sup>[5](https://link.springer.com/article/10.1007/s10516-021-09561-8)</sup> |
| 复杂度 | 秩1高阶类型原始递归定义刻画 LOGSPACE，秩2刻画 PTIME，秩3刻画 PSPACE，秩4刻画 EXPTIME（在有限结构上）<sup>[6](https://www.sciencedirect.com/science/article/pii/030439759290363K)</sup> |
| 序数分析 | 霍华德（Howard，1970）为有限类型原始递归泛函的项指派序数，扩展了根岑（Gentzen）关于一阶算术的一致性证明 |

## 克林的模式

克林通过一个包含九个条款的归纳定义，在有限类型的域上定义了部分递归泛函，即模式 S1 至 S9<sup>[3](https://www.sciencedirect.com/topics/mathematics/continuous-functionals)</sup>。该列表包括复合、原始递归（S5）、输入变元的置换（S6）、类型1的神谕调用（S7）、高阶神谕调用（S8），以及针对部分情形的最后一个模式 S9<sup>[7](https://www.researchgate.net/publication/220592520_Continuity_Proof_Systems_and_the_theory_of_transfinite_computations)</sup>。当使用模式 S1 至 S9 计算一个值时，高阶类型变元被看作由神谕给出<sup>[3](https://www.sciencedirect.com/topics/mathematics/continuous-functionals)</sup>。

**原始与部分。** 从定义中去掉 S9，剩下的就是克林原始递归的模式<sup>[4](https://doi.org/10.1016/J.APAL.2019.05.007)</sup>。在1959年那篇论文本身中，一个函数是原始递归的，如果它在某个给定约定下使用 S1 至 S8 而具有原始递归描述；而在一个冗余的原始递归描述中，各个函数的变元的最大类型都相同<sup>[8](https://ndl.ethernet.edu.et/bitstream/123456789/77638/1/96.pdf)</sup>。用于泛函应用的模式 S8 最初是为纯类型的泛函设计的<sup>[4](https://doi.org/10.1016/J.APAL.2019.05.007)</sup>。

神谕解读有一个结构性后果：由于 S8，计算树一般会是无限的<sup>[3](https://www.sciencedirect.com/topics/mathematics/continuous-functionals)</sup>。一个相关的连续性原则成立，即如果一个部分函数是可计算泛函的输入，那么该计算只能利用它的一个有限子函数<sup>[3](https://www.sciencedirect.com/topics/mathematics/continuous-functionals)</sup>。

**后来的扩展。** 在后来的论文中，克林定义了一个模式 S11，其形式为 \( \phi(\theta; \vec{a}) = \psi(\phi, \theta; \vec{a}) \)，并宣称它给出一种绝对一般的递归形式<sup>[9](https://www.sciencedirect.com/topics/mathematics/recursive-function-theory)</sup>。1978年，他发展了一个完全基于形式表达式的语法操作的高阶类型计算系统，这些计算被安排为由形式表达式标记的计算树；在那里，诸如对 lambda 抽象的应用这样的表达式，不必为该抽象的整个图启动子计算，而是把它作为未求值的形式表达式携带，直到需要某个特定值<sup>[10](https://homepages.inf.ed.ac.uk/jrl/Research/notions1.pdf)</sup>。克林还指出，这些表达式没有一种充分的语义可以建立在经典的全类型结构之上<sup>[11](https://bishtref.com/articles/10.1090/s0002-9947-1983-0684494-7)</sup>。

## 哥德尔的系统 T

哥德尔的辩证法解释到1941年已经形成，但直到1958年才发表；它在一个称为系统 T 的有限类型泛函的无量词理论中解释直觉主义算术<sup>[2](https://seop.illc.uva.nl/entries/////////proof-theory/)</sup>。系统 T 把哥德尔所称的有限类型原始递归泛函这一函数类公理化；它大体上是一个等式理论，其公理是高阶类型泛函的项之间的等式，上面还有一层命题逻辑<sup>[2](https://seop.illc.uva.nl/entries/////////proof-theory/)</sup>。在1938年一个讲座表述中，哥德尔的系统 Σ 通过引入更高类型的原始递归泛函来扩展原始递归算术，并且或多或少对应于1958年辩证法论文中称为 T 的系统<sup>[12](https://helda.helsinki.fi/server/api/core/bitstreams/20c34e2b-d0d2-49fa-aca2-d4453900c3d5/content)</sup>。

用编程语言的话说，系统 T 可以理解为简单类型 lambda 演算，并添加常数 0、后继函数，以及对每个类型的对象进行原始递归的递归器算子<sup>[13](https://arxiv.org/abs/1011.6353)</sup>。它是一个规范化语言：每个良类型程序都终止<sup>[14](https://www.cs.cmu.edu/~janh/courses/814/24/lectures/lecture05.pdf)</sup>。

**强度。** 在其辩证法论文中，哥德尔证明：一阶皮亚诺算术中可证为全的函数——这一函数类包含阿克曼（Ackermann）函数，其增长超过每个原始递归数论函数——恰好与通过在自然数上应用有限类型原始递归泛函而得到的函数重合<sup>[5](https://link.springer.com/article/10.1007/s10516-021-09561-8)</sup>。由原始递归泛函生成的类型1函数，可以用小于 \( \varepsilon_0 \) 的序数上的有效超限递归模式来定义<sup>[15](https://www.sciencedirect.com/topics/mathematics/functionals)</sup>。反过来，当定义域和值域限制为纯闭正规形式时，系统 T 中可定义的任意类型泛函可以编码为 \( < \varepsilon_0 \)-递归函数<sup>[13](https://arxiv.org/abs/1011.6353)</sup>。

## 与其他高阶类型计算概念的关系

1957年至1959年间出现了四个重要的高阶类型可计算性概念：哥德尔的系统 T、克林的模式 S1 至 S9、带有其有效子结构的克林-克赖塞尔（Kleene-Kreisel）可数或连续泛函，以及克赖塞尔（Kreisel）的遗传有效运算<sup>[10](https://homepages.inf.ed.ac.uk/jrl/Research/notions1.pdf)</sup>。克林关于原始递归泛函的概念比罗莎·彼得（Rózsa Péter）的概念限制更强，因为在克林的界定中，类型1函数以不同方式进入计算；彼得曾把二级原始递归的一个模式视为定义全函数的一种手段<sup>[10](https://homepages.inf.ed.ac.uk/jrl/Research/notions1.pdf)</sup>。

部分性方面也有已知的局限。普拉特克（Platek）在1966年利用克林1963年论文中的一个例子，表明第一递归定理在克林1959年和1963年的理论中不成立<sup>[16](https://www.sciencedirect.com/science/article/pii/S0049237X08709339)</sup>。泰特（Tait）观察到，扇泛函在克林-克赖塞尔连续泛函上不是 S1 至 S9 可计算的<sup>[17](https://www.researchgate.net/publication/226315909_Applications_of_the_Kleene-Kreisel_Density_Theorem_to_Theoretical_Computer_Science)</sup>。在系统 T 自身内部，所有可定义的泛函都是遗传可优控的，因此不存在 T 可定义的外延性模泛函<sup>[10](https://homepages.inf.ed.ac.uk/jrl/Research/notions1.pdf)</sup>。

## 证明论与复杂度

**序数指派。** 威廉·阿尔文·霍华德（William Alvin Howard）1970年的论文为有限类型原始递归泛函的项指派序数，扩展了根岑的结果：除小于 \( \varepsilon_0 \) 的序数上的降链原则外，一阶算术的一致性可由有穷主义方法证明。赫尔穆特·施维希滕贝格（Helmut Schwichtenberg）在1975年借助超限递归消去了原始递归泛函定义中的高阶类型层次<sup>[18](https://epub.ub.uni-muenchen.de/4272/)</sup>。

**复杂度类。** 高阶类型原始递归定义，也就是系统 T 中借助高阶类型作迂回的一阶函数定义，按秩形成一个无限的语法层级；当一个定义中出现的类型层次以 n 为界时，该定义具有秩 n。在有限结构上解释时，秩1定义刻画 LOGSPACE，秩2定义刻画 PTIME，秩3刻画 PSPACE，秩4刻画 EXPTIME，后者等于 \( 2^{\mathrm{poly}} \) 的 DTIME<sup>[6](https://www.sciencedirect.com/science/article/pii/030439759290363K)</sup>。

**证明挖掘。** 哥德尔意义上的原始递归泛函出现在应用证明论中。对戴克斯特拉（Dykstra）循环投影算法的证明论分析产生了通过这类泛函表达的定量信息，这值得注意，因为该证明依赖于若干紧致性原则<sup>[19](https://www.cambridge.org/core/journals/review-of-symbolic-logic/article/proof-mining-and-the-convex-feasibility-problem-the-curious-case-of-dykstras-algorithm/1887EBE93095F44C1AE3F193C438A532)</sup>。现代工作还提取系统 T 及其扩展中可定义的、类型为 \( (\mathbb{N} \to \mathbb{N}) \to \mathbb{N} \) 的闭泛函的连续性模<sup>[20](https://arxiv.org/abs/1906.10719)</sup>。

## References

1. [S. C. Kleene (1959). Recursive functionals and quantifiers of finite types I. Transactions of the American Mathematical Society 91.](https://doi.org/10.1142/9789812564894_0010)
2. [Proof Theory, Stanford Encyclopedia of Philosophy (Dialectica interpretation and System T)](https://seop.illc.uva.nl/entries/////////proof-theory/)
3. [Continuous Functionals, ScienceDirect Topics overview](https://www.sciencedirect.com/topics/mathematics/continuous-functionals)
4. [The strength of compactness in Computability Theory and Nonstandard Analysis, Annals of Pure and Applied Logic (2019)](https://doi.org/10.1016/J.APAL.2019.05.007)
5. [The Limits of Computation, Global Philosophy, Springer Nature (2021)](https://link.springer.com/article/10.1007/s10516-021-09561-8)
6. [Characterizing complexity classes by higher type primitive recursive definitions, Theoretical Computer Science (1991)](https://www.sciencedirect.com/science/article/pii/030439759290363K)
7. [Continuity, Proof Systems and the theory of transfinite computations (ResearchGate)](https://www.researchgate.net/publication/220592520_Continuity_Proof_Systems_and_the_theory_of_transfinite_computations)
8. [S. C. Kleene, Recursive Functionals and Quantifiers of Finite Types I (full text PDF)](https://ndl.ethernet.edu.et/bitstream/123456789/77638/1/96.pdf)
9. [Recursive Function Theory, ScienceDirect Topics overview](https://www.sciencedirect.com/topics/mathematics/recursive-function-theory)
10. [John R. Longley. Notions of Computability at Higher Types I](https://homepages.inf.ed.ac.uk/jrl/Research/notions1.pdf)
11. [Syntax and semantics in higher-type recursion theory, Transactions of the American Mathematical Society (1983)](https://bishtref.com/articles/10.1090/s0002-9947-1983-0684494-7)
12. [Gödel on Intuitionism and Constructive Foundations of Mathematics (Helsinki repository)](https://helda.helsinki.fi/server/api/core/bitstreams/20c34e2b-d0d2-49fa-aca2-d4453900c3d5/content)
13. [On the definability of functionals in Gödel's theory T, arXiv:1011.6353](https://arxiv.org/abs/1011.6353)
14. [Lecture Notes on Gödel's System T, Carnegie Mellon University 15-814 (2023)](https://www.cs.cmu.edu/~janh/courses/814/24/lectures/lecture05.pdf)
15. [Functionals, ScienceDirect Topics overview](https://www.sciencedirect.com/topics/mathematics/functionals)
16. [S. C. Kleene. Recursive Functionals and Quantifiers of Finite Types Revisited I, Studies in Logic and the Foundations of Mathematics](https://www.sciencedirect.com/science/article/pii/S0049237X08709339)
17. [Applications of the Kleene–Kreisel Density Theorem to Theoretical Computer Science (ResearchGate)](https://www.researchgate.net/publication/226315909_Applications_of_the_Kleene-Kreisel_Density_Theorem_to_Theoretical_Computer_Science)
18. [Helmut Schwichtenberg (1975). Elimination of higher type levels in definitions of primitive recursive functionals by means of transfinite recursion.](https://epub.ub.uni-muenchen.de/4272/)
19. [Proof Mining and the Convex Feasibility Problem: The Curious Case of Dykstra's Algorithm, Review of Symbolic Logic](https://www.cambridge.org/core/journals/review-of-symbolic-logic/article/proof-mining-and-the-convex-feasibility-problem-the-curious-case-of-dykstras-algorithm/1887EBE93095F44C1AE3F193C438A532)
20. [Thomas Powell. A unifying framework for continuity and complexity in higher types, arXiv:1906.10719](https://arxiv.org/abs/1906.10719)

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

Topic: 物质世界与数学 › 数学与统计学 › 逻辑与离散数学 › General discrete mathematics and discrete structures › Computability theory › Higher-type, relative, and generalized computability

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/primitive-recursive-functional

English original: https://www.edgepedia.org/primitive-recursive-functional
