Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1(1), p. 16 — the one-direction call approximation has finite average waiting time iff 0 ≤ λ < kv/d

Proved
CallNoCall.OneDir.theorem_1_1

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

p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1queueingride-hailingstability

Let d,v,R>0d, v, R > 0d,v,R>0, let k≥1k \ge 1k≥1 be the number of taxis, and let λ≥0\lambda \ge 0λ≥0 be the arrival rate. Consider the approximated one-direction call system, the state-dependent M/M/kM/M/kM/M/k queue with arrival rate λ\lambdaλ and service rates μn(1c)\mu^{(1c)}_nμn(1c)​ of (1). Its average waiting time W(1c)(λ,d,v,k,R)\mathcal W^{(1c)}(\lambda,d,v,k,R)W(1c)(λ,d,v,k,R) is finite, i.e. both series

∑i=1∞iλi−1μ1(1c)⋯μi(1c),∑i=1∞λiμ1(1c)⋯μi(1c)\sum_{i=1}^{\infty} \frac{i\lambda^{i-1}}{\mu^{(1c)}_1\cdots\mu^{(1c)}_i}, \qquad \sum_{i=1}^{\infty} \frac{\lambda^{i}}{\mu^{(1c)}_1\cdots\mu^{(1c)}_i}i=1∑∞​μ1(1c)​⋯μi(1c)​iλi−1​,i=1∑∞​μ1(1c)​⋯μi(1c)​λi​

converge, if and only if

λ<kμ=kvd.\lambda < k\mu = \frac{kv}{d}.λ<kμ=dkv​.

This is the stability region of the call system: kμk\mukμ is the full service capacity of kkk busy taxis, and the en-route time keeps every rate μn(1c)\mu^{(1c)}_nμn(1c)​ strictly below it. In the proof of Theorem 4 it shows that on 0≤λ<kv/d0 \le \lambda < kv/d0≤λ<kv/d the call system's waiting time is a finite number.

Formalization Note "W<∞\mathcal W < \inftyW<∞" is the predicate FiniteWait (both series summable), as in the paper's proof (p. 34). The paper's "0≤λ0 \le \lambda0≤λ" is part of the domain of the arrival rate and is taken as the hypothesis λ≥0\lambda \ge 0λ≥0; the equivalence is then with λ<kv/d\lambda < kv/dλ<kv/d. The standing assumptions d,v,R>0d, v, R > 0d,v,R>0 and k≥1k \ge 1k≥1 are implicit in the paper (a distance, a speed, a perimeter, a number of taxis) and are explicit hypotheses here.

Preamble
import Mathlib
import Definitions.Def_CallNoCall_OneDir_Setting
Formal statement
namespace CallNoCall.OneDir

/-- Theorem 1(1), p. 16: for `λ ≥ 0`, the approximated one-direction call system has finite
average waiting time (both series of the waiting-time formula converge) if and only if
`λ < kμ = kv/d`. -/
theorem theorem_1_1 (lam d v R : ℝ) (k : ℕ) (hd : 0 < d) (hv : 0 < v) (hR : 0 < R) (hk : 1 ≤ k)
    (hlam0 : 0 ≤ lam) :
    FiniteWait (mu1c d v R k) lam ↔ lam < k * v / d := by sorry

end CallNoCall.OneDir
Source
Feng, Kong, Wang, We Are on the Way: Analysis of On-Demand Ride-Hailing Systems, SSRN working paper 2960991 (version of 2020-04-16), p. 16, Theorem 1(1); proof in Appendix A, p. 34
Human review
  • Endorsed by Shuze Chen · Oct 18, 2026

    Confirmed by the moderator at approval.

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