Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 3.4 for the perturbed dual (11) — Σᵢ 𝔼[X̃ᵢ(δ)] ≤ m − δ with complementary slackness

Open
HubSpokePricing.Lagrangian.proposition_3_4_perturbed

by tianyipeng · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

dynamic-pricinghub-and-spokelagrangian-relaxation

Let NNN be a hub-and-spoke network satisfying the standing assumptions (Assumption 2.1), with nnn spokes and mmm resources. For a dual price λ≥0\lambda\ge0λ≥0, the spoke problem (6) of spoke iii has optimal value hiλh_i^\lambdahiλ​, and Vˉλ=mλ+∑ihiλ\bar V^\lambda=m\lambda+\sum_i h_i^\lambdaVˉλ=mλ+∑i​hiλ​. For 0≤δ<m0\le\delta<m0≤δ<m, the perturbed Lagrangian dual is

VR(δ)=min⁡λ≥0 Vˉλ−δλ.(11)V^{\mathrm R}(\delta)=\min_{\lambda\ge0}\ \bar V^\lambda-\delta\lambda .\tag{11}VR(δ)=λ≥0min​ Vˉλ−δλ.(11)

Let λ∗=λ∗(δ)\lambda^*=\lambda^*(\delta)λ∗=λ∗(δ) be an optimal solution of (11). For each spoke iii, let pip_ipi​ be the stationary distribution of an optimal solution of (6) at λ∗\lambda^*λ∗, so that E[X~i(δ)]=∑x=0mx pi(x)\mathbb E[\tilde X_i(\delta)]=\sum_{x=0}^m x\,p_i(x)E[X~i​(δ)]=∑x=0m​xpi​(x). Then the optimality (complementary slackness) conditions hold with mmm replaced by m−δm-\deltam−δ:

∑i=1n∑x=0mx pi(x)≤m−δ,λ∗(m−δ−∑i=1n∑x=0mx pi(x))=0.\sum_{i=1}^n\sum_{x=0}^m x\,p_i(x)\le m-\delta,\qquad \lambda^*\Big(m-\delta-\sum_{i=1}^n\sum_{x=0}^m x\,p_i(x)\Big)=0 .i=1∑n​x=0∑m​xpi​(x)≤m−δ,λ∗(m−δ−i=1∑n​x=0∑m​xpi​(x))=0.

In words, the expected number of resources the relaxed system keeps at the spokes leaves at least δ\deltaδ resources at the hub in expectation. The constraint is tight whenever λ∗>0\lambda^*>0λ∗>0.

This is the "only if" direction of Proposition 3.4 (condition (10)), applied to the perturbed dual (11) as the paper does in §3.4 and §4.2. It is what gives 0≤μ≤m−δ0\le\mu\le m-\delta0≤μ≤m−δ in the proof of Proposition 4.6. The paper derives it in Appendix A.6 from Danskin's theorem: the optimal distribution of (6) is unique (Proposition B.8), so Vˉλ−δλ\bar V^\lambda-\delta\lambdaVˉλ−δλ is differentiable with derivative (m−δ)−∑iE[X~iλ](m-\delta)-\sum_i\mathbb E[\tilde X_i^\lambda](m−δ)−∑i​E[X~iλ​].

Formalization Note. spokeMean (sol i) is ∑xx pi(x)\sum_x x\,p_i(x)∑x​xpi​(x), and IsDualOpt N δ lam says that lam minimizes Vˉλ−δλ\bar V^\lambda-\delta\lambdaVˉλ−δλ over λ≥0\lambda\ge0λ≥0. The statement covers every choice of optimal spoke solutions at λ∗\lambda^*λ∗, which relies on the uniqueness in Proposition B.8.

Preamble
import Mathlib
import Definitions.Def_HubSpokePricing_Lagrangian_Model
Formal statement
namespace HubSpokePricing.Lagrangian

/-- Proposition 3.4 (p. 16) for the perturbed dual (11) (`m` replaced by `m − δ`, §3.4 and §4.2,
pp. 16–18; Appendix A.6, p. 47; A.11, p. 59): if `λ*(δ)` is optimal for (11) and `p_i` are optimal
solutions of (6) at `λ*(δ)`, then `∑ᵢ 𝔼[X̃ᵢ(δ)] ≤ m − δ`, with equality whenever `λ*(δ) > 0`. -/
theorem proposition_3_4_perturbed (N : Network) (hN : N.Standing) (δ : ℝ) (hδ0 : 0 ≤ δ)
    (hδm : δ < N.m) (lam : ℝ) (hlam : IsDualOpt N δ lam)
    (sol : Fin N.n → SpokeSol N.m) (hsol : ∀ i, SpokeOptimal N lam i (sol i)) :
    ∑ i, spokeMean (sol i) ≤ (N.m : ℝ) - δ ∧
      lam * ((N.m : ℝ) - δ - ∑ i, spokeMean (sol i)) = 0 := by sorry

end HubSpokePricing.Lagrangian
Source
Balseiro, Brown & Chen, Dynamic Pricing of Relocating Resources in Large Networks, SSRN 3313737 (version of May 23, 2020), https://ssrn.com/abstract=3313737, Proposition 3.4 and condition (10), pp. 15–16, applied to (11) with m replaced by m − δ (§3.4 p. 16, §4.2 p. 18, Appendix A.10 p. 53: '0 < µ ≤ m − δ'); proof in Appendix A.6 (pp. 46–47) via Proposition B.8 (uniqueness of the optimal distribution of (6)) and Appendix A.11.1

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