Documentation

CslibFrontier.GameTheory.Market.Production

Arrow–Debreu production economies and the First Welfare Theorem #

In an Arrow–Debreu private-ownership production economy (ProductionEconomy I J G, [AD54], §1; [Deb59], Chapters 5–6 (primary PDF unverified); [MCWG95], Section 16.C (primary PDF unverified)):

In a competitive equilibrium (x, y, p):

  1. prices are nonnegative (∀ g, 0 ≤ p g);
  2. every firm j maximizes profit expenditure p (y j) on productionSet j (supplySet);
  3. every consumer i maximizes utility i on consumptionSet i within wealth expenditure p (endowment i) + ∑ j, share i j * expenditure p (y j) (demandSet);
  4. markets clear with free disposal (excessDemand x y g ≤ 0) and complementary slackness (p g * excessDemand x y g = 0).

For the cooperative core (IsBlockedBy / IsInCore), a nonempty coalition S : Finset I blocks (x, y) if it can choose consumption x' i ∈ consumptionSet i (i ∈ S) and production plans y' j ∈ productionSet j within its coalition endowment and share-weighted production (∑ i ∈ S, endowment i g) + ∑ j, (∑ i ∈ S, share i j) * y' j g, making every member of S weakly better off and at least one strictly better off (private-ownership coalition production with fractional firm-share weights ∑ i ∈ S, share i j, generalizing [DS63]; primary PDF unverified).

Notice that weak Pareto optimality of competitive equilibria (ProductionEconomy.IsCompetitiveEquilibrium.isWeaklyParetoOptimal) holds unconditionally whenever I is nonempty—requiring neither local nonsatiation nor monotonicity—since strict improvements for every consumer already strictly exceed each consumer's budget via lt_expenditure_of_mem_demandSetOn.

Main definitions #

Main results #

References #

Private-ownership production economies #

structure Cslib.GameTheory.Market.ProductionEconomy (I : Type u_1) (J : Type u_2) (G : Type u_3) [Fintype I] :
Type (max (max u_1 u_2) u_3)

An Arrow–Debreu private-ownership production economy ([AD54], §1; [Deb59], Chapters 5–6, primary PDF unverified) with consumers I, firms J, and goods G: consumers have consumption sets consumptionSet i, utilities utility i, endowments endowment i, and nonnegative firm profit shares share i j summing to 1 per firm; firms have production sets productionSet j in net-output convention.

  • consumptionSet : I → Set (G → ℝ)

    Consumption set X_i ⊆ (G → ℝ) of consumer i.

  • utility : I → (G → ℝ) → ℝ

    Utility function u_i : (G → ℝ) → ℝ of consumer i.

  • endowment : I → G → ℝ

    Initial endowment bundle ω_i : G → ℝ of consumer i.

  • productionSet : J → Set (G → ℝ)

    Net-output production possibility set Y_j ⊆ (G → ℝ) of firm j.

  • share : I → J → ℝ

    Ownership share θ_{ij} of firm j's profit held by consumer i.

  • share_nonneg (i : I) (j : J) : 0 ≤ self.share i j

    Profit shares are nonnegative.

  • share_sum (j : J) : ∑ i : I, self.share i j = 1

    Every firm's profit shares sum to 1 across consumers.

theorem Cslib.GameTheory.Market.ProductionEconomy.ext {I : Type u_1} {J : Type u_2} {G : Type u_3} {inst✝ : Fintype I} {x y : ProductionEconomy I J G} (consumptionSet : x.consumptionSet = y.consumptionSet) (utility : x.utility = y.utility) (endowment : x.endowment = y.endowment) (productionSet : x.productionSet = y.productionSet) (share : x.share = y.share) :
x = y
def Cslib.GameTheory.Market.ProductionEconomy.totalProduction {J : Type u_1} {G : Type u_2} [Fintype J] (y : J → G → ℝ) (g : G) :

Aggregate net production ∑ j, y j g of good g across firms J.

theorem Cslib.GameTheory.Market.ProductionEconomy.totalProduction_eq_sum {J : Type u_1} {G : Type u_2} [Fintype J] (y : J → G → ℝ) (g : G) :
totalProduction y g = ∑ j : J, y j g
def Cslib.GameTheory.Market.ProductionEconomy.totalEndowment {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] (E : ProductionEconomy I J G) (g : G) :

Aggregate initial endowment ∑ i, E.endowment i g of good g.

theorem Cslib.GameTheory.Market.ProductionEconomy.totalEndowment_eq_sum {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] (E : ProductionEconomy I J G) (g : G) :
E.totalEndowment g = ∑ i : I, E.endowment i g
def Cslib.GameTheory.Market.ProductionEconomy.totalSupply {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] (E : ProductionEconomy I J G) [Fintype J] (y : J → G → ℝ) (g : G) :

Total resources E.totalEndowment g + totalProduction y g available for consumption.

theorem Cslib.GameTheory.Market.ProductionEconomy.totalSupply_eq {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] (E : ProductionEconomy I J G) [Fintype J] (y : J → G → ℝ) (g : G) :
def Cslib.GameTheory.Market.ProductionEconomy.supplySet {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype G] (E : ProductionEconomy I J G) (p : G → ℝ) (j : J) :
Set (G → ℝ)

Profit-maximizing production plans of firm j on E.productionSet j at prices p.

@[simp]
theorem Cslib.GameTheory.Market.ProductionEconomy.mem_supplySet {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype G] (E : ProductionEconomy I J G) {p : G → ℝ} {j : J} {y_j : G → ℝ} :
y_j ∈ E.supplySet p j ↔ y_j ∈ E.productionSet j ∧ ∀ y' ∈ E.productionSet j, expenditure p y' ≤ expenditure p y_j
theorem Cslib.GameTheory.Market.ProductionEconomy.supplySet_smul {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype G] (E : ProductionEconomy I J G) (p : G → ℝ) (j : J) {c : ℝ} (hc : 0 < c) :
E.supplySet (c • p) j = E.supplySet p j
def Cslib.GameTheory.Market.ProductionEconomy.income {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype G] (E : ProductionEconomy I J G) [Fintype J] (p : G → ℝ) (y : J → G → ℝ) (i : I) :

Consumer i's wealth expenditure p (E.endowment i) + ∑ j, E.share i j * expenditure p (y j) from endowment value and distributed firm profits at prices p and production profile y.

theorem Cslib.GameTheory.Market.ProductionEconomy.income_eq {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype G] (E : ProductionEconomy I J G) [Fintype J] (p : G → ℝ) (y : J → G → ℝ) (i : I) :
E.income p y i = expenditure p (E.endowment i) + ∑ j : J, E.share i j * expenditure p (y j)
theorem Cslib.GameTheory.Market.ProductionEconomy.income_smul {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype G] (E : ProductionEconomy I J G) [Fintype J] (c : ℝ) (p : G → ℝ) (y : J → G → ℝ) (i : I) :
E.income (c • p) y i = c * E.income p y i
theorem Cslib.GameTheory.Market.ProductionEconomy.sum_income {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype G] (E : ProductionEconomy I J G) [Fintype J] (p : G → ℝ) (y : J → G → ℝ) :
∑ i : I, E.income p y i = expenditure p (E.totalSupply y)

Aggregate consumer wealth equals the market value of total resources E.totalSupply y.

def Cslib.GameTheory.Market.ProductionEconomy.IsBudgetFeasible {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype G] (E : ProductionEconomy I J G) [Fintype J] (p : G → ℝ) (y : J → G → ℝ) (i : I) (b : G → ℝ) :

Bundle b is budget-feasible for consumer i at prices p and production profile y.

def Cslib.GameTheory.Market.ProductionEconomy.demandSet {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype G] (E : ProductionEconomy I J G) [Fintype J] (p : G → ℝ) (y : J → G → ℝ) (i : I) :
Set (G → ℝ)

Consumer i's Marshallian demand set on E.consumptionSet i at (p, y).

@[simp]
theorem Cslib.GameTheory.Market.ProductionEconomy.mem_demandSet {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype G] (E : ProductionEconomy I J G) [Fintype J] {p : G → ℝ} {y : J → G → ℝ} {i : I} {b : G → ℝ} :
b ∈ E.demandSet p y i ↔ b ∈ demandSetOn (E.consumptionSet i) (E.utility i) p (E.income p y i)
theorem Cslib.GameTheory.Market.ProductionEconomy.demandSet_smul {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype G] (E : ProductionEconomy I J G) [Fintype J] (p : G → ℝ) (y : J → G → ℝ) (i : I) {c : ℝ} (hc : 0 < c) :
E.demandSet (c • p) y i = E.demandSet p y i
def Cslib.GameTheory.Market.ProductionEconomy.IsFeasibleAllocation {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype J] (E : ProductionEconomy I J G) (x : I → G → ℝ) (y : J → G → ℝ) :

Allocation (x, y) is feasible (with free disposal) if every x i ∈ E.consumptionSet i, every y j ∈ E.productionSet j, and ∑ i, x i g ≤ E.totalSupply y g for every good g.

def Cslib.GameTheory.Market.ProductionEconomy.IsExactFeasibleAllocation {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype J] (E : ProductionEconomy I J G) (x : I → G → ℝ) (y : J → G → ℝ) :

Allocation (x, y) is exact-feasible (equality market clearing, no free disposal).

def Cslib.GameTheory.Market.ProductionEconomy.excessDemand {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype J] (E : ProductionEconomy I J G) (x : I → G → ℝ) (y : J → G → ℝ) (g : G) :

Aggregate excess demand (∑ i, x i g) - E.totalSupply y g for good g.

theorem Cslib.GameTheory.Market.ProductionEconomy.excessDemand_eq {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype J] (E : ProductionEconomy I J G) (x : I → G → ℝ) (y : J → G → ℝ) (g : G) :
E.excessDemand x y g = ∑ i : I, x i g - E.totalSupply y g
def Cslib.GameTheory.Market.ProductionEconomy.IsParetoOptimal {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype J] (E : ProductionEconomy I J G) (x : I → G → ℝ) (y : J → G → ℝ) :

A feasible allocation (x, y) is Pareto optimal if no feasible (x', y') makes every consumer weakly better off and at least one strictly better off.

def Cslib.GameTheory.Market.ProductionEconomy.IsWeaklyParetoOptimal {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype J] (E : ProductionEconomy I J G) (x : I → G → ℝ) (y : J → G → ℝ) :

A feasible allocation (x, y) is weakly Pareto optimal if no feasible (x', y') makes every consumer strictly better off.

theorem Cslib.GameTheory.Market.ProductionEconomy.IsParetoOptimal.isWeaklyParetoOptimal {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype J] [Nonempty I] {E : ProductionEconomy I J G} {x : I → G → ℝ} {y : J → G → ℝ} (hpo : E.IsParetoOptimal x y) :
theorem Cslib.GameTheory.Market.ProductionEconomy.expenditure_excessDemand {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype J] [Fintype G] (E : ProductionEconomy I J G) (p : G → ℝ) (x : I → G → ℝ) (y : J → G → ℝ) :
expenditure p (E.excessDemand x y) = ∑ i : I, (expenditure p (x i) - E.income p y i)
theorem Cslib.GameTheory.Market.ProductionEconomy.expenditure_excessDemand_le_zero {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype J] [Fintype G] (E : ProductionEconomy I J G) {p : G → ℝ} {x : I → G → ℝ} {y : J → G → ℝ} (hfeas : ∀ (i : I), E.IsBudgetFeasible p y i (x i)) :

Weak Walras inequality for production economies.

theorem Cslib.GameTheory.Market.ProductionEconomy.walras_law {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype J] [Fintype G] (E : ProductionEconomy I J G) {p : G → ℝ} {x : I → G → ℝ} {y : J → G → ℝ} (hlns : ∀ (i : I), IsLocallyNonsatiatedOn (E.consumptionSet i) (E.utility i)) (hdem : ∀ (i : I), x i ∈ E.demandSet p y i) :

Walras's law for production economies: under local nonsatiation on E.consumptionSet i, optimal consumer demand implies zero aggregate excess-demand value.

def Cslib.GameTheory.Market.ProductionEconomy.IsCompetitiveEquilibrium {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype J] [Fintype G] (E : ProductionEconomy I J G) (x : I → G → ℝ) (y : J → G → ℝ) (p : G → ℝ) :

A competitive (Walrasian) equilibrium (x, y, p) of ProductionEconomy ([AD54], §1): nonnegative prices p, profit maximization by each firm j, utility maximization within wealth by each consumer i, free-disposal market clearing excessDemand x y g ≤ 0, and complementary slackness p g * excessDemand x y g = 0.

theorem Cslib.GameTheory.Market.ProductionEconomy.IsCompetitiveEquilibrium.isFeasibleAllocation {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype J] [Fintype G] {E : ProductionEconomy I J G} {x : I → G → ℝ} {y : J → G → ℝ} {p : G → ℝ} (heq : E.IsCompetitiveEquilibrium x y p) :
theorem Cslib.GameTheory.Market.ProductionEconomy.IsCompetitiveEquilibrium.smul {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype J] [Fintype G] {E : ProductionEconomy I J G} {x : I → G → ℝ} {y : J → G → ℝ} {p : G → ℝ} (heq : E.IsCompetitiveEquilibrium x y p) {c : ℝ} (hc : 0 < c) :
theorem Cslib.GameTheory.Market.ProductionEconomy.IsCompetitiveEquilibrium.of_locallyNonsatiated {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype J] [Fintype G] {E : ProductionEconomy I J G} {x : I → G → ℝ} {y : J → G → ℝ} {p : G → ℝ} (hlns : ∀ (i : I), IsLocallyNonsatiatedOn (E.consumptionSet i) (E.utility i)) (hp : ∀ (g : G), 0 ≤ p g) (hsup : ∀ (j : J), y j ∈ E.supplySet p j) (hdem : ∀ (i : I), x i ∈ E.demandSet p y i) (hclear : ∀ (g : G), E.excessDemand x y g ≤ 0) :
theorem Cslib.GameTheory.Market.ProductionEconomy.IsCompetitiveEquilibrium.sum_eq_totalSupply_of_price_pos {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype J] [Fintype G] {E : ProductionEconomy I J G} {x : I → G → ℝ} {y : J → G → ℝ} {p : G → ℝ} (heq : E.IsCompetitiveEquilibrium x y p) {g : G} (hpg : 0 < p g) :
∑ i : I, x i g = E.totalSupply y g
theorem Cslib.GameTheory.Market.ProductionEconomy.IsCompetitiveEquilibrium.isExactFeasibleAllocation_of_price_pos {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype J] [Fintype G] {E : ProductionEconomy I J G} {x : I → G → ℝ} {y : J → G → ℝ} {p : G → ℝ} (heq : E.IsCompetitiveEquilibrium x y p) (hp_pos : ∀ (g : G), 0 < p g) :

First Welfare Theorem and private-ownership core #

theorem Cslib.GameTheory.Market.ProductionEconomy.IsCompetitiveEquilibrium.isParetoOptimal {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype J] [Fintype G] {E : ProductionEconomy I J G} {x : I → G → ℝ} {y : J → G → ℝ} {p : G → ℝ} (heq : E.IsCompetitiveEquilibrium x y p) (hlns : ∀ (i : I), IsLocallyNonsatiatedOn (E.consumptionSet i) (E.utility i)) :

First Fundamental Theorem of Welfare Economics with production ([Arr51a]; [Deb59], Chapter 6, primary PDF unverified; [MCWG95], Section 16.C, primary PDF unverified): if every consumer's utility is locally nonsatiated on E.consumptionSet i, every competitive equilibrium (x, y, p) is Pareto optimal.

theorem Cslib.GameTheory.Market.ProductionEconomy.IsCompetitiveEquilibrium.isWeaklyParetoOptimal {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype J] [Fintype G] [Nonempty I] {E : ProductionEconomy I J G} {x : I → G → ℝ} {y : J → G → ℝ} {p : G → ℝ} (heq : E.IsCompetitiveEquilibrium x y p) :

Weak First Welfare Theorem without local nonsatiation: for any nonempty finite consumer set I, every competitive equilibrium (x, y, p) is weakly Pareto optimal without any local nonsatiation or monotonicity assumption.

def Cslib.GameTheory.Market.ProductionEconomy.IsBlockedBy {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype J] (E : ProductionEconomy I J G) (S : Finset I) (x' : I → G → ℝ) (y' : J → G → ℝ) (x : I → G → ℝ) :

A nonempty coalition S : Finset I blocks (x, y) in a private-ownership production economy via (x', y') if x' i ∈ E.consumptionSet i (i ∈ S), y' j ∈ E.productionSet j, coalition consumption uses at most (∑ i ∈ S, E.endowment i g) + ∑ j, (∑ i ∈ S, E.share i j) * y' j g of every good, every member of S is weakly better off, and at least one is strictly better off (share-weighted production extension of [DS63]; primary PDF unverified).

def Cslib.GameTheory.Market.ProductionEconomy.IsInCore {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype J] (E : ProductionEconomy I J G) (x : I → G → ℝ) (y : J → G → ℝ) :

The core of a private-ownership production economy: feasible allocations (x, y) that no nonempty coalition can block under share-weighted coalition production.

theorem Cslib.GameTheory.Market.ProductionEconomy.IsInCore.isParetoOptimal {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype J] [Nonempty I] {E : ProductionEconomy I J G} {x : I → G → ℝ} {y : J → G → ℝ} (hcore : E.IsInCore x y) :
theorem Cslib.GameTheory.Market.ProductionEconomy.IsCompetitiveEquilibrium.isInCore {I : Type u_1} {J : Type u_2} {G : Type u_3} [Fintype I] [Fintype J] [Fintype G] {E : ProductionEconomy I J G} {x : I → G → ℝ} {y : J → G → ℝ} {p : G → ℝ} (heq : E.IsCompetitiveEquilibrium x y p) (hlns : ∀ (i : I), IsLocallyNonsatiatedOn (E.consumptionSet i) (E.utility i)) :
E.IsInCore x y

Core inclusion with production: under local nonsatiation on E.consumptionSet i, every competitive equilibrium allocation belongs to the share-weighted private-ownership core.

Bridge from ExchangeMarket to ProductionEconomy #

View an ExchangeMarket I G as a ProductionEconomy I Empty G with no firms (Empty) and nonnegative consumption sets {b : G → ℝ | ∀ g, 0 ≤ b g}.

@[simp]
theorem Cslib.GameTheory.Market.ExchangeMarket.toProductionEconomy_income {I : Type u_1} {G : Type u_2} [Fintype I] [Fintype G] (E : ExchangeMarket I G) (p : G → ℝ) (y : Empty → G → ℝ) (i : I) :
@[simp]
theorem Cslib.GameTheory.Market.ExchangeMarket.toProductionEconomy_demandSet {I : Type u_1} {G : Type u_2} [Fintype I] [Fintype G] (E : ExchangeMarket I G) (p : G → ℝ) (y : Empty → G → ℝ) (i : I) :