# 整数环

在代数数论中，数域 \( K \) 的**整数环**是由 \( K \) 中那些作为整系数首一多项式的根的元素所构成的子环 \( \mathcal{O}_K \)；等价地说，在固定了 \( K \) 到代数闭包 \( \overline{\mathbb{Q}} \) 的一个嵌入之后，它就是交集 \( K \cap \overline{\mathbb{Z}} \)，其中 \( \overline{\mathbb{Z}} \) 是所有代数整数构成的环。<sup>[1](https://wstein.org/books/ant/ant/node13.html)</sup> 数域是包含 \( \mathbb{Q} \) 且在 \( \mathbb{Q} \) 上具有有限次数的域。<sup>[1](https://wstein.org/books/ant/ant/node13.html)</sup> 整数环推广了 \( \mathbb{Q} \) 中的普通整数 \( \mathbb{Z} \)，是研究 \( K \) 的算术的中心对象。

| 关键事实 | 细节 |
|---|---|
| 定义 | \( \mathcal{O}_K = \{ x \in K : x \text{ 满足某个整系数首一多项式} \} \)，等于 \( K \cap \overline{\mathbb{Z}} \)<sup>[1](https://wstein.org/books/ant/ant/node13.html)</sup> |
| 基本例子 | \( \mathcal{O}_{\mathbb{Q}} = \mathbb{Z} \)；\( \mathcal{O}_{\mathbb{Q}(i)} = \mathbb{Z}[i] \)；\( \mathcal{O}_{\mathbb{Q}(\sqrt{5})} = \mathbb{Z}[(1+\sqrt{5})/2] \)<sup>[1](https://wstein.org/books/ant/ant/node13.html)</sup> |
| 二次情形 | 对无平方因子的 \( d \ne 1 \)，若 \( d \equiv 1 \bmod 4 \)，则 \( \mathcal{O}_{\mathbb{Q}(\sqrt{d})} = \mathbb{Z}[(1+\sqrt{d})/2] \)；若 \( d \equiv 2, 3 \bmod 4 \)，则为 \( \mathbb{Z}[\sqrt{d}] \)<sup>[2](https://www.math.ucla.edu/~sharifi/notes/algnum-ch01.html)</sup> |
| 结构定理 | \( \mathcal{O}_K \) 是 Dedekind 整环：诺特性、整闭，且每个非零素理想都是极大的<sup>[3](https://www.maths.tcd.ie/~mascotn/teaching/2022/MAU34109/Poly.pdf)</sup> |
| 分解 | 元素未必唯一分解，但 \( \mathcal{O}_K \) 的每个理想都唯一分解为素理想的乘积<sup>[4](https://crypto.stanford.edu/pbc/notes/numberfield/unique.html)</sup><sup> • </sup><sup>[3](https://www.maths.tcd.ie/~mascotn/teaching/2022/MAU34109/Poly.pdf)</sup> |
| 序 | 任何有限指数的子环 \( R \subset \mathcal{O}_K \) 都是一个序；\( \mathcal{O}_K \) 本身称为极大序<sup>[1](https://wstein.org/books/ant/ant/node13.html)</sup><sup> • </sup><sup>[5](https://www.math.ucla.edu/~sharifi/notes/algnum-ch02.html)</sup> |
| 计算 | 计算 \( \mathcal{O}_K \) 是计算代数数论的主要任务之一；PARI/GP 使用 round 4 算法，而 Lean 4 形式化如今能从 LMFDB 数据库认证整基<sup>[6](https://arxiv.org/abs/2409.18030)</sup> |

## 代数整数

**代数整数**是元素 \( \alpha \in \overline{\mathbb{Q}} \)，它是某个系数在 \( \mathbb{Z} \) 中的首一多项式的根；此时称 \( \alpha \) 在 \( \mathbb{Z} \) 上是整的。<sup>[7](https://wstein.org/books/ant/ant/Ch2.html)</sup> 例如，\( \sqrt{2} \) 是代数整数，因为它是 \( x^2 - 2 \) 的根，而 \( 1/2 \) 不是。<sup>[7](https://wstein.org/books/ant/ant/Ch2.html)</sup> 一个元素是代数整数当且仅当 \( \mathbb{Z}[\alpha] \) 作为 \( \mathbb{Z} \)-模是有限生成的，且当且仅当它在 \( \mathbb{Q} \) 上的极小多项式具有整系数。<sup>[7](https://wstein.org/books/ant/ant/Ch2.html)</sup>

代数整数构成一个环：若 \( \alpha \) 和 \( \beta \) 是代数整数，则 \( \alpha + \beta \) 和 \( \alpha\beta \) 也是，因为 \( \mathbb{Z}[\alpha, \beta] \) 作为 \( \mathbb{Z} \)-模由乘积 \( \alpha^i \beta^j \)（\( 0 \le i < m \)，\( 0 \le j < n \)）生成，其中 \( m \) 和 \( n \) 分别是在 \( \alpha \) 和 \( \beta \) 处取零的首一整数多项式的次数。<sup>[7](https://wstein.org/books/ant/ant/Ch2.html)</sup> 这个环 \( \overline{\mathbb{Z}} \) 是 \( \mathbb{Z} \) 在 \( \mathbb{C} \) 中的整闭包，其分式域是 \( \overline{\mathbb{Q}} \)：每个代数数都可以写成两个代数整数的分式。<sup>[2](https://www.math.ucla.edu/~sharifi/notes/algnum-ch01.html)</sup>

这个定义比表面看起来更微妙。黄金比 \( (1+\sqrt{5})/2 \) 是代数整数，因为它满足 \( x^2 - x - 1 \)，尽管它写出来带有分母。<sup>[7](https://wstein.org/books/ant/ant/Ch2.html)</sup> 在 \( \mathbb{Q} \) 自身内部，唯一的代数整数就是普通整数 \( \mathbb{Z} \)。<sup>[7](https://wstein.org/books/ant/ant/Ch2.html)</sup>

## 数域的整数环

对数域 \( K \)，整数环 \( \mathcal{O}_K \) 是 \( \mathbb{Z} \) 在 \( K \) 中的整闭包。<sup>[2](https://www.math.ucla.edu/~sharifi/notes/algnum-ch01.html)</sup> 它满足 \( \mathcal{O}_K \cap \mathbb{Q} = \mathbb{Z} \) 和 \( \mathbb{Q}\mathcal{O}_K = K \)，因此 \( K \) 的每个元素都是某个代数整数的有理倍数。<sup>[1](https://wstein.org/books/ant/ant/node13.html)</sup>

**二次域。** 原型例子是对无平方因子的整数 \( d \ne 1 \) 的二次域 \( \mathbb{Q}(\sqrt{d}) \)。当 \( d \equiv 1 \bmod 4 \) 时整数环是 \( \mathbb{Z}[(1+\sqrt{d})/2] \)，当 \( d \equiv 2, 3 \bmod 4 \) 时是 \( \mathbb{Z}[\sqrt{d}] \)。<sup>[2](https://www.math.ucla.edu/~sharifi/notes/algnum-ch01.html)</sup> 因此 \( \mathbb{Q}(\sqrt{2}) \) 的整数环是 \( \mathbb{Z}[\sqrt{2}] \)，判别式为 8，而 \( \mathbb{Q}(\sqrt{5}) \) 的整数环是 \( \mathbb{Z}[(1+\sqrt{5})/2] \)，判别式为 5。<sup>[3](https://www.maths.tcd.ie/~mascotn/teaching/2022/MAU34109/Poly.pdf)</sup>

**分圆域。** 若 \( \zeta \) 是一个本原 \( n \) 次单位根，则分圆域 \( \mathbb{Q}(\zeta) \) 的整数环是 \( \mathbb{Z}[\zeta] \)。<sup>[3](https://www.maths.tcd.ie/~mascotn/teaching/2022/MAU34109/Poly.pdf)</sup>

**非单生成例子。** 整数环并不总是在 \( \mathbb{Z} \) 上由单个元素生成。域 \( \mathbb{Q}(\sqrt[3]{9}) \) 的整数环是 \( \mathbb{Z}[\sqrt[3]{3}] \)，其中 \( \sqrt[3]{3} = \frac{1}{3}(\sqrt[3]{9})^2 \)，所以显然的生成元并不够用。<sup>[1](https://wstein.org/books/ant/ant/node13.html)</sup> SageMath 的文档计算了一个由 \( x^3 + x^2 - 2x + 8 \) 定义的三次域，其中 2 是一个“本质判别式因子”，整数环具有整基 \( [1, \tfrac{1}{2}a^2 + \tfrac{1}{2}a, a^2] \)，不能由单个元素生成。<sup>[8](https://doc.sagemath.org/html/en/reference/number_fields/sage/rings/number_field/number_field.html)</sup>

## Dedekind 整环与理想的唯一分解

环 \( \mathcal{O}_K \) 是 **Dedekind 整环**：它是诺特的、整闭的，且每个非零素理想都是极大的。<sup>[3](https://www.maths.tcd.ie/~mascotn/teaching/2022/MAU34109/Poly.pdf)</sup> 诺特性来自：递增理想链的范数构成一个非降的正整数序列，因而必须稳定；非零素理想的极大性来自：商 \( \mathcal{O}_K/\mathfrak{p} \) 是有限整环，因而是域。<sup>[3](https://www.maths.tcd.ie/~mascotn/teaching/2022/MAU34109/Poly.pdf)</sup>

元素的唯一分解可能失效。在 \( \mathbb{Z}[\sqrt{-5}] \)（即 \( \mathbb{Q}(\sqrt{-5}) \) 的整数环）中，数 6 有两个真正不同的不可约分解：\( 6 = 2 \cdot 3 = (1+\sqrt{-5})(1-\sqrt{-5}) \)。<sup>[3](https://www.maths.tcd.ie/~mascotn/teaching/2022/MAU34109/Poly.pdf)</sup> 这种失效在理想层面得到弥补：Dedekind 整环中的每个理想都可唯一地表示成素理想的乘积，而由于每个数环都是 Dedekind 整环，\( \mathcal{O}_K \) 中的理想唯一分解为素理想。<sup>[4](https://crypto.stanford.edu/pbc/notes/numberfield/unique.html)</sup> 失效的程度由理想类群衡量，即分式理想群对主分式理想群的商。<sup>[9](https://wstein.org/books/ant/ant/Ch3.html)</sup>

## 序与极大序

\( \mathcal{O}_K \) 中的一个**序**是 \( \mathcal{O}_K \) 的任一子环 \( R \)，使得阿贝尔群的商 \( \mathcal{O}_K/R \) 有限。<sup>[1](https://wstein.org/books/ant/ant/node13.html)</sup> 例如，对每个非零整数 \( n \)，\( \mathbb{Z} + ni\mathbb{Z} \) 是 \( \mathbb{Z}[i] \) 中的一个序，而 \( \mathbb{Z} \) 本身不是，因为它在 \( \mathbb{Z}[i] \) 中的指数无限。<sup>[1](https://wstein.org/books/ant/ant/node13.html)</sup> 若 \( K = \mathbb{Q}(\alpha) \) 且 \( \alpha \) 是代数整数，则 \( \mathbb{Z}[\alpha] \) 是一个序，但常常 \( \mathbb{Z}[\alpha] \ne \mathcal{O}_K \)；在一个计算实例中，指数 \( [\mathcal{O}_K : \mathbb{Z}[a]] \) 等于 \( 2197 = 13^3 \)。<sup>[1](https://wstein.org/books/ant/ant/node13.html)</sup>

由于 \( \mathcal{O}_K \) 包含每个序，它常被称为 \( K \) 的**极大序**。<sup>[5](https://www.math.ucla.edu/~sharifi/notes/algnum-ch02.html)</sup> 序是诺特的，且所有非零素理想都是极大的，但它们不是整闭的，因此不是 Dedekind 整环。<sup>[3](https://www.maths.tcd.ie/~mascotn/teaching/2022/MAU34109/Poly.pdf)</sup> 序 \( R \) 与极大序的判别式由 \( \mathrm{disc}(R) = [\mathcal{O}_K : R]^2 \, \mathrm{disc}(\mathcal{O}_K) \) 相联系；因此，若 \( \mathrm{disc}(R) \) 无平方因子，则 \( R = \mathcal{O}_K \)。<sup>[5](https://www.math.ucla.edu/~sharifi/notes/algnum-ch02.html)</sup>

## 历史

整数环的理论源于挽救唯一分解的尝试。恩斯特·库默尔（Ernst Kummer）在研究费马大定理的工作中研究单位根 \( \zeta \) 对应的 \( \mathbb{Z}[\zeta] \)，引入“理想数”以恢复某种形式的唯一分解，并对如今称为正则素数的情形证明了大定理。<sup>[10](https://www.math.utoronto.ca/~ila/ANTBook.pdf)</sup><sup> • </sup><sup>[11](https://www.math.mcgill.ca/darmon/courses/history/katz.pdf)</sup> 理查德·戴德金（Richard Dedekind），布伦瑞克的数学家、狄利克雷《数论讲义》的编者，用集合论式的理想取代了库默尔的理想数，这一思想首次发表于他 1871 年为该书所写的附录中，并在数域的整数环中表述了他的理论。<sup>[12](https://plato.stanford.edu/entries/dedekind-foundations/)</sup><sup> • </sup><sup>[13](https://mathshistory.st-andrews.ac.uk/Biographies/Dedekind/)</sup> 戴德金的理想概念被希尔伯特（Hilbert）和埃米·诺特（Emmy Noether）继承，将整数分解为素数的唯一性推广到其他环中的理想。<sup>[13](https://mathshistory.st-andrews.ac.uk/Biographies/Dedekind/)</sup>

## 计算

对显式给定的域计算 \( \mathcal{O}_K \) 是计算代数数论的主要任务之一。<sup>[6](https://arxiv.org/abs/2409.18030)</sup> 给定定义多项式 \( T \)，子环 \( \mathbb{Z}[X]/(T) \) 是一个序，任务是将它扩大为极大序；PARI/GP 的 `nfbasis` 函数用 David Ford、Sebastian Pauli 和 Xavier Roblot 的 round 4 算法的修改版本完成此事，而获得极大序一般而言是困难的，因为它需要分解 \( T \) 的判别式。<sup>[14](https://pari.math.u-bordeaux.fr/pub/pari/manuals/2.13.3/users.pdf)</sup> 诸如 LMFDB 的数据库为每个存储的数域记录一个整基，即 \( \mathcal{O}_K \) 的 \( \mathbb{Z} \)-基，以及判别式。<sup>[15](https://www.lmfdb.org/NumberField/3.3.1573.1)</sup> Anne Baanen、Alain Chavarri Villarello 和 Sander R. Dahmen 的近期工作在 Lean 4 证明助手中形式化了这些计算：SageMath 产生一个证书，Lean 检查它，验证了次数至多 8 的数域的整基，以及数百条 LMFDB 条目中的判别式、类数和类群。<sup>[6](https://arxiv.org/abs/2409.18030)</sup><sup> • </sup><sup>[16](https://arxiv.org/abs/2607.26230)</sup>

## References

1. [William Stein, *Algebraic Number Theory, a Computational Approach*, Chapter 2, Rings of Algebraic Integers](https://wstein.org/books/ant/ant/node13.html)
2. [Romyar Sharifi, *Algebraic Number Theory*, Chapter 1, Abstract algebra](https://www.math.ucla.edu/~sharifi/notes/algnum-ch01.html)
3. [Nicolás Mascot, Math 345 Algebraic Number Theory lecture notes, Trinity College Dublin](https://www.maths.tcd.ie/~mascotn/teaching/2022/MAU34109/Poly.pdf)
4. [Unique Factorization of Ideals, Stanford lecture notes](https://crypto.stanford.edu/pbc/notes/numberfield/unique.html)
5. [Romyar Sharifi, *Algebraic Number Theory*, Chapter 2, Dedekind domains](https://www.math.ucla.edu/~sharifi/notes/algnum-ch02.html)
6. [Anne Baanen, Alain Chavarri Villarello, Sander R. Dahmen (2024). Certifying rings of integers in number fields. arXiv:2409.18030](https://arxiv.org/abs/2409.18030)
7. [William Stein, *Algebraic Number Theory, a Computational Approach*, Chapter 2, Basic Commutative Algebra](https://wstein.org/books/ant/ant/Ch2.html)
8. [SageMath documentation, Number fields: integral_basis](https://doc.sagemath.org/html/en/reference/number_fields/sage/rings/number_field/number_field.html)
9. [William Stein, *Algebraic Number Theory, a Computational Approach*, Chapter 3, Unique Factorization of Ideals](https://wstein.org/books/ant/ant/Ch3.html)
10. [Ila Varma et al., *Algebraic Number Theory* course notes, University of Toronto](https://www.math.utoronto.ca/~ila/ANTBook.pdf)
11. [Katz, *A history of mathematics* (course notes, McGill University)](https://www.math.mcgill.ca/darmon/courses/history/katz.pdf)
12. [Dedekind's Contributions to the Foundations of Mathematics, Stanford Encyclopedia of Philosophy](https://plato.stanford.edu/entries/dedekind-foundations/)
13. [Richard Dedekind (1831–1916), MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/Biographies/Dedekind/)
14. [PARI/GP User's Guide, version 2.13.3, section on nfbasis](https://pari.math.u-bordeaux.fr/pub/pari/manuals/2.13.3/users.pdf)
15. [LMFDB, Number field 3.3.1573.1](https://www.lmfdb.org/NumberField/3.3.1573.1)
16. [Alain Chavarri Villarello, Sander R. Dahmen. Formally certifying number field invariants. arXiv:2607.26230](https://arxiv.org/abs/2607.26230)

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

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Algebraic structures › Ring theory › Factorization and orders › Orders in rings and rings of integers

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/ring-of-integers

English original: https://www.edgepedia.org/ring-of-integers
