Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 5, pp. 11–12 — Θ̄_{N_ν}(x) − Θ̄_{N_{ν−1}}(x) ≤ e_{ν,1} + e_{ν,2} + e_{ν,3} (sign of e_{ν,1}'s coefficient corrected)

Proved
CompoundSMM.Conv.decomposition_e123

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

error-decompositionp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1sample-average-approximationstochastic-programming

Assume (A2). Let x∈Rnx\in\mathbb R^nx∈Rn, samples ξ1,ξ2,…\xi^1,\xi^2,\dotsξ1,ξ2,… and η1,η2,…\eta^1,\eta^2,\dotsη1,η2,… in Ξ\XiΞ, and integers 0<N′<N0<N'<N0<N′<N (in the paper N′=Nν−1N'=N_{\nu-1}N′=Nν−1​, N=NνN=N_\nuN=Nν​, x=xνx=x^\nux=xν). Then

Θ‾N(x)−Θ‾N′(x) ≤ e1+e2+e3,\overline\Theta_{N}(x)-\overline\Theta_{N'}(x)\ \le\ e_1+e_2+e_3,ΘN​(x)−ΘN′​(x) ≤ e1​+e2​+e3​,

where Θ‾M=Θ‾M,M\overline\Theta_M=\overline\Theta_{M,M}ΘM​=ΘM,M​ is the sample average approximation (9) and

e1=(1−(N′)2N2)∣Θ‾N′(x)−Θ(x)∣,e_1=\Big(1-\frac{(N')^2}{N^2}\Big)\Big|\overline\Theta_{N'}(x)-\Theta(x)\Big|,e1​=(1−N2(N′)2​)​ΘN′​(x)−Θ(x)​, e2=N′(N−N′)N2∣ψ(1N−N′∑t=N′+1Nφ(G(x,ξt),1N′∑s=1N′F(x,ηs)))−Θ(x)∣,e_2=\frac{N'(N-N')}{N^2}\Big|\psi\Big(\frac1{N-N'}\sum_{t=N'+1}^{N}\varphi\Big(G(x,\xi^t),\frac1{N'}\sum_{s=1}^{N'}F(x,\eta^s)\Big)\Big)-\Theta(x)\Big|,e2​=N2N′(N−N′)​​ψ(N−N′1​t=N′+1∑N​φ(G(x,ξt),N′1​s=1∑N′​F(x,ηs)))−Θ(x)​, e3=(1−N′N)∣ψ(1N∑t=1Nφ(G(x,ξt),1N−N′∑s=N′+1NF(x,ηs)))−Θ(x)∣.e_3=\Big(1-\frac{N'}{N}\Big)\Big|\psi\Big(\frac1{N}\sum_{t=1}^{N}\varphi\Big(G(x,\xi^t),\frac1{N-N'}\sum_{s=N'+1}^{N}F(x,\eta^s)\Big)\Big)-\Theta(x)\Big|.e3​=(1−NN′​)​ψ(N1​t=1∑N​φ(G(x,ξt),N−N′1​s=N′+1∑N​F(x,ηs)))−Θ(x)​.

The three error terms separate the effect of the old samples, the new ξ\xiξ-samples and the new η\etaη-samples when the sample size grows from N′N'N′ to NNN; their expectations are bounded by Proposition 2(c) and summed with Lemma 3 in the convergence proof.

Formalization Note. The page prints the coefficient of eν,1e_{\nu,1}eν,1​ as ((Nν−1)2/(Nν)2−1)\big((N_{\nu-1})^2/(N_\nu)^2-1\big)((Nν−1​)2/(Nν​)2−1), which is ≤0\le0≤0; with it the inequality is false (ψ=φ=id\psi=\varphi=\mathrm{id}ψ=φ=id, ℓF=0\ell_F=0ℓF​=0, N′=1N'=1N′=1, N=2N=2N=2, G(x,ξ1)=0G(x,\xi^1)=0G(x,ξ1)=0, G(x,ξ2)=2G(x,\xi^2)=2G(x,ξ2)=2, Θ(x)=1\Theta(x)=1Θ(x)=1 gives left side 111 and printed right side −1/2-1/2−1/2). The coefficient here is 1−(N′)2/N21-(N')^2/N^21−(N′)2/N2, the one used in (12) and consistent with the page's statement that the eν,ie_{\nu,i}eν,i​ are nonnegative. Sample indices are 0-based: the new samples are those with index in [N′,N)[N',N)[N′,N).

Preamble
import Mathlib
import Definitions.Def_CompoundSMM_Conv_Setting
Formal statement
namespace CompoundSMM.Conv

/-- Proof of Theorem 5, pp. 11–12: with `N' = N_{ν−1} < N = N_ν`,
`Θ̄_N(x) − Θ̄_{N'}(x) ≤ e₁ + e₂ + e₃`, where the coefficient of `e₁` is `1 − (N')²/N²`
(the page prints `(N')²/N² − 1`, a sign slip). Sample indices are 0-based; the new samples are
those with index in `[N', N)`. -/
theorem decomposition_e123 {n ℓG ℓF ℓφ : ℕ} {Ξ : Type*} [MeasurableSpace Ξ]
    (P : CompoundSP n ℓG ℓF ℓφ Ξ) (Lψ Lφ : ℝ) (hA2 : A2 P Lψ Lφ)
    (ξs ηs : ℕ → Ξ) (x : E n) (N' N : ℕ) (hN' : 0 < N') (hlt : N' < N) :
    Θbar P N N ξs ηs x - Θbar P N' N' ξs ηs x ≤
      (1 - ((N' : ℝ) ^ 2 / (N : ℝ) ^ 2)) * |Θbar P N' N' ξs ηs x - Θ P x| +
      (N' : ℝ) * ((N : ℝ) - N') / (N : ℝ) ^ 2 *
        |P.ψ ((1 / ((N : ℝ) - N')) • ∑ t ∈ Finset.Ico N' N,
            P.φ (P.G x (ξs t)) ((1 / (N' : ℝ)) • ∑ s ∈ Finset.range N', P.F x (ηs s)))
          - Θ P x| +
      (1 - (N' : ℝ) / N) *
        |P.ψ ((1 / (N : ℝ)) • ∑ t ∈ Finset.range N,
            P.φ (P.G x (ξs t)) ((1 / ((N : ℝ) - N')) • ∑ s ∈ Finset.Ico N' N, P.F x (ηs s)))
          - Θ P x| := by sorry

end CompoundSMM.Conv
Source
Liu, Cui & Pang, Solving nonsmooth and nonconvex compound stochastic programs with applications to risk measure minimization, arXiv:2004.14342v3, pp. 11–12, proof of Theorem 5, definition of e_{ν,1}, e_{ν,2}, e_{ν,3} (coefficient of e_{ν,1} corrected)
Human review
  • Endorsed by Shuze Chen · Oct 20, 2026

    Confirmed by the moderator at approval.

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