Theoremadvanced
Necklace splitting theorem
Also called Alon's necklace splitting theorem.
If each of t colours has a number of beads that is a multiple of k, then k thieves can split an open necklace with at most (k - 1) t cuts so that each gets the same number of beads of each colour.
The necklace splitting theorem says that thieves can share an open necklace fairly with few cuts. If the necklace has beads of colour for , then at most cuts between beads are enough to split it into intervals, and to give each thief some of the intervals, so that each thief gets exactly beads of each colour . The number of beads of each colour must be a multiple of , or no exact split can exist. The bound cannot be improved. The theorem is the discrete form of a statement about measures on an interval; its case is the existence of a consensus halving with cuts. The difference between the two pages is the object: consensus halving is the computational problem for agents with continuous measures, where approximation matters, while this page is the existence theorem for beads and any number of thieves. The proofs use topology and give no efficient algorithm: for two thieves, finding the split is complete for the class PPA.
Statement
A necklace is a sequence of beads on a line, each with one of colours. A cut is a point between two adjacent beads. A set of cuts splits the necklace into intervals, and a -splitting gives each interval to one of thieves.
Theorem (Alon 1987). Let and , and let a necklace have beads of colour for , with integers . Then there are at most cuts and a -splitting in which each thief gets exactly beads of colour , for every .
Continuous version. Let be continuous probability measures on . Then can be cut at points into intervals, and these intervals can be split into families , so that for every measure and every family .
For the theorem is due to Goldberg and West (1985), with a short proof by Alon and West (1986); Alon proved the general case. The continuous version for follows from the Hobby-Rice theorem of 1965.
In plain words
Some thieves steal a necklace with beads of several colours. They want to share it so that each thief gets the same number of beads of each colour, but each cut costs them, so they want few cuts. The theorem says that with two thieves they never need more cuts than there are colours. With more thieves, each extra thief adds as many cuts as there are colours. For each colour, the beads must split evenly among the thieves to begin with.
No shortcut does better: if all beads of one colour sit together, every thief needs some of them, so that block alone needs a cut for each extra thief.
Proof
We prove the case in full and sketch the general case.
Continuous version for two thieves (Alon and West). Let be the set of with ; it is a sphere of dimension . For , cut into consecutive intervals of lengths , and give to thief 1 if and to thief 2 if (an interval of length 0 does not matter). Let be the part of thief 1 and define for . The map is continuous, because the measures are continuous and the cut points depend continuously on . It is odd: gives the same intervals with the thieves swapped, so . By the Borsuk-Ulam theorem, every continuous odd map from to has a zero. At a zero, thief 1 gets exactly half of every measure, with cuts.
From measures to beads, for two thieves. Let the necklace have beads. Put bead on the interval , and let be the uniform measure on the beads of colour , scaled to total 1. The continuous version gives at most cut points at which thief 1 gets exactly beads' worth of colour . Some cuts may lie inside beads. First delete every cut whose two sides go to the same thief; this changes no share, and afterwards the intervals alternate between the thieves. If a bead holds two cuts in a row, the parts of the bead on their far sides belong to the same thief. Slide both cuts by the same amount toward one end of the bead: one of these parts grows and the other shrinks by the same amount, and the part between the cuts keeps its length, so no share changes. Stop when a cut reaches the end of the bead. Repeat until each bead holds at most one cut. Thief 1 gets an integer number of whole beads of colour , and a fraction strictly between 0 and 1 of each cut bead of colour . Its total is the integer , so the cut beads of colour cannot number exactly one. If two beads of colour hold cuts, slide both cuts at the same speed, in the directions in which the share of thief 1 of the first bead grows and its share of the second bead shrinks. Every share of every other colour stays the same, and so does the share of colour . Stop when one of the cuts reaches the end of its bead. The number of cuts inside beads drops by at least one. Repeat until no cut lies inside a bead. The result has at most cuts, all between beads, and each thief gets beads of colour .
More thieves (sketch, Alon 1987). For a prime , Alon proves the continuous version with a generalization of the Borsuk-Ulam theorem to maps that respect a free action of the cyclic group of order , due to Barany, Shlosman and Szucs. If the continuous version holds for and thieves, it holds for : first split among groups with cuts, then split the share of each group among thieves, with cuts per group, applied to the measures restricted to that share and joined into one interval. This gives cuts. Alon then deduces the discrete theorem from the continuous one.
Consequences
- Consensus halving exists. The continuous version with says that agents with continuous measures on can cut it with cuts into two parts that every agent values equally. This is the existence theorem behind consensus halving.
- Equal division of a cake with few cuts. The continuous version for thieves is a consensus division: one cut set at which all agents agree that each of shares is worth . With it gives an exact division of a cake among agents with cuts. Every agent values every share at , so this division is proportional and envy-free, but the pieces are unions of intervals and the proof does not give a finite protocol.
- Hard to compute. Finding a necklace splitting for two thieves is PPA-complete (Filos-Ratsikas and Goldberg 2019). PPA is the class of total search problems that reduce in polynomial time to LEAF: given a graph of degree at most 2, described by a circuit, and a vertex of degree 1, find another vertex of degree 1, which exists because the number of such vertices is even. PPA contains PPAD, and both lie in TFNP. Deligkas, Fearnley, Hollender and Melissourgos (2022) extend the hardness to constant approximation.
- Algorithms with more cuts. If more cuts are allowed, a fair split is easy: Alon and Graur (2020) give efficient algorithms that use more than cuts.
- Few colours. For two thieves and a fixed number of colours, a brute force over all sets of at most cuts and all ways to give out the intervals takes polynomial time in the number of beads; Goldberg and West give a faster polynomial algorithm for this case.
Tightness
The bound is best possible for every and . Put all beads of colour 1 first, then all beads of colour 2, and so on, with . Each thief needs a bead of colour , so the block of colour meets at least of the intervals, and at least cuts lie strictly inside this block. Different blocks have different cuts inside them, so at least cuts are needed.
For example, take two thieves and the necklace red, red, blue, blue. With one cut, the first part is red, red-red or red-red-blue, and none of these has one bead of each colour. With two cuts after the first and the third bead, the parts are red, red-blue and blue; thief 1 takes the first and the last part and thief 2 takes the middle part, so each gets one red and one blue bead.
The divisibility condition is needed: with beads of colour , the thieves cannot all get the same number of them. The later form of the problem asks each thief for or beads of colour , where is the number of beads of colour ; Alon and Graur note that it is equivalent to the form with multiples of .
History
Hobby and Rice proved in 1965 a theorem on moments in approximation that gives the continuous case for two thieves. Goldberg and West proved the bead case for two thieves in 1985, in a paper on bisections of circle colourings, and asked about more thieves. Alon and West gave a short proof with the Borsuk-Ulam theorem in 1986, and Alon solved the case of thieves in 1987. The computational side came much later: Filos-Ratsikas and Goldberg showed at STOC 2018 that approximate consensus halving is PPA-complete, and at STOC 2019 that necklace splitting for two thieves is PPA-complete too.
References
- Noga Alon, Splitting necklaces, Advances in Mathematics 63(3) (1987), pp. 247-253 (the theorem for k thieves, its continuous version for measures, and the proof that the number of cuts is best possible)
- Charles H. Goldberg and Douglas B. West, Bisection of circle colorings, SIAM Journal on Algebraic and Discrete Methods 6(1) (1985), pp. 93-106 (two thieves, and a polynomial algorithm for a fixed number of colours)
- Noga Alon and Douglas B. West, The Borsuk-Ulam theorem and bisection of necklaces, Proceedings of the American Mathematical Society 98(4) (1986), 623-628, the short proof for two thieves with the Borsuk-Ulam theorem
- Aris Filos-Ratsikas and Paul W. Goldberg, The complexity of splitting necklaces and bisecting ham sandwiches, STOC 2019, pp. 638-649 (necklace splitting for two thieves is PPA-complete)
- Argyrios Deligkas, John Fearnley, Alexandros Hollender and Themistoklis Melissourgos, Constant inapproximability for PPA, STOC 2022, the abstract (hardness of the approximate versions for constant epsilon)
- Noga Alon and Andrei Graur, Efficient splitting of measures and necklaces, arXiv:2006.16613 (2020), Section 1 (the history of the existence proofs, and approximation algorithms with more cuts)
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag J7FE64 Edit this page History Report an error Markdown