Proposition 6: the maximum of the per-risk p-values is valid
ProvedLearnThenTest.max_pvalue_validFix a parameter and risks with levels . For each , let be a p-value for , valid whenever holds. Define . If holds, that is, for some , then
This reduces simultaneous control of several risks to the single-risk procedures above.
import Mathlib import Definitions.Def_LearnThenTest_Basic open MeasureTheory ProbabilityTheory Filter
namespace LearnThenTest
theorem max_pvalue_valid {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
[IsProbabilityMeasure P] {m : ℕ} (R α : Fin m → ℝ) (p : Fin m → Ω → ℝ)
(hp : ∀ l, Measurable (p l)) (hvalid : ∀ l, α l < R l → IsValidPValue P (p l))
(hnull : ∃ l, α l < R l) :
IsValidPValue P (fun ω => ⨆ l, p l ω) := by sorry
end LearnThenTestRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let be a probability space: is a measure on an arbitrary measurable space with . Let be a number of indices . The data are:
- two families of real numbers and , one pair for each index ;
- a family of real-valued functions , one for each .
The numbers and are plain real constants. They are not tied to or to the in any way except through the hypotheses below, where they only decide which indices count as "nulls".
Valid p-value. Throughout, " is a valid p-value under " means: for every ,
This definition does not require to take values in , nor does it require to be measurable.
Hypotheses.
- Every is measurable. This applies to all indices , not only the null ones.
- For every index with (strict inequality), is a valid p-value under . Nothing is assumed about the distribution of when .
- There exists at least one index with . In particular this forces , so the index set is nonempty.
No assumption is made about the dependence between the .
Conclusion. The pointwise maximum
is a valid p-value under . That is, for every ,
Because the index set is finite and, by hypothesis 3, nonempty, the supremum is an attained maximum. The convention that a supremum over an empty family of reals equals never comes into play.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.