Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2, p. ec3 — the class of an under-spending customer exhausts the supply of every product it desires

Proved
RepeatedNRM.Myopic.lemma_2

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

augmenting-pathlinear-programmingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1revenue-management

Let xxx be a myopic allocation at budgets b1∈[0,1]m\mathbf b_1\in[0,1]^mb1​∈[0,1]m, i.e. an optimal solution of (7), and let A1,…,AmA_1,\dots,A_mA1​,…,Am​ be the characteristic sets of Assumption 2. Suppose customer jjj under-spends on its desired products:

∑i∈Ajpijxij<bj,1.\sum_{i\in A_j}p_{ij}x_{ij}<b_{j,1}.i∈Aj​∑​pij​xij​<bj,1​.

Let CjC_jCj​ be the class of Definition 2: the smallest set of customers containing jjj such that every customer receiving a positive amount of a product desired by a member is a member. Then every product desired by a member of CjC_jCj​ is fully allocated to CjC_jCj​:

∑l∈Cjxil=sifor all i∈⋃l∈CjAl.\sum_{l\in C_j}x_{il}=s_i\qquad\text{for all } i\in\bigcup_{l\in C_j}A_l.l∈Cj​∑​xil​=si​for all i∈l∈Cj​⋃​Al​.

Otherwise an augmenting path from jjj would raise revenue. The lemma is the combinatorial core of Proposition 4.

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: the class CjC_jCj​ by the printed iteration Cj←Dj(Cj)C_j\leftarrow D_j(C_j)Cj​←Dj​(Cj​) from {j}\{j\}{j}, with "k∈{1,…,n}k\in\{1,\dots,n\}k∈{1,…,n}" → the least set of customers containing jjj and closed under "receives a positive amount of a product desired by a member"; reason: read as a replacement, the iteration can drop jjj and need not stabilise; the cumulative reading is the set with the property stated under Definition 2, and it is the larger class, so the claim covers more products; {1,…,n}\{1,\dots,n\}{1,…,n} is a typo for the customers {1,…,m}\{1,\dots,m\}{1,…,m}
  • reading: AjA_jAj​, the characteristic sets of Assumption 2 (the lemma names no assumption) → hypothesis Assumption 2 holds with sets AjA_jAj​ for some γ∈[0,1]\gamma\in[0,1]γ∈[0,1]; reason: AjA_jAj​ is only defined through Assumption 2; γ\gammaγ is arbitrary
  • 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 lemma_2 (I : Instance) (hI : I.Standing) (A : Fin I.m → Finset (Fin I.n)) (γ : ℝ)
    (h2 : Assumption2 I A γ) (b1 : Fin I.m → ℝ) (hb1 : ∀ j, b1 j ∈ Set.Icc (0 : ℝ) 1)
    (x : Fin I.n → Fin I.m → ℝ) (hx : IsMyopicAlloc I b1 x) (j : Fin I.m)
    (hj : ∑ i ∈ A j, I.p i j * x i j < b1 j) :
    ∀ i, (∃ l ∈ customerClass I A x j, i ∈ A l) →
      ∑ l ∈ customerClass I A x j, x i l = I.s i := by sorry
end RepeatedNRM.Myopic
Source
Calmon, Ciocan & Romero, accepted manuscript (TSpace), p. ec3, Lemma 2 and Definition 2
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