Documentation

CslibFrontier.GameTheory.ResourceAllocation.DivisibleVCG

Direct-revelation VCG mechanisms for divisible resource allocation and price discrimination #

In Section 21.4.1 of [Joh07] (pp. 559–560), users sharing an infinitely divisible resource of capacity C > 0 declare entire utility functions Ũ_r : [0, ∞) → ℝ (Ũ_r ∈ U, Assumption 1). A direct-revelation Groves mechanism (DivisibleGrovesMechanism) selects an allocation d(Ũ) ∈ argmax_{d ∈ X} ∑_r Ũ_r(d_r) over the feasible simplex X = {d ≥ 0 : ∑_r d_r ≤ C} ([Joh07], Eq. (21.39), p. 560) and charges user r the payment t_r(Ũ) = h_r(Ũ_{-r}) - ∑_{s ≠ r} Ũ_s(d_s(Ũ)) ([Joh07], Eq. (21.40), p. 560). The canonical Clarke-pivot divisible VCG mechanism (divisibleVCG) sets h_r(Ũ_{-r}) = sup_{x ∈ X} ∑_{s ≠ r} Ũ_s(x_s).

This module operates directly on univariate utility reports ι → ℝ → ℝ over the continuous feasible simplex of KellyGame (matching SSVCGMechanism and avoiding finite-outcome restrictions of Cslib.GameTheory.Mechanism.vcg). It establishes:

Main definitions #

Main results #

References #

Direct-revelation divisible Groves and VCG mechanisms (§21.4.1) #

A direct-revelation Groves mechanism for allocating a single infinitely divisible resource of capacity capacity among users ι reporting utility functions U : ι → ℝ → ℝ ([Joh07], §21.4.1, Eqs. (21.39)–(21.40), p. 560).

  • capacity : ℝ

    Total divisible capacity C of the resource.

  • allocation : (ι → ℝ → ℝ) → ι → ℝ

    Allocation rule d(Ũ) mapping reported utility functions to a resource allocation.

  • pivot : ι → (ι → ℝ → ℝ) → ℝ

    Pivot function h_i(Ũ) (intended to depend only on Ũ_{-i}).

The Groves payment t_i(Ũ) = h_i(Ũ) - ∑_{j ≠ i} Ũ_j(d_j(Ũ)) ([Joh07], Eq. (21.40), p. 560).

def Cslib.GameTheory.DivisibleGrovesMechanism.payoff {ι : Type u_1} (M : DivisibleGrovesMechanism ι) [Fintype ι] [DecidableEq ι] (u : ℝ → ℝ) (U : ι → ℝ → ℝ) (i : ι) :

Quasilinear payoff u_i(d_i(Ũ)) - t_i(Ũ) of user i with true utility u_i on reports Ũ.

noncomputable def Cslib.GameTheory.DivisibleGrovesMechanism.perUnitPrice {ι : Type u_1} (M : DivisibleGrovesMechanism ι) [Fintype ι] [DecidableEq ι] (U : ι → ℝ → ℝ) (i : ι) :

Per-unit price t_i(Ũ) / d_i(Ũ) paid by user i ([Joh07], §21.4.1, p. 560 and Exercise 21.3, p. 568).

Dominant-strategy incentive compatibility on a domain V of admissible utility functions: for every user i, true utility u ∈ V i, and reported profile U with ∀ j, U j ∈ V j, reporting u truthfully maximizes user i's payoff ([Joh07], §21.4.1, p. 560).

theorem Cslib.GameTheory.DivisibleGrovesMechanism.isDSICOn {ι : Type u_1} [Fintype ι] [DecidableEq ι] {M : DivisibleGrovesMechanism ι} {V : ι → Set (ℝ → ℝ)} (hopt : ∀ (U : ι → ℝ → ℝ), (∀ (j : ι), U j ∈ V j) → { capacity := M.capacity, utility := U }.IsSocialOptimum (M.allocation U)) (hpivot : ∀ (i : ι) (U : ι → ℝ → ℝ) (u : ℝ → ℝ), (∀ (j : ι), U j ∈ V j) → u ∈ V i → M.pivot i (Function.update U i u) = M.pivot i U) :

Groves mechanisms for divisible resources are DSIC ([Joh07], §21.4.1, p. 560): whenever M.allocation U solves SYSTEM on every reported profile in V and each pivot M.pivot i is independent of user i's declaration on V, truthful reporting is a dominant strategy.

noncomputable def Cslib.GameTheory.divisibleVCG {ι : Type u_1} [Fintype ι] [DecidableEq ι] (C : ℝ) :

The canonical Clarke-pivot VCG mechanism for allocating a divisible resource of capacity C ([Joh07], §21.4.1, Eqs. (21.39)–(21.40), p. 560): selects a SYSTEM maximizer for the declared utilities and charges each user i its Clarke externality sup_{x ∈ X} ∑_{j ≠ i} Ũ_j(x_j) - ∑_{j ≠ i} Ũ_j(d_j(Ũ)).

theorem Cslib.GameTheory.divisibleVCG_allocation_isSocialOptimum {ι : Type u_1} [Fintype ι] [DecidableEq ι] {C : ℝ} (hC : 0 ≤ C) {U : ι → ℝ → ℝ} (hcont : ∀ (i : ι), ContinuousOn (U i) (Set.Icc 0 C)) :
{ capacity := C, utility := U }.IsSocialOptimum ((divisibleVCG C).allocation U)

For nonnegative capacity and utilities continuous on [0, C], divisibleVCG C selects a socially optimal allocation for SYSTEM ([Joh07], Eq. (21.39), p. 560).

theorem Cslib.GameTheory.divisibleVCG_allocation_eq_of_isSocialOptimum {ι : Type u_1} [Fintype ι] [DecidableEq ι] {C : ℝ} (hC : 0 ≤ C) {U : ι → ℝ → ℝ} (hcont : ∀ (i : ι), ContinuousOn (U i) (Set.Icc 0 C)) (hstrict : ∀ (i : ι), StrictConcaveOn ℝ (Set.Icc 0 C) (U i)) {d : ι → ℝ} (hd : { capacity := C, utility := U }.IsSocialOptimum d) :

When all reported utilities are strictly concave and continuous on [0, C], any social optimum d equals (divisibleVCG C).allocation U.

theorem Cslib.GameTheory.divisibleVCG_pivot_apply {ι : Type u_1} [Fintype ι] [DecidableEq ι] (C : ℝ) (U : ι → ℝ → ℝ) (i : ι) :
(divisibleVCG C).pivot i U = sSup ((fun (x : ι → ℝ) => ∑ j ∈ Finset.univ.erase i, U j (x j)) '' {x : ι → ℝ | { capacity := C, utility := U }.IsFeasibleAllocation x})

The Clarke pivot of divisibleVCG C evaluates to the supremum welfare of users other than i over all feasible allocations.

theorem Cslib.GameTheory.divisibleVCG_pivot_update_self {ι : Type u_1} [Fintype ι] [DecidableEq ι] (C : ℝ) (U : ι → ℝ → ℝ) (i : ι) (u : ℝ → ℝ) :

The Clarke pivot of divisibleVCG C for user i is independent of user i's declaration.

theorem Cslib.GameTheory.divisibleVCG_isDSICOn_continuousOn {ι : Type u_1} [Fintype ι] [DecidableEq ι] {C : ℝ} (hC : 0 ≤ C) :
(divisibleVCG C).IsDSICOn fun (x : ι) => {u : ℝ → ℝ | ContinuousOn u (Set.Icc 0 C)}

DSIC of divisibleVCG ([Joh07], §21.4.1, p. 560): on the domain of utilities continuous on [0, C] (in particular, all admissible utilities IsAdmissibleUtility), truthful revelation is a dominant strategy.

theorem Cslib.GameTheory.divisibleVCG_payment_nonneg {ι : Type u_1} [Fintype ι] [DecidableEq ι] {C : ℝ} (hC : 0 ≤ C) {U : ι → ℝ → ℝ} (hcont : ∀ (i : ι), ContinuousOn (U i) (Set.Icc 0 C)) (i : ι) :

Clarke-pivot payments of divisibleVCG C are nonnegative for continuous utilities.

theorem Cslib.GameTheory.divisibleVCG_payoff_ge_zero_utility {ι : Type u_1} [Fintype ι] [DecidableEq ι] {C : ℝ} (hC : 0 ≤ C) {U : ι → ℝ → ℝ} (hcont : ∀ (i : ι), ContinuousOn (U i) (Set.Icc 0 C)) (i : ι) :
U i 0 ≤ (divisibleVCG C).payoff (U i) U i

Individual rationality of divisibleVCG: under truthful reporting of continuous utilities on [0, C], every user receives payoff at least its zero-allocation utility U i 0 (in particular nonnegative payoff whenever 0 ≤ U i 0).

Exercise 21.3: Distinct per-unit prices in divisible VCG and SSVCG #

noncomputable def Cslib.GameTheory.priceDiscrimUtilities :
Fin 2 → ℝ → ℝ

Two-user strictly concave admissible utility profile on capacity 3: U_0(x) = 3 log (1 + x) and U_1(x) = 2 log (1 + x).

Distinct per-unit prices in divisible-resource VCG ([Joh07], §21.4.1, p. 560 and Exercise 21.3, p. 568): on capacity 3 with strictly concave admissible utilities U_0(x) = 3 log (1 + x) and U_1(x) = 2 log (1 + x), divisibleVCG 3 assigns the unique socially optimal positive allocations ![2, 1], charges 2 log 2 and 3 log (4 / 3), and imposes strictly distinct per-unit prices log 2 < 3 log (4 / 3).

theorem Cslib.GameTheory.exists_ssvcg_ne_perUnitPrice :
have M := { capacity := 3, surrogate := fun (θ x : ℝ) => θ * Real.log (1 + x) }; have θ := ![3, 2]; M.allocation θ = ![2, 1] ∧ M.payment θ 0 / M.allocation θ 0 < M.payment θ 1 / M.allocation θ 1

The logarithmic SSVCG mechanism likewise charges strictly distinct per-unit prices on the same two-user profile θ = ![3, 2] with capacity 3 ([Joh07], §21.4 and Exercise 21.3).

Non-existence of dominant strategies in SSVCG (§21.4.2, p. 564) #

theorem Cslib.GameTheory.exists_ssvcg_no_dominant_strategy :
have M := { capacity := 1, surrogate := fun (θ x : ℝ) => θ * Real.log (1 + x) }; have U := fun (x : Fin 2) (x_1 : ℝ) => x_1; ¬∃ (θ₀ : ℝ), 0 < θ₀ ∧ ∀ (θ₁ : ℝ), 0 < θ₁ → ∀ (t : ℝ), 0 < t → M.payoff U ![t, θ₁] 0 ≤ M.payoff U ![θ₀, θ₁] 0

Absence of dominant strategies in SSVCG ([Joh07], §21.4.2, p. 564): unlike full direct-revelation VCG (divisibleVCG_isDSICOn_continuousOn), the logarithmic SSVCG mechanism U(x; θ) = θ log (1 + x) of capacity 1 admits no dominant strategy θ_0 > 0 for a user with linear admissible utility U_0(x) = x (against θ_1 = 1, optimality forces 2 ≤ θ_0, whereas against θ_1 = 3, optimality forces θ_0 ≤ 3 / 2).