Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§4.1, p. 9 — congestion effect: more joining by others makes the queue stochastically longer for each known capacity

Proved
FollowCrowd.Inference.congestion_effect

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

congestion-effectobservable-queuep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1stochastic-order

Under the standing assumptions, fix the capacity μ=μX\mu = \mu_Xμ=μX​, X∈{H,L}X\in\{H,L\}X∈{H,L}, and let p−p^-p− and p′−p'^-p′− be joining vectors (p0−=p0′−=1p^-_0 = p'^-_0 = 1p0−​=p0′−​=1, coordinates in [0,1][0,1][0,1]) with pi−≤pi′−p^-_i \le p'^-_ipi−​≤pi′−​ for every iii. Then for every mmm,

∑n=0mπX(n,p′−)≤∑n=0mπX(n,p−).\sum_{n=0}^{m}\pi_X(n,p'^-) \le \sum_{n=0}^{m}\pi_X(n,p^-).n=0∑m​πX​(n,p′−)≤n=0∑m​πX​(n,p−).

In words: when the other customers' tendency to join increases, the queue length an arriving customer observes is larger in the usual stochastic order. In particular, when the capacity is known, so that a customer joins exactly at queue lengths up to a fixed threshold, the ex-ante joining probability ∑n≤mπX(n,⋅)\sum_{n\le m}\pi_X(n,\cdot)∑n≤m​πX​(n,⋅) decreases: this is the congestion effect, the force behind avoid-the-crowd behaviour.

Formalization Note The paper states the congestion effect in words; it is formalized as first-order stochastic dominance of the queue-length law, which contains the paper's claim about the ex-ante joining probability under known capacity.

Preamble
import Mathlib
import Definitions.Def_FollowCrowd_Inference_Model
Formal statement
namespace FollowCrowd.Inference

theorem congestion_effect (P : Params) (hP : P.Standing) (mu : ℝ)
    (hmu : mu = P.muH ∨ mu = P.muL) (p p' : ℕ → ℝ) (hp : IsJoinVec p) (hp' : IsJoinVec p')
    (hle : ∀ i, p i ≤ p' i) (m : ℕ) :
    ∑ n ∈ Finset.range (m + 1), stat P mu p' n ≤
      ∑ n ∈ Finset.range (m + 1), stat P mu p n := by sorry

end FollowCrowd.Inference
Source
Yang, Shang & Liu, Follow the crowd with uncertain service capacity, SSRN 4159035 (version of June 24, 2022), p. 9, §4.1, congestion effect paragraph
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

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