Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4 — the drift of the supermarket system is L1L_1L1​-Lipschitz with constant 2+2dλ2+2d\lambda2+2dλ

Proved
PowerTwoChoices.Limit.lemma_4

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

differential-equationsload-balancingmean-fieldp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1queueing

Let d≥2d\ge2d≥2 and 0<λ<10<\lambda<10<λ<1, and let F(x)=(Fi(x))i≥1F(x)=(F_i(x))_{i\ge1}F(x)=(Fi​(x))i≥1​ with Fi(x)=λ(xi−1d−xid)−(xi−xi+1)F_i(x)=\lambda(x_{i-1}^d-x_i^d)-(x_i-x_{i+1})Fi​(x)=λ(xi−1d​−xid​)−(xi​−xi+1​) be the right-hand side of the limiting supermarket system (1). For any two states xxx and yyy (in particular 0≤xi,yi≤10\le x_i,y_i\le10≤xi​,yi​≤1),

∑i=1∞∣Fi(x)−Fi(y)∣≤(2+2dλ)∑i=0∞∣xi−yi∣.\sum_{i=1}^\infty|F_i(x)-F_i(y)|\le(2+2d\lambda)\sum_{i=0}^\infty|x_i-y_i| .i=1∑∞​∣Fi​(x)−Fi​(y)∣≤(2+2dλ)i=0∑∞​∣xi​−yi​∣.

This is the Lipschitz condition of Kurtz's theorem, which connects the finite supermarket system with its deterministic limit.

Formalization Note. The paper states "The supermarket model satisfies the Lipschitz condition" ∣F(x)−F(y)∣≤M∣x−y∣|F(x)-F(y)|\le M|x-y|∣F(x)−F(y)∣≤M∣x−y∣; the constant M=2+2dλM=2+2d\lambdaM=2+2dλ and the L1L_1L1​ norm are those of its proof. Both sums are computed in [0,∞][0,\infty][0,∞], so no summability hypothesis is needed.

Preamble
import Mathlib
import Definitions.Def_PowerTwoChoices_Limit_SupermarketSystem

open scoped ENNReal
open Filter Topology
Formal statement
namespace PowerTwoChoices.Limit

/-- Lemma 4 (Mitzenmacher 2001, p. 1103), with the constant of its proof. For states `x, y`
(so `0 ≤ x_i, y_i ≤ 1`), the drift `F` of the limiting system satisfies the `ℓ¹` Lipschitz
bound `∑_{i ≥ 1} |F_i(x) - F_i(y)| ≤ (2 + 2dλ) ∑_{i ≥ 0} |x_i - y_i|` (sums in `[0, ∞]`). -/
theorem lemma_4 (lam : ℝ) (d : ℕ) (hd : 2 ≤ d) (hlam0 : 0 < lam) (hlam1 : lam < 1)
    (x y : ℕ → ℝ) (hx : IsState x) (hy : IsState y) :
    (∑' i : ℕ, if 1 ≤ i then ENNReal.ofReal |drift lam d x i - drift lam d y i| else 0) ≤
      ENNReal.ofReal (2 + 2 * d * lam) * ∑' i : ℕ, ENNReal.ofReal |x i - y i| := by sorry

end PowerTwoChoices.Limit
Source
Mitzenmacher, The Power of Two Choices in Randomized Load Balancing, IEEE Trans. Parallel Distrib. Syst. 12(10), 2001, p. 1103, Lemma 4 and its proof
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

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