Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 6 — the top trading cycles mechanism with type-specific quotas is constrained efficient

Proved
SchoolChoice.TTCQuota.ttcq_constrainedEfficient

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

constrained-efficiencycontrolled-choicep2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1school-choicetop-trading-cycles

Let the capacities satisfy the no-shortage condition ∣I∣≤∑sqs|I|\le\sum_{s} q_s∣I∣≤∑s​qs​, and let the type quotas qstq_s^tqst​, the types τ\tauτ, the priorities and the announced preference profile PPP be arbitrary. Let μ=TTCq(P)\mu=\mathrm{TTC}^q(P)μ=TTCq(P) be the outcome of the top trading cycles mechanism with type-specific quotas. Then

  1. μ\muμ satisfies the controlled choice constraints: every school sss receives at most qsq_sqs​ students, and at most qstq_s^tqst​ students of each type ttt;
  2. no assignment ν\nuν satisfying the controlled choice constraints gives every student a weakly better outcome than μ\muμ under PPP and some student a strictly better one.

This is Proposition 6 of the paper. Efficiency losses relative to unconstrained Pareto efficiency are unavoidable under type quotas; the proposition says the modified mechanism incurs no loss beyond the one the constraints force.

Formalization Note Outcomes and competitors are assignments that may leave a student unassigned, which is ranked below every school; this is needed for the mission's convention on stuck students (see the definition of the algorithm). When every student is assigned, the statement is exactly the paper's. Efficiency is with respect to the announced preferences. No relation between capacities and type quotas is assumed, which generalises the paper's setting.

Preamble
import Mathlib
import Definitions.Def_SchoolChoice_TTCQuota_Algorithm
Formal statement
namespace SchoolChoice.TTCQuota

/-- Proposition 6 (p. 23): the top trading cycles mechanism with type-specific quotas is
constrained efficient. For all capacities `q` with no shortage of seats, all type quotas
`qt`, all student types `τ`, all priorities and every announced preference profile `P`,
the outcome satisfies the controlled choice constraints (capacity and type quotas), and no
other assignment satisfying them makes every student weakly better off and some student
strictly better off under `P` (being unassigned is worse than every school). -/
theorem ttcq_constrainedEfficient {I S Ty : Type} [Fintype I] [DecidableEq I] [Fintype S]
    [DecidableEq S] [Fintype Ty] [DecidableEq Ty]
    (q : S → ℕ) (qt : S → Ty → ℕ) (τ : I → Ty) (hq : Fintype.card I ≤ ∑ s, q s)
    (pri : S → Priority I) (P : I → Pref S) :
    IsConstrainedEfficient q qt τ P (ttcq q qt τ pri P) := by sorry

end SchoolChoice.TTCQuota
Source
Abdulkadiroğlu and Sönmez, School Choice: A Mechanism Design Approach, Columbia Univ. Economics Discussion Paper No. 0203-18 (July 2003), p. 23, Proposition 6 (definition of constrained efficiency pp. 22–23; proof p. 30)
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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