A Discrete and Bounded Envy-free Cake Cutting Protocol for Four Agents

Haris Aziz, Simon Mackenzie

Introduction

Cake cutting is a metaphor for the allocation of a heterogeneous divisible good among multiple agents with possibly different preferences over different parts of the cake. Its main application is fair scheduling, resource allocation, and conflict resolution and hence it has been extensively studied within computer science and the social sciences . Since various important divisible resources such as time and land can be captured by cake cutting, the problem of fairly dividing the cake is a fundamental one within the area of fair division and multiagent resource allocation .

Formally speaking, a cake is represented by an interval $andeachoftheand each of thenagentshasavaluefunctionoverpiecesofthecakethatspecifieshowmuchthatagentvaluesaparticularsubinterval.Themainaimistodividethecakefairly.Inparticular,anallocationshouldbeenvy−freesothatnoagentpreferstotakeanotheragent’sallocationinsteadofhisownallocation.Althoughanenvy−freeallocationisguaranteedtoexistevenwithagents has a value function over pieces of the cake that specifies how much that agent values a particular subinterval. The main aim is to divide the cake fairly. In particular, an allocation should be envy-free so that no agent prefers to take another agent’s allocation instead of his own allocation. Although an envy-free allocation is guaranteed to exist even withn-1$ cuts The existence of an envy-free cake allocation can be shown via an interesting connection with Sperner’s Lemma ., finding an envy-free allocation is a challenging problem which has been termed “one of the most important open problems in 20th century mathematics” by Garfunkel .

Unlike allocation of indivisible items , the number of possible allocations in cake cutting is infinite. Since the valuations of agents over the subsets of the cake can be complex, it is not practiceable to elicit each agent’s complete valuations function over the cake. A natural approach in cake cutting protocols to query agents about their valuations of different portions of the cake and based on these queries, propose an allocation. A cake cutting protocol is envy-free if each agent is guaranteed an envy-free piece if he reports his real valuations.

For the case of two agents, the problem has a well-known solution in the form of the Divide and Choose protocol: one agent is asked to cut the cake into equally preferred pieces and the other agent is asked to choose the preferred piece. The protocol even features in the Book of Genesis (Chapter 13) where Abraham divides the land of Canaan and Lot chooses first. In modern times, the protocol has been enshrined in the Convention of the Law of the Sea [Page 10, 6]. For the case of three agents, an elegant and bounded protocol was independently discovered by John L. Selfridge and John H. Conway around 1960 [Page 116, 6]. Since then, an efficient envy-free protocol for four or more agents has eluded mathematicians, economists, and computer scientists.

In 1995, Brams and Taylor made a breakthrough by presenting an envy-free protocol for any number of agents . Although the protocol is guaranteed to terminate in finite time, there is one critical drawback of the protocol: the running time or number of queries and even the number of cuts required is unbounded even for four agents. In other words, the number of queries required to identify an envy-free allocation can be arbitrarily large for certain valuations functions. If a protocol is not bounded, then its practicality is compromised . Procaccia terms unboundedness as a “serious flaw”. Brams and Taylor were cognizant of their protocol’s drawback and explicitly mentioned the problem of proposing a bounded envy-free protocol even for n=4n=4. Lindner and Rothe write that “even for n=4n=4, the development of finite bounded envy-free cake-cutting protocols still appears to be out of reach, and a big challenge for future research.” The problem has remained open and has been highlighted in several works . Saberi and Wang term the problem as “one of the most important open problems in the field” and Lindner and Rothe mention the case for n=4n=4 as “the central open problem in the field of cake-cutting”. In this paper, we present a discrete envy-free protocol for four agents that requires a bounded number of queries as well as cuts of the cake. The maximum number of cuts required is 203.Most of the 203 cuts are technically trims but in the Robertson and Webb model, any marking/trim on the cake is also treated as a proper cut. Some of the techniques we use may be useful for cake cutting protocols with other properties or for more agents. In particular, we propose a new technique (called permutation) in which by suitably reallocating portions of a partial allocation that is envy-free, we ensure that some agent will not be envious of another agent even if the unallocated cake is given to the latter agent.

Related Work

Cake cutting problems originated in the 1940’s when famous mathematicians such as Banach, Knaster, and Steinhaus initiated serious mathematical work on the topic of fair division.Hugo Steinhaus presented the cake cutting problems to the mathematical and social science communities on Sep. 17, 1947, at a meeting of the Econometric Society in Washington, D.C. . Since then, the theory of cake cutting algorithms has become a full-fledged field with at least three books written on the topic . The central problem within cake cutting is finding an envy-free allocation .

Since the earliest works, mathematicians have been interested in the complexity of cake cutting. Steinhaus wrote that “Interesting mathematical problems arise if we are to determine the minimal number of cuts necessary for fair division.” When formulating efficient cake cutting protocols, a typical goal is to minimize the number of cuts while ignoring the number of valuations queried from the agents. In principle, the actual complexity of a problem or a protocol depends on the number of queries. When considering how efficient a protocol is, it is useful to have a formal query model for cake-cutting protocols. Robertson and Webb formalized a simple query model in which there are two kinds of queries: Evaluate and Cut. In an Evaluate query, an agent is asked how much he values a subinterval. In a Cut query, an agent is asked to identify an interval, with a fixed left endpoint, of a particular value. Although, the query model of Robertson and Webb is very simple, it is general enough to capture all known protocols in the literature. Note that if the number of queries is bounded, it implies that the number of cuts is bounded in the Robertson and Webb model. The protocol that we present in this paper uses a bounded number of queries in the Robertson and Webb model. Cake cutting protocols also provide an interesting connection between the literature on fair division and the field of communication complexity .

There is not too much known about the existence of a bounded envy-free protocol for n≥4n\geq 4 except that any envy-free cake-cutting algorithm requires Ω(n2)\Omega(n^{2}) queries in the Robertson-Webb model . Also, for n≥3n\geq 3, there exists no finite envy-free cake-cutting algorithm that outputs contiguous allocations . Brams et al. and Barbanel and Brams presented envy-free protocols for four agents that require 13 and 5 cuts respectively. However, the protocols are not only unbounded but not even finite since they are continuous protocols that require the notion of a moving knife. An alternative approach is to consider known bounded protocols and see how well they perform in terms of envy-freeness . Apart from the unbounded Brams and Taylor envy-free protocol for nn agents, there are other general envy-free protocols by Robertson and Webb and Pikhurko that are also unbounded.

There are positive algorithmic results concerning envy-free cake cutting when agents have restricted valuations functions or when some part of the cake is left unallocated . There has also been work on strategyproof cake cutting protocols for restricted valuation functions as well as strategic aspects of protocols .

Structure of the Paper

In Section 2, the formal model is presented. In Section 3, we present an envy-free protocol for three agents that serves as a warm-up for the case of four agents. In Section 4, we presents the main protocol. The section is divided into subsections in which three different protocols (Post Double Domination Protocol, Core Protocol, and Permutation Protocol) are described. These three protocols are used as building blocks to formulate the overall protocol.

Preliminaries

We consider a cake which is represented by the interval .Apieceofcakeisafiniteunionofdisjointsubsetsof. A piece of cake is a finite union of disjoint subsets of. We will make the standard assumptions in cake cutting. Each agent in the set of agents N={1,…,n}N=\{1,\ldots,n\} has his own valuation function over subsets of interval $.Thevaluationsare(i)definedonallfiniteunionsoftheintervals;(ii)non−negative:. The valuations are (i) defined on all finite unions of the intervals; (ii) non-negative:V_{i}(X)\geq 0forallfor allX\subseteq;(iii)additive:foralldisjoint; (iii) additive: for all disjointX,X^{\prime}\subseteq,,V_{i}(X\cup X^{\prime})=V_{i}(X)+V_{i}(X^{\prime});(iv)divisiblei.e.,forevery; (iv) divisiblei.e., for everyX\subseteqandand0\leq\lambda\leq 1,thereexists, there existsX^{\prime}\subseteq XwithwithV_{i}(X^{\prime})=\lambda{V_{i}(X)}$.

Terms and Conventions

We now define some terms and conventions that we will use in the paper. Given a partial envy-free allocation of the cake and an unallocated residue β\beta, we say that agent jj dominates agent ii if jj does not become envious of ii even if all of β\beta were to be allocated to ii. This concept has been referred to as ii’s irrevocable advantage in the cake cutting literature .

In the cake cutting protocols, we will describe, an agent may be asked to trim a piece of cake so that its value equals the value of a less valuable piece. Agents will be asked to trim various pieces of the cake so their remaining value is equal to the value of the third (or in some cases their second) most preferred complete piece. In Figure 1, we outline the idea of trimming a piece to equal the value of some other piece. When an agent trims a piece of cake, he will trim it from the left side: the main piece (albeit trimmed) will be on the the right side. The piece minus the trim will be called the partial main piece. The remainder will be referred to as the residue. If an agent trims a piece, we say he is competing for the piece. When we say an agent is guaranteed to get his second/third/etc most favoured piece, this guarantee is based on the ordinal preferences of the agents over the pieces. By ordinal, we mean that agents simply give a weak ordering over the pieces but do not tell the exact cardinal utility difference between two pieces. If an agent is indifferent between the top three pieces, then we will still say that the agent is guaranteed to get his third most valued piece.

We introduce notation to represent which agents have trimmed which pieces. So for example 123∣1∣2∣3123|1|2|3 represents the scenario where one piece has three trims (by agents 1,2,3) in any possible order and the other three pieces have one trim each by one of the agents 1, 2, 3. We may enrich this notation further as follows: 112131∣1∣2∣31_{1}2_{1}3_{1}|1|2|3 which represents that all agents think that the piece with the three trim marks is their most preferred or equivalently highest valued piece.

Protocol for three agents

We warm-up by presenting a protocol (Algorithm 1) for n=3n=3 which we will extend to n=4n=4.

Although the protocol requires more cuts than the Selfridge-Conway protocol, it bears similarities with it. It also depends on some ideas that we will exploit for our main protocol for four agents. The main idea of the protocol is that in each step, the cutter (agent 3) cuts the unallocated cake into 3 equally preferred pieces and gets one of the complete pieces. In each step, a partial envy-free allocation is maintained and then the remainder is again allocated which results in the remainder being fully allocated or a smaller remainder left. Note that when i≠3i\neq 3 is given the partial cake piece, agent 33 dominates ii. When the remainder β1\beta_{1} in the first step is divided among the agents, if now 33 dominates −i-i, then 33 does not care how β1\beta_{1} is divided among ii and −i-i since he dominates both. So 33 is in this sense ‘eliminated’ from the protocol and we can perform Divide and Choose for 1 and 2 on the unallocated cake. If 33 again dominates ii based on how β1\beta_{1} is allocated, then we enforce a permutation or reallocation of some pieces of ii and −i-i, so that 33 dominates −i-i (see Figure 2). Both the ideas of domination and permutation will feature prominently in our protocol for four agents.

Protocol for Four Agents

We now extend the ideas for the case of n=3n=3 to n=4n=4. The general flavour of the protocol is similar to that of the protocol for 3 agents. A designated cutter is asked to cut into equally preferred pieces. Based on some finer steps, we are able to achieve an envy-free allocation with possibly some cake still unallocated. We repeat the process on the remaining unallocated piece with the goal that the cutter dominates other agents just as we managed in the protocol for 3 agents. A few additional complications are introduced when dealing with 4 agents. Eliminating an agent would require being able to ensure that we can make an agent dominate all 3 others. Thankfully this is not necessary: we can show that we only need a protocol that ensures a given agent dominates 2 others. This is proved in the Double Domination Lemma.

We now present the Post Double Domination Protocol (Algorithm 2) that takes as input a partial envy-free allocation in which each agent dominates two agents and it returns a complete envy-free allocation.

Suppose we have a bounded protocol which given a specified agent ii and an unallocated piece of cake returns a partial envy-free allocation such that ii dominates 2 other agents, then we can extend this into a 4 agent envy-free bounded protocol.

If we have a bounded protocol in which one agent can be made to dominate two other agents, then we simply run it at most 4 times on any unallocated cake to ensure that each agent dominates two other agents. If while doing this, the cake is completely allocated, we are already done. Otherwise, we can run the Post Double Domination Protocol (Algorithm 2). We now argue for the correctness of the protocol.

Assume 11 dominates 33 and 44. Now if 22 also dominates 33 and 44, then there exists a partial envy-free allocation in which even if all the residue is given to 33 or 44, then agent 11 and 22 will not be envious. All the residue can be divided among 33 and 44 using divide and choose. Agents 11 and 22 don’t care because they dominate 33 and 44.

The other case is when 22 does not dominate 33 and 44. Without loss of generality assume that 22 dominates 11 and 44. Now if 33 dominates 44, we are already done because the whole residue can be given to 44 since everyone dominates 44. If 33 does not dominate 44 but dominates 11 and 22, then the domination graph looks like in Figure 3, an envy-free allocation can be found via the following method: agent 44 cuts the residue into equally preferred four pieces, and agents 1,2,31,2,3 pick their most preferred remaining piece in that order. Agent 22 dominates 11 so does not care if 11 chooses first; agent 33 dominates 22 and 11 so that he does not care if 11 and 22 choose before him.

Since we have shown that making an agent dominate two other agents is helpful, we will now explain how to achieve it. The overall protocol will first achieve double domination for each agent and if some cake is still unallocated, it will use the Post Double Domination Protocol. In order to get an agent to dominate other agents, we will repeat a core protocol multiple times which gives a partial envy-free allocation. The core protocol is explained in the next section.

2 Core Protocol

In the core protocol, a specified agent is asked to cut the cake into equally preferred pieces. The cutter gets a complete piece whereas the other agents may get partial pieces. The core protocol is recursively applied to the unallocated cake. After a bounded number of calls of the core protocol, we are in a position to do some reallocation so as to ensure that the specified cutter dominates two agents. We can then repeat this for another specified agent until each agent dominates two other agents.

We now give a high level description of the core protocol. Let us say that agent 44 divides the unallocated cake into 44 pieces. Agents 11, 22, and 33 are asked to trim the left hand side of their most preferred two pieces to make the right side of their trim equally valuable as their third most preferred cake piece. Each agent in set {1,2,3}\{1,2,3\} trims at most two pieces. In case an agent is indifferent between two or more pieces, we will still assume that the agent trims one piece to make it equal to the other piece. The trim in this extreme case is a trivial trim that coincides with the left edge of the cake. Hence the four pieces have a total of six trims. If an agent who trims a piece most is given that piece (an agent who trims most two pieces can choose which piece to get), up to his trim point, then the agent is envy-free. In fact the agent is not envious even if each other agent who gets a piece is given the piece up till the second rightmost trim. This approach is useful to get a partial envy-free allocation with some cake unallocated. In the core protocol, we do some extra work so that apart from the cutter, at least one more agent is given a complete piece. In order to do this, in a couple of cases, we may ask one or two carefully identified agents to additionally trim their most preferred piece to the value of their second most preferred piece in which case the previous trims of these agents are ignored. This is helpful is ensuring that at least two agents get complete pieces. It may be the case that some cake is left unallocated in which case the core protocol may be implemented on the unallocated cake again. The main thing we will prove is that we do not need to implement the core protocol on the unallocated cake unbounded number of times. For this, we first show in the Core Protocol Lemma that the core protocol returns a partial envy-free allocation with the additional useful property that the cutter and one other agent get complete pieces.

For n=4n=4, there exists a discrete and bounded protocol which returns partial envy-free allocation in which one agent cuts the cake into four equally preferred pieces and the cutter as well as at least one other agent gets one of these four pieces.

We argue that when agent 4 cuts the cake into equally preferred piece and then these pieces are partially allocated to the agents, then (1) the partial allocation is envy-free, and (2) the cutter and one other agent get complete pieces. If each agent in {1,2,3}\{1,2,3\} can be given a most preferred piece, then both conditions are trivially met. Otherwise, the algorithm distinguishes between the following cases: (1) no piece has exactly one trim; (2) exactly one piece has exactly one trim; (3) exactly two pieces have exactly one trim; (4) exactly three pieces have exactly one trim. In each of the cases, one non-cutter gets a complete piece and the cutter is also given an unallocated complete piece.

It remains to be shown that the partial allocation is envy-free. When an agent ii gets a (possibly partial) piece aa, he was the one who trimmed that piece the most. For each other piece bb that is allocated, some other agent jj trimmed bb at least as much as agent ii, i.e., jj’s trim in bb was not left of ii’s trim. Hence ii is not envious of jj if jj gets bb up till jj’s trim from the right hand side. The reason is that ii thinks that jj’s piece has more value than ii’s allocation only if jj gets the right side of bb beyond the trim of agent ii. Thus, if ii has the second rightmost trim in bb, then ii is not envious of jj even if jj gets the right side of bb up till ii’s trim (e.g., see Figure 4). We note that in each of the four cases, when an agent ii get a piece, he is not envious of another agent jj because of the reason above. Moreover, if in piece aa, the second rightmost trim is strictly to the left of ii’s trim in aa or if there is no other trim in aa, then ii not only gets the right hand side of aa up to ii’s trim but an additional bonus up till the second rightmost trim or the edge of the cake (whichever comes first). Hence, no agent ii is envious of another agent jj.

As soon as the agents’ ordinal ranking of the four pieces cut by the cutter are known, it can be ascertained whether in the core protocol, an agent is guaranteed to get a piece of value equal to his third or second most preferred piece. Each agent gets a piece that is of same value as his third most preferred piece. An agent is guaranteed to get a second most preferred piece during the core protocol, if he is asked in the worst case to trim his most preferred piece to his second most preferred piece.

We make another observation about the outcome of the core protocol.

During the core protocol, when an agent ii makes trims to equal his second or third most preferred piece respectively, ii either gets such a piece completely or some other agent gets such a piece completely that ii values as much as second or third most preferred piece respectively.

Assume agent ii is not the cutter in the core protocol and he was asked to trim his first and second most preferred pieces to equal his third most preferred piece. If agent ii gets the complete piece that is his third most preferred piece, we are already done. Let us say that he got a partial piece. Then, at most one other agent got a partial piece. This means that some other agent jj got a complete piece that is either agent ii first, second or third most preferred piece.

Assume agent ii is not the cutter in the core protocol and he was asked to trim his most preferred pieces to equal his second most preferred piece. This means that ii got either his most preferred piece up to the value of the second most preferred piece or he got the second most preferred piece completely. If he got the second most preferred piece completely, we are done. If ii got the most preferred piece up to the value of the second most preferred piece, then some other agent got a possibly partial piece from ii’s most preferred piece. But note that since ii was asked to trim up to his second most piece in the protocol, only ii was competing for his second most preferred piece. Hence, some other agent jj got ii’s second most preferred piece completely.

The core protocol for partial envy-free allocation can be extended to obtain protocol for partial envy-free allocation with a single domination. If the core protocol is run again on the unallocated cake, we show in Lemma 4.7 that the cutter dominates at least one agent. When the core protocol is implemented, then the piece from which the highest valued (from the perspective of the cutter) residue is trimmed is called a significant piece. We will show that the cutter can be made to dominate an agent who got the significant piece. If residues from both pieces that are partially allocated are of the same value to the cutter, then we say that both non-cutters who got partial pieces were given significant pieces. In this case, a second run of the core protocol is enough for the cutter to dominate two agents.

For n=4n=4, there exists a discrete and bounded protocol which returns an envy-free partial allocation in which one agent dominates another agent.

We run the core protocol a first time. This guarantees that the cutter (say agent 4) gets a complete piece (of value 1/4 of the whole cake) and that the residue is composed from the trims of at most 2 pieces. Since from the cutter’s perspective all pieces were equal, the residue cannot sum up to more than 1/2 of the cake for him. Recall that the piece which agent 4 thinks was trimmed is the significant piece. The total residue is composed of the residue from the significant piece (call the residue β1\beta_{1}) and the residue from the other trimmed piece (let us call this residue β2\beta_{2}). The cutter thinks that he got V4(β1)V_{4}(\beta_{1}) more value than the agent who got the significant piece. Since V4(β1)≥V4(β2)V_{4}(\beta_{1})\geq V_{4}(\beta_{2}), the value of the total residue from the cutter’s perspective is at most 2V4(β1)2V_{4}(\beta_{1}). If we run the core protocol again, at most two pieces are partial and hence the residue’s value for the cutter is at most 2×2V4(β1)/4=V4(β1)2\times 2V_{4}(\beta_{1})/4=V_{4}(\beta_{1}). This implies that even if the agent who got the significant piece gets all the residue which is of value V4(β1)V_{4}(\beta_{1}) to the cutter, the cutter would still not envy him. This implies the cutter dominates the agent who got the significant piece.

Although the core protocol can be easily used to enable the cutter to dominate one agent, dominating two agents is more challenging. In the next section, we show how to overcome this challenge.

3 Permutation Protocol

If we run the core protocol repeatedly on the remaining unallocated cake, it may be that the cutter keeps dominating the same agent. We show that we only need to run the core protocol 5 times in total to achieve double domination. It may be that each time, the core protocol is run, the same agent gets the significant piece and hence the cutter dominates the same agent. If a different agent gets a significant part of the residue in any of the iterations, then the double domination is already achieved with one more iteration since from the cutter’s perspective we have 2 agents who may be given all that is left of the cake without him being envious of them. If not, then we have one agent who ends up with the piece from which a significant trim was obtained for all iterations. The permutation lemma tells us that it is possible to give one of the 4 significant pieces to another agent while still preserving envy-freeness. This ensures that agent 1 ends up dominating two agents.

We will use this idea in the argument of the Permutation Lemma. Before presenting the Permutation Lemma, we present another lemma that is useful for the proof of the Permutation Lemma.

Consider mm rows each with m−1m-1 entries of positive reals. Then there exists at least one row such that for each entry in the row, the sum of other entries in the column corresponding to that entry is greater than or equal to the entry in the row.

It is sufficient to find a row in which each entry is not the unique maximum entry for that column. We go row by row and eliminate a row if it has at least one entry that is a maximal value among all entries in the corresponding column. Even if m−1m-1 rows are eliminated, we are left with one row in which each entry is not the unique maximum entry for that column.

We will rely on Lemma 4.9 while reasoning about when reallocating pieces does not cause any envy. In particular let us say that an agent gets slightly more than the value he wanted to guarantee. He may not want to let go of this extra value lest it leads to him being envious. However, let us say he gets similar extra values again, then we may ask the agent to choose which one of the extra values he rates least and give this extra value to some other agent. The other extra values, make up for this loss. Intuitively, Lemma 4.9 will help identify that if we have enough subcases (rows) then there will be one row on which an agent will be happy to compromise.

We are now in a position to present the Permutation Lemma.

There exists a discrete and bounded protocol for 4 agents that returns a partial envy-free allocation in which one agent dominates two other agents.

Assume that agents 1, 2, 3, 4 get pieces p1p_{1}, p2p_{2}, p3p_{3}, and p4p_{4} respectively with 44 getting complete pieces. When 44 cut the pieces, p1p_{1} is a piece P1P_{1} without the part left of the second rightmost trim. Now, assume that in four iterations of the 11 gets the significant piece and we want to reallocate so that some other agent among 22 and 33 gets the significant piece. We need to show that when the reallocation is done then barring the bonus part that agents get in the core protocol, the agents get at least as preferred a piece. If another agent aside from agent 1 gets the significant piece then we are done. If agent 1 is repeatedly getting it, then we zoom in to a case to permute it i.e., reallocate some of the pieces so as to make sure that an agent other than 1 is dominated. If agent 11 is repeatedly getting the significant piece and there is no reallocation in which instead of agent 11 some other agent gets the significant piece, this means that either (a) agent 11 likes the bonus from his significant piece so much that he is not willing to take some other piece or (b) for some other agent jj, the bonus corresponding to the significant piece is not enough for jj to be attracted towards the significant piece.

For a partial allocation as a result of the core protocol in which agents make trims, a reallocation can be done in which some agent other than 11 gets the significant piece and each agent gets a piece of value corresponding to his original trims but in which he may lose out on the additional bonus due to the second rightmost trims.

The algorithm to perform the reallocation is stated as the Permutation Protocol (Algorithm 4). Imagine that agent 1 is holding the significant piece. For the piece to be significant, another agent must have been competing with agent 1 for it. If no other agent was competing for the piece, then agent 1 would have got the whole piece and hence the piece would not be significant.

Let us say that the agent who competes for the same piece is agent 2. Since the piece was cut up to the second rightmost trim, agent 2 is not envious of any other agent if agent 2 gets the piece (while not getting his trim).

We now distinguish between 2 possibilities. We show how both cases can be handled.

Agent 2 was competing with someone for the piece and therefore had a trimmed piece. We distinguish between two subcases.

If the agent who made the second rightmost trim on agent 2’s piece is agent 1, then we can simply permute agents 1 and 2 i.e., exchange their pieces.

If the agent who made the second rightmost trim on agent 2’s piece is agent 3, then we can move 3 to agent 2’s piece. Notice that 3 must have been allocated a complete piece since only 2 pieces may be trimmed. This means that 1 did not compete with 3 for 3’s piece which implies that if 1 can get 4 or 3’s piece he will get the piece he was guaranteed before the order of the trim was determined (either second most preferred or third most preferred). Agent 2 can be given 1’s (trimmed) piece. Agent 1 can be given one of the complete pieces (which was given to 3 or 4). Agent 4 can be given the remaining complete piece.

Agent 2 was in possession of a complete piece for which he was not competing with another agent. Let us focus on the piece agent 1 desires and was guaranteed to get a piece of that value (either his second most preferred or third most preferred). We will use the fact that by Lemma 4.5, some other agent got a complete piece that was of at least as much value to agent 1. We distinguish between three subcases.

If 2’s piece is the piece agent 1 desires, then simply permute 1 and 2.

If 4 is holding the piece to be freed then we simply move 4 to 2’s piece since it is a complete piece and agent 1 gets 4’s piece. Agent 2 is given 1’s piece.

Let us assume that 3 is holding the piece to be freed and agent 1 is guaranteed to get a piece of a value as much as this complete piece (which we refer to as aa).

If 3 is indifferent among any two of his most preferred three pieces, then either he is indifferent among the top 2 or among the second and third. For the former, if he got a top 2 piece, he will be willing to get another top 2 piece and if he got a third piece, he would certainly be happy to get one of the complete top 2 pieces. For the latter, if he got one of the second or third preferred pieces, he would be happy to get the other equally preferred one. If he had got the top piece, then this means that only 3 had a proper trim on aa. But this means that 33 is willing to move to another complete piece with as much value barring the extra bonus he got in piece aa. Hence in all the cases above, 3 can be given another complete piece, agent 1 can be given 3’s complete piece, and 2 can get 1’s partial piece.

We now assume that 3 is not indifferent among any of his 3 most preferred pieces. We show that in this scenario, we would already be in one of the previous cases in which 1 is okay with taking 2 or 4’s piece.

We first argue that agent 33’s most preferred piece is the significant piece. Piece aa cannot be agent 3’s most preferred piece since otherwise 11 would not be guaranteed to get it: if 11 got it, 3 would be envious. Neither can the piece held by 4 or 2 be 3’s most preferred piece since envy-freeness of the partial allocation will be violated. Since the pieces allocated to 2, 3 and 4 are not 33’s most valued pieces, it implies that agent 33’s most preferred piece is the significant piece.

Next, we argue that 3 was allocated his second most preferred piece in which had put a proper trim. First we assume that 3 trimmed up to his third most preferred piece. If aa is 3’s third most preferred piece, then 33 would have been envious of either 2 or 4 whoever got 3’s most preferred piece. 3 would have competed for such as piece and such a piece would not have been allocated completely. This means that 3 got his second most preferred piece. Second, we assume that 3 trimmed unto his second most preferred piece, then this means 3 was allocated his second most preferred piece since he was guaranteed it. In both cases 3 put a proper trim on aa.

We now argue that aa (3’s piece) is also agent 1’s second most preferred piece. If the piece allocated to 2 or 4 was agent 1’s second most preferred piece, we would be in a different case.

Therefore aa is agent 1’s and 3’s second most preferred piece. Since 11 is guaranteed to get a piece of value of aa and since aa is agent 11’s second most preferred piece, it means that only 11 has a proper trim on aa. But we have already shown that 33 also put a proper trim on aa. But if two agents put a proper trim on a piece, the piece cannot be completely allocated to an agent hence a contradiction.

We have shown that reallocation can be done in which each agent gets a piece of value corresponding the trims the agents made.

Note that in each iteration of protocol, each agent gets some (possibly non-zero) bonus. Since agent 11 gets a significant piece, he gets a non-zero bonus each time. Although 11 may object to any reallocation for a particular iteration of core protocol, we show that he will not envious if one particular iteration of the core protocol is identified in which corresponds to the row of entries in Table 1 in which for each entry in the row, the sum of other entries in the column corresponding to that entry is greater than or equal to the entry in the row. By Lemma 4.9, such a row exists. This means that even if each agent loses his bonus because of the permutation, he gets enough bonus in the other iterations to make for this loss so that there is no envy.

We have shown so far that in four iterations of the core protocol, the partial envy-free allocation is such that two different agents got a significant piece in one of the calls of the core protocol. If the same agents get a significant piece in all the first four iterations of the core protocol, then we have shown above that the permutation protocol can implemented to give the significant piece to another agent and still not maintain envy-free across the four iterations of the core protocol. The fifth iteration of the core protocol ensures that the cutter dominates two agents and the partial allocation is envy-free. ∎

4 Overall Protocol

In the previous sections, we built the building blocks for our overall protocol: Post Double Domination Protocol, Core Protocol, and Permutation Protocol. We are now in a position to formalize the protocol to compute a complete envy-free allocation and presents the main result. The protocol is formalized as Algorithm 5.

For four agents, there exists a discrete and bounded envy-free protocol that requires constant number of queries in the Robertson and Webb model.

The protocol is formalized as Algorithm 5. The theorem follows from Lemmas 1 and 4.11. The protocol first ensures that there exists a partial envy-free allocation in which each agent dominates two other agents. The protocol then used the Double Domination Protocol to obtain a complete envy-free allocation.

We now argue in more detail that the protocol is bounded not only in terms of number of cuts but also in terms of Robertson-Webb queries.

In each run of the core protocol, the cutter makes three cuts and then each non-cutter makes at most two trims. Two agents may be asked to replace their cuts and make a cut to make their most preferred piece equal to their second most preferred piece or in another case agents perform Divide and Choose which requires 1 cut. Hence, in the core protocol, there are at most 3+6+1=11 cuts. Since we run 5 iterations of the core protocol to get one double domination, we need 50 cuts to get one double domination. Since we need each agent to double dominate, we need 50×4=20050\times 4=200 cuts. After we achieve double dominations for all agents, we need at most three more cuts. So we need at most 203 cuts.

We now count the maximum number of Robertson-Webb query operations required during the protocol. The cutter is asked the value of the whole cake (11 query), and then made to cut to equal 1/4 of the value (33 queries). The non-cutter agents are asked to give values of the pieces (3×4=123\times 4=12 queries.) They are then asked to trim to equal the value of the third most preferred piece (3×23\times 2 queries). Two agents may be asked to make one additional cut to make their most preferred piece equal to their second most preferred piece (2×12\times 1 queries) or in another case, agents perform Divide and Choose which requires 44 queries. Hence the core protocol requires in total 1+3+12+6+4=261+3+12+6+4=26 queries. The core protocol is run 5 times so that takes 26×526\times 5 queries. In addition to running the core protocol 5 times, we also need to run permutation protocol four times to check which permutation to implement. In each call of the permutation protocol, agents are queried about the amount of bonus which they get in the core protocol which takes additional 3 queries so in total of 12 queries for the permutation protocol. In order to get all double dominations, we require ((26×5)+12)×4=568((26\times 5)+12)\times 4=568 queries. After we achieve double dominations, we require maximum 16 more queries. So the total number of queries is 584.

Discussion

In this paper, we proposed the first bounded and envy-free protocol for four agents. Some of our insights such as the one of exploiting the bonus cake given to the agents as well as analyzing the domination graph may be useful in attacking the problem for any number of agents. Our protocol is based on three main ingredients: core protocol, permutational protocol, and post double domination protocol. The higher level ideas of our overall protocol could be applied to general problem for more number of agents. Some of the proof ideas may be generalizable to more than four agents. For example, a suitable generalization of the core protocol is feasible. On the other hand, the Permutation Protocol appears to be challenging to extend to arbitrary number of agents and will require more interesting insights and techniques. There are also some other interesting directions for future research such as existence and properties of equilibria under our new protocol.

Acknowledgments

Data61 is funded by the Australian Government through the Department of Communications and the Australian Research Council through the ICT Centre of Excellence Program. Part of the research was carried out when the authors were visiting LAMSADE, University Paris Dauphine in May 2015. The authors thank Rediet Abebe, Steven Brams, Simina Brânzei, Ioannis Caragiannis, Katarína Cechlárová, Serge Gaspers, David Kurokawa, and Ariel Procaccia for useful comments. They also thank the reviewers of STOC 2016 for suggestions to improve the presentation. Haris Aziz thanks Ulle Endriss for introducing the subject to him at the COST-ADT Doctoral School on Computational Social Choice, Estoril, 2010.

REFERENCES