Gale–Shapley outcome is man-optimal
ProvedStableMatching.galeShapley_man_optimalgale-shapleystable-matching
Let be the Gale–Shapley outcome of an instance and let be any stable matching of the same instance. Then every man weakly prefers his Gale–Shapley partner: .
Preamble
import Mathlib import Definitions.Def_StableMatching_GaleShapley
Formal statement
namespace StableMatching
theorem galeShapley_man_optimal {n : ℕ} (I : Instance n) (μ₀ μ : Matching n)
(h₀ : I.IsGSOutcome μ₀) (hμ : I.IsStable μ) (m : Fin n) :
I.manRank m (μ₀ m) ≤ I.manRank m (μ m) := 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 moderator at approval.