Left to Solve
Problems / MathOverflow (not formalized)

Stable matchings when switches have costs

Open, not yet stated in LeanMathOverflow (not formalized)CombinatoricsComputational Complexitydifficulty55/100

Statement

The Gale-Shapley algorithm finds a stable matching in the complete bipartite graph, for any preference matrix. It's also well-known that stable matchings don't always exist in the complete graph (roommates problem), and it seems to be still open whether they almost surely don't exist in a uniformly random instance of the latter. See

http://arxiv.org/pdf/cond-mat/0509221.pdf

Given an instance of the marriage or roommates problem, call a matching \emph{-stable} if there is no unmatched pair such that ranks at least places higher than his match, and similarly for . There are a couple of obvious motivations for considering this extension: (i) imagine that there is a cost associated with switching partners (e.g.: the time and money it takes to physically move, or the "social cost" incurred to one's reputation as an unreliable roommate, or the cost imposed by the laws of the society - in Ireland, where I'm from, divorce was illegal up to the mid-1990s), (ii) maybe each person has a bounded ability to distinguish beteen alternative partners. Hence, someone won't switch unless the alternative is significantly better.

Now there are some obvious questions …

Posed by Peter Hegarty · co.combinatorics, algorithms

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-149459.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-149459.lean

import Mathlib

/-!
# Stable matchings when switches have costs

Source: https://mathoverflow.net/questions/149459
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_149459

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_149459