Documentation

CslibFrontier.GameTheory.Market.Leontief

Leontief exchange economies and correspondence with bimatrix Nash equilibria #

In a Leontief (fixed-proportions) utility function ([CV07], Section 6.1.5, p. 139 and Section 6.5.2, p. 152), a consumer desires goods in fixed nonnegative proportions f : G → ℝ, obtaining utility leontiefUtility f b = min_{g : f g > 0} (b g / f g) (or 0 when no good has positive proportion). At nonnegative prices π with positive unit-utility cost expenditure π f > 0 and budget m ≥ 0, every optimal bundle attains utility U* = m / expenditure π f, allocates at least U* * f g to each desired good, and equals U* * f g on every positively priced good (mem_demandSet_leontiefUtility_iff).

Following Codenotti, Saberi, Varadarajan, and Ye (2006) as presented in [CV07], Section 6.5.2, p. 152, any bimatrix game (A, B) with strictly positive M × N payoff matrices induces a bipartite Leontief exchange economy bimatrixLeontiefMarket with traders and goods indexed by M ⊕ N:

Allowing nonnegative (not strictly positive) equilibrium prices—as required on p. 152—this module establishes the exact one-to-one correspondence (bimatrixLeontiefNashEquivEquilibriumPrice) between mixed Nash equilibria (x, y) of (A, B) and normalized equilibrium price vectors π : M ⊕ N → ℝ (∑ g, π g = 1) of bimatrixLeontiefMarket: equilibrium utilities (U, V) correspond via payoff scaling (U, V) = (v₂⁻¹ • x, v₁⁻¹ • y) to Nash strategies, and each Nash support induces a strictly positive column-stochastic bipartite price transfer whose unique stationary distribution (proved via Matrix.exists_vecMul_eq_self_of_mem_rowStochastic and strict ℓ₁ contraction) determines π uniquely.

Main definitions #

Main results #

References #

Leontief (fixed-proportions) utility and Marshallian demand #

noncomputable def Cslib.GameTheory.Market.leontiefUtility {G : Type u_1} [Fintype G] (f b : G → ℝ) :

Leontief (fixed-proportions) utility function ([CV07], Section 6.1.5, p. 139 and Section 6.5.2, p. 152): given nonnegative desired proportions f : G → ℝ, the utility of bundle b is min_{g : 0 < f g} (b g / f g) (or 0 when no good has 0 < f g).

theorem Cslib.GameTheory.Market.leontiefUtility_eq_inf' {G : Type u_1} [Fintype G] {f b : G → ℝ} [DecidablePred fun (g : G) => 0 < f g] (h : {g : G | 0 < f g}.Nonempty) :
leontiefUtility f b = {g : G | 0 < f g}.inf' h fun (g : G) => b g / f g
theorem Cslib.GameTheory.Market.le_leontiefUtility_iff {G : Type u_1} [Fintype G] {f b : G → ℝ} {u : ℝ} (hpos : ∃ (g : G), 0 < f g) :
u ≤ leontiefUtility f b ↔ ∀ (g : G), 0 < f g → u * f g ≤ b g
theorem Cslib.GameTheory.Market.leontiefUtility_mul_le {G : Type u_1} [Fintype G] {f b : G → ℝ} (hf : ∀ (g : G), 0 ≤ f g) (hb : ∀ (g : G), 0 ≤ b g) (g : G) :
leontiefUtility f b * f g ≤ b g
theorem Cslib.GameTheory.Market.leontiefUtility_nonneg {G : Type u_1} [Fintype G] {f b : G → ℝ} (hb : ∀ (g : G), 0 ≤ b g) :
theorem Cslib.GameTheory.Market.leontiefUtility_smul {G : Type u_1} [Fintype G] {f b : G → ℝ} {c : ℝ} (hc : 0 ≤ c) :

Scaling bundle b by c ≥ 0 scales leontiefUtility f b by c ([CV07], Section 6.1.5, p. 139).

theorem Cslib.GameTheory.Market.concaveOn_leontiefUtility {G : Type u_1} [Fintype G] (f : G → ℝ) :
ConcaveOn ℝ {b : G → ℝ | ∀ (g : G), 0 ≤ b g} (leontiefUtility f)

leontiefUtility f is concave on {b : G → ℝ | ∀ g, 0 ≤ b g} (as a finite pointwise minimum of linear functions).

theorem Cslib.GameTheory.Market.isLocallyNonsatiated_leontiefUtility {G : Type u_1} [Fintype G] {f : G → ℝ} (hf : ∀ (g : G), 0 ≤ f g) (hpos : ∃ (g : G), 0 < f g) :

A Leontief consumer with f ≥ 0 and at least one desired good (∃ g, 0 < f g) is locally nonsatiated on nonnegative bundles.

theorem Cslib.GameTheory.Market.leontiefUtility_smul_self {G : Type u_1} [Fintype G] {f : G → ℝ} {c : ℝ} (hpos : ∃ (g : G), 0 < f g) (hc : 0 ≤ c) :

Utility of a scalar multiple c • f (c ≥ 0) of the desired proportion vector equals c.

theorem Cslib.GameTheory.Market.demandSet_leontiefUtility_eq_empty_of_cost_zero {G : Type u_1} [Fintype G] {f p : G → ℝ} {m : ℝ} (hf : ∀ (g : G), 0 ≤ f g) (hpos : ∃ (g : G), 0 < f g) (hm : 0 ≤ m) (hcost : expenditure p f = 0) :

If a Leontief consumer's desired bundle costs 0 at nonnegative prices p (expenditure p f = 0) while ∃ g, 0 < f g and 0 ≤ m, then utility is unbounded on the budget set, so demandSet is empty.

theorem Cslib.GameTheory.Market.mem_demandSet_leontiefUtility_iff {G : Type u_1} [Fintype G] {f p : G → ℝ} {m : ℝ} {b : G → ℝ} (hf : ∀ (g : G), 0 ≤ f g) (hpos : ∃ (g : G), 0 < f g) (hp : ∀ (g : G), 0 ≤ p g) (hm : 0 ≤ m) (hcost : 0 < expenditure p f) :
b ∈ demandSet (leontiefUtility f) p m ↔ IsBudgetFeasible p m b ∧ ∀ (g : G), 0 < f g → m / expenditure p f * f g ≤ b g

Exact Marshallian demand characterization of a Leontief consumer at nonnegative prices p with positive unit-utility cost 0 < expenditure p f and budget m ≥ 0: b is optimal if and only if b is budget-feasible and ∀ g, 0 < f g → (m / expenditure p f) * f g ≤ b g.

theorem Cslib.GameTheory.Market.eq_proportion_of_mem_demandSet_leontiefUtility {G : Type u_1} [Fintype G] {f p : G → ℝ} {m : ℝ} {b : G → ℝ} (hf : ∀ (g : G), 0 ≤ f g) (hpos : ∃ (g : G), 0 < f g) (hp : ∀ (g : G), 0 ≤ p g) (hm : 0 ≤ m) (hcost : 0 < expenditure p f) (hb : b ∈ demandSet (leontiefUtility f) p m) {g : G} (hpg : 0 < p g) :
b g = m / expenditure p f * f g

At any optimal Leontief bundle b ∈ demandSet (leontiefUtility f) p m, every positively priced good 0 < p g is purchased in exact proportion b g = (m / expenditure p f) * f g (in particular, undesired positively priced goods with f g = 0 have b g = 0).

Leontief exchange economies and strictly positive column-stochastic stationary vectors #

structure Cslib.GameTheory.Market.LeontiefExchangeMarket (I : Type u_1) (G : Type u_2) :
Type (max u_1 u_2)

A Leontief Arrow–Debreu exchange economy ([CV07], Section 6.5.2, p. 152): each trader i : I has nonnegative endowment endowment i and nonnegative Leontief desired-proportion vector proportion i.

  • endowment : I → G → ℝ

    Initial endowment endowment i g of good g held by trader i.

  • proportion : I → G → ℝ

    Desired fixed proportions proportion i g of trader i.

  • endowment_nonneg (i : I) (g : G) : 0 ≤ self.endowment i g

    Initial endowments are nonnegative.

  • proportion_nonneg (i : I) (g : G) : 0 ≤ self.proportion i g

    Desired proportions are nonnegative.

View E as a general ExchangeMarket I G with leontiefUtility (E.proportion i).

§6.5.2 Bimatrix-to-Leontief exchange economy correspondence #

noncomputable def Cslib.GameTheory.Market.bimatrixLeontiefMarket {M : Type u_1} {N : Type u_2} (G : BimatrixGame M N) (hA : ∀ (i : M) (j : N), 0 < G.A i j) (hB : ∀ (i : M) (j : N), 0 < G.B i j) :

Bimatrix-to-Leontief exchange economy ([CV07], Section 6.5.2, p. 152; Codenotti–Saberi–Varadarajan–Ye 2006): given a bimatrix game G : BimatrixGame M N with strictly positive payoff matrices A, B > 0, construct the bipartite Leontief exchange economy on M ⊕ N where each trader t is endowed with one unit of good t, trader inl i desires goods inr j in proportions given by row i of B, and trader inr j desires goods inl i in proportions given by column j of A.

@[simp]
theorem Cslib.GameTheory.Market.bimatrixLeontiefMarket_proportion_inl_inl {M : Type u_1} {N : Type u_2} (G : BimatrixGame M N) (hA : ∀ (i : M) (j : N), 0 < G.A i j) (hB : ∀ (i : M) (j : N), 0 < G.B i j) (i i' : M) :
@[simp]
theorem Cslib.GameTheory.Market.bimatrixLeontiefMarket_proportion_inl_inr {M : Type u_1} {N : Type u_2} (G : BimatrixGame M N) (hA : ∀ (i : M) (j : N), 0 < G.A i j) (hB : ∀ (i : M) (j : N), 0 < G.B i j) (i : M) (j : N) :
@[simp]
theorem Cslib.GameTheory.Market.bimatrixLeontiefMarket_proportion_inr_inl {M : Type u_1} {N : Type u_2} (G : BimatrixGame M N) (hA : ∀ (i : M) (j : N), 0 < G.A i j) (hB : ∀ (i : M) (j : N), 0 < G.B i j) (j : N) (i : M) :
@[simp]
theorem Cslib.GameTheory.Market.bimatrixLeontiefMarket_proportion_inr_inr {M : Type u_1} {N : Type u_2} (G : BimatrixGame M N) (hA : ∀ (i : M) (j : N), 0 < G.A i j) (hB : ∀ (i : M) (j : N), 0 < G.B i j) (j j' : N) :
@[simp]
theorem Cslib.GameTheory.Market.bimatrixLeontiefMarket_totalSupply {M : Type u_1} {N : Type u_2} [Fintype M] [Fintype N] (G : BimatrixGame M N) (hA : ∀ (i : M) (j : N), 0 < G.A i j) (hB : ∀ (i : M) (j : N), 0 < G.B i j) (g : M ⊕ N) :
@[simp]
theorem Cslib.GameTheory.Market.bimatrixLeontiefMarket_income {M : Type u_1} {N : Type u_2} [Fintype M] [Fintype N] (G : BimatrixGame M N) (hA : ∀ (i : M) (j : N), 0 < G.A i j) (hB : ∀ (i : M) (j : N), 0 < G.B i j) (π : M ⊕ N → ℝ) (t : M ⊕ N) :
@[simp]
theorem Cslib.GameTheory.Market.bimatrixLeontiefMarket_cost_inl {M : Type u_1} {N : Type u_2} [Fintype M] [Fintype N] (G : BimatrixGame M N) (hA : ∀ (i : M) (j : N), 0 < G.A i j) (hB : ∀ (i : M) (j : N), 0 < G.B i j) (π : M ⊕ N → ℝ) (i : M) :
@[simp]
theorem Cslib.GameTheory.Market.bimatrixLeontiefMarket_cost_inr {M : Type u_1} {N : Type u_2} [Fintype M] [Fintype N] (G : BimatrixGame M N) (hA : ∀ (i : M) (j : N), 0 < G.A i j) (hB : ∀ (i : M) (j : N), 0 < G.B i j) (π : M ⊕ N → ℝ) (j : N) :
def Cslib.GameTheory.Market.IsBimatrixLeontiefEquilibriumPrice {M : Type u_1} {N : Type u_2} [Fintype M] [Fintype N] (G : BimatrixGame M N) (hA : ∀ (i : M) (j : N), 0 < G.A i j) (hB : ∀ (i : M) (j : N), 0 < G.B i j) (π : M ⊕ N → ℝ) :

Normalized competitive equilibrium price predicate for bimatrixLeontiefMarket: π sums to 1 and supports some competitive equilibrium allocation X.

noncomputable def Cslib.GameTheory.Market.bimatrixLeontiefToStrategy {M : Type u_1} {N : Type u_2} [Fintype M] [Fintype N] (G : BimatrixGame M N) (π : M ⊕ N → ℝ) :
(M → ℝ) × (N → ℝ)

Explicit mixed-strategy profile extracted from an equilibrium price vector π of bimatrixLeontiefMarket: normalize the Leontief equilibrium utility profiles U i = π (inl i) / (B *ᵥ q) i and V j = π (inr j) / (p ᵥ* A) j.

theorem Cslib.GameTheory.Market.bimatrixLeontiefMarket_isNash_of_equilibriumPrice {M : Type u_1} {N : Type u_2} [Fintype M] [Fintype N] [Nonempty M] [Nonempty N] {G : BimatrixGame M N} {hA : ∀ (i : M) (j : N), 0 < G.A i j} {hB : ∀ (i : M) (j : N), 0 < G.B i j} {X : M ⊕ N → M ⊕ N → ℝ} {π : M ⊕ N → ℝ} (heq : (bimatrixLeontiefMarket G hA hB).toExchangeMarket.IsCompetitiveEquilibrium X π) :

Market equilibrium → Bimatrix Nash equilibrium ([CV07], Section 6.5.2, p. 152): any competitive equilibrium (X, π) of bimatrixLeontiefMarket G hA hB projects via bimatrixLeontiefToStrategy G π to a mixed Nash equilibrium (x, y) of G.

theorem Cslib.GameTheory.Market.bimatrixLeontiefMarket_existsUnique_equilibriumPrice_of_isNash {M : Type u_1} {N : Type u_2} [Fintype M] [Fintype N] [Nonempty M] [Nonempty N] {G : BimatrixGame M N} {hA : ∀ (i : M) (j : N), 0 < G.A i j} {hB : ∀ (i : M) (j : N), 0 < G.B i j} {x : M → ℝ} {y : N → ℝ} (hnash : G.IsNash x y) :

Bimatrix Nash equilibrium → Unique normalized market equilibrium price ([CV07], Section 6.5.2, p. 152): every mixed Nash equilibrium (x, y) of a strictly positive bimatrix game G induces a unique normalized competitive equilibrium price vector π (∑ g, π g = 1) of bimatrixLeontiefMarket G hA hB satisfying bimatrixLeontiefToStrategy G π = (x, y).

noncomputable def Cslib.GameTheory.Market.bimatrixLeontiefNashEquivEquilibriumPrice {M : Type u_1} {N : Type u_2} [Fintype M] [Fintype N] [Nonempty M] [Nonempty N] (G : BimatrixGame M N) (hA : ∀ (i : M) (j : N), 0 < G.A i j) (hB : ∀ (i : M) (j : N), 0 < G.B i j) :
{ xy : (M → ℝ) × (N → ℝ) // G.IsNash xy.1 xy.2 } ≃ { π : M ⊕ N → ℝ // IsBimatrixLeontiefEquilibriumPrice G hA hB π }

One-to-one correspondence between bimatrix Nash equilibria and normalized Leontief market equilibrium prices ([CV07], Section 6.5.2, p. 152; Codenotti–Saberi–Varadarajan–Ye 2006).

@[simp]
theorem Cslib.GameTheory.Market.bimatrixLeontiefNashEquivEquilibriumPrice_symm_apply {M : Type u_1} {N : Type u_2} [Fintype M] [Fintype N] [Nonempty M] [Nonempty N] (G : BimatrixGame M N) (hA : ∀ (i : M) (j : N), 0 < G.A i j) (hB : ∀ (i : M) (j : N), 0 < G.B i j) (π : { π : M ⊕ N → ℝ // IsBimatrixLeontiefEquilibriumPrice G hA hB π }) :