Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Work conservation in proof of Lemma A.1

Proved
QueueScalp.Entry.work_conservation

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

delayp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1queue-scalpingwork-conservation

For throughput 0≤λ<μ0\le\lambda<\mu0≤λ<μ and purchase fraction q∈[0,1]q\in[0,1]q∈[0,1], the weighted mean delay of buyers and nonbuyers equals the usual M/M/1 mean delay:

qW1I(λ,q)+(1−q)W2I(λ,q)=1μ−λ.qW^I_1(\lambda,q)+(1-q)W^I_2(\lambda,q)=\frac1{\mu-\lambda}.qW1I​(λ,q)+(1−q)W2I​(λ,q)=μ−λ1​.

This identity connects the two customer delay classes to the equilibrium joining cutoff in Lemma A.1.

Preamble
import Mathlib
import Definitions.Def_QueueScalp_Entry_Model
Formal statement
namespace QueueScalp.Entry

theorem work_conservation (P : Params) (hS : P.Standing) (lam q : ℝ)
    (hlam : 0 ≤ lam) (hstable : lam < P.mu) (hq : q ∈ Set.Icc (0 : ℝ) 1) :
    q * W1 P.mu lam q + (1 - q) * W2 P.mu lam q = 1 / (P.mu - lam) := by sorry
end QueueScalp.Entry
Source
Yang, Wang & Cui, A Model of Queue-Scalping, authors' manuscript (Management Science 2021, doi:10.1287/mnsc.2020.3865), proof of Lemma A.1, Online Appendix p. 1 (PDF 34)
Human review
  • Endorsed by Shuze Chen · Oct 19, 2026

    Confirmed by the moderator at approval.

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