# 同构

同构是两个数学对象之间的一种对应，它表达二者结构的相等：它把一个对象的元素与另一个对象的元素配对，使得该结构的每一种关系和运算都恰好保持不变。在任意范畴中，同构是可逆态射，即一个态射 \( \phi \)，存在态射 \( \phi^{-1} \)，使得 \( \phi^{-1} \cdot \phi \) 与 \( \phi \cdot \phi^{-1} \) 都是恒等态射。<sup>[1](https://encyclopediaofmath.org/index.php?title=Isomorphism)</sup> 由同构相联系的两个对象称为同构的；在大多数数学用途中，它们被当作同一个对象，只是贴上了不同标签。

| 关键事实 | 细节 |
|---|---|
| 定义 | 保持结构的双射；在范畴论中，是具有双侧逆的态射<sup>[1](https://encyclopediaofmath.org/index.php?title=Isomorphism)</sup> |
| 经典例子 | 加法下的实数 \( \mathbb{R} \) 与乘法下的正实数，由指数映射及其逆映射对数相匹配<sup>[1](https://encyclopediaofmath.org/index.php?title=Isomorphism)</sup> |
| 等价关系 | 同构是自反、对称和传递的，把任意一类系统分成两两同构系统的互不相交的类<sup>[1](https://encyclopediaofmath.org/index.php?title=Isomorphism)</sup> |
| 自同构 | 一个结构到自身的同构是自同构<sup>[1](https://encyclopediaofmath.org/index.php?title=Isomorphism)</sup> |
| 图的情形 | 顶点之间的双射，使得 \( \{u,v\} \in E(G) \) 当且仅当 \( \{p(u),p(v)\} \in E(H) \)<sup>[2](https://mathworld.wolfram.com/IsomorphicGraphs.html)</sup> |
| 复杂性状态 | 图同构可在拟多项式时间 \( \exp((\log n)^{O(1)}) \) 内求解（巴拜，2015）；既不知道它属于 P，也没有证明它是 NP 完全的<sup>[3](https://arxiv.org/abs/1512.03547)</sup><sup> • </sup><sup>[4](https://mathworld.wolfram.com/GraphIsomorphism.html)</sup> |
| 实用工具 | 诸如 nauty 和 Traces 之类的规范标号程序可计算自同构群并检验图的同构<sup>[5](https://users.cecs.anu.edu.au/~bdm/nauty/)</sup> |

## 代数中的定义

这一概念最初随具体的代数系统、首先是群而产生，后来自然扩展到更广泛的数学结构类。<sup>[1](https://encyclopediaofmath.org/index.php?title=Isomorphism)</sup> 对于同一类型的代数系统 \( \mathfrak{A} \) 和 \( \mathfrak{A'} \)，从 \( \mathfrak{A} \) 到 \( \mathfrak{A'} \) 上的同构是从 \( \mathfrak{A} \) 的底层集合到 \( \mathfrak{A'} \) 的底层集合上的一一映射 \( \phi \)，满足

\[ \phi(F_i(a_1, \dots, a_{n_i})) = F_i(\phi(a_1), \dots, \phi(a_{n_i})) \]

对每个函数符号 \( F_i \) 成立，并且对每个谓词符号 \( P_j \) 有相应的双条件。在代数系统的每个范畴中，同构都是双射的同态。<sup>[1](https://encyclopediaofmath.org/index.php?title=Isomorphism)</sup>

**群与向量空间。** 两个群同构，当它们之间的对应是一一的且乘法表保持不变；例如点群 \( C_2 \) 与 \( D_1 \) 同构。<sup>[6](https://mathworld.wolfram.com/IsomorphicGroups.html)</sup> 对于同一域上的向量空间 \( E_1 \) 和 \( E_2 \)，同构是实现其元素之间一一对应的线性算子；两个空间同构当且仅当它们的基具有相同基数。<sup>[7](https://encyclopediaofmath.org/wiki/Vector_space)</sup>

经典例子把加法下实数 \( \mathbb{R} \) 构成的群与乘法下正实数 \( P \) 构成的群联系起来。指数映射，或其逆映射对数函数，明确给出这个同构。<sup>[1](https://encyclopediaofmath.org/index.php?title=Isomorphism)</sup>

## 同构作为等价关系

同构关系是自反、对称、传递的，因此它是一个等价关系，把其上定义了这一关系的任意集合分成两两同构系统的互不相交的等价类。一个代数系统类若是一些这样的类的并，就称为抽象类。<sup>[1](https://encyclopediaofmath.org/index.php?title=Isomorphism)</sup> 一个结构到自身的同构是自同构；对于图，自同构构成一个置换群，刻画了图的对称性；根据弗鲁赫特（Frucht）1939年的一个定理，每个群都作为某个图的自同构群出现。<sup>[1](https://encyclopediaofmath.org/index.php?title=Isomorphism)</sup><sup> • </sup><sup>[8](https://mathworld.wolfram.com/GraphAutomorphism.html)</sup>

同样的模式以不同名称在数学各处重现。在拓扑空间与连续映射的范畴中，同构对象是同胚空间，它们由一一对应相联系，而该对应的两个互逆映射都连续。<sup>[9](https://encyclopediaofmath.org/wiki/Homeomorphism)</sup> 对于测度空间，严格同构是双射 \( f: X_1 \to X_2 \)，它把可测集映为可测集并保持其测度；而模 0 同构是全测度子集之间的严格同构；二者在测度空间上给出不同的等价关系。<sup>[10](https://encyclopediaofmath.org/wiki/Measure_space)</sup>

## 同构与结构主义

同构是如下观点的技术骨干：数学研究的是结构，而不是特定对象。理查德·戴德金（Richard Dedekind）证明，戴德金—皮亚诺公理的所有模型，即所有“简单无穷”，都是同构的；这一结果成为其抽象主义结构主义的基础。<sup>[11](https://plato.stanford.edu/entries/structuralism-mathematics/)</sup> 20世纪，尼古拉·布尔巴基（Nicolas Bourbaki）小组明确建立了这一联系：在亨利·嘉当（Henri Cartan）的叙述中，布尔巴基对公理方法的采用使分析、几何、代数与数论之间的经典划分难以为继，取而代之的是结构概念；结构概念使同构的定义成为可能，并由此使数学各基本学科的分类成为可能。<sup>[12](https://mathshistory.st-andrews.ac.uk/HistTopics/Bourbaki_1/)</sup> 布尔巴基区分了三类母结构：代数结构、拓扑结构和序结构；其形式化的结构概念于1969年发表，但更早即已形成，它把结构的同构置于中心，要求对结构种的每个以形式化方式表述的概念，都能证明其在同构下的不变性。<sup>[11](https://plato.stanford.edu/entries/structuralism-mathematics/)</sup><sup> • </sup><sup>[13](https://www.math.mcgill.ca/~rags/seminar/makkai200117phil.html)</sup>

模型论实践把同一观念编码为这样一句话：数学理论研究其模型时只“在同构意义下”研究。范畴论由塞缪尔·艾伦伯格（Samuel Eilenberg）和桑德斯·麦克莱恩（Saunders Mac Lane）在1945年的文章中引入，后来取代集合论成为这种结构主义观点的首选框架；在范畴中，同构就是可逆态射。<sup>[11](https://plato.stanford.edu/entries/structuralism-mathematics/)</sup><sup> • </sup><sup>[1](https://encyclopediaofmath.org/index.php?title=Isomorphism)</sup>

## 图同构问题

判定两个有限图是否同构，是该概念在计算方面被研究得最多的化身。两个顶点集为 \( V_n = \{1, \dots, n\} \) 的图同构，如果存在 \( V_n \) 的一个置换 \( p \)，使得 \( \{u,v\} \in E(G) \) 当且仅当 \( \{p(u), p(v)\} \in E(H) \)。<sup>[2](https://mathworld.wolfram.com/IsomorphicGraphs.html)</sup> 该问题在复杂性理论中处于不寻常的位置：不知道多项式时间算法，但也没有证明该问题是 NP 完全的，而共识观点是它不是 NP 完全的。<sup>[4](https://mathworld.wolfram.com/GraphIsomorphism.html)</sup><sup> • </sup><sup>[14](https://hardness.mit.edu/drafts/2023-04-08.pdf)</sup>

**巴拜的突破。** 2015年，芝加哥大学（University of Chicago）的数学家与计算机科学家拉斯洛·巴拜（László Babai）证明，图同构问题以及相关的串同构问题和陪集相交问题，可以在拟多项式时间 \( \exp((\log n)^{O(1)}) \) 内求解，其中 \( n \) 是顶点数。此前图同构的最佳界是 \( \exp(O(\sqrt{n \log n})) \)，由尤金·卢克斯（Eugene Luks）于1983年建立。<sup>[3](https://arxiv.org/abs/1512.03547)</sup> 这是一般图同构算法最坏情况运行时间自卢克斯1983年界以来的首次改进。<sup>[15](https://arxiv.org/abs/2011.01366)</sup> 该算法建立在卢克斯的框架之上，并用群论“局部证书”和组合规范划分来攻克其障碍构型；对算法的分析给出运行时间 \( \exp(C (\log n)^3) \)，其中 \( C \) 为常数。<sup>[3](https://arxiv.org/abs/1512.03547)</sup><sup> • </sup><sup>[16](https://arxiv.org/abs/1909.10260)</sup>

一般问题在最坏情况下很难，但随机实例很容易：朴素的细化算法可在线性时间内解决几乎所有图的图同构问题，这是巴拜、埃尔德什（Erdős）和塞尔科（Selkow）1980年的结果。<sup>[14](https://hardness.mit.edu/drafts/2023-04-08.pdf)</sup> 对于受限的图类，已知有多项式时间算法，包括平面图以及有界度或有界特征值重数的图。<sup>[4](https://mathworld.wolfram.com/GraphIsomorphism.html)</sup><sup> • </sup><sup>[17](https://oup.silverchair-cdn.com/article-minimal/8114479)</sup>

**实际计算。** 规范标号是标准的实用技术：它给每个图指定一个规范形式，使得两个图同构当且仅当它们的规范形式匹配。由布伦丹·麦凯（Brendan McKay）和阿道夫·皮佩尔诺（Adolfo Piperno）开发的程序 nauty 和 Traces 可计算图与有向图的自同构群和规范标号；saucy 和 bliss 等其他实现则面向大型稀疏图。<sup>[2](https://mathworld.wolfram.com/IsomorphicGraphs.html)</sup><sup> • </sup><sup>[5](https://users.cecs.anu.edu.au/~bdm/nauty/)</sup>

## 应用

同构检验回答一个实际问题：两个被编码的结构何时相同？在化学中，化合物被表示为分子图，其顶点是原子，边是化学键；合成新化合物后，会搜索分子图数据库，看其图是否与某个已知化合物的图匹配。<sup>[18](https://homepages.inf.ed.ac.uk/rmayr/Ch10.pdf)</sup> 同样的保持邻接的双射，是化学反应中的原子映射以及图像和视频分析中的图匹配的基础。<sup>[19](https://arxiv.org/abs/1409.6806)</sup>

这一概念也标记了不变量所能区分的极限。多年来，化学家寻找一种易于计算的不变量，以区分表示分子的图；随后出现了一整串论文，其中一位作者提出一种不变量，另一位作者则给出一对该不变量无法区分的图。几乎可以肯定，不存在易于计算的通用图不变量，无论它基于图谱还是其他参数。<sup>[2](https://mathworld.wolfram.com/IsomorphicGraphs.html)</sup>

## References

1. [Isomorphism, Encyclopedia of Mathematics (O.A. Ivanova, D.M. Smirnov)](https://encyclopediaofmath.org/index.php?title=Isomorphism)
2. [Isomorphic Graphs, Wolfram MathWorld](https://mathworld.wolfram.com/IsomorphicGraphs.html)
3. [László Babai (2015). Graph Isomorphism in Quasipolynomial Time. arXiv:1512.03547](https://arxiv.org/abs/1512.03547)
4. [Graph Isomorphism, Wolfram MathWorld](https://mathworld.wolfram.com/GraphIsomorphism.html)
5. [The nauty Traces page, Brendan McKay and Adolfo Piperno](https://users.cecs.anu.edu.au/~bdm/nauty/)
6. [Isomorphic Groups, Wolfram MathWorld](https://mathworld.wolfram.com/IsomorphicGroups.html)
7. [Vector space, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Vector_space)
8. [Graph Automorphism, Wolfram MathWorld](https://mathworld.wolfram.com/GraphAutomorphism.html)
9. [Homeomorphism, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Homeomorphism)
10. [Measure space, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Measure_space)
11. [Structuralism in the Philosophy of Mathematics, Stanford Encyclopedia of Philosophy](https://plato.stanford.edu/entries/structuralism-mathematics/)
12. [Bourbaki 1, MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/HistTopics/Bourbaki_1/)
13. [Meta-mathematics in Bourbaki's structuralism, M. Makkai seminar notes](https://www.math.mcgill.ca/~rags/seminar/makkai200117phil.html)
14. [3. **graph isomorphism.** so far there has been no polynomial-time algorithm for graph isomorphism; however, there has also been no proof that it is np-complete. the fastest algorithm for graph isomorphism, due to babai [bab16], has running time \(2^{(\lg n)^c}\) for some constant \(c\) (\(c = 3\) seems likely). it is believed that a *quasipolynomial* running time of \(2^{(\lg n)^c}\) with \(c > 1\) is the best one can do with current methods. so is graph isomorphism np-complete? the consensus is “no” for the following reasons:](https://hardness.mit.edu/drafts/2023-04-08.pdf)
15. [Martin Grohe, Daniel Neuen (2020). Recent Advances on the Graph Isomorphism Problem. arXiv:2011.01366](https://arxiv.org/abs/2011.01366)
16. [The Graph Isomorphism Problem: Local Certificates for Giant Action, arXiv:1909.10260](https://arxiv.org/abs/1909.10260)
17. [oup.silverchair-cdn.com](https://oup.silverchair-cdn.com/article-minimal/8114479)
18. [Applications of Graph Isomorphism, K. Etessami, University of Edinburgh](https://homepages.inf.ed.ac.uk/rmayr/Ch10.pdf)
19. [On spectral properties for graph matching and graph isomorphism problems, arXiv:1409.6806](https://arxiv.org/abs/1409.6806)

---
*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 › Discrete mathematics

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/isomorphism

English original: https://www.edgepedia.org/isomorphism
