# 子对象分类器

子对象分类器是范畴中的一个对象 Ω，连同从终对象出发的一个特殊单态射 \(\mathrm{true} : 1 \to \Omega\)，使得每个单态射（子对象）\(m : A \rightarrowtail X\) 都作为 \(\mathrm{true}\) 沿唯一态射 \(\chi : X \to \Omega\) 的拉回出现，\(\chi\) 称为 \(A\) 的特征态射。<sup>[1](https://www.sciencedirect.com/topics/mathematics/topos)</sup> 这一概念推广了子集的特征函数，并且是初等拓扑斯的定义性公理之一。<sup>[1](https://www.sciencedirect.com/topics/mathematics/topos)</sup>

| 关键事实 | 细节 |
|---|---|
| 定义 | 一个对象 Ω，带有一个单态射 \(\mathrm{true} : 1 \rightarrowtail \Omega\)，使得对每个单态射 \(m : A \rightarrowtail X\)，都存在唯一一个 \(\chi : X \to \Omega\)，使由 \(m\)、\(\chi\) 和 \(\mathrm{true}\) 构成的方块为拉回<sup>[1](https://www.sciencedirect.com/topics/mathematics/topos)</sup> |
| 在集合范畴（Set）中 | Ω 是二元素真值集合；\(X\) 的子集对应于特征函数 \(\chi_A : X \to \{0,1\}\)<sup>[2](https://ncatlab.org/nlab/show/subobject%20classifier)</sup> |
| 在预层拓扑斯中 | Ω 把每个对象 \(U\) 送到 \(U\) 上的筛集合<sup>[2](https://ncatlab.org/nlab/show/subobject%20classifier)</sup> |
| 在层拓扑斯中 | 对于空间 \((X, \mathrm{Op})\) 上的层，\(\Omega(U)\) 是 \(U\) 的开子集集合，限制映射为 \(U' \mapsto U' \cap V\)；真值是开集<sup>[3](https://math.libretexts.org/Bookshelves/Applied_Mathematics/Seven_Sketches_in_Compositionality%3A_An_Invitation_to_Applied_Category_Theory_%28Fong_and_Spivak%29/07%3A_Logic_of_Behavior_-_Sheaves_Toposes_Languages/7.04%3A_Toposes)</sup> |
| 逻辑结构 | Ω 带有内部海廷代数结构，其中 ∧、∨、⇒ 和 ¬ 定义为特定子对象的特征映射<sup>[4](https://preprints.ihes.fr/storage/ToposTheoreticPreliminariesOliviaCaramelloRev.pdf)</sup> |
| 等价形式 | 在具有拉回的范畴中，拥有子对象分类器等价于子对象预层是可表示的<sup>[5](https://firsching.ch/FormalBook/docs/Mathlib/CategoryTheory/Subobject/Classifier/Defs.html)</sup> |
| 不足以构成拓扑斯 | 带点集合范畴有子对象分类器，但不能全忠实地嵌入一个初等拓扑斯并保持它，因为笛卡尔闭性不成立<sup>[6](https://mathoverflow.net/questions/371940/does-every-category-with-a-subobject-classifier-embed-into-a-topos)</sup> |

## 定义与泛性质

定义数据是一个对象 Ω 和一个单态射 \(\mathrm{true} : 1 \rightarrowtail \Omega\)。对任意单态射 \(m : A \rightarrowtail X\)，必须存在唯一一个态射 \(\chi : X \to \Omega\)，使得方块

\[
\begin{array}{ccc}
A & \xrightarrow{m} & X \\
\downarrow & & \downarrow {\chi} \\
1 & \xrightarrow{\mathrm{true}} & \Omega
\end{array}
\]

是拉回。态射 \(\chi\) 称为 \(A\) 的特征态射。<sup>[1](https://www.sciencedirect.com/topics/mathematics/topos)</sup> 用话说，\(A\) 恰好是 \(X\) 中使 \(\chi\) 等于 \(\mathrm{true}\) 的那部分，而唯一性要求说的是：对每个 \(X\)，\(X\) 的子对象与映射 \(X \to \Omega\) 之间的这一对应是双射。<sup>[7](https://encyclopediaofmath.org/wiki/Categorical_logic)</sup>

一种等价表述在 Lean 库 Mathlib 中被形式化：它把 \(\mathrm{true}\) 的定义域替换为终对象，并断言具有拉回的范畴有子对象分类器，当且仅当把每个对象送到其子对象集合的预层是可表示的，且 Ω 为表示对象。<sup>[5](https://firsching.ch/FormalBook/docs/Mathlib/CategoryTheory/Subobject/Classifier/Defs.html)</sup> 真态射必然是分裂单态射，从而是正则单态射，因为其来源是终对象。<sup>[5](https://firsching.ch/FormalBook/docs/Mathlib/CategoryTheory/Subobject/Classifier/Defs.html)</sup>

## 经典例子：集合

在集合范畴（Set）中，集合 \(X\) 的子对象就是它的子集，而每个子集 \(A \subseteq X\) 都有一个特征函数 \(\chi_A : X \to \{0,1\}\)，它恰好在 \(A\) 上取值 1。因此子对象分类器就是二元素真值集合，而 \(\mathrm{true} : 1 \to \{0,1\}\) 选取元素 1。<sup>[2](https://ncatlab.org/nlab/show/subobject%20classifier)</sup> 《数学百科全书》（Encyclopedia of Mathematics）用同样的说法陈述这一对应：\(a \in B\) 当且仅当 \(\chi(a) = \mathrm{true}\)，其中 \(\Omega = \{\mathrm{true}, \mathrm{false}\}\)。<sup>[7](https://encyclopediaofmath.org/wiki/Categorical_logic)</sup>

## 层与预层拓扑斯中的分类器

**预层。** 对于小范畴上的预层拓扑斯，子对象分类器是把每个对象 \(U\) 送到 \(U\) 上的筛集合的预层，这一事实通过米田引理建立。<sup>[2](https://ncatlab.org/nlab/show/subobject%20classifier)</sup> 预层的子函子则通过给每个对象指定一个筛来分类，该筛由子函子有定义的那些映射组成。<sup>[8](https://bartoszmilewski.com/2025/04/21/subfunctor-classifier/)</sup> 有向图范畴是一个预层拓扑斯，其分类器是一个可以显式画出的图：图 \(G\) 的一个顶点要么在子图 \(H\) 中，要么不在；而 \(H\) 之外的一条箭头则根据只有其源在、只有其靶在、二者都在或二者都不在 \(H\) 中而被分类。<sup>[3](https://math.libretexts.org/Bookshelves/Applied_Mathematics/Seven_Sketches_in_Compositionality%3A_An_Invitation_to_Applied_Category_Theory_%28Fong_and_Spivak%29/07%3A_Logic_of_Behavior_-_Sheaves_Toposes_Languages/7.04%3A_Toposes)</sup>

**空间上的层。** 对于拓扑空间 \((X, \mathrm{Op})\) 上的层拓扑斯，分类器是层

\[
\Omega(U) := \{ U' \in \mathrm{Op} \mid U' \subseteq U \},
\]

其限制映射为 \(U' \mapsto U' \cap V\)，其中 \(V \subseteq U\)。对于覆盖 \(U = \bigcup_i U_i\) 上的一族匹配开子集 \(V_i \subseteq U_i\)，其粘合条件由并集 \(V = \bigcup_i V_i\) 见证，因为 \(V \cap U_j = V_j\)。<sup>[3](https://math.libretexts.org/Bookshelves/Applied_Mathematics/Seven_Sketches_in_Compositionality%3A_An_Invitation_to_Applied_Category_Theory_%28Fong_and_Spivak%29/07%3A_Logic_of_Behavior_-_Sheaves_Toposes_Languages/7.04%3A_Toposes)</sup> 真态射把 \(U\) 上终层的唯一元素送到 \(U\) 本身，即 \(U\) 的最大开子集。<sup>[3](https://math.libretexts.org/Bookshelves/Applied_Mathematics/Seven_Sketches_in_Compositionality%3A_An_Invitation_to_Applied_Category_Theory_%28Fong_and_Spivak%29/07%3A_Logic_of_Behavior_-_Sheaves_Toposes_Languages/7.04%3A_Toposes)</sup>

其推论是：真值是开集：一个性质并非简单地真或假，而是在它成立的那个开子集上为真。当该子集是整个 \(X\) 时，它完全为真；当该子集为空时，它完全为假。<sup>[3](https://math.libretexts.org/Bookshelves/Applied_Mathematics/Seven_Sketches_in_Compositionality%3A_An_Invitation_to_Applied_Category_Theory_%28Fong_and_Spivak%29/07%3A_Logic_of_Behavior_-_Sheaves_Toposes_Languages/7.04%3A_Toposes)</sup> 两个真值 \(U, V\) 的合取与析取于是分别是开集的交与并。<sup>[3](https://math.libretexts.org/Bookshelves/Applied_Mathematics/Seven_Sketches_in_Compositionality%3A_An_Invitation_to_Applied_Category_Theory_%28Fong_and_Spivak%29/07%3A_Logic_of_Behavior_-_Sheaves_Toposes_Languages/7.04%3A_Toposes)</sup>

## Ω 的逻辑结构

在任何初等拓扑斯中，Ω 带有内部海廷代数的结构，即一个带有蕴涵运算的分配格。这些运算本身也是特征映射：∧ 分类对角子对象 \(\langle \mathrm{true}, \mathrm{true} \rangle : 1 \to \Omega \times \Omega\)，⇒ 分类 ∧ 与第一投影的等化子，∨ 分类 \(\mathrm{true}\) 沿两个投影的两个拉回的并。通过米田引理，这在每个对象的子对象格上诱导出一个海廷代数结构。<sup>[4](https://preprints.ihes.fr/storage/ToposTheoreticPreliminariesOliviaCaramelloRev.pdf)</sup> 这些运算正是赋予拓扑斯内部逻辑的东西；在其中，联结词成为子对象上的运算，而不是子集上的运算。<sup>[3](https://math.libretexts.org/Bookshelves/Applied_Mathematics/Seven_Sketches_in_Compositionality%3A_An_Invitation_to_Applied_Category_Theory_%28Fong_and_Spivak%29/07%3A_Logic_of_Behavior_-_Sheaves_Toposes_Languages/7.04%3A_Toposes)</sup>

当一个拓扑斯中 Ω 上的这个内部海廷代数是布尔代数时，称该拓扑斯为布尔拓扑斯，这意味着每个子对象格都是布尔的。<sup>[9](https://ncatlab.org/nlab/show/Boolean%2Btopos)</sup> 在空间的层拓扑斯中，Ω 是布尔的当且仅当开集格是布尔的；只要空间有非正则开集，这一点就不成立；这样的拓扑斯的内部逻辑是直觉主义的。<sup>[2](https://ncatlab.org/nlab/show/subobject%20classifier)</sup>

## 分类器不能给出什么

拥有子对象分类器是一个很强的条件，但它本身并不使一个范畴成为拓扑斯；拓扑斯还要求有限极限与笛卡尔闭性。带点集合范畴说明了这一差距。它的子对象分类器是包含映射 \(\{\ast\} \to \{\ast, \bot\}\)，其中 \(\ast\) 是基点：\(X\) 的子对象是包含 \(\ast\) 的子集，由通常的集合范畴（Set）中的特征映射分类。然而，在任何拓扑斯中，从终对象到 Ω 至少有两个映射，即 \(\mathrm{true}\) 和 \(\mathrm{false}\)；如果它们重合，该拓扑斯就是退化的。在带点集合中，只有一个映射 \(\{\ast\} \to \{\ast, \bot\}\)，因此没有任何进入初等拓扑斯的全忠实函子能保持该分类器及其泛子对象。<sup>[6](https://mathoverflow.net/questions/371940/does-every-category-with-a-subobject-classifier-embed-into-a-topos)</sup>

这一概念也允许相对化。通过限制哪些单态射必须被分类，例如只要求分类强单态射，就得到 M-子对象分类器的概念，它导向拟拓扑斯。<sup>[10](https://ncatlab.org/nlab/show/subobject%2Bclassifier)</sup>

## References

1. [Topos, ScienceDirect Topics (definition of elementary topos and subobject classifier)](https://www.sciencedirect.com/topics/mathematics/topos)
2. [Subobject classifier, nLab](https://ncatlab.org/nlab/show/subobject%20classifier)
3. [7.4: Toposes, Fong and Spivak, *Seven Sketches in Compositionality*, Mathematics LibreTexts](https://math.libretexts.org/Bookshelves/Applied_Mathematics/Seven_Sketches_in_Compositionality%3A_An_Invitation_to_Applied_Category_Theory_%28Fong_and_Spivak%29/07%3A_Logic_of_Behavior_-_Sheaves_Toposes_Languages/7.04%3A_Toposes)
4. [Olivia Caramello, Topos-theoretic preliminaries, Theorem 5.29 (Heyting algebra structure on Ω), IHÉS preprint](https://preprints.ihes.fr/storage/ToposTheoreticPreliminariesOliviaCaramelloRev.pdf)
5. [Mathlib.CategoryTheory.Subobject.Classifier.Defs, Mathlib documentation](https://firsching.ch/FormalBook/docs/Mathlib/CategoryTheory/Subobject/Classifier/Defs.html)
6. [Does every category with a subobject classifier embed into a topos?, Math Overflow, answer by Simon Henry (2020)](https://mathoverflow.net/questions/371940/does-every-category-with-a-subobject-classifier-embed-into-a-topos)
7. [Categorical logic, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Categorical_logic)
8. [Subfunctor Classifier, Bartosz Milewski's Programming Cafe (2025)](https://bartoszmilewski.com/2025/04/21/subfunctor-classifier/)
9. [Boolean topos, nLab](https://ncatlab.org/nlab/show/Boolean%2Btopos)
10. [Subobject classifier, nLab (relativized M-subobject classifiers and quasitoposes)](https://ncatlab.org/nlab/show/subobject%2Bclassifier)

---
*Initially written Oct 15, 2026*

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

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/subobject-classifier

English original: https://www.edgepedia.org/subobject-classifier
