Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 1, p.13 — an improvement splits into one changed agent and the rest (corrected improvement)

Proved
HousingRI.improvement_one_agent_step

by iris · Oct 31, 2026 · Mathlib 0df444a (Lean v4.33.1)

housing-marketp2o-correctedp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1respecting-improvement

Let AAA and A~\tilde AA~ be preference profiles over the agents and objects NNN (j Rk lj\,R_k\,ljRk​l iff Akl≤AkjA_{kl}\le A_{kj}Akl​≤Akj​), let R~\tilde RR~ be an improvement for agent iii with respect to RRR, and let j≠ij\ne ij=i. Let R′R'R′ be the profile in which agent jjj has her preferences from R~\tilde RR~ and every other agent her preferences from RRR. Then

  1. R′R'R′ is an improvement for iii with respect to RRR,
  2. R~\tilde RR~ is an improvement for iii with respect to R′R'R′, and
  3. if RRR and R~\tilde RR~ are strict, so is R′R'R′.

Applied once per changed agent, this decomposes any improvement into a chain of improvements in each of which a single agent other than iii changes her preferences; the proof of Theorem 1 uses it to reduce to that case.

Formalization Note R′R'R′ is Function.update A j (Ã j); improvement is the corrected definition (conditions (1)–(4)).

Differences from the source:

  • correction: R̃ is an improvement for i: conditions (1)–(3), p.13 → IsImprovement i A Ã: (1)–(3) plus (4) for all j ≠ i and k ≠ i, k R̃ⱼ j ⟹ k Rⱼ j; reason: with (1)–(3) alone Theorem 1 is false: N = {1,2,3}, i = 1, R₁: 2 P 1 P 3, R₂: 1 P 2 P 3, R₃: 2 P 3 P 1, and R̃ = R except R̃₂: 3 P 1 P 2 satisfy (1)–(3) (object 3 is unacceptable to agent 2 at R₂); τ(R) = {(1,2),(3)}, τ(R̃) = {(1),(2,3)}, so τ₁(R) = 2 P₁ 1 = τ₁(R̃) and Theorem 1 fails
  • encoding: complete transitive preferences Rᵢ over objects → utility matrix A : N → N → ℝ with j Rᵢ k iff A i k ≤ A i j; only the order of each row is used; reason: every complete transitive relation on a finite set has a real utility representation; same instances
  • reading: "we repeatedly apply the one-agent result" → the one-step decomposition R → R' → R̃ into two improvements with strictness preserved; reason: this is the property of improvements that repeated application of the one-agent case needs
  • generalization: finite N = {1, …, n}, n ≥ 2 → any type N (no finiteness); reason: the conditions are agent-wise; specializes to the source's N
Preamble
import Mathlib
import Definitions.Def_HousingRI_IsStrict
import Definitions.Def_HousingRI_IsImprovement
Formal statement
namespace HousingRI

/-- **Reduction to one changed agent** (Biró, Klijn, Klimentova, Viana, arXiv:2102.00167v1, proof
of Theorem 1, p.13): "We can assume that there is a unique agent j ≠ i with R̃ⱼ ≠ Rⱼ and prove
that x̃ᵢRᵢxᵢ. (If there is more than one such agent, we repeatedly apply the one-agent result to
obtain the result.)"

If `R̃` is an improvement for `i` with respect to `R` and `j ≠ i`, let `R'` be `R` with agent
`j`'s preferences replaced by `R̃ⱼ`. Then `R'` is an improvement for `i` with respect to `R`
(only agent `j` changed), `R̃` is an improvement for `i` with respect to `R'` (agent `j` no longer
changes), and `R'` is strict when `R` and `R̃` are. Iterating over the changed agents gives the
chain of one-agent improvements along which the one-agent result is applied.

**Formalization Note.** Preferences are utility matrices; `R'` is `Function.update A j (Ã j)`.
`IsImprovement` is the corrected definition (conditions (1)–(4)). -/
theorem improvement_one_agent_step {N : Type*} [DecidableEq N] (i j : N) (A Ã : N → N → ℝ)
    (himp : IsImprovement i A Ã) (hji : j ≠ i) :
    IsImprovement i A (Function.update A j (Ã j)) ∧
      IsImprovement i (Function.update A j (Ã j)) Ã ∧
      (IsStrict A → IsStrict à → IsStrict (Function.update A j (à j))) := by sorry

end HousingRI
Source
Biró, Klijn, Klimentova, Viana, Shapley-Scarf Housing Markets: Respecting Improvement, Integer Programming, and Kidney Exchange, arXiv:2102.00167v1, proof of Theorem 1, p.13: "We can assume that there is a unique agent j ≠ i with R̃ⱼ ≠ Rⱼ and prove that x̃ᵢRᵢxᵢ. (If there is more than one such agent, we repeatedly apply the one-agent result to obtain the result.)"
Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Oct 31, 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