Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma EC.1, p. ec2 — after step ttt, unit iii is sold with probability 1q∑j≤ℓi,tq(j)\frac1q\sum_{j\le\ell_{i,t}}q^{(j)}q1​∑j≤ℓi,t​​q(j)

Proved
ValTrackRM.Public.lemma_EC_1

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

dynamic-pricingonline-algorithmsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1revenue-management

Consider Algorithm 1 with k≥1k\ge1k≥1 units, price grid 0=r(0)<r(1)<⋯<r(m)0=r^{(0)}<r^{(1)}<\dots<r^{(m)}0=r(0)<r(1)<⋯<r(m), m≥1m\ge1m≥1, and any minimal-level tie-break in line 4. Let q(j)=1−r(j−1)/r(j)q^{(j)}=1-r^{(j-1)}/r^{(j)}q(j)=1−r(j−1)/r(j) and q=∑j=1mq(j)q=\sum_{j=1}^m q^{(j)}q=∑j=1m​q(j) (Definition 1). Fix a valuation sequence V1,…,VTV_1,\dots,V_TV1​,…,VT​, let Si,tS_{i,t}Si,t​ indicate that unit iii is sold by the end of time ttt, and let ℓi,t\ell_{i,t}ℓi,t​ be the level of unit iii at the end of time ttt. Then for all t=0,…,Tt=0,\dots,Tt=0,…,T and i∈[k]i\in[k]i∈[k],

E[Si,t]=1q∑j=1ℓi,tq(j).\mathbb E[S_{i,t}]=\frac1q\sum_{j=1}^{\ell_{i,t}}q^{(j)} .E[Si,t​]=q1​j=1∑ℓi,t​​q(j).

This is the invariant that drives the analysis: the probability that a unit has been sold tracks the highest valuation it has been assigned, exactly as in the booking-limit policy of Ball and Queyranne.

Preamble
import Mathlib
import Definitions.Def_ValTrackRM_Public_Model
Formal statement
namespace ValTrackRM.Public

theorem lemma_EC_1 {m k : ℕ} (hm : 1 ≤ m) (hk : 1 ≤ k) (r : ℕ → ℝ) (hr0 : r 0 = 0)
    (hr : ∀ j, j < m → r j < r (j + 1))
    (sel : (Fin k → Fin (m + 1)) → Fin k) (hsel : ∀ (L : Fin k → Fin (m + 1)) (i : Fin k), L (sel L) ≤ L i)
    (V : List (Fin (m + 1))) (t : ℕ) (ht : t ≤ V.length) (i : Fin k) :
    probSold r sel (V.take t) i =
      (1 / qSum r m) * ∑ j ∈ Finset.Icc 1 (levels sel (V.take t) i : ℕ), qj r j := by sorry

end ValTrackRM.Public
Source
Ma, Simchi-Levi & Teo, On Policies for Single-Leg Revenue Management with Limited Demand Information, arXiv:1810.10900v2, p. ec2, Lemma EC.1, Equation (EC.3)
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