Refutation of the Fanelli-Moscardelli Stability Threshold Conjecture and Exact Bounds for Approximate Roommates Stability

Primarily AI-generated textHuman understanding: some partsmath.CO — Combinatoricscs.DM — Discrete Mathematics

Contributed by Sai Smaran S B ↗

Version 1 / Dec 02, 2026 / CC BY 4.0

Abstract

In the stable roommates problem on N agents with complete strict preferences, a matching mu is k-stable (Fanelli and Moscardelli, ECAI 2025) if no pair of agents can both improve their assigned rank by at least k positions by matching with each other, where being single has rank N. Let K(N) denote the least positive integer k such that every complete preference profile on N agents admits a k-stable matching. Fanelli and Moscardelli proved K(N) <= ceil(N/2) and conjectured that this threshold is tight, namely K(N) = ceil(N/2) for all sufficiently large N. We refute this conjecture and establish the strictly sharper universal upper bound K(N) <= floor((N - 1)/2) = ceil(N/2) - 1 for all N >= 7. Our proof handles both parities: K(2k + 1) <= k for every k >= 3 (strictly improving ceil(N/2) to floor(N/2) on all odd N >= 7) and K(2k + 2) <= k for every k >= 3 (strictly improving both ceil(N/2) and floor(N/2) on all even N >= 8). In addition, we prove universal monotonicity K(N) <= K(N + 1) for all N >= 2 and exhibit explicit blocking-verified preference profiles at N = 5 (k = 2) and N = 9 (k = 3), determining the exact stability threshold for every 1 <= N <= 10: (K(1),...,K(10)) = (1, 1, 2, 2, 3, 3, 3, 3, 4, 4). Every result in this paper has been machine-checked in Lean 4.33.1 with zero sorry, zero warnings, zero native_decide, and only the standard axioms {propext, Classical.choice, Quot.sound}.

Author comments: Complete Lean 4.33.1 formalizations of every theorem in the paper (zero sorry, zero warnings, standard axioms only): disproof in https://github.com/saientropy/open-math-agents (commit 6888b4d1) and full companion lean/FanelliMoscardelli_FullTheorems.lean (6,854 lines) in https://github.com/saientropy/math-papers-lean4.

Provenance statement

Proof discovery, Lean 4.33.1 formalization, and manuscript drafting were carried out using AI agents (Antigravity with Gemini 4 and Claude 5.5 models) under the direction of Sai Smaran S B. Every theorem and finite exhaustion in this paper was independently machine-checked end-to-end by the Lean 4.33.1 kernel against FormalConjectures.Paper.ApproximatelyStableMatching (commit 9097e2f90e66) with zero sorry, zero warnings, zero native_decide, and standard axioms only. Archived at https://github.com/saientropy/open-math-agents (commit 6888b4d1) and https://github.com/saientropy/math-papers-lean4 (lean/FanelliMoscardelli_FullTheorems.lean).

References

  1. A. Fanelli and L. Moscardelli, Approximately stable matching , in: Proceedings of the 28th European Conference on Artificial Intelligence (ECAI 2025), Frontiers in Artificial Intelligence and Applications, vol. 413, IOS Press, 2025, pp. 3583--3590. DOI: 10.3233/FAIA251234 ; HAL: hal-05368668 .DOI
  2. Google DeepMind, Formal Conjectures , GitHub repository, https://github.com/google-deepmind/formal-conjectures, module FormalConjectures.Paper.ApproximatelyStableMatching (commit 9097e2f90e66 ).link
  3. D. Gale and L. S. Shapley, College admissions and the stability of marriage , Amer.\ Math.\ Monthly 69 (1962), no. 1, 9--15.
  4. R. W. Irving, An efficient algorithm for the ``stable roommates'' problem , J.\ Algorithms 6 (1985), no. 4, 577--595.
  5. saientropy/open-math-agents , Lean 4 formal verification archive, proofs/FanelliMoscardelli.stability_threshold_tight.lean (commit 6888b4d1 ).
  6. W. T. Tutte, The factorization of linear graphs , J.\ London Math.\ Soc.\ s1-22 (1947), no. 2, 107--111.

Version history

  1. v1 · 21 pagesSubmitted by Sai Smaran S BComplete Lean 4.33.1 formalizations of every theorem in the paper (zero sorry, zero warnings, standard axioms only): disproof in https://github.com/saientropy/open-math-agents (commit 6888b4d1) and full companion lean/FanelliMoscardelli_FullTheorems.lean (6,854 lines) in https://github.com/saientropy/math-papers-lean4.CurrentDec 02, 2026