Lemma 6.2: the optimal convexified type II error is non-increasing and convex
ProvedNeymanPearsonClassification.gamma_antitone_convexLet be a convex surrogate, let , , be measurable base classifiers with values in , and let be probability measures. Let
Then is a non-increasing convex function on , where wherever .
Formalization Note In Lean is real-valued, so the statement is made on : is non-increasing on , is convex, and is convex on . Because is increasing, is an up-closed subinterval of , and the statement is equivalent to the paper's statement with off .
import Mathlib import Definitions.Def_NeymanPearsonClassification_Basic open MeasureTheory ProbabilityTheory
namespace NeymanPearsonClassification
theorem gamma_antitone_convex {d M : ℕ} (hM : 2 ≤ M)
(h : Fin M → EuclideanSpace ℝ (Fin d) → ℝ) (hh : IsBaseFamily h)
(Pm Pp : Measure (EuclideanSpace ℝ (Fin d))) [IsProbabilityMeasure Pm] [IsProbabilityMeasure Pp]
(φ : ℝ → ℝ) (hφ : IsConvexSurrogate φ) :
AntitoneOn (minPhiTypeII h Pm Pp φ)
{a : ℝ | a ∈ Set.Icc (0 : ℝ) 1 ∧ (Hphi h Pm φ a).Nonempty} ∧
ConvexOn ℝ {a : ℝ | a ∈ Set.Icc (0 : ℝ) 1 ∧ (Hphi h Pm φ a).Nonempty}
(minPhiTypeII h Pm Pp φ) := by sorry
end NeymanPearsonClassificationRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix natural numbers and with ( is allowed, in which case the space is a single point). Let (Euclidean space with its Borel σ-algebra). The hypotheses are:
- Base classifiers. are measurable functions with for every and every .
- Two probability measures. and are probability measures on .
- Convex surrogate. satisfies, on the interval : , is non-decreasing, continuous and convex, and . Nothing is assumed about outside .
Objects involved. Let be the standard simplex, . Define:
- Convex hull. is the set of functions with .
- -type I and II errors. For a function ,
These are Bochner integrals, with the convention that a non-integrable integrand gives the value .
- Constrained class. For a real number , .
- Optimal value. For every real ,
This is the real-number infimum, with the conventions that the infimum of the empty set is , and the infimum of a set that is not bounded below is also .
- Domain. .
Assertion. The statement asserts both of the following:
- Non-increasing. is non-increasing on : for all with , we have .
- Convex. is convex on in the full sense, which includes two claims:
- the set is itself a convex subset of (an interval, possibly empty or a single point);
- for all and all with ,
Edge cases.
- If is empty, both conclusions hold trivially. The statement does not assume that is nonempty for any particular .
- The hypothesis appears among the assumptions. The statement places no requirement on how it is used.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.