Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 6 ([31]), p. 10 — envy-cycle elimination keeps (1 − ε)-EFX, makes E_X acyclic, and no agent is worse off

Proved
RainbowEFX.Sublinear.lemma_6

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

efxenvy-graphfair-divisionp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Throughout, [n][n][n] is the set of agents and MMM the set of mmm indivisible goods; agent iii has an additive valuation viv_ivi​ with vi(S)=∑g∈Svi({g})≥0v_i(S)=\sum_{g\in S}v_i(\{g\})\ge 0vi​(S)=∑g∈S​vi​({g})≥0. A (partial) allocation X=⟨X1,…,Xn⟩X=\langle X_1,\dots,X_n\rangleX=⟨X1​,…,Xn​⟩ consists of pairwise disjoint bundles, and P=M∖⋃iXiP = M\setminus\bigcup_i X_iP=M∖⋃i​Xi​ is the set (pool) of unallocated goods.

Let 0<ε<10<\varepsilon<10<ε<1 and let XXX be a (1−ε)(1-\varepsilon)(1−ε)-EFX allocation. If the envy graph EXE_XEX​ (edge i→ji\to ji→j iff vi(Xi)<vi(Xj)v_i(X_i)<v_i(X_j)vi​(Xi​)<vi​(Xj​)) has a cycle, then there is a (1−ε)(1-\varepsilon)(1−ε)-EFX allocation X′X'X′ such that

vi(Xi′)≥vi(Xi)for all i∈[n],v_i(X'_i)\ge v_i(X_i)\quad\text{for all } i\in[n],vi​(Xi′​)≥vi​(Xi​)for all i∈[n],

EX′E_{X'}EX′​ is acyclic, and X′X'X′ leaves exactly the same goods unallocated as XXX.

Envy-cycle elimination is the first step of every iteration of the paper's algorithm.

Formalization Note The paper's "in polynomial time, we can determine" is formalized as existence; running time is not formalized. The equality of the pools is not in the lemma's sentence; it is taken from footnote 7 on p. 10 (bundles are passed along the cycle, so the set of allocated goods is unchanged), and the paper's termination argument uses it.

Preamble
import Mathlib
import Definitions.Def_RainbowEFX_Sublinear_Setting
Formal statement
namespace RainbowEFX.Sublinear

open LittleCharity.EFX

theorem lemma_6 {n m : ℕ} (v : Fin n → Finset (Fin m) → ℝ)
    (hv : LittleCharity.MMS.IsAdditive v) (ε : ℝ) (hε0 : 0 < ε) (hε1 : ε < 1)
    (X : Fin n → Finset (Fin m)) (hX : IsPartialAllocation X) (hEFX : IsAlphaEFX (1 - ε) v X)
    (hcyc : ∃ i, Relation.TransGen (Envies v X) i i) :
    ∃ X' : Fin n → Finset (Fin m), IsPartialAllocation X' ∧ IsAlphaEFX (1 - ε) v X' ∧
      (∀ i, v i (X i) ≤ v i (X' i)) ∧ EnvyAcyclic v X' ∧ pool X' = pool X := by sorry

end RainbowEFX.Sublinear
Source
Chaudhury, Garg, Mehlhorn, Mehta, Misra, Improving EFX Guarantees through Rainbow Cycle Number, arXiv:2103.01628v1, p. 10, Lemma 6 and footnote 7
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

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