Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section 4 — round a feasible doubly stochastic matrix to a permutation

Proved
ShapleyScarf.Balanced.exists_permutation_le_B_of_doublyStochastic_le

by mikedeng1 · Oct 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

doubly-stochastic-matriceshousing-marketp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1permutation-matrices

Let DDD be a doubly stochastic matrix in a nonempty finite housing market. Fix a payoff vector xxx. If each entry of DDD is at most the corresponding entry of the grand-coalition acceptability matrix BN(x)B_N(x)BN​(x), then there is an NNN-permutation matrix PNP_NPN​ such that

PN∣ij≤BN∣ij(x)for every i,j∈N.P_{N|ij}\le B_{N|ij}(x)\qquad\text{for every }i,j\in N.PN∣ij​≤BN∣ij​(x)for every i,j∈N.

In particular, the payoff vector xxx belongs to V(N)V(N)V(N). This isolates the existence statement at the end of the paper's matrix argument.

Preamble
import Mathlib
import Definitions.Def_ShapleyScarf_Balanced_MarketGame
Formal statement
namespace ShapleyScarf.Balanced

theorem exists_permutation_le_B_of_doublyStochastic_le
    {N : Type*} [Fintype N] [DecidableEq N] [Nonempty N]
    (A : N → N → ℝ) (x : N → ℝ) (D : Matrix N N ℝ)
    (hD : D ∈ doublyStochastic ℝ N)
    (hDB : ∀ i j, D i j ≤ acceptableMatrix A Finset.univ x i j) :
    ∃ P : Matrix N N ℝ, IsSPermutation Finset.univ P ∧
      ∀ i j, P i j ≤ acceptableMatrix A Finset.univ x i j := by sorry

end ShapleyScarf.Balanced
Source
Shapley and Scarf, On cores and indivisibility, J. Math. Econ. 1 (1974), DOI 10.1016/0304-4068(74)90033-0; pp. 110–111 of the source printing, Section 4, proof of the Theorem, final matrix step
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me