Theoremcore
Lattice of stable matchings
Also called Conway's lattice theorem.
The stable matchings form a distributive lattice under the common preference of one side, with the two proposer-optimal matchings at the ends.
The stable matchings of a marriage market are not just a set: they form a distributive lattice. Order them by the men's preferences; then for any two stable matchings, giving each man the better of his two partners is again a stable matching, and it gives each woman the worse of her two partners. The top of the lattice is the man-optimal matching found by men-proposing deferred acceptance, and the bottom is the woman-optimal one. The rotations of Irving and Leather describe this lattice compactly, the rural hospitals theorem says which agents are matched in all its elements, and the egalitarian stable matching is an optimization over it.
Statement
A marriage market has a set of men and a set of women, each with a strict order over the other side and the option to stay single. Let be the set of stable matchings. For , write when every man weakly prefers to , and in the same way for women. Define as the assignment that gives each man the better of and in his own order, and as the one that gives each man the worse.
Theorem (Conway; Knuth 1976). For all :
- and are matchings, and they are stable.
- In each woman gets the worse of and in her order, and in she gets the better.
- is a distributive lattice with join and meet . Its top is the man-optimal stable matching and its bottom is the woman-optimal stable matching .
- (Polarity.) if and only if .
Converse (Blair 1984). Every finite distributive lattice is isomorphic to the lattice of stable matchings of some marriage market. Gusfield, Irving, Leather and Saks (1987) showed that a small market suffices.
In plain words
Take two stable matchings. Let every man pick the partner he likes more from the two. This gives a valid matching, since no two men pick the same woman, and it is stable again. Each woman ends up with the partner she likes less from the two. The same works if every man picks the one he likes less. So the stable matchings can be ordered from best for the men to best for the women. What is good for all men is bad for all women. At the top sits the matching that deferred acceptance gives when men propose, and at the bottom the one it gives when women propose.
Proof
Fix stable and . Let be the men who strictly prefer to , those who strictly prefer , and define , for the women in the same way.
Lemma (opposite interests). maps one to one onto , and maps one to one onto .
Proof. Let . Then is better than , which is acceptable or single, so is a woman, and . If weakly preferred to , she would strictly prefer him, since , and would block . So , and maps into . Now let . Then is a man, and strictly prefers to . As is stable, does not block it, so prefers to , strictly because . So maps into . Both maps are injective, so and both are bijections. The second statement follows by swapping and .
Parts 1 and 2. Let . A man in gets , a woman of ; a man in gets , a woman of ; every other man gets the common partner , and that woman also has . By the lemma these three groups of women are disjoint and each is hit once, so is a matching. Each woman of gets , her worse partner, and each woman of gets , also her worse partner. All partners in are partners in or , so they are acceptable. Suppose blocks . Then prefers to both and . Say ; then prefers to , and blocks . If , the pair blocks . Both are impossible, so is stable. The meet is the join for the women, so the same proof applies with the roles of the sides swapped.
Part 3. Each man's partner in is the maximum of his two partners in a chain (his order), so any stable with and has . Hence is the least upper bound, and is the greatest lower bound in the same way. The identity holds man by man, because maximum and minimum on a chain distribute over each other. A finite lattice has a top and a bottom; by the theorem of Gale and Shapley, the top is , which every man weakly prefers to every stable matching, and the bottom is .
Part 4. If , then is empty, so is empty by the lemma, which says . The converse is symmetric.
Consequences
- Optimal matchings. The lattice gives a second proof that a man-optimal and a woman-optimal stable matching exist, and polarity says that the man-optimal one is the woman-pessimal one.
- Rotations. Irving and Leather (1986) showed that the lattice is the lattice of closed sets (down-sets) of a partial order on rotations, a set of at most elements for men and women. Moving down the lattice one step eliminates one rotation. See stable matching rotations.
- Algorithms. Gusfield (1987) used rotations to list all stable matchings in time. The number of stable matchings can be exponential in , and counting them is #P-complete (Irving and Leather 1986).
- Optimization over the lattice. A weighted objective that is a sum over agents becomes a weight on rotations, and optimizing it becomes a maximum-weight closure problem: see egalitarian stable matching.
- Same matched agents. All elements of the lattice match the same set of agents; see the rural hospitals theorem.
- Fixed points. Stable matchings are the fixed points of a monotone map on a complete lattice of proposals, so the lattice structure is also an instance of the Knaster-Tarski theorem (Adachi 2000).
Tightness
- Example with four elements. Take two copies of the two-by-two market in which men and women rank each other in opposite ways: : ; : ; : ; : , and the same for , with partners of the other copy at the ends of all lists. Each copy can be matched in two stable ways, independently, so there are four stable matchings that form a diamond: at the top, at the bottom, and the two mixed ones in between. The join of the two mixed ones is the top.
- Roommates. In the stable roommates problem a stable matching may not exist, and the set of stable matchings has no lattice structure in general.
- Ties. With ties in the orders, the weakly stable matchings do not form a lattice and can differ in size; see stable matching with ties.
- Many-to-one. In the hospitals-residents problem with ordinary orders over residents, the lattice theorem still holds, through the reduction that splits a hospital into one copy per seat. With couples it fails, since stable matchings may not exist at all.
History
Knuth (1976) published the lattice theorem in his lectures on stable marriage and credited the join and meet construction to John Conway. Gale and Shapley (1962) had already shown that the proposing side gets its optimal stable matching. Irving and Leather (1986) introduced rotations and the rotation poset. Blair (1984) proved that every finite distributive lattice arises, and Gusfield, Irving, Leather and Saks (1987) gave small instances.
References
- David Gale and Lloyd S. Shapley, College admissions and the stability of marriage, American Mathematical Monthly 69(1), 9 to 15 (1962), the whole paper (existence of a stable matching that is optimal for the proposing side)
- Robert W. Irving and Paul Leather, The complexity of counting stable marriages, SIAM Journal on Computing 15(3), 655 to 667 (1986), the whole paper (rotations, the rotation poset, and the counting problem)
- Charles Blair, Every finite distributive lattice is a set of stable matchings, Journal of Combinatorial Theory, Series A 37(3), 353 to 356 (1984), the whole paper
- Dan Gusfield, Robert W. Irving, Paul Leather and Michael Saks, Every finite distributive lattice is a set of stable matchings for a small stable marriage instance, Journal of Combinatorial Theory, Series A 44(2), 304 to 309 (1987), the whole paper
- Dan Gusfield, Three fast algorithms for four problems in stable marriage, SIAM Journal on Computing 16(1), 111 to 128 (1987), the whole paper (enumeration of all stable matchings with rotations)
- Dan Gusfield and Robert W. Irving, The Stable Marriage Problem, Structure and Algorithms, MIT Press (1989), the chapter on the structure of the set of stable matchings
Where this leads
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 5RCMG6 Edit this page History Report an error Markdown