Theorem 3.4 — on proportionally sparse (and subcritical) compatibility graphs, JSQ(d) has the fully flexible mean-field limit and steady state
ProvedStrictCompatLB.MeanField.meanfield_limit_and_steady_stateLet and . Tasks arrive at dispatchers as independent Poisson streams of rate ; a task arriving at dispatcher samples servers of its neighbourhood uniformly at random without replacement and joins a shortest of their queues (ties broken uniformly); services are exponential with unit mean. Let be a proportionally sparse sequence of connected compatibility graphs, and the vector of queue lengths at time .
- Process level. Suppose and , and let be the -valued solution of
with this initial value. Then for every and ,
- Steady state. If moreover satisfies the subcriticality condition, there is such that for every the process has a unique stationary distribution , and converges to the fixed point
in the sense that for every .
Thus a sparse compatibility graph, as long as it is proportionally sparse and subcritical, gives the same transient and stationary mean-field behaviour as the fully flexible system, where every task may join every server.
Formalization Note Two printed defects are repaired. (i) The printed (3.4) reads , which gives and is not the fixed point of (3.3); the statement uses (PowerTwoChoices.Limit.fixedPoint). (ii) "For each fixed , the Markov process is ergodic" is asserted for all , as Theorem 4.8(i) proves; for small it can fail. Weak convergence in Skorohod to a continuous deterministic path, and weak convergence to a constant, are rendered as convergence in probability. Ergodicity is rendered as existence and uniqueness of a stationary distribution of the uniformised chain. The process is any realisation, for , of the uniformised chain (IsLBProcess with jsqdRoute); the solution of (3.3) is any -valued IsTrajectory. Both quantifications are over nonempty classes: the chain can be realised by Ionescu-Tulcea with an independent i.i.d. exponential clock, and (3.3) has a -valued solution from every point of . is l1dist, which includes coordinate , equal to on both sides.
import Mathlib import Definitions.Def_StrictCompatLB_MeanField_Model open Filter Topology MeasureTheory open scoped ENNReal
namespace StrictCompatLB.MeanField
/-- Theorem 3.4 (p. 12), with the fixed point (3.4) corrected to `q*_i(∞) = λ^{(d^i−1)/(d−1)}` and
ergodicity asserted for all large `N`. Let `0 < λ < 1`, `d ≥ 2`, and let `{G_N}` be a
proportionally sparse sequence of connected graphs.
1. (Process level.) If `q*(0) ∈ 𝒴` and `‖q(Φ(G_N, 0)) − q*(0)‖₁ → 0`, then for every `𝒴`-valued
solution `q*` of (3.3) with this initial value, every `T ≥ 0` and `ε > 0`,
`P(sup_{t ∈ [0,T]} ‖q(Φ(G_N, t)) − q*(t)‖₁ ≥ ε) → 0` under JSQ(d).
2. (Steady state.) If moreover `{G_N}` satisfies the subcriticality condition, then there is
`N₀` such that the JSQ(d) chain on `G_N` has a unique stationary distribution `π_N` for
every `N ≥ N₀`, and `π_N(‖q − q*(∞)‖₁ ≥ ε) → 0` for every `ε > 0`. -/
theorem meanfield_limit_and_steady_state (lam : ℝ) (hlam0 : 0 < lam) (hlam1 : lam < 1)
(d : ℕ) (hd : 2 ≤ d)
(M : ℕ → ℕ) (hM : ∀ N, 0 < M N) (G : (N : ℕ) → Finset (Fin N × Fin (M N)))
(hconn : IsConnectedSeq M G) (hsparse : IsPropSparse M G) :
(∀ (z₀ : (N : ℕ) → Fin N → ℕ) (q₀ : ℕ → ℝ), InY q₀ →
Tendsto (fun N => PowerOfDUniversality.Fluid.l1dist (occ (z₀ N)) q₀) atTop (𝓝 0) →
∀ s : ℝ → ℕ → ℝ, PowerTwoChoices.Limit.IsTrajectory lam d s →
(∀ t : ℝ, 0 ≤ t → InY (s t)) → s 0 = q₀ →
∀ (Ω : Type) [MeasurableSpace Ω] (P : Measure Ω)
(Y : (N : ℕ) → ℕ → Ω → (Fin N → ℕ)) (τ : ℕ → ℕ → Ω → ℝ),
(∀ N, 1 ≤ N → IsLBProcess P lam M N (jsqdRoute M G N d) (z₀ N) (Y N) (τ N)) →
∀ T : ℝ, 0 ≤ T → ∀ ε : ℝ, 0 < ε →
Tendsto (fun N => P {ω | ENNReal.ofReal ε ≤
PowerOfDUniversality.Fluid.supDistL1 (occPath (Y N) (τ N) ω) s T})
atTop (𝓝 0)) ∧
(IsSubcritical d M G →
∃ N₀ : ℕ, (∀ N ≥ N₀, ∃! π : (Fin N → ℕ) → ℝ, IsStationary (jsqdKernel lam d M G N) π) ∧
∀ π : (N : ℕ) → (Fin N → ℕ) → ℝ,
(∀ N ≥ N₀, IsStationary (jsqdKernel lam d M G N) (π N)) →
∀ ε : ℝ, 0 < ε →
Tendsto (fun N => probOf (π N) {z | ENNReal.ofReal ε ≤
PowerOfDUniversality.Fluid.l1dist (occ z) (PowerTwoChoices.Limit.fixedPoint lam d)})
atTop (𝓝 0)) := by sorry
end StrictCompatLB.MeanField
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.