Documentation

CslibFrontier.GameTheory.Cooperative.Core

The Bondareva–Shapley theorem, approximate cores, and linear exchange economies #

This module proves the linear-programming duality theory of the core for transferable-utility cost-sharing and cooperative value games ([JM07], Section 15.2 and Exercise 15.1):

  1. Strong LP duality (CostSharingGame.exists_isGreatest_isLeast_coreLP) between the cost-recovery maximization LP (15.1) (max ∑_j α_j subject to ∀ S, ∑_{j ∈ S} α_j ≤ c(S)) and the fractional set-cover / balanced-weights minimization LP (15.2) (min ∑_S λ_S c(S) subject to IsBalancedWeights λ), proved via Matrix.exists_isGreatest_isLeast_dotProduct from CslibFrontier/Foundations/LinearAlgebra/Matrix/LinearProgramming.lean.
  2. Theorem 15.6 (Bondareva–Shapley theorem) (CostSharingGame.nonemptyCore_iff_balanced and its surplus dual CooperativeGame.nonemptyCore_iff_balanced): a TU cost-sharing game has a nonempty core if and only if c(univ) ≤ ∑_S λ_S c(S) for every balanced weight collection λ (Bondareva 1963; Shapley 1967).
  3. Theorem 15.8 (γ-Bondareva–Shapley theorem) (CostSharingGame.nonemptyApproxCore_iff_balanced): a TU cost-sharing game has a nonempty γ-core if and only if γ * c(univ) ≤ ∑_S λ_S c(S) for every balanced weight collection λ. Strong LP duality establishes this equivalence for every real γ without needing γ ≤ 1.
  4. Corollary 15.9 (CostSharingGame.IsSubadditive.isLeast_integralBalanced, CostSharingGame.IsSubadditive.isGreatest_nonemptyApproxCore_integralityGapLP): defining integralLpOpt as the optimal integral value of LP (15.2) over IsIntegralBalancedWeights and integralityGapLP := lpOpt / integralLpOpt as the LP (15.2) integrality gap, for subadditive games integralLpOpt = c(univ) and, when 0 < c(univ), the largest γ with a nonempty γ-core equals integralityGapLP.
  5. Exercise 15.1 (LinearExchangeEconomy): the TU cooperative game of a linear Arrow–Debreu exchange economy — where v(S) is the maximum total linear utility achievable by redistributing coalition S's endowments — always has a nonempty core.

Main definitions #

Main results #

References #

Strong LP duality and the Bondareva–Shapley theorems #

theorem Cslib.GameTheory.CostSharingGame.exists_isGreatest_isLeast_coreLP {A : Type u_1} [Fintype A] [DecidableEq A] (G : CostSharingGame A) :
∃ (v : ℝ), IsGreatest ((fun (α : A → ℝ) => ∑ j : A, α j) '' {α : A → ℝ | G.IsCoreFeasible α}) v ∧ IsLeast ((fun (w : Finset A → ℝ) => ∑ S : Finset A, w S * G.cost S) '' {w : Finset A → ℝ | IsBalancedWeights w}) v

Strong LP duality for LPs (15.1) and (15.2) ([JM07], proof of Theorem 15.6, p. 388): the primal maximum max {∑_j α_j | IsCoreFeasible α} and the dual balanced-weights minimum min {∑_S w_S c(S) | IsBalancedWeights w} are both attained and equal.

noncomputable def Cslib.GameTheory.CostSharingGame.lpOpt {A : Type u_1} [Fintype A] (G : CostSharingGame A) :

The common optimal value of the cost-recovery LP (15.1) and the fractional balanced-weights LP (15.2) ([JM07], Section 15.2).

theorem Cslib.GameTheory.CostSharingGame.isGreatest_coreFeasible_lpOpt {A : Type u_1} [Fintype A] (G : CostSharingGame A) :
IsGreatest ((fun (α : A → ℝ) => ∑ j : A, α j) '' {α : A → ℝ | G.IsCoreFeasible α}) G.lpOpt

Theorem 15.8 (γ-Bondareva–Shapley theorem) ([JM07], p. 389): a TU cost-sharing game G has a nonempty γ-core if and only if every balanced weight collection w satisfies γ * G.cost univ ≤ ∑ S, w S * G.cost S.

Strong LP duality establishes this equivalence for every γ : ℝ (including γ ≤ 1 as stated in Theorem 15.8).

Theorem 15.6 (Bondareva–Shapley theorem) (Bondareva 1963; Shapley 1967; [JM07], p. 388): a TU cost-sharing game G has a nonempty core if and only if every balanced weight collection w satisfies G.cost univ ≤ ∑ S, w S * G.cost S.

Bondareva–Shapley theorem for cooperative value games: a TU surplus-sharing game G has a nonempty core if and only if ∑ S, w S * G.val S ≤ G.val univ for every balanced weight collection w.

Corollary 15.9: Subadditivity and the integrality gap of LP (15.2) #

An integral balanced weight collection w : Finset A → ℕ is an integral feasible solution of LP (15.2) (∀ j, ∑_{S : j ∈ S} w S = 1), i.e. an exact partition of A into coalitions (plus an arbitrary weight on ∅, which has cost 0).

The optimal integral value of LP (15.2) over IsIntegralBalancedWeights ([JM07], Section 15.2.2, p. 389).

For a subadditive cost-sharing game, the optimal integral value of LP (15.2) is precisely G.cost univ ([JM07], p. 389, preceding Corollary 15.9).

The integrality gap G.lpOpt / G.integralLpOpt of LP (15.2) ([JM07], Corollary 15.9 and p. 390, expressed as the fractional-to-integral optimum ratio ≤ 1, e.g. 7.5 / 8 in Example 15.4).

Corollary 15.9 ([JM07], p. 389): for a subadditive cost-sharing game with 0 < G.cost univ, the largest value γ for which the γ-core of G is nonempty equals the integrality gap G.integralityGapLP = G.lpOpt / G.integralLpOpt of LP (15.2).

Exercise 15.1: Linear Arrow–Debreu exchange economy TU game #

structure Cslib.GameTheory.LinearExchangeEconomy (A : Type u_1) (G : Type u_2) :
Type (max u_1 u_2)

A linear Arrow–Debreu exchange economy ([JM07], Exercise 15.1) with agents A and divisible goods G: each agent i has an initial bundle endowment i : G → ℝ and linear marginal utilities utility i : G → ℝ.

  • endowment : A → G → ℝ

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

  • utility : A → G → ℝ

    Marginal utility utility i g derived by agent i per unit of good g.

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

    Initial endowments are nonnegative.

  • utility_nonneg (i : A) (g : G) : 0 ≤ self.utility i g

    Marginal utilities are nonnegative.

A consumption profile x : A → G → ℝ is a feasible redistribution for coalition S (with free disposal) if each member receives a nonnegative bundle and ∑ i ∈ S, x i g does not exceed S's total endowment ∑ i ∈ S, endowment i g of every good g.

An exact redistribution for coalition S allocates all of S's endowment among members of S without disposal (∑ i ∈ S, x i g = ∑ i ∈ S, endowment i g).

noncomputable def Cslib.GameTheory.LinearExchangeEconomy.coalitionValue {A : Type u_1} {G : Type u_2} [Fintype G] (E : LinearExchangeEconomy A G) (S : Finset A) :

Maximum total utility achievable by coalition S: for each good g, allocate S's entire supply ∑ i ∈ S, endowment i g to a member of S with the highest marginal utility for g.

theorem Cslib.GameTheory.LinearExchangeEconomy.coalitionValue_of_nonempty {A : Type u_1} {G : Type u_2} [Fintype G] (E : LinearExchangeEconomy A G) {S : Finset A} (hS : S.Nonempty) :
E.coalitionValue S = ∑ g : G, (S.sup' hS fun (i : A) => E.utility i g) * ∑ i ∈ S, E.endowment i g
theorem Cslib.GameTheory.LinearExchangeEconomy.isGreatest_exactRedistribution {A : Type u_1} {G : Type u_2} [Fintype G] (E : LinearExchangeEconomy A G) (S : Finset A) :
IsGreatest ((fun (x : A → G → ℝ) => ∑ i ∈ S, ∑ g : G, E.utility i g * x i g) '' {x : A → G → ℝ | E.IsExactRedistribution S x}) (E.coalitionValue S)

Optimal redistribution of S's endowments attained by coalitionValue (IsGreatest over IsExactRedistribution).

theorem Cslib.GameTheory.LinearExchangeEconomy.isGreatest_feasibleRedistribution {A : Type u_1} {G : Type u_2} [Fintype G] (E : LinearExchangeEconomy A G) (S : Finset A) :
IsGreatest ((fun (x : A → G → ℝ) => ∑ i ∈ S, ∑ g : G, E.utility i g * x i g) '' {x : A → G → ℝ | E.IsFeasibleRedistribution S x}) (E.coalitionValue S)

The TU cooperative value game associated to a linear Arrow–Debreu exchange economy E ([JM07], Exercise 15.1).

noncomputable def Cslib.GameTheory.LinearExchangeEconomy.marketPriceAllocation {A : Type u_1} {G : Type u_2} [Fintype A] [Fintype G] (E : LinearExchangeEconomy A G) (i : A) :

Competitive / grand-coalition price payoff allocation: price each good g at its maximum marginal utility max_{k ∈ univ} utility k g and credit each agent i the value of i's initial endowment at these prices.

Exercise 15.1 ([JM07], p. 410): every linear Arrow–Debreu exchange economy TU game has a nonempty core (answering Exercise 15.1 in the affirmative), and hence satisfies the Bondareva–Shapley balancedness inequality for all balanced weight collections.