Documentation

CslibFrontier.GameTheory.ResourceAllocation.MarketClearing

Smooth market-clearing mechanisms and optimality of proportional sharing #

In Section 21.3 of [Joh07] (see also [JT09]), a smooth market-clearing mechanism is parameterized by a differentiable demand function D : (0, ∞) × [0, ∞) → [0, ∞) such that for every capacity C > 0, user count R ≥ 2, and nonzero bid profile θ ∈ [0, ∞)^R, there is a unique market-clearing price p = p_D(θ) > 0 satisfying ∑_r D(p, θ_r) = C. Each user r receives D(p, θ_r) and pays p · D(p, θ_r).

The class 𝒟 (IsRegularMarketClearing, [Joh07], Definition 21.8) consists of smooth market-clearing mechanisms whose price-anticipating payoffs are concave for all admissible utilities (IsAdmissibleUtility) and whose demand functions cover [0, ∞) at every positive price. Without assuming proportional sharing in advance, the Johari–Tsitsiklis characterization theorem ([Joh07], Theorem 21.10; [JT09]) proves:

  1. Every mechanism D ∈ 𝒟 admits a price-taking competitive equilibrium, and every competitive equilibrium solves SYSTEM (IsMarketCompetitiveEquilibrium.isSocialOptimum, IsRegularMarketClearing.exists_isMarketCompetitiveEquilibrium).
  2. Every mechanism D ∈ 𝒟 has the separable form D(p, θ) = θ / B(p) for a concave, strictly increasing, differentiable bijection B : (0, ∞) → (0, ∞) (IsRegularMarketClearing.exists_priceScale), so at market clearing every mechanism in 𝒟 allocates proportionally to bids (IsRegularMarketClearing.marketAllocation_eq_kellyAllocation).
  3. Every mechanism D ∈ 𝒟 has a unique price-anticipating Nash equilibrium on every admissible utility instance with |ι| ≥ 2 (IsRegularMarketClearing.existsUnique_isMarketNashEquilibrium), its worst-case Nash efficiency ratio satisfies efficiencyRatio D ≤ 3 / 4 (IsRegularMarketClearing.efficiencyRatio_le_three_fourths), and equality efficiencyRatio D = 3 / 4 holds if and only if D(p, θ) = Δ * θ / p for some Δ > 0, i.e., Kelly's proportional sharing mechanism up to positive scalar rescaling (IsRegularMarketClearing.efficiencyRatio_eq_three_fourths_iff).

For the power-elasticity family D_c(p, θ) = θ * p ^ (-1 / c) (c ≥ 1, [Joh07], Example 21.9 and Exercises 21.1–21.2), we prove D_c ∈ 𝒟 (isRegularMarketClearing_powerElasticity) and show that its exact worst-case efficiency ratio is elasticityEfficiencyBound c = (2 * √c + 1) / (√c + 1) ^ 2 (efficiencyRatio_powerElasticity), which is strictly decreasing on [1, ∞) from 3 / 4 at c = 1.

Main definitions #

Main results #

References #

Smooth market-clearing mechanisms and equilibria (Definitions 21.5–21.8) #

A smooth market-clearing mechanism ([Joh07], §21.3, Definition 21.5) is a nonnegative demand function D : ℝ → ℝ → ℝ, differentiable on (0, ∞) × [0, ∞), such that for every user count R ≥ 2, positive capacity C > 0, and nonzero nonnegative bid vector θ : Fin R → ℝ, there exists a unique price p > 0 clearing the market ∑ r, D p (θ r) = C.

  • Joint differentiability of (p, θ) ↦ D p θ on (0, ∞) × [0, ∞).

  • nonneg (p : ℝ) : 0 < p → ∀ (θ : ℝ), 0 ≤ θ → 0 ≤ D p θ

    Nonnegativity of demand on (0, ∞) × [0, ∞).

  • existsUnique_clearingPrice (R : ℕ) : 2 ≤ R → ∀ (C : ℝ), 0 < C → ∀ (θ : Fin R → ℝ), (∀ (r : Fin R), 0 ≤ θ r) → (∃ (r : Fin R), θ r ≠ 0) → ∃! p : ℝ, 0 < p ∧ ∑ r : Fin R, D p (θ r) = C

    Existence and uniqueness of a positive market-clearing price for every R ≥ 2, C > 0, and nonzero θ ≥ 0.

noncomputable def Cslib.GameTheory.clearingPrice {ι : Type u_1} [Fintype ι] (D : ℝ → ℝ → ℝ) (C : ℝ) (θ : ι → ℝ) :

The market-clearing price p_D(θ) solving ∑ i, D p (θ i) = C with p > 0 when such a price exists, and 0 otherwise ([Joh07], §21.3, Definition 21.5).

noncomputable def Cslib.GameTheory.marketAllocation {ι : Type u_1} [Fintype ι] (D : ℝ → ℝ → ℝ) (C : ℝ) (θ : ι → ℝ) (i : ι) :

Resource allocation D(p_D(θ), θ_i) assigned to user i at the market-clearing price clearingPrice D C θ ([Joh07], §21.3).

@[simp]
theorem Cslib.GameTheory.marketAllocation_apply {ι : Type u_1} [Fintype ι] (D : ℝ → ℝ → ℝ) (C : ℝ) (θ : ι → ℝ) (i : ι) :
marketAllocation D C θ i = D (clearingPrice D C θ) (θ i)
noncomputable def Cslib.GameTheory.marketPayoff {ι : Type u_1} [Fintype ι] (D : ℝ → ℝ → ℝ) (G : KellyGame ι) (θ : ι → ℝ) (i : ι) :

Finite quasilinear payoff U_i(D(p_D(θ), θ_i)) - p_D(θ) D(p_D(θ), θ_i) of user i at a nonzero strategy profile θ ([Joh07], §21.3, Eq. (21.27)).

@[simp]
theorem Cslib.GameTheory.marketPayoff_apply {ι : Type u_1} [Fintype ι] (D : ℝ → ℝ → ℝ) (G : KellyGame ι) (θ : ι → ℝ) (i : ι) :
structure Cslib.GameTheory.IsMarketCompetitiveEquilibrium {ι : Type u_1} [Fintype ι] (D : ℝ → ℝ → ℝ) (G : KellyGame ι) (θ : ι → ℝ) :

A competitive equilibrium of a smooth market-clearing mechanism D on G ([Joh07], §21.3, Definition 21.6) is a nonzero nonnegative bid vector θ such that, taking the clearing price μ = clearingPrice D G.capacity θ as fixed, each user i maximizes U_i(D(μ, t)) - μ D(μ, t) over t ≥ 0 at t = θ_i.

structure Cslib.GameTheory.IsMarketNashEquilibrium {ι : Type u_1} [Fintype ι] [DecidableEq ι] (D : ℝ → ℝ → ℝ) (G : KellyGame ι) (θ : ι → ℝ) :

A price-anticipating Nash equilibrium of a smooth market-clearing mechanism D on G ([Joh07], §21.3, Definition 21.7) is a nonzero nonnegative bid vector θ such that no user i can strictly increase its payoff by deviating to any t ≥ 0. Under Eq. (21.27) of [Joh07], a deviation that yields the composite zero vector Function.update θ i t = 0 gives payoff -∞, which never improves on the finite equilibrium payoff marketPayoff D G θ i.

  • nonneg (i : ι) : 0 ≤ θ i

    Bids are nonnegative.

  • exists_ne_zero : ∃ (i : ι), θ i ≠ 0

    At least one bid is nonzero.

  • best_response (i : ι) (t : ℝ) : 0 ≤ t → (∃ (j : ι), Function.update θ i t j ≠ 0) → marketPayoff D G (Function.update θ i t) i ≤ marketPayoff D G θ i

    No unilateral deviation yielding a nonzero composite profile increases user i's payoff (deviations to the composite zero profile have payoff -∞ in Eq. (21.27)).

theorem Cslib.GameTheory.isMarketNashEquilibrium_iff_withBot {ι : Type u_1} [Fintype ι] [DecidableEq ι] [DecidablePred fun (f : ι → ℝ) => ∀ (j : ι), f j = 0] {D : ℝ → ℝ → ℝ} {G : KellyGame ι} {θ : ι → ℝ} :
IsMarketNashEquilibrium D G θ ↔ (∀ (i : ι), 0 ≤ θ i) ∧ (∃ (i : ι), θ i ≠ 0) ∧ ∀ (i : ι) (t : ℝ), 0 ≤ t → (if ∀ (j : ι), Function.update θ i t j = 0 then ⊥ else ↑(marketPayoff D G (Function.update θ i t) i)) ≤ ↑(marketPayoff D G θ i)

Equivalence of IsMarketNashEquilibrium's best_response condition with the WithBot ℝ formulation assigning ⊥ (-∞) to the composite zero profile ([Joh07], Eq. (21.27)).

The class 𝒟 of regular smooth market-clearing mechanisms ([Joh07], §21.3, Definition 21.8; [JT09]):

  1. D is a smooth market-clearing mechanism (IsSmoothMarketClearing D, which includes nonnegativity D(p, θ) ≥ 0, Condition (iv)).
  2. For every R ≥ 2, C > 0, admissible utility u, user r, and nonnegative θ, user r's price-anticipating payoff is concave on (0, ∞) when θ_{-r} = 0 and on [0, ∞) when θ_{-r} ≠ 0.
  3. For every p > 0 and desired allocation d ≥ 0, there exists a strategy θ ≥ 0 achieving D(p, θ) = d (correcting the printed θ > 0 typo at d = 0 in [Joh07], p. 553, which would exclude D(p, θ) = θ p^{-1/c} of Example 21.9 and D(p, θ) = θ / B(p) of Theorem 21.10(ii) and render 𝒟 empty).
noncomputable def Cslib.GameTheory.efficiencyRatio (D : ℝ → ℝ → ℝ) :

Worst-case Nash-to-optimum aggregate welfare ratio ρ(D) of a market-clearing mechanism D over all finite instances with R ≥ 2 users, positive capacity C > 0, and nonnegative admissible utilities (IsAdmissibleUtility with U_r(0) ≥ 0, [Joh07], §21.3, p. 554). On IsRegularMarketClearing, every such instance admits a unique Nash equilibrium, so the source's -∞ convention when an instance lacks a Nash equilibrium never triggers.

noncomputable def Cslib.GameTheory.powerElasticityMechanism (c p θ : ℝ) :

The power-elasticity market-clearing mechanism D(p, θ) = θ * p ^ (-1 / c) ([Joh07], §21.3, Example 21.9). At c = 1 this recovers Kelly's proportional sharing demand θ / p.

The Johari–Tsitsiklis worst-case efficiency function G(c) = (2 * √c + 1) / (√c + 1) ^ 2 for inverse demand elasticity c ≥ 1 ([Joh07], §21.3, Eq. (21.38) and Figure 21.1).

Basic properties of IsSmoothMarketClearing and clearingPrice #

theorem Cslib.GameTheory.IsSmoothMarketClearing.existsUnique_clearingPrice_fintype {D : ℝ → ℝ → ℝ} {ι : Type u_1} [Fintype ι] (hD : IsSmoothMarketClearing D) (hcard : 2 ≤ Fintype.card ι) {C : ℝ} (hC : 0 < C) {θ : ι → ℝ} (hθ : ∀ (i : ι), 0 ≤ θ i) (hne : ∃ (i : ι), θ i ≠ 0) :
∃! p : ℝ, 0 < p ∧ ∑ i : ι, D p (θ i) = C

Transport of unique market-clearing price existence from Fin R to any [Fintype ι] with 2 ≤ Fintype.card ι.

theorem Cslib.GameTheory.IsSmoothMarketClearing.clearingPrice_spec {D : ℝ → ℝ → ℝ} {ι : Type u_1} [Fintype ι] (hD : IsSmoothMarketClearing D) (hcard : 2 ≤ Fintype.card ι) {C : ℝ} (hC : 0 < C) {θ : ι → ℝ} (hθ : ∀ (i : ι), 0 ≤ θ i) (hne : ∃ (i : ι), θ i ≠ 0) :
0 < clearingPrice D C θ ∧ ∑ i : ι, D (clearingPrice D C θ) (θ i) = C
theorem Cslib.GameTheory.IsSmoothMarketClearing.clearingPrice_pos {D : ℝ → ℝ → ℝ} {ι : Type u_1} [Fintype ι] (hD : IsSmoothMarketClearing D) (hcard : 2 ≤ Fintype.card ι) {C : ℝ} (hC : 0 < C) {θ : ι → ℝ} (hθ : ∀ (i : ι), 0 ≤ θ i) (hne : ∃ (i : ι), θ i ≠ 0) :
0 < clearingPrice D C θ
theorem Cslib.GameTheory.IsSmoothMarketClearing.sum_marketAllocation_eq {D : ℝ → ℝ → ℝ} {ι : Type u_1} [Fintype ι] (hD : IsSmoothMarketClearing D) (hcard : 2 ≤ Fintype.card ι) {C : ℝ} (hC : 0 < C) {θ : ι → ℝ} (hθ : ∀ (i : ι), 0 ≤ θ i) (hne : ∃ (i : ι), θ i ≠ 0) :
∑ i : ι, marketAllocation D C θ i = C
theorem Cslib.GameTheory.IsSmoothMarketClearing.clearingPrice_eq_iff {D : ℝ → ℝ → ℝ} {ι : Type u_1} [Fintype ι] (hD : IsSmoothMarketClearing D) (hcard : 2 ≤ Fintype.card ι) {C : ℝ} (hC : 0 < C) {θ : ι → ℝ} (hθ : ∀ (i : ι), 0 ≤ θ i) (hne : ∃ (i : ι), θ i ≠ 0) {p : ℝ} :
clearingPrice D C θ = p ↔ 0 < p ∧ ∑ i : ι, D p (θ i) = C
theorem Cslib.GameTheory.IsSmoothMarketClearing.isFeasibleAllocation_marketAllocation {D : ℝ → ℝ → ℝ} {ι : Type u_1} [Fintype ι] (hD : IsSmoothMarketClearing D) (hcard : 2 ≤ Fintype.card ι) {G : KellyGame ι} (hC : 0 < G.capacity) {θ : ι → ℝ} (hθ : ∀ (i : ι), 0 ≤ θ i) (hne : ∃ (i : ι), θ i ≠ 0) :
theorem Cslib.GameTheory.IsSmoothMarketClearing.continuousOn_price {D : ℝ → ℝ → ℝ} (hD : IsSmoothMarketClearing D) {θ : ℝ} (hθ : 0 ≤ θ) :
ContinuousOn (fun (p : ℝ) => D p θ) (Set.Ioi 0)
theorem Cslib.GameTheory.IsSmoothMarketClearing.differentiableAt_price_of_pos {D : ℝ → ℝ → ℝ} (hD : IsSmoothMarketClearing D) {p θ : ℝ} (hp : 0 < p) (hθ : 0 < θ) :
DifferentiableAt ℝ (fun (q : ℝ) => D q θ) p

Competitive equilibrium optimality (Theorem 21.10(i), first half) #

theorem Cslib.GameTheory.IsMarketCompetitiveEquilibrium.isSocialOptimum {ι : Type u_1} [Fintype ι] {D : ℝ → ℝ → ℝ} {G : KellyGame ι} {θ : ι → ℝ} (hce : IsMarketCompetitiveEquilibrium D G θ) (hD : IsSmoothMarketClearing D) (hsurj : ∀ (p : ℝ), 0 < p → ∀ (d : ℝ), 0 ≤ d → ∃ (t : ℝ), 0 ≤ t ∧ D p t = d) (hcard : 2 ≤ Fintype.card ι) (hC : 0 < G.capacity) :

First Welfare Theorem for smooth market-clearing mechanisms ([Joh07], §21.3, Theorem 21.10(i)): for any smooth market-clearing mechanism D whose demand covers [0, ∞) at every positive price, every competitive equilibrium θ induces an optimal solution to SYSTEM.

Steps 1–5 of Theorem 21.10: functional form D(p, θ) = θ / B(p) #

theorem Cslib.GameTheory.IsRegularMarketClearing.exists_priceScale {D : ℝ → ℝ → ℝ} (hD : IsRegularMarketClearing D) :
∃ (B : ℝ → ℝ), Set.BijOn B (Set.Ioi 0) (Set.Ioi 0) ∧ ConcaveOn ℝ (Set.Ioi 0) B ∧ StrictMonoOn B (Set.Ioi 0) ∧ DifferentiableOn ℝ B (Set.Ioi 0) ∧ ∀ (p : ℝ), 0 < p → ∀ (θ : ℝ), 0 ≤ θ → D p θ = θ / B p

Functional form of mechanisms in 𝒟 ([Joh07], §21.3, Theorem 21.10(ii); [JT09]): for every mechanism D ∈ 𝒟, there exists a concave, strictly increasing, differentiable bijection B : (0, ∞) → (0, ∞) such that D(p, θ) = θ / B(p) for all p > 0 and θ ≥ 0.

theorem Cslib.GameTheory.IsRegularMarketClearing.marketAllocation_eq_kellyAllocation {ι : Type u_1} [Fintype ι] {D : ℝ → ℝ → ℝ} (hD : IsRegularMarketClearing D) (hcard : 2 ≤ Fintype.card ι) {G : KellyGame ι} (hC : 0 < G.capacity) {θ : ι → ℝ} (hθ : ∀ (i : ι), 0 ≤ θ i) (hne : ∃ (i : ι), θ i ≠ 0) :

Proportional market-clearing allocation ([Joh07], §21.3, Eq. (21.29)): every mechanism D ∈ 𝒟 allocates the resource in exact proportion to the bids θ at market clearing, matching KellyGame.allocation.

Existence and SYSTEM optimality of competitive equilibrium in 𝒟 ([Joh07], §21.3, Theorem 21.10(i)): for every D ∈ 𝒟, 2 ≤ Fintype.card ι, positive capacity, and admissible utilities, there exists a competitive equilibrium θ, and its allocation solves SYSTEM.

Step 6 of Theorem 21.10: Nash KKT conditions, existence, and uniqueness #

theorem Cslib.GameTheory.IsRegularMarketClearing.existsUnique_isMarketNashEquilibrium {ι : Type u_1} [Fintype ι] [DecidableEq ι] {D : ℝ → ℝ → ℝ} (hD : IsRegularMarketClearing D) (hcard : 2 ≤ Fintype.card ι) {G : KellyGame ι} (hC : 0 < G.capacity) (hU : ∀ (i : ι), IsAdmissibleUtility (G.utility i)) :

Existence and uniqueness of the price-anticipating Nash equilibrium in 𝒟 ([Joh07], §21.3, Theorem 21.10, Step 6, p. 556): for every mechanism D ∈ 𝒟, user type with 2 ≤ Fintype.card ι, positive capacity G.capacity > 0, and admissible utilities, there exists a unique price-anticipating Nash equilibrium θ.

Properties of elasticityEfficiencyBound (G(c)) #

Equivalence with Eq. (21.38) of [Joh07] (p. 558) for c > 1: G(c) = (2 c √c - 3 c + 1) / (c - 1) ^ 2.

elasticityEfficiencyBound (G(c)) is strictly decreasing on [1, ∞) ([Johari2007], Figure 21.1, p. 558).

Steps 7–8 of Theorem 21.10: optimality of proportional sharing #

theorem Cslib.GameTheory.IsRegularMarketClearing.le_efficiencyRatio {D : ℝ → ℝ → ℝ} (hD : IsRegularMarketClearing D) {b : ℝ} (hb : ∀ (R : ℕ), 2 ≤ R → ∀ (G : KellyGame (Fin R)) (d θ : Fin R → ℝ), 0 < G.capacity → (∀ (r : Fin R), IsAdmissibleUtility (G.utility r)) → (∀ (r : Fin R), 0 ≤ G.utility r 0) → G.IsSocialOptimum d → IsMarketNashEquilibrium D G θ → b * G.welfare d ≤ G.welfare (marketAllocation D G.capacity θ)) :

Lower bound on efficiencyRatio D: if every admissible nonnegative instance with R ≥ 2 and C > 0 satisfies b * G.welfare d ≤ G.welfare (marketAllocation D G.capacity θ) at Nash equilibrium θ, then b ≤ efficiencyRatio D.

theorem Cslib.GameTheory.IsRegularMarketClearing.exists_nash_welfare_ratio_lt {D : ℝ → ℝ → ℝ} (hD : IsRegularMarketClearing D) {t : ℝ} (ht : efficiencyRatio D < t) :
∃ (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 D G θ ∧ G.welfare (marketAllocation D G.capacity θ) / G.welfare d < t

Upper-witness extraction from efficiencyRatio D: for any t > efficiencyRatio D, there exists a finite admissible nonnegative instance whose Nash-to-optimum welfare ratio is strictly below t.

Upper bound on the efficiency of mechanisms in 𝒟 ([Joh07], §21.3, Theorem 21.10(iii); [JT09]): every regular smooth market-clearing mechanism D ∈ 𝒟 has worst-case price-anticipating Nash efficiency ratio at most 3 / 4.

theorem Cslib.GameTheory.IsRegularMarketClearing.efficiencyRatio_eq_three_fourths_iff {D : ℝ → ℝ → ℝ} (hD : IsRegularMarketClearing D) :
efficiencyRatio D = 3 / 4 ↔ ∃ Δ > 0, ∀ (p : ℝ), 0 < p → ∀ (θ : ℝ), 0 ≤ θ → D p θ = Δ * θ / p

Johari–Tsitsiklis optimality of proportional sharing ([Joh07], §21.3, Theorem 21.10(iii); [JT09]): for any regular smooth market-clearing mechanism D ∈ 𝒟, its worst-case Nash efficiency ratio equals 3 / 4 if and only if D is Kelly's proportional sharing mechanism up to a positive scalar factor Δ > 0, i.e., D(p, θ) = Δ * θ / p for all p > 0 and θ ≥ 0.

Power-elasticity mechanisms D(p, θ) = θ * p ^ (-1 / c) (Example 21.9, Ex. 21.1–21.2) #

theorem Cslib.GameTheory.clearingPrice_powerElasticity {ι : Type u_1} [Fintype ι] {c : ℝ} (hc : 0 < c) (hcard : 2 ≤ Fintype.card ι) {C : ℝ} (hC : 0 < C) {θ : ι → ℝ} (hθ : ∀ (i : ι), 0 ≤ θ i) (hne : ∃ (i : ι), θ i ≠ 0) :
clearingPrice (powerElasticityMechanism c) C θ = ((∑ i : ι, θ i) / C) ^ c

Clearing price of powerElasticityMechanism c (c > 0): clearingPrice (powerElasticityMechanism c) C θ = ((∑ i, θ i) / C) ^ c ([Joh07], Example 21.9, with the inverse exponent c of B(p) = p ^ (1 / c)).

Example 21.9 ([Joh07], §21.3, p. 553): for every c ≥ 1, powerElasticityMechanism c (D(p, θ) = θ * p ^ (-1 / c)) belongs to 𝒟 (IsRegularMarketClearing).

theorem Cslib.GameTheory.pointwise_powerElasticity_bound {u : ℝ → ℝ} (hu : IsAdmissibleUtility u) (hu0 : 0 ≤ u 0) {c C d x : ℝ} (hc : 1 ≤ c) (hC : 0 < C) (hd : d ∈ Set.Icc 0 C) (hx : x ∈ Set.Icc 0 C) :
elasticityEfficiencyBound c * u x ≤ u d + derivWithin u (Set.Ici 0) d * ((1 - d / C) / (1 + (c - 1) * (d / C))) * (x - d)

Pointwise bound for Exercise 21.2(b) ([Joh07], p. 567): for admissible nonnegative u, c ≥ 1, and d, x ∈ [0, C], G(c) * u x ≤ u d + u'(d) * ((1 - d / C) / (1 + (c - 1) * (d / C))) * (x - d).

theorem Cslib.GameTheory.isMarketNashEquilibrium_powerElasticity_iff_kkt {ι : Type u_1} [Fintype ι] [DecidableEq ι] {c : ℝ} (hc : 1 ≤ c) (hcard : 2 ≤ Fintype.card ι) {G : KellyGame ι} (hC : 0 < G.capacity) (hU : ∀ (i : ι), IsAdmissibleUtility (G.utility i)) {θ : ι → ℝ} :
IsMarketNashEquilibrium (powerElasticityMechanism c) G θ ↔ (∀ (i : ι), 0 ≤ θ i) ∧ (∀ (i : ι), 0 < ∑ j ∈ Finset.univ.erase i, θ j) ∧ (∀ (i : ι), derivWithin (G.utility i) (Set.Ici 0) (G.allocation θ i) * (1 - G.allocation θ i / G.capacity) ≤ ((∑ j : ι, θ j) / G.capacity) ^ c * (1 + (c - 1) * (G.allocation θ i / G.capacity))) ∧ ∀ (i : ι), 0 < G.allocation θ i → derivWithin (G.utility i) (Set.Ici 0) (G.allocation θ i) * (1 - G.allocation θ i / G.capacity) = ((∑ j : ι, θ j) / G.capacity) ^ c * (1 + (c - 1) * (G.allocation θ i / G.capacity))

First-order Nash equilibrium conditions for powerElasticityMechanism c ([Joh07], Exercise 21.1(a), p. 567, specializing Eqs. (21.31)–(21.32) on p. 556 to Λ(μ) = μ^c and μ Λ'(μ) = c μ^c): for c ≥ 1, 2 ≤ Fintype.card ι, positive capacity, and admissible utilities, θ is a Nash equilibrium iff θ ≥ 0, every user faces positive competing bids, and with μ = (∑ j, θ j) / C and d = G.allocation θ, U_i'(d_i) (1 - d_i / C) ≤ μ^c (1 + (c - 1) (d_i / C)) for all i, with equality whenever d_i > 0 (at d_i = 0, this reduces to U_i'(0) ≤ μ^c, Eq. (21.32)).

theorem Cslib.GameTheory.IsMarketNashEquilibrium.elasticityEfficiencyBound_mul_welfare_le {ι : 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)) (hU0 : ∀ (i : ι), 0 ≤ G.utility i 0) {x : ι → ℝ} (hx : G.IsFeasibleAllocation x) :

Instance-wise welfare guarantee of powerElasticityMechanism c ([Joh07], Exercises 21.1 and 21.2(a, b), p. 567): for every c ≥ 1, 2 ≤ Fintype.card ι, positive capacity, and nonnegative admissible utilities, every Nash equilibrium θ of powerElasticityMechanism c achieves at least elasticityEfficiencyBound c times the aggregate welfare of any feasible allocation x.

Exact worst-case efficiency of powerElasticityMechanism c ([Joh07], Exercise 21.2(c), pp. 567–568): for every c ≥ 1, efficiencyRatio (powerElasticityMechanism c) = G(c).