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 1 / 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 and Andrei Graur. Efficient splitting of necklaces. In 48th International Colloquium on Automata, Languages, and Programming (ICALP) , volume 198 of Leibniz International Proceedings in Informatics , pages 14:1--14:17. Schloss Dagstuhl--Leibniz-Zentrum f ü r Informatik, 2021. 10.4230/LIPIcs.ICALP.2021.14.DOI
  2. Haris Aziz. A deterministic polynomial-query protocol for envy-free cake cutting, 2026. URL https://arxiv.org/abs/2611.30002v1. Version 1, 23 November 2026; Appendix H gives the improved query bound.link
  3. Haris Aziz and Simon Mackenzie. A discrete and bounded envy-free cake cutting protocol for any number of agents. In 2016 IEEE 57th Annual Symposium on Foundations of Computer Science (FOCS) , pages 416--427, 2016 a . 10.1109/FOCS.2016.52. URL https://arxiv.org/abs/1604.03655v12. Corrected full version: arXiv:1604.03655v12, 27 August 2017.arXivDOI
  4. Haris Aziz and Simon Mackenzie. A discrete and bounded envy-free cake cutting protocol for four agents. In Proceedings of the 48th Annual ACM Symposium on Theory of Computing (STOC) , pages 454--464, 2016 b . 10.1145/2897518.2897522. URL https://arxiv.org/abs/1508.05143.DOI
  5. Haris Aziz and Simon Mackenzie. Bounded and envy-free cake cutting. ACM SIGecom Exchanges , 15 0 (2): 0 30--33, 2017. 10.1145/3055589.3055593. URL https://www.cse.unsw.edu.au/~haziz/efcake_sigecom.pdf.DOI
  6. Steven J. Brams and Alan D. Taylor. An envy-free cake division protocol. The American Mathematical Monthly , 102 0 (1): 0 9--18, 1995. 10.1080/00029890.1995.11990526.DOI
  7. Johannes Brustle, Jack Dippel, Vishnu V. Narayan, Mashbat Suzuki, and Adrian Vetta. One dollar each eliminates envy. In Proceedings of the 21st ACM Conference on Economics and Computation (EC) , pages 23--39, 2020. 10.1145/3391403.3399447. URL https://arxiv.org/abs/1912.02797.DOI
  8. Bryce Cai, Ali Malik, Nitya Mani, and Prasanna Ramakrishnan. Envy free cake cutting. CS 269I project manuscript, Stanford University, 6 December 2018.
  9. Marcelo H. Carvalho, Cl á udio L. Lucchesi, and U. S. R. Murty. Ear decompositions of matching covered graphs. Combinatorica , 19: 0 151--174, 1999. 10.1007/s004930050051.DOI
  10. Alireza Farhadi and Mohammadtaghi Hajiaghayi. The query complexity of envy-free division: Cake, chores, and mixed resources. arXiv:2611.11424v2, 2026. URL https://arxiv.org/abs/2611.11424v2. Preprint, 10 November 2026.arXiv
Show all 23 referencesShow fewer references
  1. Daniel Halpern and Nisarg Shah. Fair division with subsidy. In Proceedings of the 12th International Symposium on Algorithmic Game Theory (SAGT) , volume 11801 of Lecture Notes in Computer Science , pages 374--389. Springer, 2019. URL https://www.cs.toronto.edu/~nisarg/papers/subsidy.sagt19.pdf.link
  2. Alexandros Hollender and Aviad Rubinstein. Envy-free cake-cutting for four agents. Journal of the ACM , 72 0 (5): 0 34:1--34:54, 2025. 10.1145/3765615.DOI
  3. Simon Mackenzie. Upper Bounds for Cake Cutting . PhD thesis, University of New South Wales, 2017. URL https://hdl.handle.net/1959.4/58448.link
  4. Simon Mackenzie, n.d. Unpublished notes on a cubic lower bound for envy-free cake cutting. See also Aziz and Mackenzie AzizMackenzie2017 .
  5. Simon Mackenzie and Mashbat Suzuki. Exact envy-free cake cutting with polynomial expected queries. arXiv:2610.28535v1, 2026 a . URL https://arxiv.org/abs/2610.28535v1. Preprint, 20 October 2026.arXiv
  6. Simon Mackenzie and Mashbat Suzuki. Nearly settling the complexity of connected ε\varepsilon -envy-free cake cutting, 2026 b . URL https://arxiv.org/abs/2611.20890v2. Version 2, November 17, 2026.link
  7. Ariel D. Procaccia. Thou shalt covet thy neighbor's cake. In Proceedings of the Twenty-First International Joint Conference on Artificial Intelligence (IJCAI) , pages 239--244, 2009. URL https://ijcai.org/proceedings/2009/0049.pdf.link
  8. Alexandros Psomas. Cutting a cake for human consumption: An elementary nn -agent cake cutting protocol. arXiv:2610.30370v1, 2026. URL https://arxiv.org/abs/2610.30370v1. Preprint, 21 October 2026.arXiv
  9. Jack Robertson and William Webb. Cake-Cutting Algorithms: Be Fair If You Can . A K Peters, 1998. 10.1201/9781439863855.DOI
  10. Lloyd S. Shapley and Martin Shubik. The assignment game I : The core. International Journal of Game Theory , 1 0 (1): 0 111--130, 1971. 10.1007/BF01753437.DOI
  11. Georgy Sokolov. An exponential envy-free cake cutting protocol for nn agents. arXiv:2306.03854v1, 2023. URL https://arxiv.org/abs/2306.03854v1.arXiv
  12. Walter Stromquist. Envy-free cake divisions cannot be found by finite protocols. Electronic Journal of Combinatorics , 15 0 (1): 0 R11, 2008. 10.37236/735.DOI
  13. Qilin Ye and Yannan Bai. Cutting down the tower: Single-exponential envy-free cake cutting. arXiv:2609.05191v2, 2026. URL https://arxiv.org/abs/2609.05191v2. Preprint, version 2.arXiv

Version history

  1. v1 · 128 pagesSubmitted by Prasanna RamakrishnanInitial depositCurrentDec 02, 2026