Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4, p. 21 — in the one-direction approximations the no-call average waiting time is at most the call average waiting time

Proved
CallNoCall.OneDir.theorem_4

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

comparisonp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1queueingride-hailing

Let d,v,R>0d, v, R > 0d,v,R>0 (mean ride distance, speed, perimeter of the circular road), let k≥1k \ge 1k≥1 be the number of taxis, and let the arrival rate satisfy

0≤λ<kvd.0 \le \lambda < \frac{kv}{d}.0≤λ<dkv​.

Then the approximated one-direction call system (service rates (1)) and the approximated no-call system (service rates (3)) both have finite average waiting time, and

W(nc)(λ,d,v,k,R)≤W(1c)(λ,d,v,k,R).\mathcal W^{(nc)}(\lambda,d,v,k,R) \le \mathcal W^{(1c)}(\lambda,d,v,k,R).W(nc)(λ,d,v,k,R)≤W(1c)(λ,d,v,k,R).

In the one-direction approximation, street-hailing (a passenger is picked up by the first free taxi passing by) never has a longer average wait than on-demand matching (each passenger is matched at once to the nearest available taxi). The paper explains this by the no-call mechanism expediting the next pick-up in every state, and confirms it numerically in Figure 11(a).

Formalization Note The paper states the theorem "for any λ\lambdaλ, ddd, vvv, kkk and RRR". The physical domain d,v,R>0d, v, R > 0d,v,R>0, k≥1k \ge 1k≥1, λ≥0\lambda \ge 0λ≥0 is made explicit. For λ≥kv/d\lambda \ge kv/dλ≥kv/d both waiting times are +∞+\infty+∞ (for the call system by Theorem 1(1); for the no-call system because μn(nc)≤min⁡{n,k} v/d\mu^{(nc)}_n \le \min\{n,k\}\,v/dμn(nc)​≤min{n,k}v/d, p. 38), so the inequality there reads ∞≤∞\infty \le \infty∞≤∞ and has no content; the theorem is stated on the stability region λ<kv/d\lambda < kv/dλ<kv/d, with the real-valued waiting times, and both systems' finiteness (FiniteWait) is part of the conclusion. The conclusion is the theorem's "≤\le≤"; the strict "W(nc)<W(1c)\mathcal W^{(nc)} < \mathcal W^{(1c)}W(nc)<W(1c)" at the end of the proof (p. 39) fails at λ=0\lambda = 0λ=0, k=1k = 1k=1, where both equal R/(2v)R/(2v)R/(2v). W(1c)\mathcal W^{(1c)}W(1c) and W(nc)\mathcal W^{(nc)}W(nc) are the closed-form waiting times of the M/M/kM/M/kM/M/k approximations, not of the simulated systems.

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

/-- Theorem 4, p. 21: for every arrival rate `0 ≤ λ < kv/d` (the region where both waiting times
are finite) and every `d, v, R > 0`, `k ≥ 1`, both approximated one-direction systems have finite
average waiting time and `W^{(nc)}(λ,d,v,k,R) ≤ W^{(1c)}(λ,d,v,k,R)`. -/
theorem theorem_4 (lam d v R : ℝ) (k : ℕ) (hd : 0 < d) (hv : 0 < v) (hR : 0 < R) (hk : 1 ≤ k)
    (hlam0 : 0 ≤ lam) (hlam : lam < k * v / d) :
    FiniteWait (mu1c d v R k) lam ∧ FiniteWait (muNC lam d v R k) lam ∧
      Wnc lam d v R k ≤ W1c lam d v R k := 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. 21, Theorem 4; proof in Appendix A, pp. 38–39
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