Documentation

CslibFrontier.GameTheory.ResourceAllocation.PowerElasticity

Potential problem GAME and variational efficiency for power-elasticity mechanisms #

For the power-elasticity market-clearing family D_c(p, θ) = θ * p ^ (-1 / c) (c ≥ 1, [Joh07], Example 21.9, pp. 553–554), Exercises 21.1 and 21.2 of [Joh07] (pp. 567–568) extend the GAME potential and variational-inequality proof of Theorem 21.4 from Kelly's mechanism (c = 1) to all c ≥ 1.

Given a utility u : [0, ∞) → ℝ satisfying Assumption 1 (IsAdmissibleUtility u) and capacity C > 0, the generalized modified utility ([Joh07], Exercise 21.1(b), Eq. (E1.1), p. 567) is Û_{c, C}(d) = ∫_0^d ((1 - z / C) / (1 + (c - 1) * (z / C))) * u'(z) dz.

This module formalizes Exercises 21.1(b)–(c) and 21.2(a)–(c) of [Joh07] (building on Exercise 21.1(a), isMarketNashEquilibrium_powerElasticity_iff_kkt, and efficiencyRatio_powerElasticity in CslibFrontier.GameTheory.ResourceAllocation.MarketClearing):

Main definitions #

Main results #

References #

Generalized modified utility Û (Exercise 21.1(b, c)) #

noncomputable def Cslib.GameTheory.powerElasticityModifiedUtility (c C : ℝ) (u : ℝ → ℝ) (x : ℝ) :

The generalized modified utility Û(x) = ∫_0^x ((1 - z / C) / (1 + (c - 1) * (z / C))) * u'(z) dz for the power-elasticity mechanism D_c(p, θ) = θ * p ^ (-1 / c) ([Joh07], Exercise 21.1(b), Eq. (E1.1), p. 567).

theorem Cslib.GameTheory.hasDerivWithinAt_powerElasticityModifiedUtility {c C : ℝ} {u : ℝ → ℝ} (hc : 1 ≤ c) (hC : 0 < C) (hu : IsAdmissibleUtility u) {x : ℝ} (hx : 0 ≤ x) :
HasDerivWithinAt (powerElasticityModifiedUtility c C u) ((1 - x / C) / (1 + (c - 1) * (x / C)) * derivWithin u (Set.Ici 0) x) (Set.Ici 0) x

Derivative of powerElasticityModifiedUtility ([Joh07], Exercise 21.1(b, c), p. 567): for c ≥ 1, C > 0, and admissible u, powerElasticityModifiedUtility c C u is differentiable within [0, ∞) at every x ≥ 0 with derivative ((1 - x / C) / (1 + (c - 1) * (x / C))) * derivWithin u (Ici 0) x.

theorem Cslib.GameTheory.derivWithin_powerElasticityModifiedUtility {c C : ℝ} {u : ℝ → ℝ} (hc : 1 ≤ c) (hC : 0 < C) (hu : IsAdmissibleUtility u) {x : ℝ} (hx : 0 ≤ x) :
derivWithin (powerElasticityModifiedUtility c C u) (Set.Ici 0) x = (1 - x / C) / (1 + (c - 1) * (x / C)) * derivWithin u (Set.Ici 0) x

Derivative formula for powerElasticityModifiedUtility within [0, ∞) at every x ≥ 0.

Continuous differentiability of powerElasticityModifiedUtility ([Joh07], Exercise 21.1(c), p. 567): for c ≥ 1, C > 0, and admissible u, the derivative of Û within [0, ∞) is continuous on [0, ∞) (in particular Û is C¹ on (0, C) with finite right derivative u'(0) at 0).

Strict concavity of powerElasticityModifiedUtility on [0, C] ([Joh07], Exercise 21.1(c), p. 567): for c ≥ 1, C > 0, and admissible u, Û is strictly concave on the feasible domain [0, C].

Strict monotonicity of powerElasticityModifiedUtility on [0, C] ([Joh07], Exercise 21.1(c), p. 567): for c ≥ 1, C > 0, and admissible u, Û is strictly increasing on the feasible domain [0, C].

At c = 1, powerElasticityModifiedUtility coincides on [0, C] with Kelly's modifiedUtility up to the additive constant G.utility i 0 ([Joh07], Theorem 21.2 and Exercise 21.1(b)).

Generalized GAME problem and variational inequality (Exercises 21.1(b), 21.2(a)) #

def Cslib.GameTheory.IsPowerElasticityGameOptimum {ι : Type u_1} [Fintype ι] (c : ℝ) (G : KellyGame ι) (d : ι → ℝ) :

A feasible allocation d solves the generalized GAME problem for powerElasticityMechanism c if it maximizes ∑_i Û_i(d_i) over all feasible allocations ([Joh07], Exercise 21.1(b), p. 567).

theorem Cslib.GameTheory.IsMarketNashEquilibrium.variational_inequality_powerElasticity {ι : Type u_1} [Fintype ι] [DecidableEq ι] {c : ℝ} (hc : 1 ≤ c) {G : KellyGame ι} {θ : ι → ℝ} (hne : IsMarketNashEquilibrium (powerElasticityMechanism c) G θ) (hcard : 2 ≤ Fintype.card ι) (hC : 0 < G.capacity) (hU : ∀ (i : ι), IsAdmissibleUtility (G.utility i)) {x : ι → ℝ} (hx : G.IsFeasibleAllocation x) :

Variational inequality for powerElasticityMechanism c ([Joh07], Exercise 21.2(a), p. 567): for c ≥ 1, 2 ≤ Fintype.card ι, positive capacity, and admissible utilities, the Nash equilibrium allocation d = marketAllocation (powerElasticityMechanism c) G.capacity θ satisfies ∑_i Û_i'(d_i) * (x_i - d_i) ≤ 0 for every feasible allocation x.

theorem Cslib.GameTheory.IsMarketNashEquilibrium.isPowerElasticityGameOptimum_unique {ι : Type u_1} [Fintype ι] [DecidableEq ι] {c : ℝ} (hc : 1 ≤ c) {G : KellyGame ι} {θ : ι → ℝ} (hne : IsMarketNashEquilibrium (powerElasticityMechanism c) G θ) (hcard : 2 ≤ Fintype.card ι) (hC : 0 < G.capacity) (hU : ∀ (i : ι), IsAdmissibleUtility (G.utility i)) :

Unique GAME optimality of the Nash allocation ([Joh07], Exercise 21.1(b), p. 567): for c ≥ 1, 2 ≤ Fintype.card ι, positive capacity, and admissible utilities, the allocation d = marketAllocation (powerElasticityMechanism c) G.capacity θ at any Nash equilibrium θ is the unique solution to the generalized GAME problem maximizing ∑_i Û_i(d_i).

Variational efficiency constant β(D_c) (Exercise 21.2(a, b, c)) #

The variational-inequality efficiency constant β(D_c) for powerElasticityMechanism c ([Joh07], Exercise 21.2, p. 567 and Eq. (21.24) with Footnote 1, p. 550): inf_{u ∈ U, u(0) ≥ 0} inf_{C > 0} inf_{0 ≤ d ≤ C, 0 < x ≤ C} (u d + Û'(d) (x - d)) / u x.

Exact evaluation of β(D_c) ([Joh07], Exercise 21.2(b), p. 567): for every c ≥ 1, powerElasticityBeta c = elasticityEfficiencyBound c (establishing both β(D_c) ≥ G(c) and exact attainment at u(x) = x, C = 1, d = 1 / (√c + 1), x = 1).

Variational-inequality lower bound β(D_c) ≤ ρ(D_c) ([Joh07], Exercise 21.2(a), p. 567): proved directly from the variational inequality for powerElasticityModifiedUtility.

theorem Cslib.GameTheory.exists_powerElasticity_nash_welfare_ratio_lt {c δ : ℝ} (hc : 1 ≤ c) (hδ : 0 < δ) :
∃ (R : ℕ) (_ : 2 ≤ R) (G : KellyGame (Fin R)) (d : Fin R → ℝ) (θ : Fin R → ℝ), 0 < G.capacity ∧ (∀ (r : Fin R), IsAdmissibleUtility (G.utility r)) ∧ (∀ (r : Fin R), 0 ≤ G.utility r 0) ∧ G.IsSocialOptimum d ∧ IsMarketNashEquilibrium (powerElasticityMechanism c) G θ ∧ G.welfare (marketAllocation (powerElasticityMechanism c) G.capacity θ) / G.welfare d < elasticityEfficiencyBound c + δ

Tightness instances for powerElasticityMechanism c ([Joh07], Exercise 21.2(c), p. 568): for every c ≥ 1 and δ > 0, there exists a finite admissible nonnegative utility system whose unique Nash equilibrium achieves welfare ratio strictly below G(c) + δ (matching efficiencyRatio_powerElasticity : efficiencyRatio (powerElasticityMechanism c) = G(c)).