Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2 — the tails decrease doubly exponentially, uniformly in ttt; from empty, si(t)≤πis_i(t)\le\pi_isi​(t)≤πi​

Proved
PowerTwoChoices.Limit.theorem_2

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, 0<λ<10<\lambda<10<λ<1, and let s(t)s(t)s(t) be a trajectory of the limiting supermarket system (1), with fixed point πi=λ(di−1)/(d−1)\pi_i=\lambda^{(d^i-1)/(d-1)}πi​=λ(di−1)/(d−1).

  1. If sj(0)=0s_j(0)=0sj​(0)=0 for some jjj, then there are constants N≥1N\ge1N≥1, 0<α<10<\alpha<10<α<1, β>1\beta>1β>1, γ>0\gamma>0γ>0, independent of ttt, such that
si(t)≤γ αβifor all t≥0 and all i≥N,s_i(t)\le\gamma\,\alpha^{\beta^i}\qquad\text{for all }t\ge0\text{ and all }i\ge N,si​(t)≤γαβifor all t≥0 and all i≥N,

that is, the sequence (si(t))i≥0(s_i(t))_{i\ge0}(si​(t))i≥0​ decreases doubly exponentially (Definition 1) for all t≥0t\ge0t≥0 with the same constants. 2. If the system begins empty (s0(0)=1s_0(0)=1s0​(0)=1, si(0)=0s_i(0)=0si​(0)=0 for i≥1i\ge1i≥1), then si(t)≤πis_i(t)\le\pi_isi​(t)≤πi​ for all t≥0t\ge0t≥0 and all iii.

The theorem is an invariant of the dynamics: it bounds how far the tails can be from the fixed point at any time, and it is what makes the expected time in the system finite along the trajectory.

Formalization Note. The constants are quantified after the trajectory and before ttt. NNN is a natural number.

Preamble
import Mathlib
import Definitions.Def_PowerTwoChoices_Limit_SupermarketSystem

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

/-- Theorem 2 (Mitzenmacher 2001, p. 1097). Let `d ≥ 2` and `0 < λ < 1`.
(a) If `s_j(0) = 0` for some `j`, then the sequences `(s_i(t))_i` decrease doubly
exponentially for all `t ≥ 0`, with constants `N, α, β, γ` (Definition 1) independent of `t`.
(b) If the system begins empty, then `s_i(t) ≤ π_i` for all `t ≥ 0` and all `i`. -/
theorem theorem_2 (lam : ℝ) (d : ℕ) (hd : 2 ≤ d) (hlam0 : 0 < lam) (hlam1 : lam < 1) :
    (∀ s : ℝ → ℕ → ℝ, IsTrajectory lam d s → (∃ j : ℕ, s 0 j = 0) →
      ∃ (N : ℕ) (α β γ : ℝ), ∀ t : ℝ, 0 ≤ t → IsDoublyExpBound N α β γ (s t)) ∧
    (∀ s : ℝ → ℕ → ℝ, IsTrajectory lam d s → s 0 = emptyState →
      ∀ t : ℝ, 0 ≤ t → ∀ i : ℕ, s t i ≤ fixedPoint lam d 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. 1097, Theorem 2 (with Definition 1, p. 1097)
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