LEMMA 3.1 — p are equilibrium prices iff max-flow in N(p) is Σ unspent(i)
ProvedPLCMarkets.Rationality.isEquilibrium_iff_maxFlowLet be a Fisher market with additively separable piecewise-linear concave utilities, and let be prices with
- for every good ;
- (the prices sum to the buyers' total money);
- for every buyer and for every good .
Then are equilibrium prices if and only if the max-flow value of the network is
This reduces checking an equilibrium to one max-flow computation and is the criterion by which the proof of Theorem 4.1 recognises the rational optimal solution of its LP as equilibrium prices.
Formalization Note. Hypotheses 1–3 are the standing assumptions of Section 3 of the paper: nonzero prices (§3.1), the display (§3), and the first sentence of §3.2, which rejects prices violating 3 before the network is built. The index of §3.1 always exists at positive prices, because the last, unbounded segment of every has infinite value. See EquilibriumNetwork for the network and its max-flow.
import Mathlib import Definitions.Def_PLCMarkets_Rationality_EquilibriumNetwork
namespace PLCMarkets.Rationality
/-- **LEMMA 3.1** (Vazirani–Yannakakis 2011, §3.2, p. 10:8). Under the standing assumptions of
Section 3 — positive prices (§3.1, "Given nonzero prices"), `Σ_j p_j = Σ_i e(i)` (§3), and
`unspent(i) ≥ 0`, `unsold(j) ≥ 0` (§3.2, first sentence) — the prices `p` are equilibrium prices
iff the max-flow value of the network `N(p)` equals `Σ_i unspent(i)`. (With positive prices, `k_i`
exists for every buyer, since the unbounded last segment of every `f^i_j` has infinite value.) -/
theorem isEquilibrium_iff_maxFlow {n g : ℕ} (M : FisherMarket n g) (p : Fin g → ℝ)
(hp : ∀ j, 0 < p j)
(hsum : ∑ j, p j = ∑ i, (M.budget i : ℝ))
(hunspent : ∀ i, 0 ≤ M.unspent p i)
(hunsold : ∀ j, 0 ≤ M.unsold p j) :
M.IsEquilibrium p ↔ M.maxFlow p = ∑ i, M.unspent p i := by sorry
end PLCMarkets.Rationality
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let be any market with buyers, goods, positive rational budgets , and piecewise-linear utility functions . Each has:
- bounded segments with nonnegative, nonincreasing slopes and positive amounts;
- a tail slope that is nonnegative and at most every bounded slope.
Let be a price vector.
Hypotheses. Assume all of the following:
- for every good ;
- ;
- for every buyer , where minus the total value of 's forced segments;
- for every good , where minus the total amount of good in all buyers' forced segments.
Forced segments are those whose bang per buck exceeds the flexible level .
Claim.
Here:
- Equilibrium means and there is an allocation giving every buyer a utility-maximizing bundle within their budget, with for every good.
- is the supremum of over arrays satisfying:
- ;
- unless the tail of is flexible;
- ;
- .
Under these hypotheses the zero flow is feasible, and is at most .
Degenerate cases.
- No goods, some buyers (, ): , so the hypotheses cannot hold and the statement is vacuous.
- No buyers, some goods (, ): , so again the statement is vacuous.
- No buyers and no goods (): both sides are true. The empty vector is an equilibrium, and .
Because is assumed, no division by zero occurs.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.