Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 4, p. 22 — dynamic complementary slackness: under-spent budgets have zero dual price next period

Proved
RepeatedNRM.Myopic.proposition_4

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

complementary-slacknesslp-dualitymyopic-policyp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1revenue-management

Assume every φj\varphi_jφj​ satisfies Assumption 1 and Assumption 2 holds with γ=0\gamma=0γ=0. Let x1MYx^{MY}_1x1MY​ be a myopic allocation at budgets b1∈[0,1]m\mathbf b_1\in[0,1]^mb1​∈[0,1]m and b2=φ(b1,q(b1,x1MY))\mathbf b_2=\boldsymbol\varphi(\mathbf b_1,\mathbf q(\mathbf b_1,x^{MY}_1))b2​=φ(b1​,q(b1​,x1MY​)) the updated budgets. Consider the dual of the myopic linear program (7) at b2\mathbf b_2b2​:

min⁡μ,λ≥0 ∑isiλi+∑jbj,2μjs.t.λi+pijμj≥pij  ∀i,j.\min_{\mu,\lambda\ge 0}\ \sum_i s_i\lambda_i+\sum_j b_{j,2}\mu_j\quad\text{s.t.}\quad \lambda_i+p_{ij}\mu_j\ge p_{ij}\ \ \forall i,j.μ,λ≥0min​ i∑​si​λi​+j∑​bj,2​μj​s.t.λi​+pij​μj​≥pij​  ∀i,j.

Then there is a dual optimal solution (μ2,λ2)(\mu_2,\lambda_2)(μ2​,λ2​) such that

μj,2=0for every customer j with ∑i∈Ajpijxij,1MY<bj,1.\mu_{j,2}=0\qquad\text{for every customer } j \text{ with } \sum_{i\in A_j}p_{ij}x^{MY}_{ij,1}<b_{j,1}.μj,2​=0for every customer j with i∈Aj​∑​pij​xij,1MY​<bj,1​.

If the myopic policy leaves part of a customer's budget unspent, a larger budget for that customer next period has no marginal value. This "dynamic complementary slackness" is the key to Theorem 2.

Differences from the source:

  • reading: the standing assumption bj,t∈[0,1]b_{j,t}\in[0,1]bj,t​∈[0,1] (p. 9), not repeated in the statement → hypothesis that the initial budgets lie in [0,1][0,1][0,1]; reason: the paper's standing assumption made explicit; later budgets stay in [0,1][0,1][0,1] because φj\varphi_jφj​ maps [0,1]2[0,1]^2[0,1]2 into [0,1][0,1][0,1]
  • reading: "the myopic policy" {xtMY}\{\mathbf x^{MY}_t\}{xtMY​} → every trajectory whose allocation in each period is an optimal solution of (7) at the current budgets; reason: (7) can have several optimal solutions; the statement is made for every selection, the stronger of the two readings
  • reading: "if ∑i∈Ajpijxij,1MY<bj,1\sum_{i\in A_j}p_{ij}x^{MY}_{ij,1}<b_{j,1}∑i∈Aj​​pij​xij,1MY​<bj,1​ there exists a dual optimal solution … such that μj,2=0\mu_{j,2}=0μj,2​=0 for each customer jjj" → one dual optimal solution with μj,2=0\mu_{j,2}=0μj,2​=0 simultaneously for every under-spending customer jjj; reason: the sentence admits a per-customer and a simultaneous reading; the simultaneous one is stronger and is what the proof of Theorem 2 uses when it raises all such budgets at once
  • encoding: a dual optimal solution "associated to x2MYx^{MY}_2x2MY​", a myopic allocation at b2\mathbf b_2b2​ → a dual optimal solution of (7) at b2\mathbf b_2b2​; x2MYx^{MY}_2x2MY​ is not a parameter; reason: by LP duality every dual optimal solution satisfies complementary slackness with every primal optimal one, and a primal optimum exists, so the phrase adds no condition
  • generalization: service quality (3): qj=Uj/Uj∗q_j = U_j/U^*_jqj​=Uj​/Uj∗​ if bj>0b_j>0bj​>0, qj=1q_j = 1qj​=1 if bj=0b_j = 0bj​=0 (undefined when Uj∗(bj)=0<bjU^*_j(b_j)=0<b_jUj∗​(bj​)=0<bj​) → qj=1q_j = 1qj​=1 if bj=0b_j = 0bj​=0 or Uj∗(bj)=0U^*_j(b_j) = 0Uj∗​(bj​)=0, else Uj/Uj∗U_j/U^*_jUj​/Uj∗​; reason: (3) divides by Uj∗(bj)U^*_j(b_j)Uj∗​(bj​), which is 000 for bj>0b_j>0bj​>0 exactly when no desired product has positive surplus or supply; Lean also covers these instances, where the paper's model is undefined, and agrees with (3) wherever (3) is defined
  • encoding: Assumption 2(i), which divides by pijp_{ij}pij​ for i∈Aji\in A_ji∈Aj​ → Assumption 2 includes pij>0p_{ij}>0pij​>0 for i∈Aji\in A_ji∈Aj​; reason: the ratios vij/pijv_{ij}/p_{ij}vij​/pij​ are undefined otherwise; this excludes only undefined cases
  • encoding: min⁡i∈Ajvij/pij−1≥(1−γ)(max⁡i∈Ajvij/pij−1)\min_{i\in A_j} v_{ij}/p_{ij} - 1 \ge (1-\gamma)(\max_{i\in A_j} v_{ij}/p_{ij} - 1)mini∈Aj​​vij​/pij​−1≥(1−γ)(maxi∈Aj​​vij​/pij​−1) → vij/pij−1≥(1−γ)(vkj/pkj−1)v_{ij}/p_{ij} - 1 \ge (1-\gamma)(v_{kj}/p_{kj} - 1)vij​/pij​−1≥(1−γ)(vkj​/pkj​−1) for all i,k∈Aji,k\in A_ji,k∈Aj​; reason: equivalent for nonempty AjA_jAj​; for empty AjA_jAj​ the min and max are undefined and the pairwise clause is vacuous
Preamble
import Mathlib
import Definitions.Def_RepeatedNRM_Myopic_Proof
Formal statement
namespace RepeatedNRM.Myopic

theorem proposition_4 (I : Instance) (hI : I.Standing) (A : Fin I.m → Finset (Fin I.n))
    (h1 : ∀ j, Assumption1i I j ∧ Assumption1ii I j ∧ Assumption1iii I j)
    (h2 : Assumption2 I A 0) (b1 : Fin I.m → ℝ) (hb1 : ∀ j, b1 j ∈ Set.Icc (0 : ℝ) 1)
    (x1 : Fin I.n → Fin I.m → ℝ) (hx1 : IsMyopicAlloc I b1 x1) :
    ∃ (μ : Fin I.m → ℝ) (lam : Fin I.n → ℝ), DualOptimal I (update I b1 x1) μ lam ∧
      ∀ j, ∑ i ∈ A j, I.p i j * x1 i j < b1 j → μ j = 0 := by sorry
end RepeatedNRM.Myopic
Source
Calmon, Ciocan & Romero, accepted manuscript (TSpace), p. 22, Proposition 4 (restated p. ec2; dual of (7) on p. ec2)
Human review
  • Endorsed by Shuze Chen · Oct 23, 2026

    Confirmed by the moderator at approval.

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