Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma B.1 — pack all representatives with few changes

Open
SublinearChoresMMS.Disposal.Supplement.lemma_B_1

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

choresfair-divisionmaximin-sharep2o-batch-stoc27sp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1

There exist absolute constants C5,A>0C_5,A>0C5​,A>0 and an integer n0≥2n_0\ge2n0​≥2, chosen before all instance data, with the following property. For every n≥n0n\ge n_0n≥n0​ and 1≤k<n1\le k<n1≤k<n, the Appendix B block size q=⌊(n2/log⁡n)1/3⌋q=\lfloor(n^2/\log n)^{1/3}\rfloorq=⌊(n2/logn)1/3⌋ is positive. Let q∣mq\mid mq∣m and let nonnegative costs be weakly decreasing in the common order. Suppose that for each agent there is an actual partition of MMM into n−k+1n-k+1n−k+1 bundles of cost at most one. Put L=⌈(n−k)/q+C5log⁡n⌉L=\lceil(n-k)/q+C_5\log n\rceilL=⌈(n−k)/q+C5​logn⌉. For every agent there is a packing ppp of all representatives, including the first, with

∑r:p(r)=tci(e^r)≤1(t∈[L]),#{r≥2:p(r)≠p(r−1)}≤AL2.\sum_{r:p(r)=t}c_i(\widehat e_r)\le1\quad(t\in[L]),\qquad\#\{r\ge2:p(r)\ne p(r-1)\}\le A L^2.r:p(r)=t∑​ci​(er​)≤1(t∈[L]),#{r≥2:p(r)=p(r−1)}≤AL2.

No representative is excluded. Empty representative sequences have zero changes. This is the complete-coverage segmented packing used by both Appendix B companion constructions.

Differences from the source:

  • generalization: the strictly positive distinct ordered proof regime inherited from Section 2 → nonnegative weakly ordered costs with an actual (n-k+1)-part partition of costs at most one; reason: the B.1 packing proof uses only weak order, nonnegativity and that partition; it includes the source regime and also ties, zero costs and empty chores
  • encoding: all representatives packed into L bins with O(L^2) assignment changes → a total map Fin(m/q) to Fin L, unit-load conclusions and one absolute change constant before n, k, m and costs; reason: no representative, including the first, can be excluded; the change count is adjacent label changes rather than the base excluded-first segment count
  • encoding: finite agents, chores, complete partitions and finite lotteries → zero-based Fin labels, owner maps and published finite real-weight laws with positive-weight support; reason: bijections cover exactly the finite source instances, and repeated lottery atoms can be merged
Preamble
import Mathlib
import Definitions.Def_SublinearChoresMMS_Disposal_Supplement_AppendixPacking
Formal statement
namespace SublinearChoresMMS.Disposal.Supplement

/-- Lemma B.1, printed 29 / PDF 30, with the actual (n-k+1)-part partition
assumption of B.1, printed 28 / PDF 29. No representative is excluded. -/
theorem lemma_B_1 :
    ∃ C₅ A : ℝ, 0 < C₅ ∧ 0 < A ∧ ∃ n₀ : ℕ, 2 ≤ n₀ ∧
      ∀ n : ℕ, n₀ ≤ n → ∀ k : ℕ, 1 ≤ k → k < n →
        0 < appendixBlockSize n ∧
        ∀ m : ℕ, appendixBlockSize n ∣ m → ∀ c : Cost n m,
          Nonnegative c → IDO c →
          (∀ i : Fin n, ∃ X : Allocation (n - k + 1) m,
            ∀ j, cost c i (bundle X j) ≤ 1) →
          ∀ i : Fin n,
            ∃ p : AllPacking m (appendixBlockSize n) (appendixBinCount C₅ n k),
              (∀ t, allBinLoad c i p t ≤ 1) ∧
              (labelChanges p : ℝ) ≤ A * (appendixBinCount C₅ n k : ℝ) ^ 2 := by sorry

end SublinearChoresMMS.Disposal.Supplement
Source
Zehan Lin, Xiaowei Wu, Shengwei Zhou, STOC 2027 submission #845 (October 2026), Lemma B.1, printed p. 29 / PDF p. 30. https://github.com/sigact-stoc/stoc2027/releases/download/papers-1/845.pdf

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