The core of the two-sided matching game #
This module proves that the core (and, under strict preferences, the weak core) of the one-to-one two-sided matching game coincides with the set of stable matchings ([SV07], Theorem 10.12, p. 257; see also [RS90], Chapter 2), for both:
- strict complete preference lists (
Instance n), and - strict, possibly incomplete preference lists with unequal sides (
IncompleteInstance m n).
A coalition (P, R) strictly blocks a matching μ via μ' when P ∪ R is nonempty, μ'
matches members of P only to members of R (and vice versa), and every agent in P ∪ R
strictly prefers its outcome under μ' to its outcome under μ. Under strict preferences on
IncompleteInstance m n, unacceptable partners are strictly dispreferred to staying unmatched
(none), so singleton coalitions {p} and {r} force individual rationality.
A coalition (P, R) weakly blocks μ via μ' when every member of P ∪ R weakly prefers its
outcome under μ' to μ (o₁ = o₂ or strict preference), and at least one member strictly
prefers μ'. Because preferences are strict, both cores coincide with stability.
Main definitions #
Cslib.Algorithms.Lean.StableMatching.Instance.IsBlockingCoalition,Cslib.Algorithms.Lean.StableMatching.Instance.IsWeaklyBlockingCoalition,Cslib.Algorithms.Lean.StableMatching.Instance.InCore,Cslib.Algorithms.Lean.StableMatching.Instance.InWeakCore: strict and weak blocking coalitions and cores forInstance n.Cslib.Algorithms.Lean.StableMatching.IncompleteInstance.IsBlockingCoalition,Cslib.Algorithms.Lean.StableMatching.IncompleteInstance.IsWeaklyBlockingCoalition,Cslib.Algorithms.Lean.StableMatching.IncompleteInstance.InCore,Cslib.Algorithms.Lean.StableMatching.IncompleteInstance.InWeakCore: the same forIncompleteInstance m n, with strict preference ordering treating unacceptable partners as strictly worse than staying unmatched (none).
Main results #
Cslib.Algorithms.Lean.StableMatching.Instance.isStable_iff_inCore: Theorem 10.12 ([SV07], p. 257):I.IsStable μ ↔ I.InCore μ.Cslib.Algorithms.Lean.StableMatching.Instance.isStable_iff_inWeakCore: under strict complete preferences, the weak core also equals the set of stable matchings.Cslib.Algorithms.Lean.StableMatching.IncompleteInstance.isStable_iff_inCore,Cslib.Algorithms.Lean.StableMatching.IncompleteInstance.isStable_iff_inWeakCore: the incomplete-list counterparts with unequal sides.
References #
A nonempty coalition (P, R) strictly blocks a complete matching μ via μ'
([SV07], p. 257) when μ' maps P into R and R into P, and every agent in
P ∪ R strictly prefers its partner in μ' to its partner in μ.
A coalition (P, R) weakly blocks μ via μ' when μ' maps P into R and R into P,
every agent in P ∪ R weakly prefers its partner in μ' to μ, and at least one agent strictly
prefers μ'.
Under strict complete preferences, the weak core coincides with the set of stable matchings.
Strict preference score for proposer p on an outcome o : Option (Fin n): acceptable
partners receive their list index (< length), staying unmatched (none) receives length, and
unacceptable partners receive length + 1 (strictly worse than staying unmatched).
Strict preference score for receiver r on an outcome o : Option (Fin m).
Proposer p strictly prefers outcome o₁ to outcome o₂ (none strictly beats every
unacceptable partner, and every acceptable partner strictly beats none in list order).
Receiver r strictly prefers outcome o₁ to outcome o₂ (none strictly beats every
unacceptable partner, and every acceptable partner strictly beats none in list order).
A nonempty coalition (P, R) strictly blocks a partial matching μ via μ' when μ' only
matches agents of P inside R (and vice versa), leaving partners optionally unmatched, and
every member of P ∪ R strictly prefers its outcome under μ' to μ.
A coalition (P, R) weakly blocks μ via μ' when μ' matches P inside R (and vice
versa), every member weakly prefers μ' to μ (either equal outcome or strictly preferred), and
at least one member strictly prefers μ'.
The core of IncompleteInstance m n: no nonempty coalition strictly blocks μ.
The weak core of IncompleteInstance m n: no coalition weakly blocks μ.
Theorem 10.12 ([SV07], p. 257; incomplete-list extension): a partial matching
lies in the core of IncompleteInstance m n if and only if it is stable.
Under strict incomplete preferences, the weak core coincides with the set of stable partial matchings.