Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

App. C, pp. 45–46, Dominance claim in the proof of Lemma 3 — if Wᵢ ∈ [0, W^crit) then item i gets matched

Proved
MultiPriceOnline.Ranking.dominance_claim

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

online-matchingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1primal-dualranking

In the setting of Algorithm 2 (deterministic case, booking limits from Proposition 1, an arbitrary maximizing tie-breaking rule), fix a customer ttt and an item iii with j:=jt,i≥1j:=j_{t,i}\ge1j:=jt,i​≥1, and seeds W∈[0,1]nW\in[0,1]^nW∈[0,1]n under which no two distinct items share a strictly positive value of (23) at any customer. Let ZcritZ^{\mathrm{crit}}Zcrit be the pseudorevenue earned at time ttt by the run of the algorithm with item iii removed (it does not depend on WiW_iWi​). Let Wcrit∈[0,Li(j)]W^{\mathrm{crit}}\in[0,L_i^{(j)}]Wcrit∈[0,Li(j)​] satisfy ΦPi(Wcrit)=max⁡{ri(j)−Zcrit,0}\Phi_{\mathcal P_i}(W^{\mathrm{crit}})=\max\{r_i^{(j)}-Z^{\mathrm{crit}},0\}ΦPi​​(Wcrit)=max{ri(j)​−Zcrit,0}.

Dominance. If Wi∈[0,Wcrit)W_i\in[0,W^{\mathrm{crit}})Wi​∈[0,Wcrit), then in the run with item iii, item iii gets matched — to customer ttt or to an earlier customer. Equivalently, since ΦPi\Phi_{\mathcal P_i}ΦPi​​ is a strictly increasing bijection from [0,Li(j)][0,L_i^{(j)}][0,Li(j)​] onto [0,ri(j)][0,r_i^{(j)}][0,ri(j)​] and ΦPi(Wi)≥0\Phi_{\mathcal P_i}(W_i)\ge0ΦPi​​(Wi​)≥0,

ΦPi(Wi) < ri(j)−Zcrit⟹item i is assigned to some customer s≤t.\Phi_{\mathcal P_i}(W_i)\ <\ r_i^{(j)}-Z^{\mathrm{crit}}\quad\Longrightarrow\quad \text{item } i \text{ is assigned to some customer } s\le t.ΦPi​​(Wi​) < ri(j)​−Zcrit⟹item i is assigned to some customer s≤t.

Together with the Monotonicity claim, this is the core of Lemma 3: it lower-bounds E[Yi∣Wi′, i′≠i]\mathbb E[Y_i\mid W_{i'},\,i'\ne i]E[Yi​∣Wi′​,i′=i] by ΦPi(Wcrit)\Phi_{\mathcal P_i}(W^{\mathrm{crit}})ΦPi​​(Wcrit).

Formalization Note The hypothesis is written as ΦPi(Wi)<ri(j)−Zcrit\Phi_{\mathcal P_i}(W_i)<r_i^{(j)}-Z^{\mathrm{crit}}ΦPi​​(Wi​)<ri(j)​−Zcrit instead of Wi<WcritW_i<W^{\mathrm{crit}}Wi​<Wcrit, which avoids defining WcritW^{\mathrm{crit}}Wcrit by an inverse; the two are equivalent for Wi∈[0,1]W_i\in[0,1]Wi​∈[0,1] by the bijection stated above. The no-ties hypothesis is the paper's "we ignore measure-zero events": without it, a tie-breaking rule that resolves a tie differently in the two runs can make them diverge.

Preamble
import Mathlib
import Definitions.Def_MultiPriceOnline_Ranking_LP
import Definitions.Def_MultiPriceOnline_Ranking_Setting
Formal statement
namespace MultiPriceOnline.Ranking

/-- Dominance claim (App. C, pp. 45–46, proof of Lemma 3). Fix customer `t` and item `i` with
`j = j_{t,i} ≥ 1`, and let `Z^crit` be the pseudorevenue earned at `t` by the run with item `i`
removed. If `Φ_{𝒫_i}(W_i) < r_i^{(j)} - Z^crit` (equivalently `W_i ∈ [0, W^crit)`), then in the
run with item `i`, item `i` is matched at some customer `s ≤ t`. Seeds in `[0, 1]ⁿ` without
ties. -/
theorem dominance_claim {n T : ℕ} (m : Fin n → ℕ) (r α : Fin n → ℕ → ℝ)
    (hr : ∀ i, IsPriceSet (m i) (r i)) (hα : ∀ i, MultiPriceOnline.Balance.IsBookingLimits (m i) (r i) (α i))
    (p : Fin T → Fin n → ℕ → ℝ) (hp : IsDeterministic m p)
    (sel : Selector n T) (hsel : IsArgmaxSelector sel)
    (W : Fin n → ℝ) (hW : ∀ i, W i ∈ Set.Icc (0 : ℝ) 1) (hNT : NoTies m r α p W)
    (t : Fin T) (i : Fin n) (hj : 1 ≤ jt m (p t) i)
    (hcrit : Phi (m i) (r i) (α i) (W i) <
      MultiPriceOnline.Balance.pr (r i) (jt m (p t) i) - Zt m r α p sel (Finset.univ.erase i) W t) :
    ∃ s : Fin T, s ≤ t ∧ run2 m r α p sel Finset.univ W s = some i := by sorry

end MultiPriceOnline.Ranking
Source
Ma, Simchi-Levi, Algorithms for Online Matching, Assortment, and Pricing with Tight Weight-dependent Competitive Ratios, arXiv:1905.04770v1, App. C, pp. 45–46, Dominance claim (1.) in the proof of Lemma 3
Human review
  • Endorsed by Shuze Chen · Oct 10, 2026

    Confirmed by the moderator at approval.

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