Perturbed mean-field LLN: an LB process whose aggregate routing stays close to follows the ODE (4.2)
ProvedStrictCompatLB.MeanField.perturbed_meanfield_llnLet and let dispatchers serve servers. Let route N w z v be ANY routing law (for every dispatcher and state a probability vector over the servers ), and let be the load-balancing process (IsLBProcess: uniformized chain with arrival rate , unit-rate departures, an arrival at a uniform dispatcher joining server with probability route N w z v) started from . Let be a Lipschitz assignment function, with , and let be the solution of the mean-field ODE (4.2) with , . Write
for the level-aggregated arrival law (the probability that an arriving task joins a server with queue length ). Fix and suppose that for every
Then for every
Role: this is the law-of-large-numbers step of the proof of Theorem 4.3: once the dispatchers' aggregate routing is shown to be close to the mean-field assignment (which Proposition 4.5 provides on proportionally sparse graphs), the occupancy process follows the fluid trajectory (4.2) uniformly on compact time intervals in probability.
Formalization Note: the routing law is arbitrary (only nonnegativity and unit row sums are assumed); the closeness of the aggregated arrival law to is a hypothesis, stated with the distance l1dist of the PowerOfD fluid library, as in Theorem 4.3.
import Mathlib import Definitions.Def_StrictCompatLB_MeanField_Model open Filter Topology MeasureTheory open scoped ENNReal
namespace StrictCompatLB.MeanField
theorem perturbed_meanfield_lln (lam : ℝ) (hlam0 : 0 < lam) (hlam1 : lam < 1)
(M : ℕ → ℕ) (hM : ∀ N, 0 < M N)
(route : (N : ℕ) → Fin (M N) → (Fin N → ℕ) → Fin N → ℝ)
(hroute : ∀ N, 1 ≤ N → (∀ w z v, 0 ≤ route N w z v) ∧ ∀ w z, ∑ v, route N w z v = 1)
(p : (ℕ → ℝ) → ℕ → ℝ) (hp : IsAssignmentFn p) (hLip : IsLipschitzPolicy p)
(z₀ : (N : ℕ) → Fin N → ℕ) (q₀ : ℕ → ℝ) (hq₀ : InY q₀)
(hinit : Tendsto (fun N => PowerOfDUniversality.Fluid.l1dist (occ (z₀ N)) q₀) atTop (𝓝 0))
(s : ℝ → ℕ → ℝ) (hs : IsPiTrajectory lam p s) (hsY : ∀ t : ℝ, 0 ≤ t → InY (s t))
(hs0 : s 0 = q₀)
(Ω : Type) [MeasurableSpace Ω] (P : Measure Ω)
(Y : (N : ℕ) → ℕ → Ω → (Fin N → ℕ)) (τ : ℕ → ℕ → Ω → ℝ)
(hproc : ∀ N, 1 ≤ N → IsLBProcess P lam M N (route N) (z₀ N) (Y N) (τ N))
(T : ℝ) (hT : 0 ≤ T)
(hlev : ∀ η : ℝ, 0 < η → Tendsto (fun N => P {ω | ∃ t ∈ Set.Icc (0 : ℝ) T,
ENNReal.ofReal η ≤ PowerOfDUniversality.Fluid.l1dist
(fun i => (1 / (M N : ℝ)) * ∑ w : Fin (M N),
∑ v ∈ Finset.univ.filter (fun v => statePath (Y N) (τ N) ω t v = i),
route N w (statePath (Y N) (τ N) ω t) v)
(p (geqd (statePath (Y N) (τ N) ω t)))}) atTop (𝓝 0))
(ε : ℝ) (hε : 0 < ε) :
Tendsto (fun N => P {ω | ENNReal.ofReal ε ≤
PowerOfDUniversality.Fluid.supDistL1 (occPath (Y N) (τ N) ω) s T})
atTop (𝓝 0) := by sorry
end StrictCompatLB.MeanField