EconCSLib.MarketDesign.Matching.Basic #
Stable matching theory: two-sided markets where agents on each side have preferences over agents on the other side.
Main definitions #
MatchingMarket— a two-sided market with bundled preferences over partnersMatching— a matching between two setsIsBlocking— a blocking pair [MSZ 22.5]IsStable— a stable matching (no blocking pair) [MSZ 22.5]IsIndividuallyRational— every matched agent strictly prefers their partner to being unmatched
Design #
MatchingMarket stores only preference data. It does not bake
[Fintype M] [Fintype W] into the structure. Finiteness belongs at the
algorithm or existence-theorem layer, not in the market itself.
Preferences are bundled using the foundation-level Pref interface,
applied to Option W and Option M so that none represents being unmatched.
Strict preference is derived uniformly via strict.
References #
- [MSZ] Chapter 22
- Gale, D. and Shapley, L.S. (1962). "College Admissions and the Stability of Marriage".
Matching market #
Matching #
Stability #
A pair (m, w) is a blocking pair for matching μ if both m and w
strictly prefer each other to their current partners. [MSZ 22.5]
Equations
Instances For
A matching is stable if it has no blocking pair. [MSZ 22.5]
Equations
- Matching.IsStable market μ = ∀ (m : M) (w : W), ¬Matching.IsBlocking market μ m w
Instances For
A matching is individually rational if every matched agent strictly prefers their partner to being unmatched.
Equations
- One or more equations did not get rendered due to their size.