Documentation

CslibFrontier.Algorithms.Lean.StableMatching.Core

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:

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 #

Main results #

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 μ'.

The core of the matching game I: no nonempty coalition strictly blocks μ.

The weak core of I: no coalition weakly blocks μ.

Theorem 10.12 ([SV07], p. 257): a complete matching lies in the core of I if and only if it is stable.

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.