Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (5.13) — PN{ΔIN, V(θI∗)>ε}=∫(ε,1]αkFV(dα)\mathbb P^N\{\Delta^N_I,\ V(\theta^*_I) > \varepsilon\} = \int_{(\varepsilon,1]} \alpha^k F_V(d\alpha)PN{ΔIN​, V(θI∗​)>ε}=∫(ε,1]​αkFV​(dα)

Proved
ScenarioApproach.Removal.removed_event_prob_eq_integral

by mikedeng1 · Oct 2, 2026 · Mathlib 0df444a (Lean v4.33.1)

chance-constraintsp2o-batch-b23ap2o-gran-per-chapterp2o-plan-bookp2o-v1scenario-approach

Fix a set III of kkk indexes from {1,…,N}\{1,\dots,N\}{1,…,N} and let θI∗\theta^*_IθI∗​ be the solution of the scenario program without the constraints with index in III (Eq. (5.9)). Let ΔIN\Delta^N_IΔIN​ be the set of samples for which θI∗\theta^*_IθI∗​ violates all the removed constraints θ∈Θδi\theta \in \Theta_{\delta_i}θ∈Θδi​​, i∈Ii \in Ii∈I, and let FVF_VFV​ be the distribution of the random variable V(θI∗)V(\theta^*_I)V(θI∗​) under PN\mathbb P^NPN. Under Assumption 3.6, for every ε∈[0,1]\varepsilon \in [0,1]ε∈[0,1],

PN{(δ1,…,δN)∈ΔIN:V(θI∗)>ε}=∫(ε,1]αk FV(dα).\mathbb P^N\{(\delta_1,\dots,\delta_N) \in \Delta^N_I : V(\theta^*_I) > \varepsilon\} = \int_{(\varepsilon,1]} \alpha^k \, F_V(d\alpha).PN{(δ1​,…,δN​)∈ΔIN​:V(θI∗​)>ε}=∫(ε,1]​αkFV​(dα).

Conditionally on the kept scenarios, each of the kkk removed scenarios independently produces a constraint violated by θI∗\theta^*_IθI∗​ with probability V(θI∗)V(\theta^*_I)V(θI∗​); the identity expresses this in integrated form and is the second step of the proof of Theorem 3.9.

Formalization Note FVF_VFV​ is the push-forward of PN\mathbb P^NPN under ω↦V(θI∗(ω))\omega \mapsto V(\theta^*_I(\omega))ω↦V(θI∗​(ω)) (Measure.map), and the integral is a lower Lebesgue integral of αk\alpha^kαk over (ε,1](\varepsilon,1](ε,1]. Measurability is explicit: the constraint relation is jointly measurable and θI∗\theta^*_IθI∗​ is measurable. θI∗\theta^*_IθI∗​ is any map that is a solution of the reduced program for every sample; Assumption 3.6 makes it depend only on the kept scenarios.

Preamble
import Mathlib
import Definitions.Def_ScenarioApproach_Generalization_violation
import Definitions.Def_ScenarioApproach_Removal_scenarioProgram

open MeasureTheory
Formal statement
namespace ScenarioApproach.Removal

theorem removed_event_prob_eq_integral {d N k : ℕ} {Δ : Type*} [MeasurableSpace Δ]
    (P : Measure Δ) [IsProbabilityMeasure P]
    (Θ : Set (EuclideanSpace ℝ (Fin d))) (Θδ : Δ → Set (EuclideanSpace ℝ (Fin d)))
    (c : EuclideanSpace ℝ (Fin d))
    (hexu : ExistsUniqueSolution Θ Θδ c)
    (hmeas : MeasurableSet {p : EuclideanSpace ℝ (Fin d) × Δ | p.1 ∈ Θδ p.2})
    (J : Finset (Fin N)) (hJ : J.card = k)
    (θJ : (Fin N → Δ) → EuclideanSpace ℝ (Fin d))
    (hθJ : ∀ ω, IsSolutionWithout Θ Θδ c ω J (θJ ω))
    (hθJ_meas : Measurable θJ)
    (ε : ℝ) (hε0 : 0 ≤ ε) (hε1 : ε ≤ 1) :
    Measure.pi (fun _ : Fin N => P)
        {ω | (∀ i ∈ J, θJ ω ∉ Θδ (ω i)) ∧ ε < ScenarioApproach.Generalization.violation P Θδ (θJ ω)} =
      ∫⁻ α in Set.Ioc ε 1, ENNReal.ofReal (α ^ k)
        ∂(Measure.map (fun ω => ScenarioApproach.Generalization.violation P Θδ (θJ ω)) (Measure.pi (fun _ : Fin N => P))) := by sorry

end ScenarioApproach.Removal
Source
Campi & Garatti, Introduction to the Scenario Approach, SIAM/MOS 2018, DOI 10.1137/1.9781611975444, p. 65, Eq. (5.13); p. 64, Eqs. (5.9)–(5.10)
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 5, 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