Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4.2 ([Bri17]) — a random kkk-partition puts at most max⁡{1,6log⁡(k/q)}\max\{1,6\log(k/q)\}max{1,6log(k/q)} of any kkk elements in each part

Proved
RelatedSchedFPTAS796.Main.lemma_4_2

by mikedeng1 · Nov 11, 2026 · Mathlib 0df444a (Lean v4.33.1)

p2o-batch-stoc27ap2o-gran-per-chapterp2o-plan-paperp2o-v1probabilityrandom-partition

Let XXX be a multiset, k>0k>0k>0 an integer and q∈(0,1)q\in(0,1)q∈(0,1), and let X1,…,XkX_1,\dots,X_kX1​,…,Xk​ be a random partition of XXX. For any Y⊆XY\subseteq XY⊆X with ∣Y∣≤k|Y|\le k∣Y∣≤k, with probability at least 1−q1-q1−q,

∣Y∩Xj∣ ≤ max⁡{1, 6log⁡(k/q)}for all j∈{1,…,k},|Y\cap X_j|\ \le\ \max\{1,\,6\log(k/q)\}\quad\text{for all } j\in\{1,\dots,k\},∣Y∩Xj​∣ ≤ max{1,6log(k/q)}for all j∈{1,…,k},

with log⁡\loglog base 2.

In the proof of Lemma 4.4 it bounds, in every first-layer part, the number of jobs on the small-scale machines 1,…,d′1,\dots,d'1,…,d′.

Differences from the source:

  • encoding: a multiset XXX of integers and Y⊆XY\subseteq XY⊆X → the NNN occurrences of XXX and a set YYY of occurrences; reason: the integer values play no role in the statement
  • encoding: a random partition of XXX → a uniformly random map from the occurrences to the parts, probability = fraction of maps; reason: Algorithm 1, lines 2 and 8: each occurrence independently and uniformly into a part
Preamble
import Mathlib
import Definitions.Def_RelatedSchedFPTAS796_Main_RandomPartition

set_option autoImplicit false
Formal statement
namespace RelatedSchedFPTAS796.Main

/-- **Lemma 4.2 ([Bri17])**, p.10. Let `X` be a multiset (of `N` occurrences), `k > 0` an integer
and `q ∈ (0, 1)`. Let `X_1, …, X_k` be a random partition of `X`. For any `Y ⊆ X` with `|Y| ≤ k`,
with probability at least `1 − q`, `|Y ∩ X_j| ≤ max{1, 6 log(k/q)}` for all `j ∈ {1, …, k}`
(`log` base 2). -/
theorem lemma_4_2 (N k : ℕ) (hk : 0 < k) (q : ℝ) (hq0 : 0 < q) (hq1 : q < 1)
    (Y : Finset (Fin N)) (hY : Y.card ≤ k) :
    1 - q ≤ partitionProb N k
      (fun f => ∀ j, (partCount f Y j : ℝ) ≤ max 1 (6 * Real.logb 2 (k / q))) := by sorry

end RelatedSchedFPTAS796.Main
Source
Lin Chen, Tingwei Hu, Jiayi Lian, Yuchen Mao, Guochuan Zhang, Faster Approximation Schemes for Scheduling on Related Machines, STOC 2027 submission #796 (October 2026), source.pdf SHA-256 5d7d0135eed9cbe942c80598e2bb07d8c56ab67aec0d6e8486a067237654f7f3, p.10, Lemma 4.2 ([Bri17])
Human review
  • Endorsed by Shuze Chen · Nov 11, 2026

    Confirmed by the moderator at approval.

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