# 吉尔伯特–瓦尔沙莫夫界

吉尔伯特–瓦尔沙莫夫界（Gilbert–Varshamov bound）是编码理论中的一个下界：给定码长与最小距离，它保证存在规模至少达到某一下限的码，其证明来自一种贪心填装论证。埃德加·N. 吉尔伯特（Edgar N. Gilbert）于1952年对一般码证明了这一结果，罗姆·R. 瓦尔沙莫夫（Rom R. Varshamov）于1957年对线性码证明了它；至今它仍是衡量纠错码在码率与距离之间取舍的标准基准。<sup>[1](https://cse.buffalo.edu/faculty/atri/courses/coding-theory/book/prev-ver/web-coding-book-Mar15-2019.pdf)</sup><sup> • </sup><sup>[2](https://onlinelibrary.wiley.com/doi/abs/10.1002/j.1538-7305.1952.tb01393.x)</sup><sup> • </sup><sup>[3](https://sovietrxiv.org/items/ru-195701.07174)</sup>

| 关键事实 | 细节 |
|---|---|
| 陈述（有限形式） | 在大小为 q 的字母表上、长度为 n、最小距离为 d 的码存在，且满足 \( |C| \ge q^{n}/\mathrm{Vol}_{q}(n, d-1) \)，其中 \( \mathrm{Vol}_{q} \) 是 q 元汉明球的体积<sup>[1](https://cse.buffalo.edu/faculty/atri/courses/coding-theory/book/prev-ver/web-coding-book-Mar15-2019.pdf)</sup> |
| 渐近形式 | 对相对距离 \( \delta < 1 - 1/q \)，存在码率为 \( R \ge 1 - H_{q}(\delta) \) 的码，其中 \( H_{q} \) 是 q 元熵函数<sup>[1](https://cse.buffalo.edu/faculty/atri/courses/coding-theory/book/prev-ver/web-coding-book-Mar15-2019.pdf)</sup> |
| 证明方法 | 贪心构造：反复加入与所有已选码字距离至少为 d 的任意字；每接受一个字，至多排除一个半径为 d − 1 的汉明球<sup>[1](https://cse.buffalo.edu/faculty/atri/courses/coding-theory/book/prev-ver/web-coding-book-Mar15-2019.pdf)</sup> |
| 线性版本 | 瓦尔沙莫夫（1957）证明线性码也能达到同样的码率，其证明基于对随机生成矩阵的概率论证<sup>[3](https://sovietrxiv.org/items/ru-195701.07174)</sup><sup> • </sup><sup>[1](https://cse.buffalo.edu/faculty/atri/courses/coding-theory/book/prev-ver/web-coding-book-Mar15-2019.pdf)</sup> |
| 典型性 | 随机线性码以高概率达到 GV 界，因此该界刻画了线性码的典型最小距离<sup>[1](https://cse.buffalo.edu/faculty/atri/courses/coding-theory/book/prev-ver/web-coding-book-Mar15-2019.pdf)</sup><sup> • </sup><sup>[4](https://link.springer.com/article/10.1007/s10623-025-01744-3)</sup> |
| 首次超越 | 茨法斯曼（Tsfasman）、弗勒杜茨（Vlăduţ）与津克（Zink）（1982）构造出代数几何码，在平方域大小 \( q = \ell^{2} \ge 49 \) 上超越了 GV 界<sup>[5](https://onlinelibrary.wiley.com/doi/10.1002/mana.19821090103)</sup><sup> • </sup><sup>[6](https://research.sabanciuniv.edu/id/eprint/211/1/3011800000600.pdf)</sup> |
| 与汉明界的关系 | GV 下界使用半径为 d − 1 的球；汉明（球填充）上界使用半径为 \( \lfloor (d-1)/2 \rfloor \) 的球，两者之间的间隙是一个核心未解问题<sup>[7](https://www.math.toronto.edu/swastik/courses/rutgers/codes-S16/lec2.pdf)</sup> |

## 陈述与含义

纠错码是在大小为 q 的字母表上选取的一组长度为 n 的字，选取时要求任意两个码字至少在 d 个位置上不同（最小汉明距离）。最小距离越大，可纠正的错误越多，但能容纳在空间 \( \mathbb{F}_{q}^{n} \) 中的码字数量也就越受限。GV 界量化了这种容量：只要码的大小与半径为 d − 1 的汉明球体积之积严格小于 \( q^{n} \)，就仍然存在某个与所有码字距离至少为 d 的字，可以把它加入码中。<sup>[8](https://www.sciencedirect.com/topics/mathematics/linear-code)</sup> 等价地说，最大规模的码必须满足 \( |C| \cdot \mathrm{Vol}_{q}(n, d-1) \ge q^{n} \)。<sup>[9](https://gmcninch.math.tufts.edu/2024-Sp-Math190/course-contents/2024-02-26--block%2Blinear.html)</sup>

在渐近形式下，令相对距离 \( \delta = d/n \)、码率 \( R = \frac{1}{n}\log_{q}|C| \)，该界断言：对每个 \( 0 \le \delta < 1 - 1/q \) 与 \( 0 < \varepsilon \le 1 - H_{q}(\delta) \)，都存在码率为 \( R \ge 1 - H_{q}(\delta) - \varepsilon \)、相对距离为 \( \delta \) 的码。<sup>[1](https://cse.buffalo.edu/faculty/atri/courses/coding-theory/book/prev-ver/web-coding-book-Mar15-2019.pdf)</sup> q 元熵函数为

\[ H_{q}(\delta) = \delta \log_{q}(q-1) + \delta \log_{q}\frac{1}{\delta} + (1-\delta)\log_{q}\frac{1}{1-\delta}, \]

因此该界常写作 \( R_{q}(\delta) \ge 1 - \delta\log_{q}(q-1) - \delta\log_{q}\frac{1}{\delta} - (1-\delta)\log_{q}\frac{1}{1-\delta} \)。<sup>[10](https://arxiv.org/abs/2403.08727)</sup>

## 贪心构造

吉尔伯特的证明是一个简单的贪心算法：从空码开始，只要还存在某个与所有已选码字距离至少为 d 的字，就把它加入。算法必然终止，因为每接受一个字，至多从未来候选中排除 \( \mathrm{Vol}_{q}(n, d-1) \) 个字，所以在空间被穷尽之前，至少会接受 \( q^{n}/\mathrm{Vol}_{q}(n, d-1) \) 个字。<sup>[1](https://cse.buffalo.edu/faculty/atri/courses/coding-theory/book/prev-ver/web-coding-book-Mar15-2019.pdf)</sup> 这一构造的运行时间为 \( q^{O(n)} \)，随分组长度指数增长，且所得之码没有特殊结构；甚至连存储它都可能需要指数级空间。<sup>[1](https://cse.buffalo.edu/faculty/atri/courses/coding-theory/book/prev-ver/web-coding-book-Mar15-2019.pdf)</sup> 这种非构造性正是该界在实践中的主要局限：它保证好码存在，却不能高效地把它们造出来。<sup>[11](https://scienze-como.uninsubria.it/previtali/Hall-CodingTheoryNotes.pdf)</sup>

## 线性版本与随机码

瓦尔沙莫夫1957年的论文由 A. N. 柯尔莫哥洛夫（A. N. Kolmogorov）提交给苏联科学院，它强化了二元码的结果：他给出一种线性编码构造，基于辅助向量的顺序选取，在一个减弱的充分条件下，可得到长度为 \( n = m + k \)、最小距离为 \( d = 2r+1 \) 的 \( 2^{m} \) 个码字，并把所需附加校验符号的数目从约 \( (d-1)\log_{2} m \) 收紧到 \( (d-2)\log_{2} m \)。<sup>[3](https://sovietrxiv.org/items/ru-195701.07174)</sup> 用现代形式表述，线性 GV 界是说：取 \( k = (1 - H_{q}(\delta) - \varepsilon)n \)，则 \( \mathbb{F}_{q} \) 上一个随机的 \( k \times n \) 生成矩阵以高概率定义一个相对距离为 \( \delta \)、码率至少为 \( 1 - H_{q}(\delta) - \varepsilon \) 的线性码。<sup>[1](https://cse.buffalo.edu/faculty/atri/courses/coding-theory/book/prev-ver/web-coding-book-Mar15-2019.pdf)</sup>

**随机码正落在该界上。** 概率证明所说明的不止是存在性：大多数参数适当的线性码都达到 GV 界。<sup>[1](https://cse.buffalo.edu/faculty/atri/courses/coding-theory/book/prev-ver/web-coding-book-Mar15-2019.pdf)</sup> 这是一个经典结果：对于有限域上的汉明度量，随机选取的线性码在渐近极限下达到 GV 界；对有限域上的秩度量码，以及对用坐标可加权重度量的环上随机码，这一点同样成立。<sup>[4](https://link.springer.com/article/10.1007/s10623-025-01744-3)</sup> 随机线性码的相对最小距离以概率一恰好落在 GV 曲线上。<sup>[12](https://www.rnta.eu/Algiers2026/Coding_theory_lecture_notes.pdf)</sup>

## 与上界的关系

GV 界是最优可达码率的下界；上界则来自填装论证与线性规划论证。汉明（球填充）界指出，以码字为中心、半径为 \( \lfloor (d-1)/2 \rfloor \) 的球必须互不相交，由此得到 \( |C| \le q^{n}/\mathrm{Vol}_{q}(n, \lfloor (d-1)/2 \rfloor) \)；两个界之间的差别，就在于把可纠正错误数 \( t \) 换成了可检测错误数 \( d - 1 \)，而后者等于 \( 2t \)。<sup>[13](https://www.cs.umd.edu/class/spring2024/cmsc858G/QECCbook-2024-ch1-11.pdf)</sup> 对二元码而言，最好的渐近上界是来自德尔萨特（Delsarte）线性规划的 McEliece–Rodemich–Rumsey–Welch 界（1977）；此后无论它还是 GV 下界都未能在渐近意义上得到改进，两者之间的真实答案至今未知。<sup>[14](https://berkeleyams.lbl.gov/fall26/guruswami.html)</sup> 码可能存在于两个界之间的区域，但这并非一般情形。<sup>[13](https://www.cs.umd.edu/class/spring2024/cmsc858G/QECCbook-2024-ch1-11.pdf)</sup>

## 超越该界

三十年间，GV 界一直未被改进；而一旦出现改进，往往需要相当高深的数学。<sup>[15](https://people.math.harvard.edu/~elkies/M256.13/index.html)</sup>

**代数几何码。** 1982年，茨法斯曼、弗勒杜茨与津克利用模曲线、志村曲线与戈帕（Goppa）码，构造出优于瓦尔沙莫夫–吉尔伯特界的码。<sup>[5](https://onlinelibrary.wiley.com/doi/10.1002/mana.19821090103)</sup> 这些代数几何码可在多项式时间内编码与译码，并在大字母表上超越 GV 界；传递码、自正交码与自对偶码这些线性码类，对所有平方数 \( q \ge 49 \) 都达到茨法斯曼–弗勒杜茨–津克界，从而超越 GV 界。<sup>[16](https://ieeexplore.ieee.org/document/720549/)</sup><sup> • </sup><sup>[6](https://research.sabanciuniv.edu/id/eprint/211/1/3011800000600.pdf)</sup> 对于较小的域大小，即直到约 40 的所有 q，GV 界对每个 δ 仍是已知的最佳结果。<sup>[15](https://people.math.harvard.edu/~elkies/M256.13/index.html)</sup> 用显式二元码达到 GV 界，是编码理论中最古老的问题之一；在高距离区间 \( \delta = 1/2 - \varepsilon \)，塔-什马（Ta-Shma）2017年的构造达到了接近 GV 的码率 \( \varepsilon^{2+o(1)} \)，而热罗尼莫（Jeronimo）、金塔纳（Quintana）、斯里瓦斯塔瓦（Srivastava）与图尔西亚尼（Tulsiani）2020年的构造又加上了近线性时间的唯一译码。<sup>[17](https://drops.dagstuhl.de/storage/00lipics/lipics-vol374-icalp2026/html/LIPIcs.ICALP.2026.68/LIPIcs.ICALP.2026.68.html)</sup><sup> • </sup><sup>[18](https://cs.uwaterloo.ca/~elena-g/CS860-FT25/lec2.pdf)</sup>

**非线性与线性的改进。** 江（Jiang）与瓦尔迪（Vardy）证明，对二元非线性码，该界可改进为 \( A_{2}(n,d) \ge c \cdot n \cdot 2^{n}/\mathrm{Vol}(n, d-1) \)，其中 c 为常数、\( d/n \le 0.499 \)；加博里（Gaborit）与泽莫尔（Zémor）证明，二元 \( [n, n/2] \) 随机双循环线性码的渐近族满足同样的改进界。<sup>[19](https://arxiv.org/abs/0708.4164)</sup> 2024年，梁学斌（Xue-Bin Liang）利用亨德里克·伦斯特拉（Hendrik Lenstra）在1980年代引入的数的几何方法所给出的码，证明了除有限多个正整数 q 之外，q 元渐近 GV 界对所有 q 都可改进；不过在 \( \delta = 1/2 \) 处，对无穷多个属于一般素数或一般非素数幂的 q，它仍是已知最大的下界。<sup>[10](https://arxiv.org/abs/2403.08727)</sup> 2026年的一种概率方法把经典 GV 界对 q 元线性码的存在性条件改进了 \( \sqrt{n} \) 因子，并推广到量子码。<sup>[20](https://arxiv.org/abs/2601.18590)</sup>

## 推广

该界的推广远远超出有限域上的经典汉明度量。对于约束系统——即码字必须满足子串约束的系统，如磁记录与基于 DNA 的数据存储——科列斯尼克（Kolesnik）与克拉奇科夫斯基（Krachkovsky）（1991）证明 GV 界可通过一个优化问题计算，马库斯（Marcus）与罗斯（Roth）（1992）对其作了修改，在多数情形下给出严格更好的界。<sup>[21](https://pmc.ncbi.nlm.nih.gov/articles/PMC11049528/)</sup> 对于带坐标可加距离的环上码，也有相应的类比结果，其最大码规模满足 \( A_{\mathrm{d}}(\mathcal{R}, n, d) \ge q^{rn}/B_{\mathrm{d}}(\mathcal{R}, n, d-1) \)；秩度量码亦有类似结果。<sup>[4](https://link.springer.com/article/10.1007/s10623-025-01744-3)</sup> 在量子信息论中，量子 GV 界保证存在固定码率、距离为 \( N H_{q^{2}}^{-1}((1-R)/2) \) 的 q 元量子码，并可作为量子容错信息处理的基准。<sup>[22](https://ieeexplore.ieee.org/abstract/document/6780574)</sup><sup> • </sup><sup>[20](https://arxiv.org/abs/2601.18590)</sup>

## References

1. [Essential Coding Theory (Rudra), Section 4.2, Gilbert–Varshamov Bound](https://cse.buffalo.edu/faculty/atri/courses/coding-theory/book/prev-ver/web-coding-book-Mar15-2019.pdf)
2. [Gilbert, E. N. (1952). A Comparison of Signalling Alphabets. Bell System Technical Journal 31(3):504–522.](https://onlinelibrary.wiley.com/doi/abs/10.1002/j.1538-7305.1952.tb01393.x)
3. [Varshamov, R. R. (1957). An Estimate of the Number of Signals in Error-Correcting Codes. SovietRxiv translation of Dokl. AN SSSR 117:739–741.](https://sovietrxiv.org/items/ru-195701.07174)
4. [Information set decoding for ring-linear codes, Designs, Codes and Cryptography (2025)](https://link.springer.com/article/10.1007/s10623-025-01744-3)
5. [Tsfasman, M. A., Vlădutx, S. G., Zink, T. (1982). Modular curves, Shimura curves, and Goppa codes, better than Varshamov–Gilbert bound. Math. Nachr. 109:21–28.](https://onlinelibrary.wiley.com/doi/10.1002/mana.19821090103)
6. [Stichtenoth, H. (2006). Transitive and Self-dual Codes Attaining the Tsfasman–Vlăduţ–Zink Bound, IEEE Trans. Inf. Theory 52(5).](https://research.sabanciuniv.edu/id/eprint/211/1/3011800000600.pdf)
7. [Lecture 02: More bounds on codes and Shannon's theorem, Rutgers](https://www.math.toronto.edu/swastik/courses/rutgers/codes-S16/lec2.pdf)
8. [Linear Code, ScienceDirect Topics](https://www.sciencedirect.com/topics/mathematics/linear-code)
9. [Block linear codes, Math 190 lecture notes, Tufts University](https://gmcninch.math.tufts.edu/2024-Sp-Math190/course-contents/2024-02-26--block%2Blinear.html)
10. [Liang, X.-B. (2024). The q-ary Gilbert–Varshamov bound can be improved for all but finitely many positive integers q. arXiv:2403.08727.](https://arxiv.org/abs/2403.08727)
11. [Notes on Coding Theory (Hall), on nonconstructiveness of the GV proof](https://scienze-como.uninsubria.it/previtali/Hall-CodingTheoryNotes.pdf)
12. [Coding theory lecture notes, Algiers 2026](https://www.rnta.eu/Algiers2026/Coding_theory_lecture_notes.pdf)
13. [QECCbook, University of Maryland, CMSC 858G (2024)](https://www.cs.umd.edu/class/spring2024/cmsc858G/QECCbook-2024-ch1-11.pdf)
14. [Rate bounds for binary error correcting codes, UCB/LBL Applied Math Seminar, Venkatesan Guruswami](https://berkeleyams.lbl.gov/fall26/guruswami.html)
15. [Math 256x: The Theory of Error-Correcting Codes, Harvard (Elkies)](https://people.math.harvard.edu/~elkies/M256.13/index.html)
16. [The art of signaling: fifty years of coding theory, IEEE Transactions on Information Theory 44(6), 1998](https://ieeexplore.ieee.org/document/720549/)
17. [Cohen, Gil, Doron, Dean, Goldgraber, Noam, Manket, Tomer. Tracing AG Codes: Toward Meeting the Gilbert–Varshamov Bound. ICALP 2026, LIPIcs vol. 374.](https://drops.dagstuhl.de/storage/00lipics/lipics-vol374-icalp2026/html/LIPIcs.ICALP.2026.68/LIPIcs.ICALP.2026.68.html)
18. [CS 860 Lecture 2, University of Waterloo](https://cs.uwaterloo.ca/~elena-g/CS860-FT25/lec2.pdf)
19. [Gaborit, P., Zémor, G. (2008). Asymptotic improvement of the Gilbert–Varshamov bound for linear codes. IEEE Trans. Inf. Theory 54(9):3865–3872.](https://arxiv.org/abs/0708.4164)
20. [Yuan, C., Zhu, R. (2026). Improvement of the Gilbert–Varshamov Bound for Linear Codes and Quantum Codes. arXiv:2601.18590.](https://arxiv.org/abs/2601.18590)
21. [Goyal, K., Kiah, H. M. (2024). Evaluating the Gilbert–Varshamov Bound for Constrained Systems. Entropy.](https://pmc.ncbi.nlm.nih.gov/articles/PMC11049528/)
22. [Concatenated Quantum Codes Can Attain the Quantum Gilbert–Varshamov Bound, IEEE Xplore](https://ieeexplore.ieee.org/abstract/document/6780574)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Computational and symbolic algebra › Algebraic combinatorics and graph theory › Algebraic coding theory

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/gilbert-varshamov-bound

English original: https://www.edgepedia.org/gilbert-varshamov-bound
