Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 3.2 — tail sums plus overflow are stochastically ordered, JSQ ⩽_st CJSQ(n) ⩽_st MJSQ(n)

Proved
PowerOfDUniversality.Fluid.proposition_3_2

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

couplingload-balancingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1stochastic-ordering

Fix N≥1N\ge 1N≥1 servers, a buffer b≥1b\ge 1b≥1, an arrival rate λ≥0\lambda\ge 0λ≥0, an integer nnn with n+1≤Nn+1\le Nn+1≤N, and any scheme Π\PiΠ of the class CJSQ(nnn). Consider three systems, run respectively under JSQ, under Π\PiΠ and under MJSQ(nnn), started from deterministic occupancy vectors QJSQ(0)\mathbf Q^{JSQ}(0)QJSQ(0), QCJSQ(0)\mathbf Q^{CJSQ}(0)QCJSQ(0), QMJSQ(0)\mathbf Q^{MJSQ}(0)QMJSQ(0) with no discarded tasks. For every fixed m≥1m\ge 1m≥1:

  1. if ∑i≥m′QiJSQ(0)≤∑i≥m′QiCJSQ(0)\sum_{i\ge m'}Q^{JSQ}_i(0)\le\sum_{i\ge m'}Q^{CJSQ}_i(0)∑i≥m′​QiJSQ​(0)≤∑i≥m′​QiCJSQ​(0) for every m′≥1m'\ge 1m′≥1, then
{∑i=mbQiJSQ(t)+LJSQ(t)}t≥0≤st{∑i=mbQiCJSQ(t)+LCJSQ(t)}t≥0;\Big\{\sum_{i=m}^{b}Q^{JSQ}_i(t)+L^{JSQ}(t)\Big\}_{t\ge0}\le_{st}\Big\{\sum_{i=m}^{b}Q^{CJSQ}_i(t)+L^{CJSQ}(t)\Big\}_{t\ge0};{i=m∑b​QiJSQ​(t)+LJSQ(t)}t≥0​≤st​{i=m∑b​QiCJSQ​(t)+LCJSQ(t)}t≥0​;
  1. if ∑i≥m′QiCJSQ(0)≤∑i≥m′QiMJSQ(0)\sum_{i\ge m'}Q^{CJSQ}_i(0)\le\sum_{i\ge m'}Q^{MJSQ}_i(0)∑i≥m′​QiCJSQ​(0)≤∑i≥m′​QiMJSQ​(0) for every m′≥1m'\ge 1m′≥1, then
{∑i=mbQiCJSQ(t)+LCJSQ(t)}t≥0≤st{∑i=mbQiMJSQ(t)+LMJSQ(t)}t≥0.\Big\{\sum_{i=m}^{b}Q^{CJSQ}_i(t)+L^{CJSQ}(t)\Big\}_{t\ge0}\le_{st}\Big\{\sum_{i=m}^{b}Q^{MJSQ}_i(t)+L^{MJSQ}(t)\Big\}_{t\ge0}.{i=m∑b​QiCJSQ​(t)+LCJSQ(t)}t≥0​≤st​{i=m∑b​QiMJSQ​(t)+LMJSQ(t)}t≥0​.

Here X≤stYX\le_{st}YX≤st​Y means that there is a coupling (X′,Y′)(X',Y')(X′,Y′) with the laws of XXX and YYY such that almost surely X′(t)≤Y′(t)X'(t)\le Y'(t)X′(t)≤Y′(t) for all t≥0t\ge 0t≥0. The comparison sandwiches every CJSQ(nnn) scheme between JSQ and MJSQ(nnn) at the level of tail sums.

Formalization Note "Provided the inequalities hold at time t=0t=0t=0" is the ordering of the initial states at every level, which is what the proof (via Proposition 3.1) needs. The three systems may live on different probability spaces; the CJSQ rule may depend on the event index, the current state and the current mark, measurably in the mark.

Preamble
import Mathlib
import Definitions.Def_PowerOfDUniversality_Fluid_Model
import Definitions.Def_PowerOfDUniversality_Fluid_FluidSpace

open MeasureTheory ProbabilityTheory Filter Topology
open scoped ENNReal NNReal
Formal statement
namespace PowerOfDUniversality.Fluid

/-- **Proposition 3.2** (p. 13, stochastic ordering JSQ ⩽_st CJSQ ⩽_st MJSQ). Fix `N ≥ 1`
servers, buffer `b ≥ 1`, arrival rate `λ ≥ 0`, `n` with `n + 1 ≤ N`, and a scheme `Π` of the
class CJSQ(n). Three systems, under JSQ, `Π` and MJSQ(n), possibly on different probability
spaces, start from deterministic occupancy vectors `QJ`, `QC`, `QM` (no discarded tasks). For
every fixed `m ≥ 1`:

1. if `∑_{i≥m'} QJ_i ≤ ∑_{i≥m'} QC_i` for every `m' ≥ 1`, then
   `{∑_{i=m}^{b} Q^{JSQ}_i(t) + L^{JSQ}(t)}_{t≥0} ⩽_st {∑_{i=m}^{b} Q^{CJSQ}_i(t) + L^{CJSQ}(t)}_{t≥0}`;
2. if `∑_{i≥m'} QC_i ≤ ∑_{i≥m'} QM_i` for every `m' ≥ 1`, then
   `{∑_{i=m}^{b} Q^{CJSQ}_i(t) + L^{CJSQ}(t)}_{t≥0} ⩽_st {∑_{i=m}^{b} Q^{MJSQ}_i(t) + L^{MJSQ}(t)}_{t≥0}`. -/
theorem proposition_3_2 (N : ℕ) (hN : 1 ≤ N) (b : ℕ∞) (hb : 1 ≤ b) (lam : ℝ) (hlam : 0 ≤ lam)
    (n : ℕ) (hn : n + 1 ≤ N) (pol : Scheme) (hpol : IsCJSQ n pol)
    {Ω₁ Ω₂ Ω₃ : Type*} [MeasurableSpace Ω₁] [MeasurableSpace Ω₂] [MeasurableSpace Ω₃]
    (P₁ : Measure Ω₁) (P₂ : Measure Ω₂) (P₃ : Measure Ω₃)
    [IsProbabilityMeasure P₁] [IsProbabilityMeasure P₂] [IsProbabilityMeasure P₃]
    (sysJ : System P₁ N b lam) (sysC : System P₂ N b lam) (sysM : System P₃ N b lam)
    (QJ QC QM : ℕ →₀ ℕ) (hJ : ∀ ω, sysJ.Q0 ω = QJ) (hC : ∀ ω, sysC.Q0 ω = QC)
    (hM : ∀ ω, sysM.Q0 ω = QM) (m : ℕ) (hm : 1 ≤ m) :
    ((∀ m' : ℕ, 1 ≤ m' → tailSum QJ m' ≤ tailSum QC m') →
      ProcLeSt P₁ P₂
        (fun ω t => ((tailSum (sysJ.occ jsq ω t) m + sysJ.overflow jsq ω t : ℕ) : ℝ))
        (fun ω t => ((tailSum (sysC.occ pol ω t) m + sysC.overflow pol ω t : ℕ) : ℝ))) ∧
    ((∀ m' : ℕ, 1 ≤ m' → tailSum QC m' ≤ tailSum QM m') →
      ProcLeSt P₂ P₃
        (fun ω t => ((tailSum (sysC.occ pol ω t) m + sysC.overflow pol ω t : ℕ) : ℝ))
        (fun ω t => ((tailSum (sysM.occ (mjsq n) ω t) m + sysM.overflow (mjsq n) ω t : ℕ) : ℝ))) := by sorry

end PowerOfDUniversality.Fluid
Source
Mukherjee, Borst, van Leeuwaarden & Whiting, Universality of Power-of-d Load Balancing in Many-Server Systems, arXiv:1612.00723v2, pp. 12–13, Proposition 3.2
Human review
  • Endorsed by Shuze Chen · Oct 10, 2026

    Confirmed by the moderator at approval.

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