Selfridge–Conway Discrete Three-Player Envy-Free Cake Cutting #
Formalizes the discrete three-player envy-free cake-cutting protocol discovered independently by
John Selfridge and John Horton Conway c. 1960 and published in [BT95] and
[RW98], over arbitrary nonatomic finite additive valuations (CakeValuation) on
[0, 1] in the Robertson–Webb query model (FreeM (RWQuery (Fin 3))).
Protocol overview #
- Initial division (
2cuts): Player0cuts[0, 1]at0 ≤ c₁ ≤ c₂ ≤ 1into three intervalsX 0 = [0, c₁],X 1 = [c₁, c₂],X 2 = [c₂, 1]of equalv₀-value1 / 3. - Player
1inspection: Player1evaluatesX 0, X 1, X 2and sorts them in nonincreasing orderv₁(X p₀) ≥ v₁(X p₁) ≥ v₁(X p₂).- Untrimmed branch (
v₁(X p₀) ≤ v₁(X p₁)): Player1's top two pieces are tied. No further cuts are made (2cuts total): Player2takes a favorite pieceX q₂, Player1takes an available pieceX q₁from{p₀, p₁}(v₁(X q₁) = v₁(X p₀)), and Player0receives the remaining pieceX q₀(v₀(X q₀) = 1 / 3). - Trimmed branch (
v₁(X p₁) < v₁(X p₀)):- Phase 1 (
1trim cut): Player1trimsX p₀ = [ℓ, r]att ∈ [ℓ, r]so thatY p₀ = [ℓ, t]satisfiesv₁(Y p₀) = v₁(X p₁), setting aside the trimmingT = [t, r]while leavingY k = X kfork ≠ p₀. Player2chooses a favoriteY q₂; Player1takesY p₀ifq₂ ≠ p₀andY p₁ifq₂ = p₀; Player0receives the remaining untrimmed pieceY q₀(q₀ ≠ p₀, sov₀(Y q₀) = 1 / 3). - Phase 2 (
2trimming cuts): Letpa ∈ {1, 2}be whichever of Players1, 2received the trimmed pieceY p₀, andpd ∈ {1, 2} \ {pa}the other. PlayerpdcutsT = [t, r]att ≤ u₁ ≤ u₂ ≤ rinto three piecesT₀, T₁, T₂of equalv_{pd}-valuev_{pd}(T) / 3. Playerpachooses a favoriteT_{s_{pa}}first, Player0chooses a preferred remaining pieceT_{s₀}second, andpdreceives the last pieceT_{s_{pd}}.
- Phase 1 (
- Untrimmed branch (
In Phase 2, Player 0 holds an irrevocable advantage over pa: because Y p₀ and T₀, T₁, T₂
partition X p₀, v₀(Y p₀) + v₀(T_{s_{pa}}) ≤ v₀(X p₀) = 1 / 3 ≤ v₀(Y q₀) + v₀(T_{s₀}). Thus
every player weakly prefers their combined bundle to every other player's bundle using at most 5
physical cuts.
Main definitions #
Cslib.GameTheory.FairDivision.selfridgeConwayQ: three-player Selfridge–Conway protocol inFreeM (RWQuery (Fin 3)) (DividedCake 3).Cslib.GameTheory.FairDivision.selfridgeConway: canonical pure evaluation againstRWQuery.oracleOf v.
Main results #
Cslib.GameTheory.FairDivision.isValidPartition_selfridgeConwayQ:selfridgeConwayQproduces a valid interval partition of[0, 1]against every oracle.Cslib.GameTheory.FairDivision.numCuts_selfridgeConwayQ_le,Cslib.GameTheory.FairDivision.numCuts_selfridgeConwayQ_eq_two_or_five:selfridgeConwayQmakes at most5physical cuts (2untrimmed or5trimmed).Cslib.GameTheory.FairDivision.countQueries_selfridgeConwayQ_le:selfridgeConwayQmakes at most18Robertson–Webb queries.Cslib.GameTheory.FairDivision.isEnvyFree_selfridgeConwayQ,Cslib.GameTheory.FairDivision.isProportional_selfridgeConwayQ: complete case analysis proving all three players are envy-free (and hence receive≥ 1 / 3) for every valuation profile.
References #
Pure Piece Constructors and Staged Sub-Programs #
Selfridge–Conway discrete three-player envy-free cake-cutting protocol in the Robertson–Webb query model ([BT95]; [RW98]).
Canonical pure evaluation of selfridgeConwayQ against RWQuery.oracleOf v.
Cut-Count, Query-Count, and Partition Validity Proofs #
selfridgeConwayQ makes either 2 physical cuts (untrimmed branch) or 5 physical cuts
(trimmed branch).
When Player 1 shares Player 0's valuation (v 1 = v 0), all three initial thirds have
equal v₁-value 1 / 3, so selfridgeConwayQ takes the untrimmed 2-cut branch.
When Player 1 has a unique strictly largest initial piece among [0, c₁], [c₁, c₂], [c₂, 1],
selfridgeConwayQ takes the trimmed 5-cut branch.
Five-cut bound: selfridgeConwayQ makes at most 5 physical cuts (2 in the untrimmed
branch and 5 in the trimmed branch) against every oracle.
Each player receives at most 2 interval pieces under selfridgeConwayQ.
selfridgeConwayQ makes at most 18 Robertson–Webb queries (8 untrimmed or 18 trimmed)
against every oracle.
selfridgeConwayQ produces a valid interval partition of [0, 1] against every oracle.
Complete Case Analysis of Envy-Freeness #
Selfridge–Conway Envy-Freeness Theorem: for every three-player valuation profile
v : Fin 3 → CakeValuation and every valid Robertson–Webb oracle oracle, selfridgeConwayQ
produces an allocation in which all three players (0, 1, 2) are envy-free.
Selfridge–Conway Proportionality Corollary: under any valid Robertson–Webb oracle, every
player receives at least 1 / 3 of the cake according to their own valuation.