Tight Deterministic Bounds for Exact Envy-Free Cake Cutting

Primarily AI-generated textHuman understanding: some partscs.DS — Data Structures and Algorithms

Contributed by Haris Aziz, Simina Brânzei, Alireza Farhadi, MohammadTaghi Hajiaghayi, Simon Mackenzie, Ariel D. Procaccia, Alexandros Psomas ↗, Prasanna Ramakrishnan, Nisarg Shah, Mashbat Suzuki, Qilin Ye

Version 2 / Dec 02, 2026 / CC BY 4.0

Abstract

How many queries does it take to divide a cake among nn agents so that nobody envies anybody else? In the standard Robertson–Webb query model we show that the answer, for deterministic protocols, is Θ(n3)\Theta(n^3). We give a deterministic protocol that always returns a complete and exactly envy-free allocation using O(n3)O(n^3) evaluation and cut queries, for arbitrary nonnegative nonatomic valuations and every legal answer to a cut query. This improves the previous best bound of O(n6log⁡n)O(n^6\log n). We complement it with an Ω(n3)\Omega(n^3) lower bound for deterministic protocols that holds even when all valuations have smooth densities arbitrarily close to uniform and bundles may consist of arbitrarily many intervals. The upper bound rests on a simple accounting principle: every agent–bundle comparison is settled once and for all, at an amortized cost of O(n)O(n) queries. We make this work by combining supporting prices of optimal assignments, physical “payments” that turn numerical slack into permanent domination, a counting argument over sparse certificates of matching-covered graphs, and a potential based on the sum of cubes of the group sizes. The lower bound hides one base-BB digit per group of agents in tiny value transfers, and forces any correct protocol to spend Ω(n2)\Omega(n^2) queries per group before the digit can be read.

Provenance statement

The proofs in this manuscript were developed primarily by GPT-6.2 Astra, using suggestions from the contributors as starting points. The lower bound grew out of unpublished notes by Mackenzie and Cai, Malik, Mani, and Ramakrishnan. The upper bound builds on Aziz’s recent preprint and work of Halpern and Shah. The final $O(n^3)$ bound was developed over many iterations, and benefited from the help of Fable 5.2 in the final stages. An intermediate $O(n^3)$ randomized protocol also drew on preprints by Mackenzie and Suzuki and by Farhadi and Hajiaghayi. Formalized Lean proofs are available at a GitHub repository linked in the paper. While the formalization of the final upper bound is in progress, we include the formalization of the lower bound as well as two intermediate upper bounds: the $O(n^3)$ randomized protocol and an $O(n^3 \log n)$ deterministic protocol. This manuscript intentionally does not have human authorship, and the contributors are organizing a collaboration to extend the ideas to related settings and close gaps therein, and ultimately produce high-quality expositions within the next couple of months. We invite interested researchers to join the effort at a Zulip channel, linked in the paper.

References

  1. Noga Alon; Andrei Graur. Efficient Splitting of Necklaces. 48th International Colloquium on Automata, Languages, and Programming (ICALP), vol. 198, pp. 14:1–14:17. 2021DOI
  2. Haris Aziz. A Deterministic Polynomial-Query Protocol for Envy-Free Cake Cutting. 2026. Version 1, 23 November 2026; Appendix H gives the improved query boundarXivDOI
  3. Haris Aziz; Simon Mackenzie. A Discrete and Bounded Envy-Free Cake Cutting Protocol for Any Number of Agents. 2016 IEEE 57th Annual Symposium on Foundations of Computer Science (FOCS), pp. 416–427. 2016. Corrected full version: arXiv:1604.03655v12, 27 August 2017arXivDOI
  4. Haris Aziz; Simon Mackenzie. A Discrete and Bounded Envy-Free Cake Cutting Protocol for Four Agents. Proceedings of the 48th Annual ACM Symposium on Theory of Computing (STOC), pp. 454–464. 2016DOI
  5. Haris Aziz; Simon Mackenzie. Bounded and Envy-Free Cake Cutting. ACM SIGecom Exchanges, vol. 15, no. 2, pp. 30–33. 2017DOI
  6. Haris Aziz; Xinhang Lu; Simon Mackenzie; Mashbat Suzuki. Fair Division with Indivisible Goods, Chores, and Cake. Proceedings of the 27th ACM Conference on Economics and Computation (EC 2026). 2026link
  7. Steven J. Brams; Alan D. Taylor. An Envy-Free Cake Division Protocol. The American Mathematical Monthly, vol. 102, no. 1, pp. 9–18. 1995DOI
  8. Johannes Brustle; Jack Dippel; Vishnu V. Narayan; Mashbat Suzuki; Adrian Vetta. One Dollar Each Eliminates Envy. Proceedings of the 21st ACM Conference on Economics and Computation (EC), pp. 23–39. 2020DOI
  9. Bryce Cai; Ali Malik; Nitya Mani; Prasanna Ramakrishnan. Envy Free Cake Cutting. 2018. CS 269I project manuscript, Stanford University
  10. J. Edmonds; L. Lovász; W. R. Pulleyblank. Brick decompositions and the matching rank of graphs. Combinatorica, vol. 2, no. 3, pp. 247–274. 1982DOI
Show all 29 referencesShow fewer references
  1. Edmund Eisenberg; David Gale. Consensus of Subjective Probabilities: The Pari-Mutuel Method. The Annals of Mathematical Statistics, vol. 30, no. 1, pp. 165–168. 1959
  2. Alireza Farhadi; Mohammadtaghi Hajiaghayi. The Query Complexity of Envy-Free Division: Cake, Chores, and Mixed Resources. 2026. Preprint, 10 November 2026. arXiv:2611.11424v2DOI
  3. Daniel Halpern; Nisarg Shah. Fair Division with Subsidy. Proceedings of the 12th International Symposium on Algorithmic Game Theory (SAGT), vol. 11801, pp. 374–389. 2019link
  4. Charles R. Hobby; John R. Rice. A moment problem in L1L_1 approximation. Proceedings of the American Mathematical Society, vol. 16, no. 4, pp. 665–670. 1965DOI
  5. Alexandros Hollender; Aviad Rubinstein. Envy-Free Cake-Cutting for Four Agents. Journal of the ACM, vol. 72, no. 5, pp. 34:1–34:54. 2025DOI
  6. L. Lovász; M. D. Plummer. Matching Theory. North-Holland, vol. 29. 1986
  7. Simon Mackenzie. Upper Bounds for Cake Cutting. 2017DOI
  8. Simon Mackenzie, n.d. Unpublished notes on a cubic lower bound for envy-free cake cutting. See also Aziz and Mackenzie AzizMackenzie2017 .
  9. Simon Mackenzie; Mashbat Suzuki. Exact Envy-Free Cake Cutting with Polynomial Expected Queries. 2026. Preprint, 20 October 2026. arXiv:2610.28535v1link
  10. Simon Mackenzie; Mashbat Suzuki. Nearly Settling the Complexity of Connected ε\varepsilon-Envy-Free Cake Cutting. 2026. Version 2, November 17, 2026arXiv
  11. Allan Pinkus. A simple proof of the Hobby–Rice theorem. Proceedings of the American Mathematical Society, vol. 60, no. 1, pp. 82–84. 1976DOI
  12. Ariel D. Procaccia. Thou Shalt Covet Thy Neighbor's Cake. Proceedings of the Twenty-First International Joint Conference on Artificial Intelligence (IJCAI), pp. 239–244. 2009link
  13. Alexandros Psomas. Cutting a Cake for Human Consumption: An Elementary nn-Agent Cake Cutting Protocol. 2026. Preprint, 21 October 2026. arXiv:2610.30370v1link
  14. Jack Robertson; William Webb. Cake-Cutting Algorithms: Be Fair If You Can. A K Peters. 1998DOI
  15. Lloyd S. Shapley; Martin Shubik. The Assignment Game I: The Core. International Journal of Game Theory, vol. 1, no. 1, pp. 111–130. 1971DOI
  16. David B. Shmoys; Éva Tardos. An Approximation Algorithm for the Generalized Assignment Problem. Mathematical Programming, vol. 62, pp. 461–474. 1993DOI
  17. Georgy Sokolov. An Exponential Envy-Free Cake Cutting Protocol for nn Agents. 2023. arXiv:2306.03854v1link
  18. Walter Stromquist. Envy-Free Cake Divisions Cannot Be Found by Finite Protocols. Electronic Journal of Combinatorics, vol. 15, no. 1, pp. R11. 2008DOI
  19. Qilin Ye; Yannan Bai. Cutting Down the Tower: Single-Exponential Envy-Free Cake Cutting. 2026. Preprint, version 2. arXiv:2609.05191v2link

Version history

  1. v1 · 128 pagesSubmitted by Prasanna RamakrishnanInitial depositSupersededDec 02, 2026
  2. v2 · 128 pagesSubmitted by Prasanna RamakrishnanSubmitted as a new versionCurrentDec 02, 2026