Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 6.1 — B_N(x₁,…,x_N) ≤ 2 Σ x_i + 1

Proved
TalagrandConc.BinPacking.lemma_6_1

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

bin-packingcombinatoricsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1

Let x1,…,xN∈[0,1]x_1,\dots,x_N \in [0,1]x1​,…,xN​∈[0,1] be item sizes and BN(x1,…,xN)B_N(x_1,\dots,x_N)BN​(x1​,…,xN​) the minimum number of unit bins into which they can be packed. Then

BN(x1,…,xN)≤2∑i≤Nxi+1.B_N(x_1,\dots,x_N) \le 2\sum_{i \le N} x_i + 1 .BN​(x1​,…,xN​)≤2i≤N∑​xi​+1.

This deterministic bound says that the optimal number of bins is at most twice the total size plus one. It is one of the "trivial facts about bin packing" on which Talagrand's concentration argument for BNB_NBN​ rests.

Preamble
import Mathlib
import Definitions.Def_TalagrandConc_BinPacking_Basic
Formal statement
namespace TalagrandConc.BinPacking

/-- Talagrand (1995), p. 151, Lemma 6.1: `B_N(x₁, …, x_N) ≤ 2 ∑_{i ≤ N} x_i + 1`. -/
theorem lemma_6_1 {N : ℕ} (x : Fin N → unitInterval) :
    (binNumber x : ℝ) ≤ 2 * ∑ i, (x i : ℝ) + 1 := by sorry

end TalagrandConc.BinPacking
Source
Talagrand, Concentration of measure and isoperimetric inequalities in product spaces, Publ. Math. IHÉS 81 (1995), p. 151, Lemma 6.1
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

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