\documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[margin=1in]{geometry} \usepackage{amsmath,amssymb,amsthm,mathtools} \usepackage{microtype,enumitem,booktabs,array,tabularx} \usepackage{graphicx,tikz} \usetikzlibrary{arrows.meta,positioning,calc,patterns,fit,decorations.pathreplacing,backgrounds} \usepackage[section]{placeins} \usepackage[most]{tcolorbox} \usepackage{needspace} \usepackage{xcolor} \usepackage{colortbl} \usepackage{xltabular} \setlength{\LTcapwidth}{\textwidth} \definecolor{linkblue}{HTML}{204B70} \definecolor{posc}{HTML}{2E7D32} \definecolor{negc}{HTML}{C62828} \definecolor{uc}{HTML}{1565C0} \usepackage[colorlinks=true,linkcolor=linkblue,citecolor=linkblue,urlcolor=linkblue]{hyperref} \usepackage[capitalise,nameinlink]{cleveref} \usepackage[numbers,sort&compress]{natbib} \hypersetup{pdftitle={Tight Deterministic Bounds for Exact Envy-Free Cake Cutting}} \setlength{\parindent}{1.2em} \setlength{\parskip}{0pt plus .25pt} \hyphenation{its arXiv} \setlength{\textfloatsep}{12pt plus 2pt minus 3pt} \setlength{\floatsep}{10pt plus 2pt minus 2pt} \setlength{\intextsep}{11pt plus 2pt minus 2pt} \setlist{itemsep=1.5pt plus .5pt minus .5pt,topsep=5pt,parsep=0pt} % Lean marker. Inside a theorem title, as in \begin{lemma}[Payment\leanmark], it puts a % superscript L after the head (use \begin{theorem}[\leanmark] for an untitled result); % in running text \leanmark{} prints the marker. \newif\ifleanhead \newif\ifinthmhead \newcommand{\leanmarksymbol}{} \newcommand{\leanmark}{} \newcommand{\leanheadmark}{\ifleanhead\leanmarksymbol\global\leanheadfalse\fi} \newtheoremstyle{compact}{6pt plus 2pt minus 2pt}{6pt plus 2pt minus 2pt}{\itshape}{}{\bfseries}{.}{.5em}% {\thmname{#1}\thmnumber{ #2}\inthmheadtrue\setbox0\hbox{#3}% \ifdim\wd0=0pt \else\thmnote{ (#3)}\fi\leanheadmark} \theoremstyle{compact} \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{claim}[theorem]{Claim} \newtheorem{fact}[theorem]{Fact} \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition} \newtheorem{assumption}[theorem]{Assumption} \newtheorem{remark}[theorem]{Remark} \newtheorem{example}[theorem]{Example} \newcommand{\R}{\mathbb R} \newcommand{\N}{\mathbb N} \newcommand{\E}{\mathbb E} \newcommand{\Prob}{\mathbb P} \newcommand{\eps}{\varepsilon} \newcommand{\ind}{\mathbf 1} \newcommand{\abs}[1]{\left|#1\right|} \newcommand{\norm}[1]{\left\lVert#1\right\rVert} \newcommand{\Eval}{\operatorname{Eval}} \newcommand{\Cut}{\operatorname{Cut}} \newcommand{\poly}{\operatorname{poly}} \DeclareMathOperator*{\argmax}{arg\,max} \DeclareMathOperator*{\argmin}{arg\,min} \newcommand{\lean}[1]{\texttt{\small #1}} % Link to the Lean development. For double-blind submission replace by an anonymous mirror. \newtcolorbox[auto counter]{protocolbox}[2][]{enhanced,breakable, colback=white,colframe=black,colbacktitle=white,coltitle=black, boxrule=0pt,toprule=.6pt,bottomrule=.6pt,leftrule=0pt,rightrule=0pt, left=4pt,right=4pt,top=4pt,bottom=4pt,arc=0pt, fonttitle=\bfseries,title={Algorithm \thetcbcounter. #2}, title after break={Algorithm \thetcbcounter\ (continued). #2}, before skip=9pt,after skip=9pt,#1} \makeatletter \def\fps@algorithm{tbp} \makeatother \newcommand{\appdivider}[1]{\par\bigskip\needspace{4\baselineskip}\begin{center}\large\bfseries #1\end{center}\addcontentsline{toc}{part}{#1}\medskip} \raggedbottom \setlength{\heavyrulewidth}{0.6pt}\setlength{\lightrulewidth}{0.4pt} \newcommand{\rowsep}{\addlinespace[1.5pt]\arrayrulecolor{black!15}\cmidrule[0.3pt](l{2.5em}r{2.5em}){1-2}\arrayrulecolor{black}\addlinespace[1.5pt]} \newcommand{\rowsepiii}{\addlinespace[1.5pt]\arrayrulecolor{black!15}\cmidrule[0.3pt](l{2.5em}r{2.5em}){1-3}\arrayrulecolor{black}\addlinespace[1.5pt]} \newcommand{\rowsepiv}{\addlinespace[1.5pt]\arrayrulecolor{black!15}\cmidrule[0.3pt](l{2.5em}r{2.5em}){1-4}\arrayrulecolor{black}\addlinespace[1.5pt]} \emergencystretch=3em \allowdisplaybreaks[1] \title{Tight Deterministic Bounds for\\ Exact Envy-Free Cake Cutting} %\author{} \date{} \begin{document} \maketitle \vspace{-2.5em} \begin{abstract} \noindent How many queries does it take to divide a cake among $n$ agents so that nobody envies anybody else? In the standard Robertson--Webb query model we show that the answer, for deterministic protocols, is $\Theta(n^3)$. We give a deterministic protocol that always returns a complete and exactly envy-free allocation using $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(n^6\log n)$. We complement it with an $\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)$ 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-$B$ digit per group of agents in tiny value transfers, and forces any correct protocol to spend $\Omega(n^2)$ queries per group before the digit can be read. \end{abstract} \noindent\textbf{Provenance, AI, and collaboration.} This manuscript is contributed by Haris Aziz, Simina Brânzei, Alireza Farhadi, MohammadTaghi Hajiaghayi, Simon Mackenzie, Ariel D. Procaccia, Alexandros Psomas, Prasanna Ramakrishnan, Nisarg Shah, Mashbat Suzuki, and Qilin Ye. 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~\citep{MackenzieNotes} and Cai, Malik, Mani, and Ramakrishnan~\citep{CaiMalikManiRamakrishnan2018}. The upper bound builds on Aziz's recent preprint~\citep{Aziz2026} and work of Halpern and Shah~\citep{HS19}. 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~\citep{MackenzieSuzuki2026} and by Farhadi and Hajiaghayi~\citep{FarhadiHajiaghayi2026}. Formalized Lean proofs are available in \href{https://github.com/YQL-Skorpion/cubic-EF-cake-cutting-slop}{this GitHub repository}. 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 a $O(n^3 \log n)$ deterministic protocol. This manuscript intentionally does not have human authorship, and in the spirit of \href{https://theorydish.blog/2026/11/18/a-friendlier-equilibrium-for-sharing-research/}{this blog post}, the contributors are organizing a collaboration 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 \href{https://cakecutting.zulipchat.com/join/ksc7tc54ccw32l4ofzrd7i4h/}{join the effort on Zulip}. \clearpage {\small\setcounter{tocdepth}{2}\tableofcontents} \clearpage \input{sections/intro} \input{sections/prelim} \input{sections/upper} \input{sections/detlb} \begin{thebibliography}{23} \providecommand{\natexlab}[1]{#1} \providecommand{\url}[1]{\texttt{#1}} \expandafter\ifx\csname urlstyle\endcsname\relax \providecommand{\doi}[1]{doi: #1}\else \providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi \bibitem[Alon and Graur(2021)]{AG21} Noga Alon and Andrei Graur. \newblock Efficient splitting of necklaces. \newblock In \emph{48th International Colloquium on Automata, Languages, and Programming (ICALP)}, volume 198 of \emph{Leibniz International Proceedings in Informatics}, pages 14:1--14:17. Schloss Dagstuhl--Leibniz-Zentrum f{\"u}r Informatik, 2021. \newblock \doi{10.4230/LIPIcs.ICALP.2021.14}. \bibitem[Aziz(2026)]{Aziz2026} Haris Aziz. \newblock A deterministic polynomial-query protocol for envy-free cake cutting, 2026. \newblock URL \url{https://arxiv.org/abs/2611.30002v1}. \newblock Version 1, 23 November 2026; Appendix H gives the improved query bound. \bibitem[Aziz and Mackenzie(2016{\natexlab{a}})]{AzizMackenzie2016} Haris Aziz and Simon Mackenzie. \newblock A discrete and bounded envy-free cake cutting protocol for any number of agents. \newblock In \emph{2016 IEEE 57th Annual Symposium on Foundations of Computer Science (FOCS)}, pages 416--427, 2016{\natexlab{a}}. \newblock \doi{10.1109/FOCS.2016.52}. \newblock URL \url{https://arxiv.org/abs/1604.03655v12}. \newblock Corrected full version: arXiv:1604.03655v12, 27 August 2017. \bibitem[Aziz and Mackenzie(2016{\natexlab{b}})]{AzizMackenzieFour2016} Haris Aziz and Simon Mackenzie. \newblock A discrete and bounded envy-free cake cutting protocol for four agents. \newblock In \emph{Proceedings of the 48th Annual ACM Symposium on Theory of Computing (STOC)}, pages 454--464, 2016{\natexlab{b}}. \newblock \doi{10.1145/2897518.2897522}. \newblock URL \url{https://arxiv.org/abs/1508.05143}. \bibitem[Aziz and Mackenzie(2017)]{AzizMackenzie2017} Haris Aziz and Simon Mackenzie. \newblock Bounded and envy-free cake cutting. \newblock \emph{ACM SIGecom Exchanges}, 15\penalty0 (2):\penalty0 30--33, 2017. \newblock \doi{10.1145/3055589.3055593}. \newblock URL \url{https://www.cse.unsw.edu.au/~haziz/efcake_sigecom.pdf}. \bibitem[Brams and Taylor(1995)]{BramsTaylor1995} Steven~J. Brams and Alan~D. Taylor. \newblock An envy-free cake division protocol. \newblock \emph{The American Mathematical Monthly}, 102\penalty0 (1):\penalty0 9--18, 1995. \newblock \doi{10.1080/00029890.1995.11990526}. \bibitem[Brustle et~al.(2020)Brustle, Dippel, Narayan, Suzuki, and Vetta]{BrustleEtAl2020} Johannes Brustle, Jack Dippel, Vishnu~V. Narayan, Mashbat Suzuki, and Adrian Vetta. \newblock One dollar each eliminates envy. \newblock In \emph{Proceedings of the 21st ACM Conference on Economics and Computation (EC)}, pages 23--39, 2020. \newblock \doi{10.1145/3391403.3399447}. \newblock URL \url{https://arxiv.org/abs/1912.02797}. \bibitem[Cai et~al.(2018)Cai, Malik, Mani, and Ramakrishnan]{CaiMalikManiRamakrishnan2018} Bryce Cai, Ali Malik, Nitya Mani, and Prasanna Ramakrishnan. \newblock Envy free cake cutting. \newblock {CS} 269I project manuscript, Stanford University, 6 December 2018. \bibitem[Carvalho et~al.(1999)Carvalho, Lucchesi, and Murty]{CLM99} Marcelo~H. Carvalho, Cl{\'a}udio~L. Lucchesi, and U.~S.~R. Murty. \newblock Ear decompositions of matching covered graphs. \newblock \emph{Combinatorica}, 19:\penalty0 151--174, 1999. \newblock \doi{10.1007/s004930050051}. \bibitem[Farhadi and Hajiaghayi(2026)]{FarhadiHajiaghayi2026} Alireza Farhadi and Mohammadtaghi Hajiaghayi. \newblock The query complexity of envy-free division: Cake, chores, and mixed resources. \newblock arXiv:2611.11424v2, 2026. \newblock URL \url{https://arxiv.org/abs/2611.11424v2}. \newblock Preprint, 10 November 2026. \bibitem[Halpern and Shah(2019)]{HS19} Daniel Halpern and Nisarg Shah. \newblock Fair division with subsidy. \newblock In \emph{Proceedings of the 12th International Symposium on Algorithmic Game Theory (SAGT)}, volume 11801 of \emph{Lecture Notes in Computer Science}, pages 374--389. Springer, 2019. \newblock URL \url{https://www.cs.toronto.edu/~nisarg/papers/subsidy.sagt19.pdf}. \bibitem[Hollender and Rubinstein(2025)]{HollenderRubinstein2025} Alexandros Hollender and Aviad Rubinstein. \newblock Envy-free cake-cutting for four agents. \newblock \emph{Journal of the ACM}, 72\penalty0 (5):\penalty0 34:1--34:54, 2025. \newblock \doi{10.1145/3765615}. \bibitem[Mackenzie(2017)]{Mackenzie2017} Simon Mackenzie. \newblock \emph{Upper Bounds for Cake Cutting}. \newblock PhD thesis, University of New South Wales, 2017. \newblock URL \url{https://hdl.handle.net/1959.4/58448}. \bibitem[Mackenzie(n.d.)]{MackenzieNotes} Simon Mackenzie, n.d. \newblock Unpublished notes on a cubic lower bound for envy-free cake cutting. See also Aziz and Mackenzie~\citep[Footnote~2]{AzizMackenzie2017}. \bibitem[Mackenzie and Suzuki(2026{\natexlab{a}})]{MackenzieSuzuki2026} Simon Mackenzie and Mashbat Suzuki. \newblock Exact envy-free cake cutting with polynomial expected queries. \newblock arXiv:2610.28535v1, 2026{\natexlab{a}}. \newblock URL \url{https://arxiv.org/abs/2610.28535v1}. \newblock Preprint, 20 October 2026. \bibitem[Mackenzie and Suzuki(2026{\natexlab{b}})]{MackenzieSuzuki2026Connected} Simon Mackenzie and Mashbat Suzuki. \newblock Nearly settling the complexity of connected {$\varepsilon$}-envy-free cake cutting, 2026{\natexlab{b}}. \newblock URL \url{https://arxiv.org/abs/2611.20890v2}. \newblock Version 2, November 17, 2026. \bibitem[Procaccia(2009)]{Procaccia2009} Ariel~D. Procaccia. \newblock Thou shalt covet thy neighbor's cake. \newblock In \emph{Proceedings of the Twenty-First International Joint Conference on Artificial Intelligence (IJCAI)}, pages 239--244, 2009. \newblock URL \url{https://ijcai.org/proceedings/2009/0049.pdf}. \bibitem[Psomas(2026)]{Psomas2026} Alexandros Psomas. \newblock Cutting a cake for human consumption: An elementary {$n$}-agent cake cutting protocol. \newblock arXiv:2610.30370v1, 2026. \newblock URL \url{https://arxiv.org/abs/2610.30370v1}. \newblock Preprint, 21 October 2026. \bibitem[Robertson and Webb(1998)]{RobertsonWebb1998} Jack Robertson and William Webb. \newblock \emph{Cake-Cutting Algorithms: Be Fair If You Can}. \newblock A K Peters, 1998. \newblock \doi{10.1201/9781439863855}. \bibitem[Shapley and Shubik(1971)]{SS71} Lloyd~S. Shapley and Martin Shubik. \newblock The assignment game {I}: The core. \newblock \emph{International Journal of Game Theory}, 1\penalty0 (1):\penalty0 111--130, 1971. \newblock \doi{10.1007/BF01753437}. \bibitem[Sokolov(2023)]{Sok23} Georgy Sokolov. \newblock An exponential envy-free cake cutting protocol for {$n$} agents. \newblock arXiv:2306.03854v1, 2023. \newblock URL \url{https://arxiv.org/abs/2306.03854v1}. \bibitem[Stromquist(2008)]{Str08} Walter Stromquist. \newblock Envy-free cake divisions cannot be found by finite protocols. \newblock \emph{Electronic Journal of Combinatorics}, 15\penalty0 (1):\penalty0 R11, 2008. \newblock \doi{10.37236/735}. \bibitem[Ye and Bai(2026)]{YeBai2026} Qilin Ye and Yannan Bai. \newblock Cutting down the tower: Single-exponential envy-free cake cutting. \newblock arXiv:2609.05191v2, 2026. \newblock URL \url{https://arxiv.org/abs/2609.05191v2}. \newblock Preprint, version 2. \end{thebibliography} \clearpage \appendix \noindent The appendices contain the complete proof of the upper bound, \cref{thm:upper} (the lower bound is proved in full in \cref{sec:detlb}): \cref{app:roadmap} is a reader's guide, \cref{app:protocol} specifies and analyzes the recursive protocol, and \cref{app:physical} supplies the physical routines it relies on. \input{sections/app0} \section{The recursive protocol and its analysis}\label{app:protocol} This appendix specifies the protocol of \cref{thm:upper} and proves its correctness and query bound; its plan is given in \cref{app:roadmap}. \input{sections/app1} \input{sections/app2} \input{sections/app3} \input{sections/app4} \section{Physical routines}\label{app:physical} This appendix implements the operations on actual cake used by \cref{app:protocol}: queries on ordered pieces, payments and refunds, rounding of fractional divisions, payments at the sparse stage, progress in dense comparison graphs, transfers of signed comparisons, and the recursive trial procedures. \input{sections/app5} \input{sections/app6} \end{document}