Documentation

CslibFrontier.Algorithms.Lean.StableMatching.Polytope

The fractional stable matching polytope #

Vande Vate [VV89] and Rothblum [Rot92] gave an explicit linear-inequality description of the convex hull of stable matchings of a one-to-one market I : Instance n, presented in [SV07], Section 10.4.2, pp. 260–261 (Theorem 10.15, p. 261), with a short geometric threshold rounding proof due to Teo and Sethuraman [TS98].

A real n × n matrix x : Fin n → Fin n → ℝ lies in I.stablePolytope (I.IsFractionalStable x) when it is doubly stochastic (0 ≤ x p r, row sums 1, column sums 1) and satisfies the fractional blocking inequalities

1 ≤ x p r + (∑ r' with I.PropPrefers p r' r, x p r') + (∑ p' with I.RecvPrefers r p' p, x p' r)

for every proposer p and receiver r (under ∑ r', x p r' = 1 and ∑ p', x p' r = 1, this better-partner inequality is algebraically equivalent to the complementary worse-partner inequality (∑ r' with I.PropPrefers p r r', x p r') + (∑ p' with I.RecvPrefers r p p', x p' r) + x p r ≤ 1 printed on p. 261 of [SV07]). We prove:

  1. Integral {0, 1} incidence matrices in I.stablePolytope are precisely the stable matchings (matchingMatrix_mem_stablePolytope_iff).
  2. Every positive entry 0 < x p r of x ∈ I.stablePolytope satisfies the fractional blocking inequality with equality (eq_one_of_mem_stablePolytope_of_pos).
  3. Theorem 10.15 ([SV07], Section 10.4.2, p. 261; [VV89]; [Rot92]; [TS98]): I.stablePolytope equals the convex hull of the incidence matrices of stable matchings (stablePolytope_eq_convexHull), and its extreme points are precisely the incidence matrices of stable matchings (extremePoints_stablePolytope).

Main definitions #

Main results #

References #

The {0, 1} incidence matrix of a matching μ : Matching n.

Total fractional mass proposer p places on receivers strictly preferred to r.

Total fractional mass receiver r receives from proposers strictly preferred to p.

A matrix x : Fin n → Fin n → ℝ is a fractional stable matching ([VV89]; [Rot92]; [SV07], Section 10.4.2, p. 261) if it is doubly stochastic and satisfies the fractional non-blocking inequality at every pair (p, r) (equivalent under row and column sums 1 to the complementary worse-partner inequality ≤ 1 on p. 261 of [SV07]).

The fractional stable matching polytope of I ([VV89]; [Rot92]; [SV07], Section 10.4.2, Theorem 10.15, p. 261).

The fractional stable matching polytope is convex.

Incidence matrices of stable matchings #

The {0, 1} matrix matchingMatrix μ belongs to I.stablePolytope if and only if μ is a stable matching.

Quadratic slackness identity on positive support #

theorem Cslib.Algorithms.Lean.StableMatching.Instance.eq_one_of_mem_stablePolytope_of_pos {n : ℕ} (I : Instance n) {x : Fin n → Fin n → ℝ} (hx : x ∈ I.stablePolytope) {p r : Fin n} (hpos : 0 < x p r) :
x p r + I.propBetterMass x p r + I.recvBetterMass x r p = 1

Complementary-slackness identity ([Rot92]; [TS98]): for any x ∈ I.stablePolytope and any pair (p, r) with 0 < x p r, the fractional blocking inequality at (p, r) holds with equality.

Threshold rounding and Teo–Sethuraman convex decomposition #

Theorem 10.15 ([SV07], Section 10.4.2, p. 261; [VV89]; [Rot92]; [TS98]): the fractional stable matching polytope I.stablePolytope equals the convex hull of the {0, 1} incidence matrices of stable matchings of I.

Theorem 10.15 (Extreme-point integrality) ([SV07], Section 10.4.2, p. 261; [VV89]; [Rot92]; [TS98]): the extreme points of I.stablePolytope are precisely the {0, 1} incidence matrices of stable matchings of I.