Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3, p. ec4 — at γ = 0 the myopic allocation remains budget-feasible after the update

Proved
RepeatedNRM.Myopic.lemma_3

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

budgetsmyopic-policyp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1revenue-management

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 let 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​)) be the updated budgets. Assume every φj\varphi_jφj​ satisfies Assumption 1 and that Assumption 2 holds with γ=0\gamma=0γ=0, so that every customer has the same bang-per-buck ratio on all its desired products. Then x1MY∈X(b2)x^{MY}_1\in X(\mathbf b_2)x1MY​∈X(b2​), i.e.

∑i∈Alpilxil,1MY≤bl,2for each customer l.\sum_{i\in A_l}p_{il}x^{MY}_{il,1}\le b_{l,2}\qquad\text{for each customer } l.i∈Al​∑​pil​xil,1MY​≤bl,2​for each customer l.

A customer's spending never exceeds next period's budget under the myopic policy. This is the step that fails once γ>0\gamma>0γ>0.

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
  • 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_Model
Formal statement
namespace RepeatedNRM.Myopic

theorem lemma_3 (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)
    (x : Fin I.n → Fin I.m → ℝ) (hx : IsMyopicAlloc I b1 x) :
    feasible I (update I b1 x) x := by sorry
end RepeatedNRM.Myopic
Source
Calmon, Ciocan & Romero, accepted manuscript (TSpace), p. ec4, Lemma 3, (EC.1)
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