Proposition 3.1: with the 0-1 loss, a strengthened type I constraint can cost a fixed excess type II error over the NP oracle
ProvedNeymanPearsonClassification.strengthened_constraint_negative_resultFix and a dimension . There exist base classifiers and class-conditional laws with the following properties. Write , .
- Some is negative everywhere, so it has zero type I error and zero empirical type I error. Hence the strengthened problems below are feasible.
- Every with satisfies
that is, its excess type II error over the NP oracle at level is at least . 3. If , then for every sample size and every i.i.d. sample from , with probability at least the same inequality holds for every whose empirical type I error is .
So with the 0-1 loss, any strengthened type I constraint, empirical or not, can cost a fixed excess type II error of over the NP oracle, whatever the sample size.
Formalization Note The pair is indexed by , and is the convex hull over the 2-simplex. The reference value is the -constrained minimum , which is what the paper's proof subtracts (Section 6.1) and what its "excess type II risk" sentences refer to. The printed display subtracts the unconstrained ; with that reference the existential is satisfied trivially, e.g. by , , which have zero excess over the NP oracle. Item 1 makes explicit the feasibility that the paper's "in particular" consequences (about and ) presuppose; without it the existential would also be satisfied by classifiers that never meet the strengthened constraint. The minimum is written as an infimum. The probability claim bounds the (outer) probability of the failure event by .
import Mathlib import Definitions.Def_NeymanPearsonClassification_Basic open MeasureTheory ProbabilityTheory
namespace NeymanPearsonClassification
theorem strengthened_constraint_negative_result {d : ℕ} (hd : 1 ≤ d) (α : ℝ)
(hα : α ∈ Set.Ioo 0 1) :
∃ (h : Fin 2 → EuclideanSpace ℝ (Fin d) → ℝ) (Pm Pp : Measure (EuclideanSpace ℝ (Fin d))),
IsBaseFamily h ∧ IsProbabilityMeasure Pm ∧ IsProbabilityMeasure Pp ∧
(∃ lam ∈ stdSimplex ℝ (Fin 2), ∀ x, convComb h lam x < 0) ∧
(∀ lam ∈ stdSimplex ℝ (Fin 2), typeI Pm (convComb h lam) < α →
α ≤ typeII Pp (convComb h lam) -
sInf ((fun l => typeII Pp (convComb h l)) ''
{l | l ∈ stdSimplex ℝ (Fin 2) ∧ typeI Pm (convComb h l) ≤ α})) ∧
(α ≤ 1 / 2 → ∀ nm : ℕ, 1 ≤ nm →
∀ (Omega : Type) [MeasurableSpace Omega] (μ : Measure Omega), IsProbabilityMeasure μ →
∀ Xm : Fin nm → Omega → EuclideanSpace ℝ (Fin d), (∀ i, Measurable (Xm i)) →
iIndepFun Xm μ → (∀ i, μ.map (Xm i) = Pm) →
μ {ω | ¬ ∀ lam ∈ stdSimplex ℝ (Fin 2),
empTypeI Finset.univ (fun i => Xm i ω) (convComb h lam) < α →
α ≤ typeII Pp (convComb h lam) -
sInf ((fun l => typeII Pp (convComb h l)) ''
{l | l ∈ stdSimplex ℝ (Fin 2) ∧ typeI Pm (convComb h l) ≤ α})} ≤
1 - ENNReal.ofReal (min α (1 / 4))) := by sorry
end NeymanPearsonClassificationRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
For every natural number and every real with , the statement asserts that there exist the following objects on the Euclidean space (with its Borel -algebra):
- two real-valued functions ;
- two measures and on .
All of the following conditions must hold.
Notation. Let be the standard simplex. For , write
For a function , the type I and type II errors are the real numbers
Both are finite and lie in , because the measures will be probability measures. Define the quantity
an infimum of a set of real numbers. Under the convention used, an empty set would give the value . By condition (3) below, the set is nonempty, since the found there has .
Conditions.
-
Base family. Each () is Borel measurable and takes values only in .
-
Probability measures. and are probability measures.
-
Everywhere-negative combination. There exists with for every .
-
Population statement. For every , if (strict), then
-
Sampling statement. This part applies only when ; if it imposes nothing. If , then the following holds for:
- every integer ;
- every probability space , with any type in the lowest universe and any -algebra;
- every family of measurable maps that are mutually independent under and each have law (push-forward of ) exactly equal to .
For and , let the empirical type I error be
No division by zero occurs, since . Let be the set of for which the following fails: for every with (strict), one has . Here and are the population quantities defined above, computed from the true and , not from the sample. The conclusion is
This is a bound in the extended non-negative reals, where . No measurability of is asserted; is the outer measure if is not measurable.
Remarks on scope. No sample from appears anywhere. The dimension enters only as the ambient space of the constructed objects. Only two base functions are involved, and they are fixed by the existential choice, together with , before , , and the are quantified.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.