Existence of stable matchings
ProvedStableMatching.stable_matching_existsgale-shapleystable-matching
For every instance with men and women, each ranking all members of the other side strictly, there exists a stable matching: a bijection from men to women with no pair such that prefers to and prefers to .
Preamble
import Mathlib import Definitions.Def_StableMatching_GaleShapley
Formal statement
namespace StableMatching
theorem stable_matching_exists {n : ℕ} (I : Instance n) :
∃ μ : Matching n, I.IsStable μ := by sorry
end StableMatching
Source
Wikipedia, "Stable matching problem" (https://en.wikipedia.org/wiki/Stable_matching_problem), sections "Stable matching problem" (introduction), "Different stable matchings" and "Algorithmic solution"; primary reference: D. Gale, L. S. Shapley, College Admissions and the Stability of Marriage, Amer. Math. Monthly 69 (1962) 9–14, doi:10.2307/2312726.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.