# 布尔不等式

**布尔不等式**（Boole's inequality），又称**并集上界**，是概率论的一条定理：对任意有限或可列个事件，其中至少有一个发生的概率不大于各事件概率之和。设概率空间中的事件为 \( A_1, A_2, \ldots \)，则

\[ P\left( \bigcup_{i=1}^{\infty} A_i \right) \le \sum_{i=1}^{\infty} P(A_i), \]

对 \( n \) 个事件有相应的有限形式。该不等式以乔治·布尔（George Boole，1815—1864）命名，他在1854年的著作《思维规律研究》中讨论概率的部分，对无穷事件列证明了这一结果。<sup>[1](https://statproofbook.github.io/P/bool-ineq.html)</sup><sup> • </sup><sup>[2](https://data88s.org/textbook/content/Chapter_01/03_Fundamental_Rules.html)</sup>

| 关键事实 | 说明 |
|---|---|
| 陈述 | 对任意有限或可列个事件 \( A_1, A_2, \ldots \)，有 \( P(\bigcup_i A_i) \le \sum_i P(A_i) \)<sup>[1](https://statproofbook.github.io/P/bool-ineq.html)</sup> |
| 别名 | 并集上界<sup>[3](https://proofwiki.org/wiki/Union_Bound)</sup> |
| 证明思路 | 由容斥规则作归纳，舍去非负的交集项<sup>[1](https://statproofbook.github.io/P/bool-ineq.html)</sup> |
| 无需独立性 | 无论事件之间如何相依，该界都成立<sup>[4](https://jamielittle.uk/modules/intro-prob/01-foundations/07-union-bound/)</sup> |
| 等号情形 | 当事件互斥时取等号<sup>[2](https://data88s.org/textbook/content/Chapter_01/03_Fundamental_Rules.html)</sup> |
| 相伴的下界 | \( P\left( \bigcap_{i=1}^{\infty} A_i \right) \ge 1 - \sum_{i=1}^{\infty} P(A_i^{\mathrm{c}}) \)，有时称为布尔的另一不等式<sup>[5](https://maths.dur.ac.uk/users/clare.wallace/Prob1/Exercises/01-axioms.html)</sup> |
| 推广 | 邦费罗尼不等式利用容斥公式的更多项将其加强<sup>[6](https://www.probabilitycourse.com/chapter6/6_2_1_union_bound_and_exten.php)</sup> |

## 陈述与证明

对两个事件 \( A \) 与 \( B \)，容斥规则给出 \( P(A \cup B) = P(A) + P(B) - P(A \cap B) \)。由于概率非负，故 \( P(A \cup B) \le P(A) + P(B) \)。<sup>[7](https://courses.csail.mit.edu/6.042/past-devel/archive/spring03/handouts/lectures/lec2.pdf)</sup> 一般的有限情形由归纳法得到：假设对 \( n \) 个事件该界成立，把两事件的规则用于 \( \bigcup_{i=1}^{n} A_i \) 与 \( A_{n+1} \)，并舍去非负的交集项，便推广到 \( n+1 \) 个事件。<sup>[1](https://statproofbook.github.io/P/bool-ineq.html)</sup> 对可列个事件，把有限情形的界取极限，这一步由概率测度的连续性保证其正当性。<sup>[8](https://www.math.nagoya-u.ac.jp/~richard/teaching/s2026/SML_Aniket_1.pdf)</sup>

另一种证明把事件 \( A_i \) 换成互不相交的集合 \( B_i = A_i \setminus \bigcup_{j=1}^{i-1} A_j \)。各 \( B_i \) 的并等于各 \( A_i \) 的并，每个 \( B_i \) 都是相应 \( A_i \) 的子集，对互不相交的 \( B_i \) 施用可数可加性即得该界。<sup>[9](https://www.cs.yale.edu/homes/aspnes/classes/4690/notes.pdf)</sup> 同样的论证表明，该不等式是可数次可加性的一个特例，而可数次可加性是一切测度共有的性质，并不限于概率测度。<sup>[8](https://www.math.nagoya-u.ac.jp/~richard/teaching/s2026/SML_Aniket_1.pdf)</sup>

**界的紧度。** 当事件互斥时取等号；一般说来，事件越接近互斥，该界就越接近并集的真实概率。这个界也可能很粗糙：若 \( P(A) = 0.7 \)、\( P(B) = 0.8 \)，它给出 \( P(A \cup B) \le 1.5 \)，这固然成立，却比平凡的界 1 更弱。<sup>[2](https://data88s.org/textbook/content/Chapter_01/03_Fundamental_Rules.html)</sup> 与之相配的下界来自单调性，因为并集包含每一个事件：\( \max_i P(A_i) \le P(\bigcup_i A_i) \le \sum_i P(A_i) \)。若天气预报称周六降雨概率为 40%、周日为 10%，那么这两天中某一时刻下雨的概率介于 40% 与 50% 之间。<sup>[10](https://data140.org/sp17/textbook/ch5/BoolesInequality.html)</sup>

## 与邦费罗尼不等式的关系

并集上界是并集概率的容斥公式的第一项。把这个交错和逐项截断，就得到一族层次分明的界：取奇数项给出上界，取偶数项给出下界。<sup>[6](https://www.probabilitycourse.com/chapter6/6_2_1_union_bound_and_exten.php)</sup> 这些就是邦费罗尼不等式（Bonferroni inequalities），得名于意大利数学家卡洛·埃米利奥·邦费罗尼（Carlo Emilio Bonferroni），他在1936年明确把第一个不等式归功于布尔。《数学百科全书》指出，统计推断中对第一个不等式的运用通常被误称为邦费罗尼校正，并引用了斯蒂格勒的同名定律：从来没有东西是以其发现者命名的。<sup>[11](http://encyclopediaofmath.org/wiki/Boole%2C_George)</sup>

这些界的历史，与一场关于强大数定律优先权的争论纠缠在一起。据悉尼大学统计学教授、历史学家尤金·塞内塔（Eugene Seneta）所述，弗朗切斯科·保罗·坎泰利（Francesco Paolo Cantelli）1928年对该定律的证明，其技术核心正是布尔不等式；该证明在博洛尼亚数学家大会上所受到的关注，极有可能促使人们去考虑此类界的最优性，并进而引出邦费罗尼不等式。<sup>[12](https://www.sciencedirect.com/science/article/pii/031508609290053E)</sup>

## 应用

**算法与计算。** 在随机算法的分析中，并集上界的典型用法是表明：如果一个算法只有在若干不太可能发生的事件之一出现时才可能失败，那么失败的概率不大于这些事件概率之和。这就把"证明算法以 \( 1 - \varepsilon \) 的概率成功"这一任务，化为构造一份误差预算，把 \( \varepsilon \) 分摊到所有坏结果上。<sup>[9](https://www.cs.yale.edu/homes/aspnes/classes/4690/notes.pdf)</sup> 在跳表的分析中，该界把 \( n \) 个逐元素的失败事件合并为单一的失败概率 \( 1/n^{c-1} \)，而"每次查找以高概率花费 \( O(\log n) \)"这一定理正以此为基础。<sup>[13](https://ocw.mit.edu/courses/6-046j-introduction-to-algorithms-sma-5503-fall-2005/6908a093956536b7ed99aa9c26a3ddc4_lec12.pdf)</sup>

**统计学中的多重检验。** 当检验 \( m \) 个假设时，族错误率——即至少出现一次错误拒绝的概率——是一个并集的概率。邦费罗尼程序拒绝那些 \( p_i \le \alpha/m \) 的假设；由布尔不等式，无论各项检验之间如何相依，这都把族错误率控制在 \( \alpha \) 水平上。它是最简单的此类程序，而在检验很多或统计量正相关时也最为保守。<sup>[14](https://wiki.socr.umich.edu/index.php/SMHS_CorrectionMultipleTesting)</sup> 同时估计中也有同样的构造：若要使五个区间估计全部正确的机会至少为 95%，每个区间都必须按 99% 的水平构造，因为至少有一个出错的机会至多是五个各自出错机会之和。<sup>[10](https://data140.org/sp17/textbook/ch5/BoolesInequality.html)</sup>

**额外假设下更紧的界。** 并集上界只用到边缘概率，忽略了相依结构。当事件两两独立时，存在更紧的界：新加坡科技设计大学的拉马钱德拉（Ramachandra）与纳塔拉詹（Natarajan）导出了 \( n \) 个两两独立事件并集概率的最紧闭式上界，并证明布尔并集上界与该紧界之比至多为 \( 4/3 \)，且这个比值是可以取到的。<sup>[15](https://epubs.siam.org/doi/10.1137/21M1408294)</sup>

## 起源与命名

这个不等式带着乔治·布尔的名字。这位英国数学家于1849年被任命为科克女王学院（Queen's College Cork）首位数学教授，并于1854年在那里写成了《思维规律研究：逻辑与概率的数学理论赖以建立的基础》。<sup>[16](https://time.com/4096020/george-boole/)</sup> 布尔在概率论中的名字由这个不等式保存下来，《数学百科全书》称它是处理统计相依性的重要工具；而他更广泛的遗产还包括布尔代数，广泛用于电子电路设计。<sup>[11](http://encyclopediaofmath.org/wiki/Boole%2C_George)</sup> 布尔关于概率的工作，脱胎于英国把逻辑与概率联系起来的传统，与他大致同时代的奥古斯都·德摩根（Augustus De Morgan）、威廉·斯坦利·杰文斯（William Stanley Jevons）和约翰·文恩（John Venn）都属于这一传统。<sup>[11](http://encyclopediaofmath.org/wiki/Boole%2C_George)</sup>

## References

1. [Proof: Boole's inequality, The Book of Statistical Proofs](https://statproofbook.github.io/P/bool-ineq.html)
2. [Fundamental Rules, Data 88S Textbook (Ani Adhikari)](https://data88s.org/textbook/content/Chapter_01/03_Fundamental_Rules.html)
3. [Boole's Inequality (Union Bound), ProofWiki](https://proofwiki.org/wiki/Union_Bound)
4. [The Union Bound, Introduction to Probability (Jamie Little)](https://jamielittle.uk/modules/intro-prob/01-foundations/07-union-bound/)
5. [Exercises on the probability axioms, Durham University (Clare Wallace)](https://maths.dur.ac.uk/users/clare.wallace/Prob1/Exercises/01-axioms.html)
6. [The Union Bound and Extension, ProbabilityCourse.com](https://www.probabilitycourse.com/chapter6/6_2_1_union_bound_and_exten.php)
7. [Lecture 2: Laws of Probability, MIT 6.042](https://courses.csail.mit.edu/6.042/past-devel/archive/spring03/handouts/lectures/lec2.pdf)
8. [Continuity of probabilities and Boole's inequality, Nagoya University lecture notes](https://www.math.nagoya-u.ac.jp/~richard/teaching/s2026/SML_Aniket_1.pdf)
9. [Randomized Algorithms lecture notes, Chapter 4 (James Aspnes, Yale University)](https://www.cs.yale.edu/homes/aspnes/classes/4690/notes.pdf)
10. [Boole's Inequality, Data 140 textbook, UC Berkeley](https://data140.org/sp17/textbook/ch5/BoolesInequality.html)
11. [Boole, George, Encyclopedia of Mathematics (Heyde & Seneta, Statisticians of the Centuries)](http://encyclopediaofmath.org/wiki/Boole%2C_George)
12. [E. Seneta (1992). On the history of the Strong Law of Large Numbers and Boole's inequality. Historia Mathematica 19, 24–39.](https://www.sciencedirect.com/science/article/pii/031508609290053E)
13. [Introduction to Algorithms, MIT 6.046J, Lecture 12 (Demaine & Leiserson)](https://ocw.mit.edu/courses/6-046j-introduction-to-algorithms-sma-5503-fall-2005/6908a093956536b7ed99aa9c26a3ddc4_lec12.pdf)
14. [Multiple Testing Correction, SOCR, University of Michigan](https://wiki.socr.umich.edu/index.php/SMHS_CorrectionMultipleTesting)
15. [A. Kodagehalli Ramachandra and K. Natarajan. Tight Probability Bounds with Pairwise Independence. SIAM Journal on Discrete Mathematics.](https://epubs.siam.org/doi/10.1137/21M1408294)
16. [New Google Doodle Honors George Boole's 200th Birthday, TIME](https://time.com/4096020/george-boole/)

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

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Probability theory › Probability spaces and axioms › Kolmogorov axioms and additivity properties

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/booles-inequality

English original: https://www.edgepedia.org/booles-inequality
