Algorithm Search⌘K

Definitionadvanced

Envy-freeness up to any good

Also called EFX.

Envy disappears after removing any one good from the envied bundle. EFX allocations exist for two agents and for three additive agents; for four or more additive agents it is open.

Envy-freeness up to any good (EFX) is a fairness notion for the allocation of indivisible goods: if agent ii envies agent jj, the envy must disappear when any single good, even the one that ii values least, is removed from the bundle of jj. It is stronger than envy-freeness up to one good (EF1), which removes only the best good, and weaker than envy-freeness. Caragiannis et al. defined it in 2016. EFX allocations are known to exist for two agents, for identical valuations and for three agents with additive valuations; for four or more agents with additive valuations, existence is an open problem.

Definition

Let N={1,…,n}N = \{1, \dots, n\} be the agents, MM the set of mm goods, viv_i the monotone valuation of agent ii with vi(∅)=0v_i(\emptyset) = 0, and A=(A1,…,An)A = (A_1, \dots, A_n) an allocation of all goods. The allocation is EFX if

vi(Ai)≥vi(Aj∖{g})for all agents i≠j and every good g∈Aj.v_i(A_i) \ge v_i(A_j \setminus \{g\}) \quad \text{for all agents } i \ne j \text{ and every good } g \in A_j.

Following Chaudhury, Garg and Mehlhorn, agent ii strongly envies a bundle SS if vi(Ai)<vi(S∖{g})v_i(A_i) < v_i(S \setminus \{g\}) for some g∈Sg \in S. An allocation is EFX exactly when no agent strongly envies the bundle of another agent.

Two versions. Caragiannis et al. (Definition 4.4) require the inequality only for goods g∈Ajg \in A_j with vi(g)>0v_i(g) > 0. Chaudhury, Garg and Mehlhorn, and many later papers, require it for every g∈Ajg \in A_j, as above. When all values of single goods are positive, the two versions agree. The version for every good is stronger, and the existence results on this page use it unless a line says otherwise. (Some papers call the version for every good EFX0_0.)

For additive valuations, the test for the pair (i,j)(i, j) uses the good of AjA_j that ii values least:

vi(Ai)≥vi(Aj)−min⁡g∈Ajvi(g),v_i(A_i) \ge v_i(A_j) - \min_{g \in A_j} v_i(g),

so EFX is checked in O(nm)O(n m) time from the n×mn \times m table of values, the same as EF1. For a general valuation given by an oracle, the test takes at most nmn m value queries.

Examples and non-examples

  • EF1 but not EFX. Two agents both value goods g1,g2,g3g_1, g_2, g_3 at 1,1,21, 1, 2 (the example of Chaudhury, Kavitha, Mehlhorn and Sgouritsa). The allocation {g1}\{g_1\}, {g2,g3}\{g_2, g_3\} is EF1: the first agent has 1, and removing g3g_3 from the other bundle leaves 1. It is not EFX: removing g2g_2 leaves 2. The allocations that give one agent {g3}\{g_3\} and the other {g1,g2}\{g_1, g_2\} are EFX, and they are the only ones: if one agent holds g3g_3 and another good, the other agent has at most 1 and values that bundle at 2 or more after the removal of the good worth 1.
  • The two versions differ. Agent 1 values goods aa and bb at 1 and 0, agent 2 values both at 1. The allocation A1=∅A_1 = \emptyset, A2={a,b}A_2 = \{a, b\} satisfies the version with positive goods only: the only good of A2A_2 that agent 1 values is aa, and v1({b})=0≤0v_1(\{b\}) = 0 \le 0. It violates the version for every good, because v1(A2∖{b})=1>0v_1(A_2 \setminus \{b\}) = 1 > 0. The allocation {a}\{a\}, {b}\{b\} meets both versions.
  • EFX but not envy-free. With values 1,1,21, 1, 2 for both agents and the bundles {g3}\{g_3\} and {g1,g2}\{g_1, g_2\}, both agents have 2 and value the other bundle at 2, so this one is envy-free too. Change the values to 1,1,31, 1, 3: now the agent with {g1,g2}\{g_1, g_2\} has 2 and envies the bundle worth 3, but {g3}\{g_3\} minus its only good is empty, so the allocation is still EFX.
  • Not EF1, so not EFX. Any allocation in which some agent ii values AjA_j minus its best good above vi(Ai)v_i(A_i) fails both notions.
  • Identical additive valuations. Sort the goods by value, largest first, and give each one to a bundle of smallest current value. The result is EFX for the common valuation: when good gg joins bundle BB, every good already in BB is worth at least gg, and v(B)≤v(C)v(B) \le v(C) for every other bundle CC, so v(B∪{g})−v(g)=v(B)≤v(C)v(B \cup \{g\}) - v(g) = v(B) \le v(C); bundles only grow afterwards, and the last good added to a bundle is its least valuable one. The EFX existence for three agents page uses this step for two agents.
  • Envy-freeness implies EFX, which implies EF1. Each implication is strict, by the examples above.
  • Partial EFX and EFX with charity. An allocation of a subset of the goods that is EFX among the agents. Chaudhury, Kavitha, Mehlhorn and Sgouritsa (SODA 2020) show that for general monotone valuations there is a partial EFX allocation whose pool PP of unallocated goods has fewer than nn goods and no agent envies the pool (theorem).
  • α\alpha-EFX. The inequality is relaxed to vi(Ai)≥α vi(Aj∖{g})v_i(A_i) \ge \alpha\, v_i(A_j \setminus \{g\}) for a factor α≤1\alpha \le 1.
  • Maximin share: a threshold notion that does not compare bundles. Like EFX, MMS allocations need not be easy to find, but unlike EFX it is known that they may fail to exist.
  • Maximum Nash welfare allocations are EF1 and Pareto optimal for additive valuations, but EFX is a different requirement.

State of the existence question. These results are for the version for every good unless a line says otherwise.

  • Two agents with monotone valuations, and any number of agents with identical monotone valuations: EFX allocations exist (theorem, Plaut and Roughgarden 2020).
  • Three agents with additive valuations: EFX allocations exist (theorem, Chaudhury, Garg and Mehlhorn, JACM 2024).
  • Four or more agents with additive valuations: open. The question was posed by Caragiannis et al. (EC 2016) and is still open in the 2026 sources listed here. Partial results: with four additive agents, there is an EFX allocation that leaves at most one good unallocated (Berger, Cohen, Feldman and Fiat, AAAI 2022, theorem); and with four additive agents and at most nine goods, an EFX allocation exists by a computer-assisted proof (Alkassar, Fouz and Mehlhorn, arXiv:2608.08590, 2026, preprint).
  • Beyond additive valuations: a preprint gives three agents with submodular (weighted coverage) valuations and eight goods with no EFX allocation ("EFX Need Not Exist", arXiv:2604.18216, first version April 2026, preprint). For chores with additive costs, a preprint shows that EFX can fail for four or more agents (arXiv:2606.08872, June 2026, preprint).

References

  1. 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, for goods of positive value) and the open question on its existence
  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, 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 1 (definition, the example with values 1, 1 and 2, and the state of the question) and Section 2 (strong envy)
  4. 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, EFX with charity, with fewer than n unallocated goods that no agent envies

Where this leads

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/PZB80S/text.yaml