# 类数

数域 K 的**类数**记作 h_K，是其理想类群 Cl_K 的阶。理想类群是整数环 O_K 的分式理想模去主分式理想所构成的群<sup>[1](https://math.ucla.edu/~sharifi/notes/algnum-ch04.html)</sup>。它衡量 O_K 在多大程度上不是一个主理想整环：h_K = 1 恰好当且仅当 O_K 的每个理想都是主理想，这等价于 K 中代数整数的唯一分解<sup>[2](https://wstein.org/books/ant/ant/ch_classgroup.html)</sup><sup> • </sup><sup>[3](https://www.cambridge.org/core/books/abs/theory-of-algebraic-numbers/ideal-classes-and-class-numbers/6682ACF0B47BB43673883FD14BF4FE2B)</sup>。

| 关键事实 | 细节 |
|---|---|
| 定义 | h_K = #Cl_K，即分式理想模主理想构成的群的阶<sup>[1](https://math.ucla.edu/~sharifi/notes/algnum-ch04.html)</sup> |
| 有限性 | 每个理想类都包含一个范数不超过闵可夫斯基界 \( M_K = (4/\pi)^{s} \cdot n!/n^{n} \cdot \sqrt{|d_K|} \) 的整理想，因此类群是有限的<sup>[2](https://wstein.org/books/ant/ant/ch_classgroup.html)</sup> |
| 分解意义 | h_K = 1 当且仅当 O_K 是主理想整环，等价地，是唯一分解整环<sup>[2](https://wstein.org/books/ant/ant/ch_classgroup.html)</sup><sup> • </sup><sup>[3](https://www.cambridge.org/core/books/abs/theory-of-algebraic-numbers/ideal-classes-and-class-numbers/6682ACF0B47BB43673883FD14BF4FE2B)</sup>  |
| 例子 | Q(i) 的类数为 1；Q(√−5) 与 Q(√10) 的类数均为 2<sup>[1](https://math.ucla.edu/~sharifi/notes/algnum-ch04.html)</sup><sup> • </sup><sup>[2](https://wstein.org/books/ant/ant/ch_classgroup.html)</sup>  |
| 解析公式 | 戴德金zeta函数 ζ_K 在 z = 1 处的留数为 \( 2^{r}(2\pi)^{s} h_K R_K / (w_K |D_K|^{1/2}) \)，将 h_K 与调节子 R_K、单位根个数 w_K 及判别式 D_K 联系起来<sup>[4](https://math.mit.edu/classes/18.785/2015fa/LectureNotes18.pdf)</sup> |
| 高斯类数问题 | 高斯猜想恰有九个虚二次域类数为 1；Heegner、斯塔克与贝克解决了类数一与类数二问题<sup>[5](https://archive.lib.msu.edu/crcmath/math/math/g/g044.htm)</sup><sup> • </sup><sup>[6](https://www.cambridge.org/core/books/abs/heegner-points-and-rankin-lseries/gauss-class-number-problem-for-imaginary-quadratic-fields/E46E132DD403540200066B88F5195380)</sup>  |
| 未解问题 | 有多少个数域类数为 1，至今未知<sup>[2](https://wstein.org/books/ant/ant/ch_classgroup.html)</sup> |

## 定义与意义

设 K 为数域，O_K 为其整数环。尽管 O_K 总是戴德金整环——其中每个非零理想都唯一分解为素理想的乘积——它未必是主理想整环，因此单个元素的分解可能不唯一。类群 C_K 定义为分式理想构成的群模去由 K 中元素 a 生成的主分式理想 (a) 构成的子群<sup>[2](https://wstein.org/books/ant/ant/ch_classgroup.html)</sup>。其阶 h_K 量化了这种失败：用一种表述来说，类数衡量的是“理想比数多出多少”<sup>[7](https://mathoverflow.net/questions/10934/class-number-measuring-the-failure-of-unique-factorization)</sup>。

与唯一分解的联系是精确的。一个域中的整数能唯一分解为素整数，当且仅当其类数为 1<sup>[3](https://www.cambridge.org/core/books/abs/theory-of-algebraic-numbers/ideal-classes-and-class-numbers/6682ACF0B47BB43673883FD14BF4FE2B)</sup>；而类数为 1 的域恰好就是那些 O_K 为主理想整环的域<sup>[2](https://wstein.org/books/ant/ant/ch_classgroup.html)</sup>。

## 有限性与闵可夫斯基界

任何数域的类群都是有限的<sup>[1](https://math.ucla.edu/~sharifi/notes/algnum-ch04.html)</sup><sup> • </sup><sup>[8](https://www.math.uchicago.edu/~may/VIGRE/VIGRE2008/REUPapers/Ullery.pdf)</sup>。标准证明使用数的几何。**闵可夫斯基界**断言每个理想类都包含一个范数满足 \( N\mathfrak{a} \le B_K \) 的整理想 𝔞<sup>[1](https://www.math.ucla.edu/~sharifi/notes/algnum-ch04.html)</sup>。对于次数为 n、有 s 对复嵌入、判别式为 d_K 的域，一个显式的形式是

\[ M_K = \left(\frac{4}{\pi}\right)^{s} \frac{n!}{n^{n}} \sqrt{|d_K|}. \]

由于范数低于任何给定界的整理想只有有限多个，类群是有限的<sup>[2](https://wstein.org/books/ant/ant/ch_classgroup.html)</sup>。该界还给出一个实用的算法：要计算类群，只需枚举范数不超过 M_K 的素理想，并确定它们生成的子群<sup>[1](https://math.ucla.edu/~sharifi/notes/algnum-ch04.html)</sup>。

**实例演算。** 对于 K = Q(i)，界为 4/π < 2，因此每个类都有范数为 1 的代表元，类群是平凡群<sup>[2](https://wstein.org/books/ant/ant/ch_classgroup.html)</sup>。对于 K = Q(√−5)，界为 \( (2/\pi)\sqrt{20} < 3 \)；由于 Z[√−5] 不是唯一分解整环，h_K ≥ 2，而 2 之上的素理想恰好是唯一的非平凡类，故 h_K = 2<sup>[1](https://math.ucla.edu/~sharifi/notes/algnum-ch04.html)</sup>。对于 K = Q(√10)，界为 √10 ≈ 3.16，对范数为 2 和 3 的理想的分析表明类群的阶为 2<sup>[2](https://wstein.org/books/ant/ant/ch_classgroup.html)</sup>。

## 解析类数公式

类数不仅是一个代数量；它还出现在戴德金zeta函数 ζ_K 的解析理论中。**解析类数公式**断言 ζ_K 可亚纯延拓到 Re(z) > 1 − 1/n，并在 z = 1 处有一个单极点，其留数为

\[ \lim_{z \to 1^{+}} (z-1)\zeta_K(z) = \frac{2^{r}(2\pi)^{s} h_K R_K}{w_K |D_K|^{1/2}}, \]

其中 r 与 s 分别是实位与复位的个数，R_K 是调节子（附着于单位群的一个余体积），w_K 是 K 中单位根的个数，D_K 是判别式<sup>[4](https://math.mit.edu/classes/18.785/2015fa/LectureNotes18.pdf)</sup>。证明的方法是统计范数有界的理想的个数，并说明当界增大时它们在各个理想类之间是等分布的<sup>[4](https://math.mit.edu/classes/18.785/2015fa/LectureNotes18.pdf)</sup>。

## 高斯类数问题

高斯在其《算术研究》中列出了小类数的虚二次域的表，并猜想他的表是完备的<sup>[6](https://www.cambridge.org/core/books/abs/heegner-points-and-rankin-lseries/gauss-class-number-problem-for-imaginary-quadratic-fields/E46E132DD403540200066B88F5195380)</sup>。对于类数一，答案是九个域，其判别式为 −1、−2、−3、−7、−11、−19、−43、−67 和 −163；相应的值被称为 Heegner 数<sup>[5](https://archive.lib.msu.edu/crcmath/math/math/g/g044.htm)</sup>。

这个问题的解决有着漫长的历史。1934 年，海尔布伦（Heilbronn）与林富特（Linfoot）证明了在高斯的列表之外至多还有一个类数为 1 的域<sup>[9](https://hrj.episciences.org/6488/pdf)</sup>。1952 年，库尔特·Heegner（Kurt Heegner）给出了恰有九个这样的域的证明，但他的论文有一处漏洞，后来由哈罗德·斯塔克（Harold Stark）补全<sup>[10](https://www.sciencedirect.com/science/article/pii/0022314X69900237)</sup>。Heegner、斯塔克与艾伦·贝克（Alan Baker）在 20 世纪 60 至 70 年代的工作，导致了虚二次域类数一与类数二问题的完全解决<sup>[6](https://www.cambridge.org/core/books/abs/heegner-points-and-rankin-lseries/gauss-class-number-problem-for-imaginary-quadratic-fields/E46E132DD403540200066B88F5195380)</sup><sup> • </sup><sup>[5](https://archive.lib.msu.edu/crcmath/math/math/g/g044.htm)</sup>。斯塔克的方法利用模函数改造了 Heegner 的途径，最后一步则用对数线性形式加以解决<sup>[9](https://hrj.episciences.org/6488/pdf)</sup>。

对于实二次域，相应的问题仍未解决；任何类型的数域中有多少个类数为 1，至今未知<sup>[2](https://wstein.org/books/ant/ant/ch_classgroup.html)</sup>。

## 历史渊源

类群源自恩斯特·库默尔（Ernst Kummer）的“理想数”——为在 Z[ζ_p] 这类通常分解失效的环中恢复唯一分解而引入的对象；理查德·戴德金（Richard Dedekind）后来用他的集合论理想取代了库默尔的理想数<sup>[11](https://plato.stanford.edu/entries/dedekind-foundations/)</sup><sup> • </sup><sup>[12](https://encyclopediaofmath.org/wiki/Ideal_number)</sup>。库默尔直接使用了类数：他证明了若 Q(μ_p) 的类数不被 p 整除，则 p 是正则素数，而在这一条件下他能够处理费马方程<sup>[13](https://www.ams.org/journals/bull/1982-06-03/S0273-0979-1982-14997-7/S0273-0979-1982-14997-7.pdf)</sup>。类群及其推广也是类域论的基础，后者描述数域的交换伽罗瓦扩张<sup>[2](https://wstein.org/books/ant/ant/ch_classgroup.html)</sup>。

## 计算与启发式

类群通过系统化的算法来计算。PARI 的 quadclassunit 实现了针对二次序的布赫曼–麦柯利（Buchmann–McCurley）次指数算法，其默认结果以广义黎曼假设为条件<sup>[14](https://pari.math.u-bordeaux.fr/dochtml/html/Quadratic_number_fields_and_binary_quadratic_forms.html)</sup>。大型数据表已经存在：经过修正的波尔多（“megrez”）表覆盖了 115 万个次数为 2 至 7 的数域，包含判别式、类数与类群，其范围在很大程度上已被 LMFDB 全局数域数据库所涵盖<sup>[15](https://mathbases.org/d/number-fields-pari)</sup>。

预测类数如何分布，比计算个别例子要困难得多。科恩–伦斯特拉–马丁（Cohen–Lenstra–Martin）启发式将随机数域的类群建模为随机有限交换群；2020 年，格拉斯哥大学数学教授亚历克斯·巴特尔（Alex Bartel）与莱顿大学的小亨德里克·W·伦斯特拉（Hendrik W. Lenstra Jr.）发表的一篇论文以两种不同的方式否证了这些启发式，用阿拉克洛夫类群重新表述了它们，并提出了一个严格表述的修正猜想<sup>[16](https://eprints.gla.ac.uk/177305/)</sup>。

## References

1. [Romyar Sharifi, Algebraic Number Theory, Chapter 4: Geometry of numbers, UCLA](https://math.ucla.edu/~sharifi/notes/algnum-ch04.html)
2. [William Stein, Algebraic Number Theory, a Computational Approach, Chapter 7: Finiteness of the Class Group](https://wstein.org/books/ant/ant/ch_classgroup.html)
3. [Pollard, H. and Diamond, H., The Theory of Algebraic Numbers, Chapter X: Ideal Classes and Class Numbers, Cambridge University Press](https://www.cambridge.org/core/books/abs/theory-of-algebraic-numbers/ideal-classes-and-class-numbers/6682ACF0B47BB43673883FD14BF4FE2B)
4. [MIT 18.785, Lecture 18: Proof of the analytic class number formula](https://math.mit.edu/classes/18.785/2015fa/LectureNotes18.pdf)
5. [Gauss's Class Number Problem, Michigan State University archive](https://archive.lib.msu.edu/crcmath/math/math/g/g044.htm)
6. [The Gauss Class Number Problem for Imaginary Quadratic Fields, in Heegner Points and Rankin L-Series, Cambridge University Press](https://www.cambridge.org/core/books/abs/heegner-points-and-rankin-lseries/gauss-class-number-problem-for-imaginary-quadratic-fields/E46E132DD403540200066B88F5195380)
7. [Class number measuring the failure of unique factorization, MathOverflow](https://mathoverflow.net/questions/10934/class-number-measuring-the-failure-of-unique-factorization)
8. [Minkowski Theory and the Class Number, University of Chicago REU papers](https://www.math.uchicago.edu/~may/VIGRE/VIGRE2008/REUPapers/Ullery.pdf)
9. [Class numbers of imaginary quadratic fields, Hardy–Ramanujan Journal](https://hrj.episciences.org/6488/pdf)
10. [Stark, H. M., On the "gap" in a theorem of Heegner, Journal of Number Theory](https://www.sciencedirect.com/science/article/pii/0022314X69900237)
11. [Dedekind's Contributions to the Foundations of Mathematics, Stanford Encyclopedia of Philosophy](https://plato.stanford.edu/entries/dedekind-foundations/)
12. [Ideal number, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Ideal_number)
13. [Bulletin of the American Mathematical Society (1982), cyclotomic fields and class numbers](https://www.ams.org/journals/bull/1982-06-03/S0273-0979-1982-14997-7/S0273-0979-1982-14997-7.pdf)
14. [PARI/GP documentation: Quadratic number fields and binary quadratic forms](https://pari.math.u-bordeaux.fr/dochtml/html/Quadratic_number_fields_and_binary_quadratic_forms.html)
15. [Bordeaux number field tables (nftables), MathBases](https://mathbases.org/d/number-fields-pari)
16. [Bartel, A. and Lenstra Jr., H. W. (2020), On class groups of random number fields, Proceedings of the London Mathematical Society](https://eprints.gla.ac.uk/177305/)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Number theory › Algebraic number theory › Class field theory › Class groups, ray class groups, and conductors

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/class-number

English original: https://www.edgepedia.org/class-number
