# Hom 函子

**Hom 函子**是范畴论中的构造：它把范畴的一对对象对应到它们之间态射的集合，并把态射对应到某一侧复合的运算。固定一个变元，便得到进入集合范畴的一元函子；让两个变元都自由，便得到二元函子，它对第一个变元反变、对第二个变元协变。名称缩写自“同态集”，其中同态作为态射的同义词。<sup>[1](https://cattheory.org/sections/1_computation/03_homfunctors.html)</sup>

| 关键事实 | 细节 |
|---|---|
| 协变形式 | 对范畴 \(\mathcal{C}\) 中固定的 \( X \)，\( h_X(A) = \mathrm{Hom}_{\mathcal{C}}(X,A) \)，且 \( h_X(f)(g) = f \circ g \)（后复合）<sup>[2](https://www.asc.ohio-state.edu/terekcouto.1/texts/MATH6112_SP19_notes.pdf)</sup> |
| 反变形式 | \( h^{X}(A) = \mathrm{Hom}_{\mathcal{C}}(A,X) \)，且 \( h^{X}(f)(g) = g \circ f \)（前复合）<sup>[2](https://www.asc.ohio-state.edu/terekcouto.1/texts/MATH6112_SP19_notes.pdf)</sup> |
| 双变元形式 | \( \mathrm{Hom}_{\mathcal{C}} : \mathcal{C}^{\mathrm{op}} \times \mathcal{C} \to \mathbf{Set} \)，在 \( (f,g) \) 上通过 \( h \mapsto g \circ h \circ f \) 作用<sup>[3](https://www.cl.cam.ac.uk/teaching/1819/L108/lectures/L108-lecture-12.pdf)</sup> |
| 大小条件 | 该构造假定每个 \( \mathcal{C}(A,B) \) 都是集合；这样的范畴称为局部小范畴，而典型的结构范畴是局部小而非小的，因为它们的对象构成真类<sup>[4](https://ncatlab.org/nlab/files/Streicher-CategoryTheory.pdf)</sup> |
| 米田引理 | 自然变换 \( h_X \Rightarrow F \) 与 \( F(X) \) 的元素一一对应，对应为 \( \alpha \mapsto \alpha_X(\mathrm{id}_X) \)<sup>[2](https://www.asc.ohio-state.edu/terekcouto.1/texts/MATH6112_SP19_notes.pdf)</sup> |
| 伴随 | \( F \dashv G \) 恰好当 \( \mathrm{Hom}_{\mathcal{D}}(F(C),D) \cong \mathrm{Hom}_{\mathcal{C}}(C,G(D)) \) 对两个变元都自然<sup>[5](https://www.math.ucla.edu/~sharifi/notes/algebra-ch09.html)</sup> |
| 模版本 | \( \mathrm{Hom}_R(M,N) \) 是一个阿贝尔群，也是一个 \( R \)-模，且 \( \mathrm{Hom}_R \) 是加性函子 \( \mathrm{Mod}_R^{\mathrm{opp}} \times \mathrm{Mod}_R \to \mathrm{Mod}_R \)<sup>[6](https://stacks.math.columbia.edu/tag/0581)</sup> |

## 定义

设 \( \mathcal{C} \) 是局部小范畴，即从 \( A \) 到 \( B \) 的态射汇集 \( \mathcal{C}(A,B) \) 实际上是一个集合。这一假设对实践中遇到的大多数范畴成立；幺半群、群、空间和集合等结构范畴是局部小而非小的，因为它们的对象构成真类。<sup>[4](https://ncatlab.org/nlab/files/Streicher-CategoryTheory.pdf)</sup>

**固定源。** 对固定对象 \( X \)，对应 \( A \mapsto \mathrm{Hom}_{\mathcal{C}}(X,A) \) 延拓为协变函子 \( h_X : \mathcal{C} \to \mathbf{Set} \)：态射 \( f : A \to B \) 通过 \( g \mapsto f \circ g \)（与 \( f \) 后复合）诱导出 \( h_X(f) : \mathrm{Hom}_{\mathcal{C}}(X,A) \to \mathrm{Hom}_{\mathcal{C}}(X,B) \)。<sup>[2](https://www.asc.ohio-state.edu/terekcouto.1/texts/MATH6112_SP19_notes.pdf)</sup> 这称为协变 Hom 函子。

**固定靶。** 反变版本 \( h^{X} : \mathcal{C} \to \mathbf{Set} \) 把 \( A \) 送到 \( \mathrm{Hom}_{\mathcal{C}}(A,X) \)，把态射 \( f : A \to B \) 送到映射 \( \mathrm{Hom}_{\mathcal{C}}(B,X) \to \mathrm{Hom}_{\mathcal{C}}(A,X) \)，由 \( g \mapsto g \circ f \)（前复合）给出。<sup>[2](https://www.asc.ohio-state.edu/terekcouto.1/texts/MATH6112_SP19_notes.pdf)</sup> 方向的反转正是使该函子反变的原因：映射 \( A' \to A \) 通过前复合把 \( \mathcal{C}(A,B) \) 的一个元素送到 \( \mathcal{C}(A',B) \) 的一个元素。<sup>[7](https://notes.amittai.studio/category-theory/representables-yoneda/representable-functors)</sup> 反变函子 \( \mathcal{C}(-,C) : \mathcal{C} \to \mathbf{Set} \) 也称为反变可表示函子或反变 hom 函子。<sup>[8](https://www.algebra.uni-linz.ac.at/Students/Categories/Linzcat.pdf)</sup>

**两个变元。** 两种构造合并为单个双函子 \( \mathrm{Hom}_{\mathcal{C}} : \mathcal{C}^{\mathrm{op}} \times \mathcal{C} \to \mathbf{Set} \)。在对象上它给出 \( \mathcal{C}(X,Y) \)；在一对 \( (f,g) \)（其中 \( f : X' \to X \)，\( g : Y \to Y' \)）上，它把 \( h : X \to Y \) 送到 \( g \circ h \circ f \)。<sup>[3](https://www.cl.cam.ac.uk/teaching/1819/L108/lectures/L108-lecture-12.pdf)</sup> 它对源变元反变、对靶变元协变，并且与同时给出的两个一元函子承载相同的数据。<sup>[7](https://notes.amittai.studio/category-theory/representables-yoneda/representable-functors)</sup>

## 可表示函子

反变函子 \( F : \mathcal{C} \to \mathbf{Set} \) 称为**可表示的**，如果对某个对象 \( B \) 存在自然同构 \( h^{B} \Rightarrow F \)，即对所有对象 \( A \) 有自然双射 \( \mathrm{Hom}_{\mathcal{C}}(A,B) \cong F(A) \)；此时称 \( B \) 表示 \( F \)。对偶地，协变函子 \( F \) 可表示，如果对某个 \( A \)，\( F(B) \cong \mathrm{Hom}_{\mathcal{C}}(A,B) \) 对 \( B \) 自然。<sup>[5](https://www.math.ucla.edu/~sharifi/notes/algebra-ch09.html)</sup> 协变函子 \( F \) 可表示当且仅当反变函子 \( F \circ \mathrm{op} : \mathcal{C}^{\mathrm{op}} \to \mathbf{Set} \) 可表示，且同一对象表示二者。<sup>[5](https://www.math.ucla.edu/~sharifi/notes/algebra-ch09.html)</sup>

可表示函子由同构意义下唯一的对象表示：若 \( B \) 与 \( C \) 都表示 \( F \)，则由米田引理的弱形式，两个自然同构的复合等于 \( h^{\mathcal{C}}(f) \)，其中 \( f : B \to C \) 是唯一同构。<sup>[5](https://www.math.ucla.edu/~sharifi/notes/algebra-ch09.html)</sup> 其实用价值在于，可表示函子往往可以通过理解一个对象——表示对象——来理解。<sup>[9](https://sites.math.washington.edu/~mitchell/Algf/cat.pdf)</sup>

**例子。** 反变幂集函子 \( P : \mathbf{Set} \to \mathbf{Set} \) 把集合 \( S \) 送到其子集集合，把 \( f : S \to T \) 送到原像 \( U \mapsto f^{-1}(U) \)，它由二元集 \( \{0,1\} \) 通过 \( \varphi \mapsto \varphi^{-1}(\{1\}) \) 表示。<sup>[5](https://www.math.ucla.edu/~sharifi/notes/algebra-ch09.html)</sup> 遗忘函子 \( \mathbf{Grp} \to \mathbf{Set} \) 由 \( \mathbb{Z} \) 表示，映射 \( G \to \mathrm{Hom}_{\mathbf{Grp}}(\mathbb{Z},G) \) 把 \( a \) 送到同态 \( 1 \mapsto a \)。<sup>[5](https://www.math.ucla.edu/~sharifi/notes/algebra-ch09.html)</sup> 在阿贝尔群中，函子 \( A \mapsto A[n] = \{ a \in A : na = 0 \} \) 由 \( \mathbb{Z}/n \) 表示，而在 \( G \)-集中，不动点函子 \( S \mapsto S^{G} \) 由单点 \( G \)-集表示。<sup>[9](https://sites.math.washington.edu/~mitchell/Algf/cat.pdf)</sup> 泛性质最终是可表示性的实例：\( R \)-模上的函子 \( M \mapsto \mathrm{Hom}_R(A_1,M) \times \mathrm{Hom}_R(A_2,M) \) 由直和 \( A_1 \oplus A_2 \) 表示，其反变对应物由积 \( A_1 \times A_2 \) 表示。<sup>[2](https://www.asc.ohio-state.edu/terekcouto.1/texts/MATH6112_SP19_notes.pdf)</sup>

## 米田引理

米田引理计算从可表示函子出发的自然变换。对任意函子 \( F : \mathcal{C} \to \mathbf{Set} \) 和任意对象 \( X \)，自然变换 \( h_X \Rightarrow F \) 的集合与集合 \( F(X) \) 之间存在自然双射，把 \( \alpha \) 送到 \( \alpha_X(\mathrm{id}_X) \)。<sup>[2](https://www.asc.ohio-state.edu/terekcouto.1/texts/MATH6112_SP19_notes.pdf)</sup>

一个推论是米田嵌入 \( X \mapsto h_X \) 是全忠实的，因此范畴中的一个对象由映入它的映射决定，也就是由它与所有其他对象的关系决定。<sup>[7](https://notes.amittai.studio/category-theory/representables-yoneda/representable-functors)</sup> 另一个经常使用的推论，是证明表示对象同构时的唯一性步骤。<sup>[5](https://www.math.ucla.edu/~sharifi/notes/algebra-ch09.html)</sup>

## 伴随与极限

Hom 函子给出伴随的标准表述。函子 \( F : \mathcal{C} \to \mathcal{D} \) 有右伴随 \( G \)，恰好当存在双射 \( \eta_{(C,D)} : \mathrm{Hom}_{\mathcal{D}}(F(C),D) \cong \mathrm{Hom}_{\mathcal{C}}(C,G(D)) \)，且对 \( C \) 和 \( D \) 自然；等价地，对每个 \( D \)，\( h^{D} \circ F \) 可表示，并由 \( G(D) \) 表示。<sup>[5](https://www.math.ucla.edu/~sharifi/notes/algebra-ch09.html)</sup> 用双函子的语言说，\( F \dashv G \) 成立，恰好当从 \( \mathcal{C}^{\mathrm{op}} \times \mathcal{D} \) 到 \( \mathbf{Set} \) 的函子 \( \mathcal{D}(F(-),-) \) 与 \( \mathcal{C}(-,G(-)) \) 自然同构，因此伴随定义中的自然性条款就是 hom 函子之间映射的自然性。<sup>[7](https://notes.amittai.studio/category-theory/representables-yoneda/representable-functors)</sup> 右伴随若存在，则在唯一自然同构意义下唯一，这同样是米田嵌入全忠实的推论。<sup>[5](https://www.math.ucla.edu/~sharifi/notes/algebra-ch09.html)</sup>

可表示性也刻画极限：对小范畴之间的函子 \( F : I \to \mathcal{C} \)，说 \( \mathrm{lim}\, h^{\mathcal{C}} \circ F \) 可表示，正是说存在对象 \( X \) 及自然同构 \( \mathrm{Hom}_{\mathcal{C}}(A,X) \cong \mathrm{lim}\,(\mathrm{Hom}_{\mathcal{C}}(A,F(\cdot))) \)。<sup>[5](https://www.math.ucla.edu/~sharifi/notes/algebra-ch09.html)</sup>

## 模的 Hom

对环 \( R \) 与 \( R \)-模 \( M, N \)，\( R \)-线性映射的集合 \( \mathrm{Hom}_R(M,N) \) 通过逐点加法带有阿贝尔群结构，并通过 \( (x\varphi)(m) = x\varphi(m) \) 带有 \( R \)-模结构。由模映射诱导的前复合映射和后复合映射都是 \( R \)-模映射，因此 \( \mathrm{Hom}_R \) 定义加性函子 \( \mathrm{Mod}_R^{\mathrm{opp}} \times \mathrm{Mod}_R \to \mathrm{Mod}_R \)。<sup>[6](https://stacks.math.columbia.edu/tag/0581)</sup>

函子 \( \mathrm{Hom}_R(-,N) \) 是左正合的：序列 \( M_1 \to M_2 \to M_3 \to 0 \) 正合，当且仅当 \( 0 \to \mathrm{Hom}_R(M_3,N) \to \mathrm{Hom}_R(M_2,N) \to \mathrm{Hom}_R(M_1,N) \) 对所有 \( N \) 正合；协变位置对偶。<sup>[6](https://stacks.math.columbia.edu/tag/0581)</sup> 这种左正合性是同调代数的基础；在同调代数中，\( \mathrm{Hom}(A,B) \)（模 \( A \) 到模 \( B \) 的同态群）与张量积是主要函子；Hom 的导出函子是扩张群 \( \mathrm{Ext}_R^{n}(A,B) = R^{n}\mathrm{Hom}_R(A,B) \)。<sup>[10](https://encyclopediaofmath.org/wiki/Homological_algebra)</sup>

张量-Hom 伴随联系这两个主要函子：对合适环上的模 \( L, M, N \)，映射 \( \mathrm{Hom}_S(L \otimes_R M, N) \to \mathrm{Hom}_R(L, \mathrm{Hom}_S(M,N)) \) 是同构，且对其变元自然，因此函子 \( - \otimes_R M \) 与 \( \mathrm{Hom}_R(M,-) \) 互为伴随。<sup>[11](https://www.math.auckland.ac.nz/~hekmati/HomologicalAlgebra.pdf)</sup>

在导出范畴 \( D(R) \) 中，导出 Hom \( R\mathrm{Hom}_R(K,L) \) 是由公式 \( \mathrm{Hom}_{D(R)}(K, R\mathrm{Hom}_R(L,M)) = \mathrm{Hom}_{D(R)}(K \otimes_R^{\mathbf{L}} L, M) \) 刻画的内 Hom；根据米田引理，此公式在唯一同构意义下刻画了该对象。<sup>[12](https://stacks.math.columbia.edu/tag/0A5W)</sup>

## 历史

Hom 函子属于范畴论的基础工具，由塞缪尔·艾伦伯格（Samuel Eilenberg）与桑德斯·麦克莱恩（Saunders Mac Lane）在《自然等价的一般理论》（《美国数学会会刊》第58卷，1945年，第231–294页）中引入；该文定义了范畴、函子与自然变换。<sup>[13](https://www.ams.org/journals/tran/1945-058-00/S0002-9947-1945-0013131-6/S0002-9947-1945-0013131-6.pdf)</sup> 该文已经通过“切片”使用 Hom：它把局部紧阿贝尔群 \( G \) 的特征群定义为 \( \mathrm{Char}\,G = \mathrm{Hom}(G,\mathbb{R}/\mathbb{Z}) \)，这是固定 Hom 构造一个变元得到的反变函子，并指出熟知的同构 \( \mathrm{Char}(\mathrm{Char}\,G) = G \) 是自然等价。<sup>[13](https://www.ams.org/journals/tran/1945-058-00/S0002-9947-1945-0013131-6/S0002-9947-1945-0013131-6.pdf)</sup>

## References

1. [Homfunctors, cattheory.org](https://cattheory.org/sections/1_computation/03_homfunctors.html)
2. [Ivo Terek Couto, The Ohio State University MATH 6112 lecture notes (2019)](https://www.asc.ohio-state.edu/terekcouto.1/texts/MATH6112_SP19_notes.pdf)
3. [Tom Leinster-based lecture notes, L108 Category Theory, Lecture 12, University of Cambridge Computer Laboratory](https://www.cl.cam.ac.uk/teaching/1819/L108/lectures/L108-lecture-12.pdf)
4. [Thomas Streicher, Category Theory lecture notes](https://ncatlab.org/nlab/files/Streicher-CategoryTheory.pdf)
5. [Romyar Sharifi, Abstract Algebra, Chapter 9: Category theory, UCLA](https://www.math.ucla.edu/~sharifi/notes/algebra-ch09.html)
6. [The Stacks Project, Section 10.10: Internal Hom (tag 0581)](https://stacks.math.columbia.edu/tag/0581)
7. [Amittai Axelrod, Hom-Functors and Representables, study notes](https://notes.amittai.studio/category-theory/representables-yoneda/representable-functors)
8. [Category Theory lecture notes, Johannes Kepler University Linz](https://www.algebra.uni-linz.ac.at/Students/Categories/Linzcat.pdf)
9. [W. G. Mitchell, Category Theory notes, University of Washington](https://sites.math.washington.edu/~mitchell/Algf/cat.pdf)
10. [Homological algebra, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Homological_algebra)
11. [Homological Algebra lecture notes, University of Auckland](https://www.math.auckland.ac.nz/~hekmati/HomologicalAlgebra.pdf)
12. [The Stacks Project, Section 15.75: Derived Hom (tag 0A5W)](https://stacks.math.columbia.edu/tag/0A5W)
13. [S. Eilenberg and S. Mac Lane, General Theory of Natural Equivalences, Trans. Am. Math. Soc. 58 (1945) 231–294](https://www.ams.org/journals/tran/1945-058-00/S0002-9947-1945-0013131-6/S0002-9947-1945-0013131-6.pdf)

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

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Algebraic structures › Module theory › Tensor products and bimodules › Tensor–hom relations

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/hom-functor

English original: https://www.edgepedia.org/hom-functor
