Strongly polynomial algorithm for 0/1 linear Fisher markets #
This module formalizes Exercise 5.1 of [Vaz07] (Chapter 5, p. 133): a strongly polynomial
combinatorial algorithm for computing exact market equilibria in linear Fisher markets with 0/1
utilities (∀ i g, M.utility i g = 0 ∨ M.utility i g = 1), using at most
n (n + 1) / 2 + 1 = O(n²) max-flow oracle calls (n = |G|), completely independent of the
magnitudes or bit-lengths of buyer budgets and good supplies.
Algorithm #
Unlike the general linear DPSV algorithm (CslibFrontier.GameTheory.Market.DPSVAlgorithm,
Theorem 5.22), which depends logarithmically on M = ∑ e_i and U = max u_{i g}, under 0/1
utilities every buyer's bang-per-buck on a desired good g is simply 1 / p_g, so buyers always
prefer their cheapest desired goods. Raising prices uniformly on the remaining active goods A ⊆ G
above the previously frozen price threshold prevPrice decouples frozen buyers (who desire at least
one frozen good in G \ A priced ≤ prevPrice) from active buyers (activeBuyers A). Each round
invokes LinearFisherMarket.findTightSetProgram (CslibFrontier.GameTheory.Market.BalancedFlow,
Lemma 5.11) on A at auxiliary prices p_cur g = if g ∈ A then prevPrice + 1 else p g to find
the exact minimum tight ratio x* and maximal tight set S* ⊆ A in at most |A| max-flow oracle
calls, freezes p g := x* * (prevPrice + 1) > prevPrice on S*, and removes S* from A.
Because |A| strictly shrinks by |S*| ≥ 1 in every round, all goods freeze in at most n rounds
and at most n (n + 1) / 2 max-flow calls; one final max-flow call on M.equalityNetwork p*
recovers an exact equilibrium allocation by Lemma 5.2 (isEquilibrium_of_isMaxRealFlow).
Main definitions #
Cslib.GameTheory.Market.LinearFisherMarket.IsZeroOneUtilities: predicate∀ i g, M.utility i g = 0 ∨ M.utility i g = 1.Cslib.GameTheory.Market.LinearFisherMarket.ZeroOneResult: equilibrium allocation, equilibrium price vector, and number of peeling rounds executed.Cslib.GameTheory.Market.LinearFisherMarket.zeroOneFisherProgram: strongly polynomialCslib.FreeM (MaxFlowQuery I G)algorithm for0/1linear Fisher markets.
Main results #
Cslib.GameTheory.Market.LinearFisherMarket.zeroOneFisherProgram_spec: Exercise 5.1 ([Vaz07], p. 133): for every non-degenerate0/1linear Fisher market (with arbitrary positive real budgets and supplies) and every valid max-flow oracleoracle,zeroOneFisherProgramcomputes an exact market equilibrium in at mostFintype.card Gpeeling rounds and at mostFintype.card G * (Fintype.card G + 1) / 2 + 1max-flow oracle calls. Note that this certifies an exact strongly polynomialO(n²)max-flow oracle query count inCslib.FreeMrather than a Word-RAM or Turing-machine bit-complexity bound.
References #
A linear Fisher market has 0/1 utilities ([Vaz07], Exercise 5.1, p. 133) if every
marginal utility M.utility i g is either 0 or 1.
Output of the strongly polynomial 0/1 linear Fisher market algorithm.
Strongly polynomial algorithm for 0/1 linear Fisher markets ([Vaz07], Exercise 5.1,
p. 133): iteratively peels tight subsets of goods via findTightSetProgram in at most |G| rounds
and |G| (|G| + 1) / 2 max-flow oracle calls, then runs one final max-flow call on
M.equalityNetwork p* to compute an exact equilibrium allocation.
Exercise 5.1 ([Vaz07], Chapter 5, p. 133): for every non-degenerate 0/1 linear
Fisher market M (with arbitrary positive real budgets and supplies) and any valid max-flow oracle
oracle, M.zeroOneFisherProgram computes an exact market equilibrium in at most |G| peeling
rounds and at most |G| (|G| + 1) / 2 + 1 = O(|G|²) max-flow oracle calls.