Theorem 7: an FDR bound for Storey's BH with PRDS p-values (with positivity)
ProvedConformalOutlierTesting.storey_bh_prds_boundLet be a random vector that is PRDS on the set of nulls. Suppose each null p-value is super-uniform, for , and satisfies almost surely, for a constant . Let , let , and let
Assume for every . Then the Storey–BH procedure with parameter at level satisfies
This bound is not specific to conformal p-values. It applies to any PRDS p-values with an almost-sure lower bound, such as permutation p-values.
Formalization Note The paper conditions on without requiring this event to have positive probability. If it is null, the conditional expectation is undefined while the FDR can be positive. The positivity hypothesis is therefore added. The p-values are assumed measurable.
import Mathlib import Definitions.Def_ConformalOutlierTesting_Basic open MeasureTheory ProbabilityTheory Filter Topology Set BoundedContinuousFunction
namespace ConformalOutlierTesting
theorem storey_bh_prds_bound {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
[IsProbabilityMeasure P] {m : ℕ} (p : Ω → Fin m → ℝ) (hp : Measurable p)
(H₀ : Finset (Fin m)) (hprds : IsPRDS P p H₀)
(hsu : ∀ i ∈ H₀, ∀ t ∈ Icc (0 : ℝ) 1, P {ω | p ω i ≤ t} ≤ ENNReal.ofReal t)
(pmin : ℝ) (hpmin : pmin ∈ Icc (0 : ℝ) 1) (hlb : ∀ i ∈ H₀, ∀ᵐ ω ∂P, pmin ≤ p ω i)
(α lam : ℝ) (hα : α ∈ Ioo (0 : ℝ) 1) (hlam : lam ∈ Ioo (0 : ℝ) 1)
(hpos : ∀ i ∈ H₀, 0 < P {ω | p ω i ≤ max (α * (1 - lam) / m) pmin}) :
fdr P (fun ω => storeyRej α lam (p ω)) H₀ ≤
α * (1 - lam) * ∑ i ∈ H₀, ∫ ω, 1 / (1 + (storeyA lam (p ω) : ℝ))
∂(ProbabilityTheory.cond P {ω | p ω i ≤ max (α * (1 - lam) / m) pmin}) := by sorry
end ConformalOutlierTestingRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a probability space, a natural number, and a measurable random vector of real numbers. The coordinates are called "p-values", but they are not required to take values in . Let be an arbitrary index set, the "true nulls". It may be empty, and it is empty when . The theorem assumes the following.
- PRDS on . Call a set increasing if and coordinatewise imply . For every and every measurable increasing set , there is a nondecreasing function such that, for -almost every ,
where is the σ-algebra generated by .
- Super-uniformity of null p-values. For every and every ,
Nothing is assumed for outside .
-
Lower bound. There is a number such that -almost surely for every .
-
Levels. and , both strictly.
-
Positivity. Set
For every , . If , then . Together with assumption 3, this forces to have an atom at , that is .
The procedure. The Storey–BH procedure is applied to the vector as follows.
- Let .
- Storey's estimate is .
- Let be the sorted values of . Define
with if no qualifies.
- The rejection set is
When , this set is rather than necessarily empty, since the p-values may be nonpositive.
False discovery rate. The false discovery proportion is . The FDR is its expectation under . The usual convention applies: if the integrand were not integrable, the integral would be taken as .
Conclusion. Let denote conditioned on the event . This is a genuine probability measure because of assumption 5. Then
where is the same count used by the procedure. When , the right-hand side is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.