# 指标集（可计算性）

在可计算性理论中，**指标集**是一个自然数集合，其中每个自然数命名一个程序或一个部分可计算函数；该集合只依赖于所计算的函数，而不依赖于由哪个程序来计算它：只要两个指标计算同一个部分函数，要么二者都属于该集合，要么二者都不属于。<sup>[1](https://homepages.math.uic.edu/~marker/math502f09/mm.pdf)</sup> 指标集把程序的*语义*性质——例如“计算一个全函数”或“枚举一个无限集”——形式化，以区别于程序文本的语法性质。<sup>[2](https://www.eng.utah.edu/~cs3100/KonradNotes.pdf)</sup>

| 关键事实 | 细节 |
|---|---|
| 定义 | 集合 \( A \subseteq \mathbb{N} \) 是指标集，如果 \( \varphi_i = \varphi_j \) 蕴涵 \( i \in A \Leftrightarrow j \in A \)，其中 \( (\varphi_e) \) 是部分可计算函数的标准枚举。<sup>[1](https://homepages.math.uic.edu/~marker/math502f09/mm.pdf)</sup> |
| 赖斯定理 | 唯一可计算（可判定）的指标集是 \( \emptyset \) 和 \( \mathbb{N} \)；其他每个指标集都是不可判定的。<sup>[3](https://builds.openlogicproject.org/content/computability/computability.pdf)</sup><sup> • </sup><sup>[4](https://people.clas.ufl.edu/cenzer/files/Closed-Sets-Book-2017.pdf)</sup> |
| 难度 | 对任意不是 \( \emptyset \) 和 \( \omega \) 的指标集 \( A \)，停机集 \( K = \{a : a \in W_a\} \) 一归约到 \( A \) 或其补集。<sup>[4](https://people.clas.ufl.edu/cenzer/files/Closed-Sets-Book-2017.pdf)</sup> |
| 标准例子 | \( K_1 = \{a : W_a \neq \emptyset\} \)、Fin、Inf、Cof、Coinf、Rec 和 Tot 都是指标集，各自对算术层级的某一层完全。<sup>[4](https://people.clas.ufl.edu/cenzer/files/Closed-Sets-Book-2017.pdf)</sup> |
| 典型复杂度 | \( \mathrm{Inf} = \{a : W_a \text{ 是无限的}\} \) 是 \( \Pi^0_2 \)-完全的；Fin 是 \( \Sigma^0_2 \)；Tot 是 \( \Pi^0_2 \)。<sup>[4](https://people.clas.ufl.edu/cenzer/files/Closed-Sets-Book-2017.pdf)</sup><sup> • </sup><sup>[5](https://math.berkeley.edu/~marks/notes/computability_notes_v1.pdf)</sup> |
| 起源 | 亨利·戈登·赖斯（Henry Gordon Rice）在《递归可枚举集的类及其判定问题》（"Classes of recursively enumerable sets and their decision problems"）中证明了指标集的不可判定性定理，《美国数学会会刊》74 (1953)，第 358–366 页。<sup>[6](https://www.scienceopen.com/document?vid=2383bc18-edc6-45ca-a74f-0c5333263444)</sup> |
| 扩展 | 指标集度量可计算结构类和一阶理论类的复杂度，可达到解析层级：是埃伦费希特理论（Ehrenfeucht theory）这一点是 \( \Pi^1_1 \)-完全的。<sup>[7](https://arxiv.org/abs/math/0610776)</sup> |

## 定义与例子

固定部分可计算函数的一个标准枚举 \( \varphi_0, \varphi_1, \varphi_2, \ldots \)，或等价地，固定可计算枚举（c.e.）集的一个枚举 \( W_0, W_1, \ldots \)。一个指标集合 \( A \) 是指标集，如果 \( \varphi_i = \varphi_j \) 蕴涵 \( i \in A \) 当且仅当 \( j \in A \)。<sup>[1](https://homepages.math.uic.edu/~marker/math502f09/mm.pdf)</sup> 等价地，\( A \) 是某个部分可计算函数类 \( C \) 在该枚举下的原像：\( A = \{n : \varphi_n \in C\} \)。<sup>[3](https://builds.openlogicproject.org/content/computability/computability.pdf)</sup> 用图灵机的术语说，一个指标集包含且仅包含具有给定语言的那些机器，因此它刻画的是语言或函数的性质，而不是机器内部构造的性质。<sup>[2](https://www.eng.utah.edu/~cs3100/KonradNotes.pdf)</sup>

与语法性质的对比十分鲜明。关于程序文本的问题，例如它是否超过 150 个符号或是否包含 while 语句，是可计算的。关于程序行为的问题，例如它在输入 0 上是否停机，或是否曾经输出偶数，则不是可计算的，而这些行为问题正是由指标集所表达的问题。<sup>[3](https://builds.openlogicproject.org/content/computability/computability.pdf)</sup> 有些看起来是行为性质的集合不满足定义：恰好有 4 个控制状态的机器集合不是指标集，因为两台具有相同（空）语言的机器可以在状态数上不同。<sup>[2](https://www.eng.utah.edu/~cs3100/KonradNotes.pdf)</sup>

可计算枚举集和函数的常见指标集包括：<sup>[4](https://people.clas.ufl.edu/cenzer/files/Closed-Sets-Book-2017.pdf)</sup>

- \( K_1 = \{a : W_a \neq \emptyset\} \)，即非空 c.e. 集；
- \( \mathrm{Fin} = \{a : W_a \text{ 是有限的}\} \) 与 \( \mathrm{Inf} = \{a : W_a \text{ 是无限的}\} \)；
- \( \mathrm{Cof} = \{a : \omega \setminus W_a \text{ 是有限的}\} \) 与 \( \mathrm{Coinf} = \{a : \omega \setminus W_a \text{ 是无限的}\} \)；
- \( \mathrm{Rec} = \{a : W_a \text{ 是可计算集}\} \)；
- \( \mathrm{Tot} = \{a : \varphi_a \text{ 是全函数}\} \)。

## 赖斯定理

**赖斯定理**指出，如果 \( C \) 是部分可计算函数的一个类，且 \( A = \{n : \varphi_n \in C\} \) 是可计算的，那么 \( C \) 要么为空，要么是所有部分可计算函数的类；等价地，没有非平凡的指标集是可判定的。<sup>[3](https://builds.openlogicproject.org/content/computability/computability.pdf)</sup> 赖斯于 1953 年在《美国数学会会刊》（*Transactions of the American Mathematical Society*）的一篇论文中证明，没有非平凡的 c.e. 集类是“完全递归的”。<sup>[6](https://www.scienceopen.com/document?vid=2383bc18-edc6-45ca-a74f-0c5333263444)</sup>

证明把停机问题归约到任意候选判定器。给定一个既非空也非整个 \( \mathbb{N} \) 的指标集 \( A \)，选取处处未定义函数的一个指标 \( e_0 \)，以及 \( A \) 中的一个指标 \( e_1 \)（或在其补集中选取，补集也是指标集）。对每个输入 \( x \)，可以可计算地构造一个指标 \( g(x) \)，使得：如果 \( x \) 进入停机集 \( K \)，则 \( g(x) \) 所计算的函数等于 \( \varphi_{e_1} \)；否则等于处处未定义函数。由于 \( A \) 是外延的，\( x \in K \) 当且仅当 \( g(x) \in A \)，因此 \( A \) 的判定器将能判定 \( K \)。<sup>[1](https://homepages.math.uic.edu/~marker/math502f09/mm.pdf)</sup> 由外延结构得到的一个加强结论给出更多：对任意不是 \( \emptyset \) 和 \( \omega \) 的指标集，\( K \leq_1 A \) 或 \( K \leq_1 \overline{A} \)，其中 \( \leq_1 \) 是一一归约。<sup>[4](https://people.clas.ufl.edu/cenzer/files/Closed-Sets-Book-2017.pdf)</sup>

## 在算术层级中的位置

尽管没有非平凡的指标集是可判定的，指标集在算术层级中占据精确的位置；算术层级按定义中交替量词的复杂度对集合进行分类。<sup>[5](https://math.berkeley.edu/~marks/notes/computability_notes_v1.pdf)</sup> 标准例子各自对某一层完全：\( K \)、\( K_0 \) 和 \( K_1 \) 是 \( \Sigma^0_1 \)；Fin 是 \( \Sigma^0_2 \)，可表示为带可计算母式的 \( \exists k \forall s \geq k \)；Inf 和 Tot 是 \( \Pi^0_2 \)，其中 Tot 可写成 \( \forall n \exists s \) “\( \varphi_e(n) \) 在 \( s \) 步内停机”；Cof 是 \( \Sigma^0_3 \)。<sup>[4](https://people.clas.ufl.edu/cenzer/files/Closed-Sets-Book-2017.pdf)</sup><sup> • </sup><sup>[5](https://math.berkeley.edu/~marks/notes/computability_notes_v1.pdf)</sup> 指标集 Inf 是 \( \Pi^0_2 \)-完全的，这意味着从这个观点看，“是无限的”这一性质恰好是 \( \Pi^0_2 \)。<sup>[4](https://people.clas.ufl.edu/cenzer/files/Closed-Sets-Book-2017.pdf)</sup>

**半可判定性。** 赖斯–夏皮罗定理（Rice–Shapiro theorem）细化了针对 c.e. 指标集的赖斯定理：对于部分可计算函数的一个外延类 \( \mathcal{A} \)，指标集 \( I_{\mathcal{A}} = \{e : \varphi_e \in \mathcal{A}\} \) 是 c.e. 的，当且仅当属于 \( \mathcal{A} \) 这一点可由某个可枚举的有限部分函数 \( \theta \subseteq \psi \) 见证，也就是说，由有限的正行为证据见证。<sup>[8](https://androma.org/page/Recursion%20Theory/block-attributions)</sup> 用拓扑术语说，c.e. 指标集对应于 \( \omega \) 的 c.e. 子集上斯科特拓扑（Scott topology）中的一个有效开集。<sup>[9](https://lmcs.episciences.org/4171/pdf)</sup> 洛林大学（Université de Lorraine）可计算性理论研究者马蒂厄·奥伊鲁普（Mathieu Hoyrup）后来刻画了在给定原始递归指标时原始递归函数的可判定性质和半可判定性质，这是赖斯定理和赖斯–夏皮罗定理对全可计算函数受限类的类似物。<sup>[10](https://arxiv.org/abs/1503.05025)</sup>

## 结构与理论的指标集

在可计算结构理论中，可计算结构 \( \mathcal{A} \) 的指标集是 \( \mathcal{A} \) 的可计算副本的指标集合；对于在同构下封闭的类 \( K \)，它是 \( K \) 中可计算成员的指标集合。<sup>[11](https://arxiv.org/abs/0803.3294)</sup> 一项研究计划秉承路易丝·海（Louise Hay）的精神，精确计算这些复杂度。其指导论题是：指标集的复杂度与结构的最优描述的复杂度相匹配，后者通常是斯科特语句（Scott sentence），即无穷逻辑 \( L_{\omega_1\omega} \) 中的一个语句，其可数模型恰好是该结构的所有同构副本。<sup>[11](https://arxiv.org/abs/0803.3294)</sup> 已计算的例子包括：一个长度为 \( \omega \) 的可计算约化阿贝尔 \( p \)-群，其指标集是 \( m \)-完全的 \( \Pi^0_3 \)；一个维数至少为 2 的有限维 \( \mathbb{Q} \)-向量空间，其指标集是 \( m \)-完全的 \( d \)-\( \Sigma^0_2 \)；以及原埃伦费希特理论的中间模型，其指标集是 \( m \)-完全的 \( \Sigma^0_3 \)。<sup>[11](https://arxiv.org/abs/0803.3294)</sup>

指标集也为一阶理论的性质分类。威斯康星大学麦迪逊分校（University of Wisconsin–Madison）的逻辑学家斯特芬·莱姆普（Steffen Lempp）和加州大学伯克利分校（University of California, Berkeley）的逻辑学家西奥多·A·斯拉曼（Theodore A. Slaman）证明：是 \( \aleph_0 \)-范畴的理论——即在同构意义下只有一个可数模型——这一性质是 \( \Pi^0_3 \)-完全的；而是埃伦费希特理论——即有不止一个但只有有限多个可数模型——这一性质是 \( \Pi^1_1 \)-完全的，属于解析层级中超出所有算术层级的一层。<sup>[7](https://arxiv.org/abs/math/0610776)</sup> 他们还证明，具有连续统多个两两不同构的模型这一性质是 \( \Sigma^1_1 \)-难的；作为推论，只有可判定模型和只有可计算模型这两个性质都是 \( \Pi^1_1 \)-完全的。<sup>[7](https://arxiv.org/abs/math/0610776)</sup> 在这两个相邻的模型计数条件之间，从 \( \Pi^0_3 \) 跳到 \( \Pi^1_1 \)，说明语义复杂度可以上升得多快：计数一个模型是算术的，而把计数限制为大于 1 的有限数则要对所有可数模型进行量化。

## 编号与罗杰斯半格

指标集问题依赖于所选的编号，即把自然数指派给对象的映射。编号不必是单射，这种内涵冗余对于指标集问题和等价性问题至关重要。对于 \( \omega \) 的子集族 \( \mathcal{S} \)，\( \mathcal{S} \) 的可计算编号按相互可归约关系取商后形成一个上半格，称为罗杰斯半格，以小哈特利·罗杰斯（Hartley Rogers Jr.）命名；他 1967 年的教科书《递归函数论与有效可计算性》（*Theory of Recursive Functions and Effective Computability*）是该领域的标准参考书。<sup>[12](https://www3.diism.unisi.it/~sorbi/almaty_meeting/Abstract/podzorov.html)</sup><sup> • </sup><sup>[13](https://mitpress.mit.edu/9780262680523/theory-of-recursive-functions-and-effective-computability/)</sup> 近期工作把这些分类推广到更弱的编号类：在 \( \Sigma^0_2 \)-可计算编号类内部，极限单调编号的指标集是 \( \Sigma^0_4 \)-完全的。<sup>[14](https://onlinelibrary.wiley.com/doi/10.1002/malq.202100077)</sup>

## References

1. [David Marker, Metamathematics lecture notes (University of Illinois at Chicago), Rice's Theorem section](https://homepages.math.uic.edu/~marker/math502f09/mm.pdf)
2. [Katherine Conrad (Konrad), Notes on Computation Theory (University of Utah CS 3100)](https://www.eng.utah.edu/~cs3100/KonradNotes.pdf)
3. [Computability, Open Logic Project](https://builds.openlogicproject.org/content/computability/computability.pdf)
4. [Douglas Cenzer, Closed Sets lecture notes, Chapter 5: Index Sets (University of Florida)](https://people.clas.ufl.edu/cenzer/files/Closed-Sets-Book-2017.pdf)
5. [Maryanthe Malliaris and colleagues, The arithmetical hierarchy, computability notes (UC Berkeley)](https://math.berkeley.edu/~marks/notes/computability_notes_v1.pdf)
6. [H. G. Rice (1953), Classes of Recursively Enumerable Sets and Their Decision Problems, Transactions of the American Mathematical Society 74: 358–366](https://www.scienceopen.com/document?vid=2383bc18-edc6-45ca-a74f-0c5333263444)
7. [Steffen Lempp and Theodore A. Slaman, The complexity of the index sets of ℵ₀-categorical theories and of Ehrenfeucht theories, arXiv:math/0610776](https://arxiv.org/abs/math/0610776)
8. [Recursion Theory attributions: Rice–Shapiro Theorem, Androma](https://androma.org/page/Recursion%20Theory/block-attributions)
9. [M. Korovina and O. Kudinov, The Rice–Shapiro Theorem in Computable Topology, Logical Methods in Computer Science](https://lmcs.episciences.org/4171/pdf)
10. [Mathieu Hoyrup (2015), A Rice-like theorem for primitive recursive functions, arXiv:1503.05025](https://arxiv.org/abs/1503.05025)
11. [Index Sets of Computable Structures, arXiv:0803.3294](https://arxiv.org/abs/0803.3294)
12. [Podzorov, Algebraic Properties of Rogers Semilattices of Arithmetical Numberings](https://www3.diism.unisi.it/~sorbi/almaty_meeting/Abstract/podzorov.html)
13. [Hartley Rogers Jr., Theory of Recursive Functions and Effective Computability, MIT Press](https://mitpress.mit.edu/9780262680523/theory-of-recursive-functions-and-effective-computability/)
14. [Bazhenov (2022), Rogers semilattices of limitwise monotonic numberings, Mathematical Logic Quarterly](https://onlinelibrary.wiley.com/doi/10.1002/malq.202100077)

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

Topic: 物质世界与数学 › 数学与统计学 › 逻辑与离散数学 › Formal logic and foundations › Computability theory › Index sets and numberings

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/index-set-computability

English original: https://www.edgepedia.org/index-set-computability
