Proposition 2: Bonferroni controls FWER
ProvedLearnThenTest.bonferroni_controls_fwerLet hypotheses have p-values and let . The Bonferroni correction
is an FWER-controlling algorithm at level . For every joint law of the p-values on and every set of true nulls whose p-values are valid, it rejects no true null with probability at least .
Formalization Note Definition 2's measurability requirement is part of the conclusion. The range is the paper's range for error levels (the inputs of Algorithms 1 and 2). Some restriction is needed: for the requirement "probability at least " cannot be met by any algorithm.
import Mathlib import Definitions.Def_LearnThenTest_Basic open MeasureTheory ProbabilityTheory Filter
namespace LearnThenTest
theorem bonferroni_controls_fwer (N : ℕ) (δ : ℝ) (hδ : 0 < δ ∧ δ < 1) :
IsFWERControlling N δ (bonferroni N δ) := by sorry
end LearnThenTestRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
The statement concerns a natural number , the number of hypotheses, indexed by , and a real number with . It asserts that the Bonferroni rule is FWER-controlling at level . Both notions are unfolded below.
The Bonferroni rule. For a vector , the rule returns the set of indices
where is ordinary real division. When , the division-by-zero convention gives . In that case the index set is empty, so regardless.
What "FWER-controlling at level " requires. The theorem asserts both of the following.
-
Measurability. For every index , the set is a measurable subset of .
-
Error control. Fix any probability measure on . No independence or other dependence structure among the coordinates is assumed. Fix also any subset , which is arbitrary and may be empty or everything. Suppose the following two hypotheses hold:
- -almost every has all coordinates in ;
- for every , the coordinate is a valid p-value under . That is,
Then
Here is the complement of in . Equivalently, with -probability at least , no index of satisfies . The comparison is made in the extended non-negative reals, with embedded there. Since , this value is strictly between and .
Remarks on scope.
- The set is not tied to any notion of "true null" other than the validity hypothesis on its coordinates.
- Validity is only required at thresholds . For , the threshold lies in .
- The hypotheses are satisfiable; for example, can be the uniform distribution on .
- When , the space is a single point, the rejected set is empty, and the conclusion reads .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.