Proposition 7: uniform bounds give risk control
ProvedLearnThenTest.uniform_bound_risk_controlLet be any parameter set with risks . Let be a uniform upper confidence bound: a random function on with
Let , and let be any random parameter with . Then is an -risk-controlling prediction: .
This is the alternative to multiple testing studied in Appendix F of the paper.
Formalization Note The condition is required on every outcome. The paper's proof says "fails with probability at most ", which is a typo for .
import Mathlib import Definitions.Def_LearnThenTest_Basic open MeasureTheory ProbabilityTheory Filter
namespace LearnThenTest
theorem uniform_bound_risk_control {Ω L : Type*} [MeasurableSpace Ω] (P : Measure Ω)
[IsProbabilityMeasure P] (R : L → ℝ) (Rplus : Ω → L → ℝ) (α δ : ℝ)
(hRplus : ENNReal.ofReal (1 - δ) ≤ P {ω | ∀ l, R l ≤ Rplus ω l})
(lhat : Ω → L) (hlhat : ∀ ω, Rplus ω (lhat ω) ≤ α) :
IsRCP P R α δ lhat := by sorry
end LearnThenTestRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a measurable space carrying a probability measure , and let be an arbitrary set of "parameters". carries no measurable structure, and no measurability is assumed of any of the functions below. The data are:
- a deterministic risk function ;
- a random function , written ;
- real numbers and , completely unrestricted;
- a map , the random parameter.
First hypothesis (uniform upper bound with high probability). The bound dominates the true risk simultaneously at every parameter, with probability at least :
The left side is a value in . Because no measurability is assumed, the event need not be measurable; in that case is evaluated as its outer measure.
Second hypothesis (pointwise selection). For every , not merely almost every , the chosen parameter satisfies
Conclusion. is an -risk-controlling prediction in the sense of the bundle's definition:
Again, is taken as an outer measure if this event is not measurable.
Degenerate cases.
- If , the bound is . Both the first hypothesis and the conclusion then hold trivially.
- If , then . The first hypothesis can never hold for a probability measure, so the statement is vacuously true.
- Since is a probability measure, is nonempty. The existence of therefore forces to be nonempty.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.