Section 1 — stable matchings exist and every stable matching is popular
ProvedPopularMixed.stable_exists_and_popularp2o-gran-per-chapterp2o-plan-paperp2o-v1popular-matchingstable-matching
Let be any instance with strict, possibly incomplete preference lists. Then
- has a stable matching, and
- every stable matching of is popular: for every matching .
These are the two classical facts the paper cites (Gale–Shapley; Gärdenfors). The first makes nonempty; the second is used for the stable matchings of and of the doubled instance in Sections 3 and 4.
Differences from the source:
- encoding: applicants A, jobs B, edge set E, strict (possibly incomplete) preference lists over neighbours → finite types A, B; E : Finset (A × B); rank functions rankA, rankB to ℕ, injective on the neighbours of each vertex, smaller rank = more preferred; reason: every strict order on a finite neighbour set is given by such a rank function and conversely; ranks of non-neighbours are never read
Preamble
import Mathlib import Definitions.Def_PopularMixed_Model
Formal statement
namespace PopularMixed
/-- Huang–Kavitha, *Popularity, Mixed Matchings, and Self-duality*, conference version (SODA 2017), Section 1, PDF p.1: "The
existence of stable matchings and the Gale-Shapley algorithm [16] to find one are classical
results in algorithms. It is easy to show that every stable matching is popular [18]."
Both facts, for every instance with strict and possibly incomplete preference lists and sides of
any sizes. -/
theorem stable_exists_and_popular {A B : Type*} [Fintype A] [Fintype B] [DecidableEq A] [DecidableEq B] (G : Instance A B) :
(∃ S, G.IsStable S) ∧ ∀ S, G.IsStable S → G.IsPopular S := by sorry
end PopularMixed
Source
Huang–Kavitha, Popularity, Mixed Matchings, and Self-duality, conference version (SODA 2017), Section 1, PDF p.1 (citing Gale–Shapley [16] and Gärdenfors [18]).
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.