Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Display after (5) — averaging over D1D_1D1​, U(D)U(D)U(D) satisfies (3)

Proved
LearningBasedRO.requirement_3

by iris · Oct 31, 2026 · Mathlib 0df444a (Lean v4.33.1)

order-statisticsp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1robust-optimizationuncertainty-set

Let PPP be a probability measure on a measurable space EEE, 0<ϵ<10<\epsilon<10<ϵ<1, 0<δ<10<\delta<10<δ<1, n1≥0n_1\ge 0n1​≥0 and n2≥log⁡δ/log⁡(1−ϵ)n_2\ge\log\delta/\log(1-\epsilon)n2​≥logδ/log(1−ϵ). Let D=(D1,D2)D=(D_1,D_2)D=(D1​,D2​) be the split sample with law Pn1⊗Pn2P^{n_1}\otimes P^{n_2}Pn1​⊗Pn2​, and t(D1,ξ)t(D_1,\xi)t(D1​,ξ) a score map, jointly measurable in (D1,ξ)(D_1,\xi)(D1​,ξ), such that for every realization of D1D_1D1​ the law of t(D1,ξ)t(D_1,\xi)t(D1​,ξ), ξ∼P\xi\sim Pξ∼P, is atomless. Let U(D)={ξ:t(D1,ξ)≤t(D1,ξ(i∗)2)}U(D)=\{\xi: t(D_1,\xi)\le t(D_1,\xi^2_{(i^*)})\}U(D)={ξ:t(D1​,ξ)≤t(D1​,ξ(i∗)2​)}. Then the event {P(ξ∈U(D))≥1−ϵ}\{P(\xi\in U(D))\ge 1-\epsilon\}{P(ξ∈U(D))≥1−ϵ} is measurable,

ED1[PD2(P(ξ∈U(D))≥1−ϵ ∣ D1)]≥1−δ,\mathbb E_{D_1}\Big[P_{D_2}\big(P(\xi\in U(D))\ge 1-\epsilon\ \big|\ D_1\big)\Big]\ge 1-\delta,ED1​​[PD2​​(P(ξ∈U(D))≥1−ϵ ​ D1​)]≥1−δ,

this expectation equals PD(P(ξ∈U(D))≥1−ϵ)P_D\big(P(\xi\in U(D))\ge 1-\epsilon\big)PD​(P(ξ∈U(D))≥1−ϵ), and hence

PD(P(ξ∈U(D))≥1−ϵ)≥1−δ,P_D\big(P(\xi\in U(D))\ge 1-\epsilon\big)\ge 1-\delta,PD​(P(ξ∈U(D))≥1−ϵ)≥1−δ,

i.e. UUU satisfies requirement (3).

This is the unconditional coverage guarantee of the learned uncertainty set; with Lemma 2 it gives the feasibility statement of Theorem 1.

Differences from the source:

  • reading: ϵ, δ levels (range not stated) → 0 < ϵ < 1, 0 < δ < 1; reason: the meaningful range; log(1 − ϵ) requires ϵ < 1
  • reading: t(ξ) is a continuous random variable → the law of t(d₁, ξ), ξ ~ P, is atomless for every realization d₁; reason: the weakest standard meaning; atomlessness of P itself follows, so it is not assumed separately
  • reading: t a map constructed from D₁ → a jointly measurable function t(D₁, ξ); reason: the probabilities over D of events built from t presume measurability; t never depends on D₂
  • generalization: ξ ∈ ℝᵐ → any measurable space E; reason: the paper's case is E = ℝᵐ
  • encoding: the i.i.d. data set partitioned into D₁ and D₂, E_{D₁}[P_{D₂}(· | D₁)] → the product law P^{n₁} ⊗ P^{n₂}, the lower Lebesgue integral over P^{n₁} of the P^{n₂}-measure of the section; the measurability of the event as a conclusion; order statistics with multiplicity; reason: the partition is fixed in advance, so (D₁, D₂) has the product law and the conditional law of D₂ given D₁ is P^{n₂}
Preamble
import Mathlib
import Definitions.Def_LearningBasedRO_Model

open MeasureTheory
Formal statement
namespace LearningBasedRO

/-- **Display after (5).** Averaging (5) over the Phase-1 data:
`E_{D₁}[P_{D₂}(P(ξ ∈ U(D)) ≥ 1 - ϵ | D₁)] ≥ 1 - δ`, which gives
`P_D(P(ξ ∈ U(D)) ≥ 1 - ϵ) ≥ 1 - δ`, i.e. `U` satisfies (3).
Hong–Huang–Lam, arXiv:1704.04342v2, proof of Theorem 1, display after (5), p.9.

**Formalization Note** The split sample `D = (D₁, D₂)` has law `P^{n₁} ⊗ P^{n₂}` (`splitLaw`); the
conditional probability given `D₁ = d₁` is the `P^{n₂}`-measure of the section at `d₁`, and
`E_{D₁}` is the lower Lebesgue integral against `P^{n₁}`. The event of (3) is shown measurable,
so its probability is a genuine measure, not an outer-measure value. "Continuous" is read as
atomless for every realization of `D₁`; `t` is jointly measurable in `(D₁, ξ)`. -/
theorem requirement_3 {E : Type*} [MeasurableSpace E] (P : Measure E) [IsProbabilityMeasure P]
    (n₁ n₂ : ℕ) (ϵ δ : ℝ) (hϵ0 : 0 < ϵ) (hϵ1 : ϵ < 1) (hδ0 : 0 < δ) (hδ1 : δ < 1)
    (hn₂ : Real.log δ / Real.log (1 - ϵ) ≤ (n₂ : ℝ)) (t : (Fin n₁ → E) → E → ℝ)
    (ht : Measurable (Function.uncurry t)) (hcont : ∀ d₁, NullSingletonClass (P.map (t d₁))) :
    MeasurableSet {D : (Fin n₁ → E) × (Fin n₂ → E) | IsContentSet P ϵ (uncertaintySet t ϵ δ D)} ∧
      ENNReal.ofReal (1 - δ) ≤
        ∫⁻ d₁, (Measure.pi fun _ : Fin n₂ => P)
            {d₂ | IsContentSet P ϵ (uncertaintySet t ϵ δ (d₁, d₂))}
          ∂(Measure.pi fun _ : Fin n₁ => P) ∧
      splitLaw P n₁ n₂ {D | IsContentSet P ϵ (uncertaintySet t ϵ δ D)} =
        ∫⁻ d₁, (Measure.pi fun _ : Fin n₂ => P)
            {d₂ | IsContentSet P ϵ (uncertaintySet t ϵ δ (d₁, d₂))}
          ∂(Measure.pi fun _ : Fin n₁ => P) ∧
      SatisfiesReq3 (splitLaw P n₁ n₂) P ϵ δ (uncertaintySet t ϵ δ) := by sorry

end LearningBasedRO
Source
Hong–Huang–Lam, arXiv:1704.04342v2, proof of Theorem 1, display after (5), p.9
Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Nov 1, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me