Algorithm Search⌘K

Theoremresearch

EFX existence for three agents

Also called Chaudhury-Garg-Mehlhorn theorem.

Every instance with three agents and additive valuations has an allocation that is envy-free up to any good.

The EFX existence theorem for three agents, by Chaudhury, Garg and Mehlhorn, states that three agents with additive valuations can always share a set of indivisible goods so that the allocation is envy-free up to any good (EFX). Before it, existence was known only for two agents and for agents with identical valuations. The proof is an algorithm that improves a partial EFX allocation step by step. Its main new tool is a lexicographic potential, which lets the algorithm make one fixed agent better off when no Pareto improvement exists. For four or more agents with additive valuations, the question is an open problem in the 2026 sources cited on the EFX page.

Statement

Theorem (Chaudhury, Garg and Mehlhorn, Theorem 20). Let three agents have additive valuations v1,v2,v3v_1, v_2, v_3 with vi(g)≥0v_i(g) \ge 0 on a finite set MM of goods. Then there is an allocation X=(X1,X2,X3)X = (X_1, X_2, X_3) of all goods with

vi(Xi)≥vi(Xj∖{g})for all i≠j and every g∈Xj.v_i(X_i) \ge v_i(X_j \setminus \{g\}) \quad \text{for all } i \ne j \text{ and every } g \in X_j.

This is the stronger version of EFX, in which goods of value zero also count.

In plain words

Three people split a pile of items that cannot be cut, and each person adds up their own values. The theorem says that there is always a split in which nobody is jealous of another person's pile once any single item is taken out of that pile, even the item the jealous person cares least about.

The proof starts with nobody holding anything and hands out items one at a time. Sometimes it must take items back and swap half-piles between people to keep the rule. To show that this ends, it ranks the splits: first by how happy one chosen person is, then the second, then the third. Every step moves to a split with a higher rank, so the process cannot run forever.

Proof

The proof for two agents is short and complete. The proof for three agents is long, and this section gives its structure.

Two agents. Agent 1 sorts the goods by its own value, largest first, and puts each good into the bundle of smaller current value for v1v_1. When good gg joins bundle BB, every good already in BB is worth at least gg to agent 1, and v1(B)≤v1(C)v_1(B) \le v_1(C) for the other bundle CC. So v1(B∪{g})−v1(g)≤v1(C)v_1(B \cup \{g\}) - v_1(g) \le v_1(C), and since CC only grows later and the last good of a bundle is its least valuable one, the final bundles satisfy v1(B)≥v1(C∖{h})v_1(B) \ge v_1(C \setminus \{h\}) and v1(C)≥v1(B∖{h})v_1(C) \ge v_1(B \setminus \{h\}) for every good hh of the other bundle. Agent 2 takes the bundle it prefers, as in divide and choose, and agent 1 takes the other. Agent 2 envies nobody, and agent 1 meets EFX with either bundle. □\square

Three agents. The steps below follow Sections 2 to 4 of Chaudhury, Garg and Mehlhorn.

  1. No ties. Number the goods g1,…,gmg_1, \dots, g_m and set vi′(gj)=vi(gj)+ε2jv'_i(g_j) = v_i(g_j) + \varepsilon 2^j, with ε 2m+1\varepsilon\, 2^{m+1} smaller than every nonzero difference ∣vi(S)−vi(T)∣|v_i(S) - v_i(T)|. Then every strict preference of viv_i stays strict under vi′v'_i, no agent values two different sets the same, and an EFX allocation for v′v' is EFX for vv (Lemma 1). From here on every agent values every good positively and has no ties.
  2. A potential. Name the agents a,b,ca, b, c and compare partial allocations by the triple φ(X)=(va(Xa),vb(Xb),vc(Xc))\varphi(X) = (v_a(X_a), v_b(X_b), v_c(X_c)) in lexicographic order. Start from the empty allocation, which is EFX. The goal is: for every partial EFX allocation XX and every unallocated good gg, find a partial EFX allocation YY with φ(Y)>φ(X)\varphi(Y) > \varphi(X). There are finitely many allocations, so the process ends, and it can end only when every good is allocated.
  3. Acyclic envy graph. In the envy graph EXE_X, an edge i→ji \to j means that ii envies jj. Rotating the bundles along a cycle keeps EFX and makes every agent on the cycle better off (Fact 5, after Lipton et al.), so EXE_X can be taken acyclic.
  4. Champions. For a set SS that agent ii envies, let κX(i,S)\kappa_X(i, S) be the size of a smallest subset of SS that ii still envies. Agent ii champions jj if ii envies Xj∪{g}X_j \cup \{g\} and has the smallest κX(i,Xj∪{g})\kappa_X(i, X_j \cup \{g\}) among the agents. Every bundle Xj∪{g}X_j \cup \{g\} has a champion, since jj itself envies it, so the champion graph MXM_X has an incoming edge at every agent and contains a cycle (Observation 3).
  5. Easy cases. If ii champions ss and ii is reachable from ss in EXE_X, each agent on the path from ss to ii takes the bundle it envies, ii takes a smallest subset of Xs∪{g}X_s \cup \{g\} that it envies, and the other goods return to the pool. Nobody strongly envies the new bundle of ii, because ii is a most envious agent, and the result is an EFX allocation that Pareto dominates XX (Observation 6, from Chaudhury, Kavitha, Mehlhorn and Sgouritsa). This settles the cases where EXE_X has a single source, since then every agent is reachable from it, and where some agent champions itself (Corollary 7).
  6. Hard cases. What remains is an acyclic EXE_X with two or three sources and no self-champion. Here each bundle Xj∪{g}X_j \cup \{g\} is split into an upper half and a lower half, defined by the smallest subset that the champion of jj envies, and the halves are moved between agents. With three sources, this always gives a Pareto improvement (Lemma 15). With two sources, there is a configuration where no Pareto improvement exists; the case analysis then makes agent aa strictly better off, which raises φ\varphi even if another agent loses (Lemma 19).

Steps 5 and 6 cover every partial EFX allocation that is not complete, so step 2 gives a complete EFX allocation (Theorem 20). ■\blacksquare

Consequences

  • EFX for three additive agents (theorem). The question of Caragiannis et al. (EC 2016) is settled for n=3n = 3. The proof is constructive, but the potential argument shows only that the process is finite; it gives no polynomial bound on the number of steps.
  • Pareto improvements are not enough. Chaudhury, Garg and Mehlhorn (Theorem 21) give three agents and seven goods with a partial EFX allocation of the first six goods that no complete EFX allocation Pareto dominates. So methods that only make Pareto improvements, such as those of Plaut and Roughgarden and of Chaudhury et al. (SODA 2020), cannot always reach a complete allocation; this is why step 2 uses a lexicographic potential.
  • A conjecture fails. Caragiannis, Gravin and Huang (EC 2019) showed that some partial EFX allocation has at least half of the maximum Nash welfare, and they conjectured that adding a good to an instance with an EFX allocation gives an instance with an EFX allocation of at least the same Nash welfare. Chaudhury, Garg and Mehlhorn (Theorem 24 and Conjecture 23) give three agents and seven goods where a partial EFX allocation has higher Nash welfare than every complete EFX allocation, so the conjecture is false (theorem).
  • More agents. For four or more additive agents, existence is an open problem; the partial results, with dates, are on the EFX page.

Tightness

  • Additivity matters. For two agents, EFX allocations exist for all monotone valuations (Plaut and Roughgarden), but the three-agent theorem is proved for additive valuations only. A preprint gives three agents with submodular valuations and eight goods with no EFX allocation ("EFX Need Not Exist", arXiv:2604.18216, first version April 2026, preprint). If it is correct, the theorem cannot be extended to all monotone valuations.
  • Not with efficiency for free. The theorem gives no Pareto optimality and no Nash welfare bound, and the instance of Theorem 24 shows that the complete EFX allocations can all have lower Nash welfare than a partial one. For EF1, by contrast, maximum Nash welfare gives fairness and Pareto optimality together.

History

Caragiannis, Kurokawa, Moulin, Procaccia, Shah and Wang defined EFX at EC 2016 and asked whether EFX allocations always exist. Plaut and Roughgarden (SODA 2018) proved existence for two agents and for identical valuations. Chaudhury, Kavitha, Mehlhorn and Sgouritsa (SODA 2020) proved that a partial EFX allocation with a small pool of unallocated goods always exists, using most envious agents. Chaudhury, Garg and Mehlhorn proved the three-agent case at EC 2020, and the journal version appeared in the Journal of the ACM in 2024.

References

  1. Bhaskar Ray Chaudhury, Jugal Garg and Kurt Mehlhorn, EFX exists for three agents, Journal of the ACM 71(1) (2024), 1-27 (conference version EC 2020; arXiv:2002.05119), Section 2 (Lemma 1 on non-degenerate instances, the potential, most envious agents and champions, Observation 3, Fact 5, Observation 6 and Corollary 7), Sections 3 and 4 (Lemmas 15 and 19), Theorem 20, and Section 5 (Theorems 21 and 24, Conjecture 23); numbers as in arXiv:2002.05119v3
  2. Benjamin Plaut and Tim Roughgarden, Almost envy-freeness with general valuations, SIAM Journal on Discrete Mathematics 34(2) (2020), 1039-1068 (conference version SODA 2018), the existence of EFX allocations for two agents and for identical valuations
  3. Bhaskar Ray Chaudhury, Telikepalli Kavitha, Kurt Mehlhorn and Alkmini Sgouritsa, A little charity guarantees almost envy-freeness, Proceedings of the 31st ACM-SIAM Symposium on Discrete Algorithms (SODA 2020), 2658-2672, the most envious agent and the update rule cited as Observation 6 by Chaudhury, Garg and Mehlhorn
  4. Richard J. Lipton, Evangelos Markakis, Elchanan Mossel and Amin Saberi, On approximately fair allocations of indivisible goods, Proceedings of the 5th ACM Conference on Electronic Commerce (EC 2004), 125-131, the envy graph and the rotation of envy cycles (cited as Fact 5 by Chaudhury, Garg and Mehlhorn)
  5. Ioannis Caragiannis, Nick Gravin and Xin Huang, Envy-freeness up to any item with high Nash welfare: the virtue of donating items, Proceedings of the 20th ACM Conference on Economics and Computation (EC 2019), 527-545, partial EFX allocations with half of the maximum Nash welfare, and the conjecture on adding a good
  6. Ioannis Caragiannis, David Kurokawa, Herve Moulin, Ariel D. Procaccia, Nisarg Shah and Junxing Wang, The unreasonable fairness of maximum Nash welfare, ACM Transactions on Economics and Computation 7(3) (2019), article 12 (conference version EC 2016), Definition 4.4 (EFX) and the open question on its existence

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/JDM3S7/text.yaml