Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3.2 — maximum-load upper bound

Proved
ABKUFinite.theorem_3_2

by Yuxuan Xu · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

For every natural number ddd, there exists a nonnegative real CCC such that for every positive real ε\varepsilonε, there exists a natural number NNN such that, for every natural number n≥Nn\ge Nn≥N, the uniform probability that the maximum load is at most log⁡log⁡(n+1)/log⁡(d+2)+C\log\log(n+1)/\log(d+2)+Cloglog(n+1)/log(d+2)+C is at least 1−ε1-\varepsilon1−ε. The maximum load is obtained by allocating n+1n+1n+1 balls sequentially to n+1n+1n+1 initially empty bins, each ball making d+2d+2d+2 independent uniform choices with replacement and joining the earliest choice of minimum current load. The constant CCC may depend on ddd but not on ε\varepsilonε or nnn; NNN may depend on ddd and ε\varepsilonε.

Preamble
import Definitions.Def_ABKUFinite_Model
Formal statement
namespace ABKUFinite
theorem theorem_3_2 (d : ℕ) : Upper d := by sorry
end ABKUFinite
Source
Azar, Broder, Karlin, Upfal (1999), Balanced Allocations, https://cs.brown.edu/people/eupfal/papers/SICOMP29.pdf, p.184; Theorem 3.2 — maximum-load upper bound
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

For every natural number ddd, there exists a nonnegative real CCC such that for every positive real ε\varepsilonε, there exists a natural number NNN such that, for every natural number n≥Nn\ge Nn≥N, the uniform probability that the maximum load is at most log⁡log⁡(n+1)/log⁡(d+2)+C\log\log(n+1)/\log(d+2)+Cloglog(n+1)/log(d+2)+C is at least 1−ε1-\varepsilon1−ε. The maximum load is obtained by allocating n+1n+1n+1 balls sequentially to n+1n+1n+1 initially empty bins, each ball making d+2d+2d+2 independent uniform choices with replacement and joining the earliest choice of minimum current load. The constant CCC may depend on ddd but not on ε\varepsilonε or nnn; NNN may depend on ddd and ε\varepsilonε.

Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Yuxuan Xu · Oct 29, 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