Documentation

CslibFrontier.GameTheory.Market.Welfare

Second Welfare Theorem and fairness of Fisher market equilibria #

While the First Welfare Theorem (ExchangeMarket.IsCompetitiveEquilibrium.isParetoOptimal in CslibFrontier.GameTheory.Market.Basic) requires only local nonsatiation, its converse—the Second Fundamental Theorem of Welfare Economics ([Arr51a]; [AD54])—uses convexity of preferences and hyperplane separation to decentralize any Pareto-optimal allocation x via a nonzero nonnegative price vector p:

  1. Negative-orthant separating hyperplane (exists_price_of_convex_disjoint_negOrthant): derived from geometric_hahn_banach_open, any nonempty convex subset K ⊆ (G → ℝ) disjoint from the open negative orthant negOrthant G = {z | ∀ g, z g < 0} in which 0 is approximable admits a nonzero nonnegative price vector p ≥ 0 (∃ g, 0 < p g) with ∀ z ∈ K, 0 ≤ expenditure p z. This serves as the shared separation engine for both the Second Welfare Theorem and the Debreu–Scarf core equivalence theorem in CslibFrontier.GameTheory.Market.Core.
  2. Consumer quasi-demand and cheaper-point upgrade (IsQuasiDemand, IsQuasiDemand.mem_demandSet_of_budget_pos): a bundle x is a quasi-demand at (p, m) if it is budget-feasible and every strictly preferred nonnegative bundle costs at least m. When u is continuous on ℝ_+^G and 0 < m (so 0 ∈ ℝ_+^G provides a strictly cheaper bundle), ray scaling upgrades IsQuasiDemand to full Marshallian demand x ∈ demandSet u p m.
  3. Second Welfare Theorem (ExchangeMarket.exists_priceQuasiEquilibrium_reendow_of_isParetoOptimal and ExchangeMarket.exists_isCompetitiveEquilibrium_reendow_of_isParetoOptimal): under local nonsatiation and convex strictly-preferred upper contour sets (HasConvexPreferences, implied by QuasiconcaveOn or ConcaveOn), every Pareto-optimal allocation x admits a price vector p supporting (x, p) as a price quasi-equilibrium after lump-sum redistribution E.reendow x (with complementary slackness p g * E.excessDemand x g = 0 against original supply). When utilities are continuous on ℝ_+^G and x is strictly positive (∀ i g, 0 < x i g, or more generally every trader receives positive value at p), (x, p) is a full competitive equilibrium of E.reendow x.
  4. Budget-weighted envy-freeness and proportionality of Fisher equilibria ([Var74]): in any FisherMarket with ray-concave utilities (and unconditionally in any LinearFisherMarket), market equilibria are budget-weighted envy-free (budget i * u_i(x_j) ≤ budget j * u_i(x_i) in the linear model, specializing to exact envy-freeness when budgets are equal) and guarantee every buyer at least their budget-share fraction of total supply utility (proportional_share).

Main definitions #

Main results #

References #

Negative-orthant hyperplane separation #

The open negative orthant {z : G → ℝ | ∀ g, z g < 0}.

@[simp]
theorem Cslib.GameTheory.Market.mem_negOrthant {G : Type u_1} {z : G → ℝ} :
z ∈ negOrthant G ↔ ∀ (g : G), z g < 0
theorem Cslib.GameTheory.Market.exists_price_of_convex_disjoint_negOrthant {G : Type u_1} [Fintype G] {K : Set (G → ℝ)} (hK_conv : Convex ℝ K) (hK_ne : K.Nonempty) (hdisj : Disjoint (negOrthant G) K) (hzero : ∀ (ε : ℝ), 0 < ε → ∃ z ∈ K, ∀ (g : G), |z g| < ε) :
∃ (p : G → ℝ), (∀ (g : G), 0 ≤ p g) ∧ (∃ (g : G), 0 < p g) ∧ ∀ z ∈ K, 0 ≤ expenditure p z

Finite-dimensional separating price lemma: if K ⊆ (G → ℝ) is convex, nonempty, disjoint from negOrthant G, and contains arbitrarily small vectors in ℓ_∞ norm (0 ∈ closure K), then there exists a nonzero nonnegative price vector p : G → ℝ such that 0 ≤ expenditure p z for all z ∈ K.

Convex preferences, strict finite Jensen, and consumer quasi-demand #

A utility function u : (G → ℝ) → ℝ has convex preferences on ℝ_+^G if for every nonnegative bundle x, the strictly preferred upper contour set {b : G → ℝ | (∀ g, 0 ≤ b g) ∧ u x < u b} is convex.

theorem Cslib.GameTheory.Market.HasConvexPreferences.of_quasiconcaveOn {G : Type u_1} {u : (G → ℝ) → ℝ} (hq : QuasiconcaveOn ℝ {b : G → ℝ | ∀ (g : G), 0 ≤ b g} u) :
theorem Cslib.GameTheory.Market.HasConvexPreferences.of_concaveOn {G : Type u_1} {u : (G → ℝ) → ℝ} (hc : ConcaveOn ℝ {b : G → ℝ | ∀ (g : G), 0 ≤ b g} u) :
theorem Cslib.GameTheory.Market.StrictConcaveOn.sum_mul_lt_of_ne {G : Type u_1} {ι : Type u_2} {u : (G → ℝ) → ℝ} (hsc : StrictConcaveOn ℝ {b : G → ℝ | ∀ (g : G), 0 ≤ b g} u) {S : Finset ι} {w : ι → ℝ} {f : ι → G → ℝ} (hw_pos : ∀ c ∈ S, 0 < w c) (hw_sum : ∑ c ∈ S, w c = 1) (hf_nn : ∀ c ∈ S, ∀ (g : G), 0 ≤ f c g) (hne : ∃ c₁ ∈ S, ∃ c₂ ∈ S, f c₁ ≠ f c₂) :
∑ c ∈ S, w c * u (f c) < u (∑ c ∈ S, w c • f c)

Strict finite Jensen inequality on ℝ_+^G for StrictConcaveOn: if u is strictly concave on ℝ_+^G, w assigns strictly positive weights on S summing to 1, and f takes at least two distinct values on S, then ∑ c ∈ S, w c * u (f c) < u (∑ c ∈ S, w c • f c).

def Cslib.GameTheory.Market.IsQuasiDemand {G : Type u_1} [Fintype G] (u : (G → ℝ) → ℝ) (p : G → ℝ) (m : ℝ) (x : G → ℝ) :

Bundle x is a quasi-demand of a consumer with utility u and budget m at prices p if x is budget-feasible and every strictly preferred nonnegative bundle costs at least m.

theorem Cslib.GameTheory.Market.IsQuasiDemand.of_mem_demandSet {G : Type u_1} [Fintype G] {u : (G → ℝ) → ℝ} {p : G → ℝ} {m : ℝ} {x : G → ℝ} (hx : x ∈ demandSet u p m) :
theorem Cslib.GameTheory.Market.IsLocallyNonsatiated.exists_lt_expenditure_lt {G : Type u_1} [Fintype G] {u : (G → ℝ) → ℝ} (hlns : IsLocallyNonsatiated u) {p x : G → ℝ} (hp : ∀ (g : G), 0 ≤ p g) (hx : ∀ (g : G), 0 ≤ x g) {δ : ℝ} (hδ : 0 < δ) :
∃ (b : G → ℝ), (∀ (g : G), 0 ≤ b g) ∧ u x < u b ∧ expenditure p b < expenditure p x + δ

Under local nonsatiation and nonnegative prices p, every nonnegative bundle x admits a strictly preferred nonnegative bundle whose expenditure is strictly less than expenditure p x + δ for any δ > 0.

theorem Cslib.GameTheory.Market.IsLocallyNonsatiated.expenditure_eq_of_isQuasiDemand {G : Type u_1} [Fintype G] {u : (G → ℝ) → ℝ} (hlns : IsLocallyNonsatiated u) {p : G → ℝ} (hp : ∀ (g : G), 0 ≤ p g) {m : ℝ} {x : G → ℝ} (hq : IsQuasiDemand u p m x) :

Under local nonsatiation, a quasi-demand bundle exhausts the consumer's budget (expenditure p x = m).

theorem Cslib.GameTheory.Market.IsQuasiDemand.mem_demandSet_of_budget_pos {G : Type u_1} [Fintype G] {u : (G → ℝ) → ℝ} {p : G → ℝ} {m : ℝ} {x : G → ℝ} (hq : IsQuasiDemand u p m x) (hp : ∀ (g : G), 0 ≤ p g) (hm : 0 < m) (hcont : ContinuousOn u {b : G → ℝ | ∀ (g : G), 0 ≤ b g}) :
x ∈ demandSet u p m

Cheaper-point upgrade (IsQuasiDemand → demandSet): if u is continuous on ℝ_+^G, prices are nonnegative, and budget m is strictly positive (0 < m, so 0 ∈ ℝ_+^G is strictly cheaper than m), then any quasi-demand bundle x is an exact Marshallian demand bundle x ∈ demandSet u p m.

Price quasi-equilibria and the Second Fundamental Theorem of Welfare Economics #

def Cslib.GameTheory.Market.ExchangeMarket.reendow {I : Type u_1} {G : Type u_2} (E : ExchangeMarket I G) (x : I → G → ℝ) (hx : ∀ (i : I) (g : G), 0 ≤ x i g) :

Lump-sum endowment redistribution supporting allocation x: replaces initial endowments with x while preserving traders' utility functions.

theorem Cslib.GameTheory.Market.ExchangeMarket.IsParetoOptimal.nonneg {I : Type u_1} {G : Type u_2} [Fintype I] {E : ExchangeMarket I G} {x : I → G → ℝ} (hpo : E.IsParetoOptimal x) (i : I) (g : G) :
0 ≤ x i g
theorem Cslib.GameTheory.Market.ExchangeMarket.IsFeasibleAllocation.sum_expenditure_le_totalSupply {I : Type u_1} {G : Type u_2} [Fintype I] [Fintype G] {E : ExchangeMarket I G} {x : I → G → ℝ} {p : G → ℝ} (hx : E.IsFeasibleAllocation x) (hp : ∀ (g : G), 0 ≤ p g) :
∑ i : I, expenditure p (x i) ≤ expenditure p E.totalSupply

At any nonnegative price vector p, aggregate expenditure under a feasible allocation x is at most the market value of total supply.

theorem Cslib.GameTheory.Market.ExchangeMarket.IsFeasibleAllocation.price_mul_excessDemand_eq_zero {I : Type u_1} {G : Type u_2} [Fintype I] [Fintype G] {E : ExchangeMarket I G} {x : I → G → ℝ} {p : G → ℝ} (hx : E.IsFeasibleAllocation x) (hp : ∀ (g : G), 0 ≤ p g) (hex0 : expenditure p (E.excessDemand x) = 0) (g : G) :
p g * E.excessDemand x g = 0

For any feasible allocation x and nonnegative price vector p, zero aggregate excess-demand value expenditure p (E.excessDemand x) = 0 forces pointwise complementary slackness p g * E.excessDemand x g = 0 for every good g.

theorem Cslib.GameTheory.Market.ExchangeMarket.IsFeasibleAllocation.exists_forall_utility_lt_sum_sub_totalSupply_le {I : Type u_1} {G : Type u_2} [Fintype I] [Nonempty I] {E : ExchangeMarket I G} {x : I → G → ℝ} (hx : E.IsFeasibleAllocation x) (hlns : ∀ (i : I), IsLocallyNonsatiated (E.utility i)) {δ : ℝ} (hδ : 0 < δ) :
∃ (y : I → G → ℝ), (∀ (i : I) (g : G), 0 ≤ y i g) ∧ (∀ (i : I), E.utility i (x i) < E.utility i (y i)) ∧ ∀ (g : G), ∑ i : I, y i g - E.totalSupply g ≤ δ

Under local nonsatiation, every feasible allocation x of a nonempty market can be perturbed to a nonnegative profile y strictly preferred by every trader whose aggregate excess over E.totalSupply g is at most any prescribed δ > 0.

@[simp]
theorem Cslib.GameTheory.Market.ExchangeMarket.reendow_endowment {I : Type u_1} {G : Type u_2} (E : ExchangeMarket I G) (x : I → G → ℝ) (hx : ∀ (i : I) (g : G), 0 ≤ x i g) :
(E.reendow x hx).endowment = x
@[simp]
theorem Cslib.GameTheory.Market.ExchangeMarket.reendow_utility {I : Type u_1} {G : Type u_2} (E : ExchangeMarket I G) (x : I → G → ℝ) (hx : ∀ (i : I) (g : G), 0 ≤ x i g) :
@[simp]
theorem Cslib.GameTheory.Market.ExchangeMarket.reendow_income {I : Type u_1} {G : Type u_2} [Fintype G] (E : ExchangeMarket I G) (x : I → G → ℝ) (hx : ∀ (i : I) (g : G), 0 ≤ x i g) (p : G → ℝ) (i : I) :
(E.reendow x hx).income p i = expenditure p (x i)
@[simp]
theorem Cslib.GameTheory.Market.ExchangeMarket.reendow_excessDemand {I : Type u_1} {G : Type u_2} [Fintype I] (E : ExchangeMarket I G) (x : I → G → ℝ) (hx : ∀ (i : I) (g : G), 0 ≤ x i g) :
(E.reendow x hx).excessDemand x = 0
def Cslib.GameTheory.Market.ExchangeMarket.IsPriceQuasiEquilibrium {I : Type u_1} {G : Type u_2} [Fintype I] [Fintype G] (E : ExchangeMarket I G) (x : I → G → ℝ) (p : G → ℝ) :

A price quasi-equilibrium (x, p) of exchange market E ([Arr51a]; [AD54]): a nonzero nonnegative price vector p and allocation x such that every trader i's bundle is a quasi-demand within E.income p i, no good is over-demanded, and any good in strict excess supply has price zero.

theorem Cslib.GameTheory.Market.ExchangeMarket.IsPriceQuasiEquilibrium.of_isCompetitiveEquilibrium {I : Type u_1} {G : Type u_2} [Fintype I] [Fintype G] {E : ExchangeMarket I G} {x : I → G → ℝ} {p : G → ℝ} (heq : E.IsCompetitiveEquilibrium x p) (hp_nz : ∃ (g : G), 0 < p g) :
theorem Cslib.GameTheory.Market.ExchangeMarket.IsPriceQuasiEquilibrium.isCompetitiveEquilibrium_of_income_pos {I : Type u_1} {G : Type u_2} [Fintype I] [Fintype G] {E : ExchangeMarket I G} {x : I → G → ℝ} {p : G → ℝ} (hq : E.IsPriceQuasiEquilibrium x p) (hcont : ∀ (i : I), ContinuousOn (E.utility i) {b : G → ℝ | ∀ (g : G), 0 ≤ b g}) (hinc : ∀ (i : I), 0 < E.income p i) :

When utilities are continuous on ℝ_+^G and every trader has strictly positive income 0 < E.income p i, any price quasi-equilibrium (x, p) is a full competitive equilibrium.

theorem Cslib.GameTheory.Market.ExchangeMarket.exists_priceQuasiEquilibrium_reendow_of_isParetoOptimal {I : Type u_1} {G : Type u_2} [Fintype I] [Fintype G] [Nonempty I] (E : ExchangeMarket I G) (hlns : ∀ (i : I), IsLocallyNonsatiated (E.utility i)) (hconv : ∀ (i : I), HasConvexPreferences (E.utility i)) {x : I → G → ℝ} (hpo : E.IsParetoOptimal x) :
∃ (p : G → ℝ), (E.reendow x ⋯).IsPriceQuasiEquilibrium x p ∧ ∀ (g : G), p g * E.excessDemand x g = 0

Second Fundamental Theorem of Welfare Economics (price quasi-equilibrium form) ([Arr51a]; [AD54]): in a locally nonsatiated exchange economy with a nonempty finite trader set and convex preferences (HasConvexPreferences), every Pareto-optimal allocation x admits a nonzero nonnegative price vector p supporting (x, p) as a price quasi-equilibrium of E.reendow x and satisfying complementary slackness p g * E.excessDemand x g = 0 against E.totalSupply.

theorem Cslib.GameTheory.Market.ExchangeMarket.exists_isCompetitiveEquilibrium_reendow_of_isParetoOptimal {I : Type u_1} {G : Type u_2} [Fintype I] [Fintype G] [Nonempty I] (E : ExchangeMarket I G) (hlns : ∀ (i : I), IsLocallyNonsatiated (E.utility i)) (hconv : ∀ (i : I), HasConvexPreferences (E.utility i)) (hcont : ∀ (i : I), ContinuousOn (E.utility i) {b : G → ℝ | ∀ (g : G), 0 ≤ b g}) {x : I → G → ℝ} (hpo : E.IsParetoOptimal x) (hx_pos : ∀ (i : I) (g : G), 0 < x i g) :
∃ (p : G → ℝ), (∃ (g : G), 0 < p g) ∧ (E.reendow x ⋯).IsCompetitiveEquilibrium x p ∧ ∀ (g : G), p g * E.excessDemand x g = 0

Second Fundamental Theorem of Welfare Economics (full competitive equilibrium with lump-sum transfers) ([Arr51a]; [AD54]): if utilities are locally nonsatiated, continuous on ℝ_+^G, and have convex preferences, then every strictly positive Pareto-optimal allocation x (∀ i g, 0 < x i g) is supported by a nonzero nonnegative price vector p as a full competitive equilibrium of E.reendow x.

Budget-weighted envy-freeness and proportionality of Fisher market equilibria #

theorem Cslib.GameTheory.Market.FisherMarket.IsEquilibrium.utility_budgetShare_supply_le {I : Type u_1} {G : Type u_2} [Fintype I] [Fintype G] {M : FisherMarket I G} {x : I → G → ℝ} {p : G → ℝ} (heq : M.IsEquilibrium x p) (hlns : ∀ (i : I), IsLocallyNonsatiated (M.utility i)) (hB : 0 < M.totalBudget) (i : I) :
M.utility i ((M.budget i / M.totalBudget) • M.supply) ≤ M.utility i (x i)

Proportional-share guarantee for general Fisher markets ([Var74]): in any Fisher market equilibrium (x, p) under local nonsatiation with 0 < M.totalBudget, every buyer i can afford their budget-share fraction (M.budget i / M.totalBudget) • M.supply of total market supply, so M.utility i ((M.budget i / M.totalBudget) • M.supply) ≤ M.utility i (x i).

theorem Cslib.GameTheory.Market.FisherMarket.IsEquilibrium.utility_le_of_budget_le {I : Type u_1} {G : Type u_2} [Fintype I] [Fintype G] {M : FisherMarket I G} {x : I → G → ℝ} {p : G → ℝ} (heq : M.IsEquilibrium x p) {i j : I} (hbud : M.budget j ≤ M.budget i) :
M.utility i (x j) ≤ M.utility i (x i)

Equal-budget envy-freeness for general Fisher markets ([Var74]): if buyers i and j have M.budget j ≤ M.budget i and every buyer is locally nonsatiated, then at any Fisher equilibrium (x, p), buyer i weakly prefers their own bundle x i to x j (M.utility i (x j) ≤ M.utility i (x i)).

theorem Cslib.GameTheory.Market.LinearFisherMarket.IsEquilibrium.budget_mul_utility_le {I : Type u_1} {G : Type u_2} [Fintype I] [Fintype G] {M : LinearFisherMarket I G} {x : I → G → ℝ} {p : G → ℝ} (heq : M.IsEquilibrium x p) (i j : I) :
M.budget i * linearUtility (M.utility i) (x j) ≤ M.budget j * M.buyerUtility x i

Budget-weighted envy-freeness of linear Fisher equilibria ([Var74]; [Vaz07], Section 5.2): at any equilibrium (x, p) of a linear Fisher market M where buyer j has positive budget (or unconditionally via cross-multiplication M.budget i * u_i(x_j) ≤ M.budget j * u_i(x_i)), no buyer envies another buyer on a per-dollar-of-budget basis.

theorem Cslib.GameTheory.Market.LinearFisherMarket.IsEquilibrium.envyFree_of_budget_eq {I : Type u_1} {G : Type u_2} [Fintype I] [Fintype G] {M : LinearFisherMarket I G} {x : I → G → ℝ} {p : G → ℝ} (heq : M.IsEquilibrium x p) {i j : I} (hbud : M.budget i = M.budget j) :

Equal-budget envy-freeness of linear Fisher equilibria: when M.budget i = M.budget j, every linear Fisher equilibrium allocation is envy-free between i and j.

theorem Cslib.GameTheory.Market.LinearFisherMarket.IsEquilibrium.proportional_share {I : Type u_1} {G : Type u_2} [Fintype I] [Fintype G] {M : LinearFisherMarket I G} {x : I → G → ℝ} {p : G → ℝ} (heq : M.IsEquilibrium x p) (hns : ∀ (i : I), ∃ (g : G), 0 < M.utility i g) (hB : 0 < ∑ k : I, M.budget k) (i : I) :
(M.budget i / ∑ k : I, M.budget k) * linearUtility (M.utility i) M.supply ≤ M.buyerUtility x i

Proportional-share guarantee for linear Fisher equilibria: when every buyer desires at least one good (buyer_nonsatiated) and 0 < ∑ k, M.budget k, every buyer i achieves at least fraction M.budget i / ∑ k, M.budget k of their utility for the entire market supply M.supply.