Cycle-selection order independence of top trading cycles #
In each round on a nonempty remaining submarket R, Instance.ttc (TopTradingCycles.lean)
removes all simultaneous top-trading cycles I.cycleAgents R at once, following
[SV07], Definition 10.5. Standard presentations of Gale's top trading cycles algorithm
([SS74]; [Rou13], Lecture 9, §3) instead pick one directed cycle in
each step, assign its members their pointed houses, remove them, and repeat.
This module proves that any cycle-selection rule (Instance.CycleSelector)—removing any nonempty
topChoice-closed subset of I.cycleAgents R per step—computes an allocation in the strict core
(CycleSelector.inStrictCore_ttc) and therefore produces the exact same allocation I.ttc
(CycleSelector.ttc_eq_ttc). In particular, sequential single-cycle elimination
(Instance.ttcSingleCycle, removing only the directed cycle of the smallest-indexed cycle agent at
each step) equals I.ttc (Instance.ttcSingleCycle_eq_ttc).
Main definitions #
Instance.cyclePerm: the allocation trading along anytopChoice-closed subset ofI.cycleAgents Rand leaving all other agents with their endowments.Cslib.Algorithms.Lean.HousingMarket.Instance.CycleSelector: a rule choosing a nonemptytopChoice-closed subset ofI.cycleAgents Rin every nonempty submarketR.Instance.CycleSelector.ttcRounds,Instance.CycleSelector.ttc: rounds and full allocation of TTC driven by aCycleSelector.Instance.cycleOf,Instance.CycleSelector.ofSeed: directed top-trading cycle of a seed agent and single-cycle selector constructor from any seed rule onI.cycleAgents R.Instance.singleCycle,Instance.singleCycleSelector,Instance.ttcSingleCycle: canonical computable single-cycle TTC eliminating one directed cycle per step.
Main results #
Instance.CycleSelector.inStrictCore_ttc: anyCycleSelectorexecution lies in the strict core.Instance.CycleSelector.ttc_eq_ttc: anyCycleSelectorexecution equalsI.ttc.Instance.ttcSingleCycle_eq_ttc: sequential single-cycle TTC equalsI.ttc.
References #
Reallocation that trades along a topChoice-closed subset C ⊆ I.cycleAgents R and fixes all
agents outside C.
A rule selecting, in every nonempty remaining submarket R, a nonempty subset of
I.cycleAgents R closed under I.topChoice R (for example, a single directed cycle or all
simultaneous cycles).
Agents on cycles selected to trade and exit from submarket
R.
At most k steps of TTC driven by sel on remaining submarket R.
The full allocation computed by n steps of sel starting from Finset.univ.
Any CycleSelector execution produces an allocation in the strict core.
Cycle-selection order independence of TTC: any CycleSelector execution yields the unique
strict-core allocation I.ttc.
Directed single-cycle orbits and canonical single-cycle TTC #
Constructs a single-cycle CycleSelector from any rule picking one seed agent inside
I.cycleAgents R for each nonempty submarket R.
The canonical CycleSelector eliminating one directed cycle (I.singleCycle R) per step.
Sequential single-cycle top trading cycles allocation, eliminating one directed cycle per step.
Removing top-trading cycles one at a time yields the same allocation as removing all cycles of each round simultaneously.