Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 1, pp. 5–6 — upper decomposition #{j : R_j ∈ (0, s]} ≤ β₁(s) + ⌊s/h⌋ + 1 + β₂(s)

Proved
ScheduledQueue.Stability.upper_decomposition

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

countingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1queueingscheduled-traffic

Let h>0h>0h>0, let (ξj)j∈Z(\xi_j)_{j\in\mathbb Z}(ξj​)j∈Z​ and UUU be arbitrary real numbers (one outcome), and let Rj=jh+Uh−ξjR_j=jh+Uh-\xi_jRj​=jh+Uh−ξj​ be the reversed arrival times. For every s≥0s\ge0s≥0,

#{j∈Z:Rj∈(0,s]}  ≤  β1(s)+⌊s/h⌋+1+β2(s),\#\{j\in\mathbb Z : R_j\in(0,s]\}\;\le\;\beta_1(s)+\lfloor s/h\rfloor+1+\beta_2(s),#{j∈Z:Rj​∈(0,s]}≤β1​(s)+⌊s/h⌋+1+β2​(s),

where β1(s)=#{j≥1:R−j∈(0,s]}\beta_1(s)=\#\{j\ge1: R_{-j}\in(0,s]\}β1​(s)=#{j≥1:R−j​∈(0,s]} and β2(s)=#{j≥⌊s/h⌋+1:Rj∈(0,s]}\beta_2(s)=\#\{j\ge\lfloor s/h\rfloor+1 : R_j\in(0,s]\}β2​(s)=#{j≥⌊s/h⌋+1:Rj​∈(0,s]}. Multiplying by hhh,

Λ(s)−s≤h(β1(s)+β2(s)+1).\Lambda(s)-s\le h\big(\beta_1(s)+\beta_2(s)+1\big).Λ(s)−s≤h(β1​(s)+β2​(s)+1).

This is the inequality the proof of Theorem 1 uses to bound M(t)M(t)M(t) from above by the two quantities β1\beta_1β1​ (controlled by Γ1\Gamma_1Γ1​) and β2\beta_2β2​ (controlled by the upper bound on the perturbations).

Formalization Note. The page states an identity Λ(s)−h⌊s/h⌋=β1(s)+β2(s)−β3(s)−β4(s)\Lambda(s)-h\lfloor s/h\rfloor=\beta_1(s)+\beta_2(s)-\beta_3(s)-\beta_4(s)Λ(s)−h⌊s/h⌋=β1​(s)+β2​(s)−β3​(s)−β4​(s) and then "M(t)≤max⁡sβ1(s)+max⁡sβ2(s)M(t)\le\max_s\beta_1(s)+\max_s\beta_2(s)M(t)≤maxs​β1​(s)+maxs​β2​(s)". As printed the identity omits the customer j=0j=0j=0, its β4\beta_4β4​ sums over all j≥1j\ge1j≥1 (so it is infinite), and it mixes the units of Λ\LambdaΛ (time) and of the counts. This statement is the corrected one-sided inequality, in counts valued in N∪{∞}\mathbb N\cup\{\infty\}N∪{∞}; it holds for every outcome and needs no assumption on UUU.

Preamble
import Mathlib
import Definitions.Def_ScheduledQueue_Stability_Setting
import Definitions.Def_ScheduledQueue_Stability_Reversed

open MeasureTheory ProbabilityTheory Set Filter Topology ENNReal
Formal statement
namespace ScheduledQueue.Stability

theorem upper_decomposition {Ω : Type*} (h : ℝ) (hh : 0 < h) (ξ : ℤ → Ω → ℝ)
    (U : Ω → ℝ) :
    ∀ (ω : Ω) (s : ℝ), 0 ≤ s →
      revCount h ξ U s ω ≤ beta1 h ξ U s ω + ((⌊s / h⌋₊ + 1 : ℕ) : ℕ∞) + beta2 h ξ U s ω := by sorry

end ScheduledQueue.Stability
Source
Araman and Glynn, Stability of a Queue Fed by Scheduled Traffic at Critical Loading, arXiv:2212.04164v1, pp. 5–6, proof of Theorem 1, the display Λ(s) − h⌊s/h⌋ = β₁(s) + β₂(s) − β₃(s) − β₄(s) and "Of course, M(t) ≤ max β₁(s) + max β₂(s)" (corrected)
Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

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