Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (8.15) — ℙ^N{V(θ*) > ε(σ*)} ≤ ∑_{k<N} (N choose k)(1 − ε(k))^{N−k} for any support-set algorithm

Proved
ScenarioApproach.Nonconvex.violation_tail_le_sum

by mikedeng1 · Sep 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

chance-constraintsnonconvex-optimizationp2o-batch-b23ap2o-gran-per-chapterp2o-plan-bookp2o-v1scenario-approachsupport-set

This is the support-set bound for nonconvex scenario optimization, stated in Campi and Garatti's book as Eq. (8.15) and proven in [31] (M. C. Campi, S. Garatti, F. A. Ramponi, A general scenario theory for nonconvex optimization and decision making, IEEE Trans. Automatic Control, 2018).

Let Θ\ThetaΘ be a generic set (no algebraic or topological structure is required), f:Θ→Rf:\Theta\to\mathbb Rf:Θ→R a cost, and Θδ⊆Θ\Theta_\delta\subseteq\ThetaΘδ​⊆Θ constraint sets indexed by an uncertain parameter δ∈Δ\delta\in\Deltaδ∈Δ, where Δ\DeltaΔ carries a probability P\mathbb PP. No convexity is assumed. Let δ1,…,δN\delta_1,\dots,\delta_Nδ1​,…,δN​ be independent samples from P\mathbb PP, and assume that for every sample the scenario program

min⁡θ∈Θf(θ)subject toθ∈⋂i=1,…,NΘδi(8.12)\min_{\theta\in\Theta}f(\theta)\quad\text{subject to}\quad\theta\in\bigcap_{i=1,\dots,N}\Theta_{\delta_i}\qquad(8.12)θ∈Θmin​f(θ)subject toθ∈i=1,…,N⋂​Θδi​​(8.12)

has a unique solution θ∗\theta^*θ∗. Let σ∗\sigma^*σ∗ be the cardinality of a support set (Definition 8.8) obtained by any algorithm, so the support set need be neither minimal nor irreducible. Let V(θ)=P{δ:θ∉Θδ}V(\theta)=\mathbb P\{\delta:\theta\notin\Theta_\delta\}V(θ)=P{δ:θ∈/Θδ​} be the violation. Then for every function ϵ:{0,1,…,N}→[0,1]\epsilon:\{0,1,\dots,N\}\to[0,1]ϵ:{0,1,…,N}→[0,1] with ϵ(N)=1\epsilon(N)=1ϵ(N)=1,

PN{V(θ∗)>ϵ(σ∗)}≤∑k=0N−1(Nk) (1−ϵ(k))N−k.\mathbb P^N\{V(\theta^*)>\epsilon(\sigma^*)\}\le\sum_{k=0}^{N-1}\binom Nk\,(1-\epsilon(k))^{N-k}.PN{V(θ∗)>ϵ(σ∗)}≤k=0∑N−1​(kN​)(1−ϵ(k))N−k.

The result certifies the violation of the solution of a nonconvex program from a quantity observed after solving it, the size of a support set, without any nondegeneracy assumption. With the particular choice (8.16) of ϵ\epsilonϵ the right-hand side equals a prescribed confidence parameter β\betaβ.

Formalization Note The sample is ω : Fin N → Δ with law Measure.pi (fun _ => P); the probability is compared in [0,∞][0,\infty][0,∞] with ENNReal.ofReal of the real right-hand side. The algorithm is an arbitrary map alg from samples to subsets of Fin N that returns a support set for every sample, and σ∗\sigma^*σ∗ is the cardinality of its output; the theorem is universal over such maps. ϵ\epsilonϵ is a function ℕ → ℝ constrained on {0,…,N}\{0,\dots,N\}{0,…,N} only. The book glosses over measurability (p. 33); the pinned-down form assumes the constraint relation {(θ,δ):θ∈Θδ}\{(\theta,\delta):\theta\in\Theta_\delta\}{(θ,δ):θ∈Θδ​} is jointly measurable (with a measurable structure on Θ\ThetaΘ), the solution map ω↦θ∗\omega\mapsto\theta^*ω↦θ∗ is measurable, and every event {the algorithm returns J}\{\text{the algorithm returns } J\}{the algorithm returns J} is measurable. Existence and uniqueness of θ∗\theta^*θ∗ are assumed for the full program and every sample, not for the reduced programs.

Preamble
import Mathlib
import Definitions.Def_ScenarioApproach_Nonconvex_violation
import Definitions.Def_ScenarioApproach_Nonconvex_scenarioProgram
import Definitions.Def_ScenarioApproach_Nonconvex_supportSet
Formal statement
namespace ScenarioApproach.Nonconvex

/-- Eq. (8.15) (proven in [31], Campi–Garatti–Ramponi 2018). Nonconvex scenario program (8.12)
over a generic set `Θ` with cost `f` and constraints `Θδ`. `θstar ω` is the solution with the
`N` sampled constraints `ω`, and `alg` is any algorithm returning a support set
(Definition 8.8) `alg ω` for every sample; `σ* = (alg ω).card`. For every
`ε : {0, …, N} → [0, 1]` with `ε(N) = 1`,
`ℙ^N{V(θ*) > ε(σ*)} ≤ ∑_{k=0}^{N−1} (N choose k) (1 − ε(k))^{N−k}`. -/
theorem violation_tail_le_sum {Θ Δ : Type*} [MeasurableSpace Θ] [MeasurableSpace Δ]
    (P : MeasureTheory.Measure Δ) [MeasureTheory.IsProbabilityMeasure P]
    (f : Θ → ℝ) (Θδ : Δ → Set Θ) (N : ℕ)
    (hmeas : MeasurableSet {p : Θ × Δ | p.1 ∈ Θδ p.2})
    (θstar : (Fin N → Δ) → Θ)
    (hθstar : ∀ ω, IsUniqueSolutionOn f Θδ ω Finset.univ (θstar ω))
    (hθstar_meas : Measurable θstar)
    (alg : (Fin N → Δ) → Finset (Fin N))
    (halg : ∀ ω, IsSupportSet f Θδ ω (alg ω))
    (halg_meas : ∀ J : Finset (Fin N), MeasurableSet {ω | alg ω = J})
    (ε : ℕ → ℝ) (hε : ∀ k ≤ N, ε k ∈ Set.Icc (0 : ℝ) 1) (hεN : ε N = 1) :
    MeasureTheory.Measure.pi (fun _ : Fin N => P)
        {ω | ε (alg ω).card < violation P Θδ (θstar ω)} ≤
      ENNReal.ofReal (∑ k ∈ Finset.range N, (N.choose k : ℝ) * (1 - ε k) ^ (N - k)) := by sorry

end ScenarioApproach.Nonconvex
Source
Campi & Garatti, Introduction to the Scenario Approach, SIAM/MOS 2018, DOI 10.1137/1.9781611975444, p. 104, Eq. (8.15) (proven in [31], Campi, Garatti, Ramponi, IEEE TAC 2018); setting p. 102, Eq. (8.12); Definition 8.8, p. 104
Human review
  • Endorsed by Shuze Chen · Oct 2, 2026

    Confirmed by the moderator at approval.

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