Documentation

CslibFrontier.GameTheory.Mechanism.VCG

The Vickrey–Clarke–Groves mechanism #

A general (multi-parameter) mechanism design environment has agents ι, a set Ω of outcomes, and a private valuation vᵢ : Ω → ℝ for each agent ([Rou13], Lecture 7, §1; [Nis07], §9.3.2–9.3.4). A direct-revelation mechanism collects reported valuations b : ι → Ω → ℝ, chooses an outcome and charges payments; agent i with valuation v has quasilinear utility v(ω) − pᵢ(b).

Groves mechanisms [Gro73] choose an outcome maximizing reported welfare ∑ᵢ bᵢ(ω) and charge pᵢ(b) = hᵢ(b₋ᵢ) − ∑ⱼ≠ᵢ bⱼ(ω*); every such mechanism is DSIC, both on any restricted valuation domain V : ι → Set (Ω → ℝ) (groves_isDSICOn, [Nis07], Theorem 9.17) and on all real valuations (groves_isDSIC). The Clarke pivot [Cla71] hᵢ(b₋ᵢ) = max_ω ∑ⱼ≠ᵢ bⱼ(ω) gives the VCG mechanism, which charges each agent its externality ([Rou13], Lecture 7, (2); [Nis07], Definition 9.19). Its payments are nonnegative (vcg_payment_nonneg, vcg_noPositiveTransfersOn) and a truthful agent with nonnegative valuation gets nonnegative utility (vcg_isIR, vcg_isIROn; [Rou13], Lecture 7, (4) and the exercise following it; [Nis07], Lemma 9.20).

DSIC holds for arbitrary real valuations; nonnegativity is only assumed for individual rationality. Note that Mechanism.IsIR restricts the evaluated agent's valuation to 0 ≤ b i while leaving the other agents' reports unrestricted, whereas [Nis07]'s Definition 9.18 (Mechanism.IsIROn) quantifies over profiles in V with no built-in sign restriction—matching procurement/cost domains and explaining why Lemma 9.20 assumes 0 ≤ v on V i. The finite outcome set is needed for the Clarke pivot and for the existence of a welfare-maximizing outcome rule; DSIC of Groves mechanisms holds for any outcome type.

This Mechanism ι Ω is separate from SingleParameter.Mechanism ι. A single-parameter environment is the special case in which agent i's valuation of an outcome ω is vᵢ · xᵢ(ω) for an allocation map x and a private scalar vᵢ ≥ 0, and its incentive predicates quantify only over such valuations and nonnegative bids. IsDSICOn and IsIROn restrict DSIC and IR to valuation domains; CslibFrontier.GameTheory.Mechanism.LinearValuation and CslibFrontier.GameTheory.Mechanism.Domains identify single-parameter DSIC and IR with IsDSICOn and IsIROn on linear valuations, and CslibFrontier.GameTheory.Mechanism.VickreyVCG shows that VCG on single-item outcomes is the Vickrey auction.

Main definitions #

Main results #

References #

structure Cslib.GameTheory.Mechanism (ι : Type u_1) (Ω : Type u_2) :
Type (max u_1 u_2)

A direct-revelation mechanism with agents ι and outcomes Ω: on the reported valuations b : ι → Ω → ℝ it chooses outcome b and charges agent i the amount payment b i.

  • outcome : (ι → Ω → ℝ) → Ω

    The outcome rule.

  • payment : (ι → Ω → ℝ) → ι → ℝ

    The payment rule.

def Cslib.GameTheory.Mechanism.utility {ι : Type u_1} {Ω : Type u_2} (M : Mechanism ι Ω) (i : ι) (v : Ω → ℝ) (b : ι → Ω → ℝ) :

The quasilinear utility v(ω) − pᵢ(b) of agent i with valuation v on the reports b, where ω is the chosen outcome.

def Cslib.GameTheory.Mechanism.IsDSIC {ι : Type u_1} {Ω : Type u_2} [DecidableEq ι] (M : Mechanism ι Ω) :

Dominant-strategy incentive compatibility: for every agent i, valuation v and reports b, reporting v instead of bᵢ does not lower i's utility ([Rou13], Lecture 7, §2). Valuations are arbitrary real functions.

def Cslib.GameTheory.Mechanism.IsIR {ι : Type u_1} {Ω : Type u_2} (M : Mechanism ι Ω) :

Individual rationality: an agent whose valuation bᵢ is nonnegative and who reports it truthfully gets nonnegative utility, whatever the others report.

def Cslib.GameTheory.Mechanism.IsDSICOn {ι : Type u_1} {Ω : Type u_2} [DecidableEq ι] (M : Mechanism ι Ω) (V : ι → Set (Ω → ℝ)) :

Dominant-strategy incentive compatibility on the valuation domains V: for every agent i, valuation v ∈ V i and reports b with every b j ∈ V j, reporting v instead of bᵢ does not lower i's utility. On the full domains this is IsDSIC (isDSICOn_univ_iff). Single-parameter environments are the domains of linear valuations; see CslibFrontier.GameTheory.Mechanism.LinearValuation.

theorem Cslib.GameTheory.Mechanism.IsDSIC.isDSICOn {ι : Type u_1} {Ω : Type u_2} [DecidableEq ι] {M : Mechanism ι Ω} (hM : M.IsDSIC) (V : ι → Set (Ω → ℝ)) :

A DSIC mechanism is DSIC on every valuation domain.

theorem Cslib.GameTheory.Mechanism.isDSICOn_univ_iff {ι : Type u_1} {Ω : Type u_2} [DecidableEq ι] {M : Mechanism ι Ω} :
(M.IsDSICOn fun (x : ι) => Set.univ) ↔ M.IsDSIC
def Cslib.GameTheory.Mechanism.IsIROn {ι : Type u_1} {Ω : Type u_2} (M : Mechanism ι Ω) (V : ι → Set (Ω → ℝ)) :

Ex-post individual rationality on a restricted domain ([Nis07], Definition 9.18): on every truthful valuation profile in V, every agent gets nonnegative utility.

def Cslib.GameTheory.Mechanism.NoPositiveTransfersOn {ι : Type u_1} {Ω : Type u_2} (M : Mechanism ι Ω) (V : ι → Set (Ω → ℝ)) :

No positive transfers on a restricted domain ([Nis07], Definition 9.18): on every valuation profile in V, no agent receives a negative payment (subsidy) from the mechanism.

@[simp]
theorem Cslib.GameTheory.Mechanism.isIROn_univ_iff {ι : Type u_1} {Ω : Type u_2} (M : Mechanism ι Ω) :
(M.IsIROn fun (x : ι) => Set.univ) ↔ ∀ (i : ι) (b : ι → Ω → ℝ), 0 ≤ M.utility i (b i) b

On the unrestricted domain Set.univ, IsIROn says every agent gets nonnegative utility on every profile.

@[simp]
theorem Cslib.GameTheory.Mechanism.noPositiveTransfersOn_univ_iff {ι : Type u_1} {Ω : Type u_2} (M : Mechanism ι Ω) :
(M.NoPositiveTransfersOn fun (x : ι) => Set.univ) ↔ ∀ (i : ι) (b : ι → Ω → ℝ), 0 ≤ M.payment b i

On the unrestricted domain Set.univ, NoPositiveTransfersOn says payments are nonnegative everywhere.

theorem Cslib.GameTheory.Mechanism.IsDSICOn.mono {ι : Type u_1} {Ω : Type u_2} [DecidableEq ι] {M : Mechanism ι Ω} {V W : ι → Set (Ω → ℝ)} (hM : M.IsDSICOn W) (hVW : ∀ (i : ι), V i ⊆ W i) :
theorem Cslib.GameTheory.Mechanism.IsIROn.mono {ι : Type u_1} {Ω : Type u_2} {M : Mechanism ι Ω} {V W : ι → Set (Ω → ℝ)} (hM : M.IsIROn W) (hVW : ∀ (i : ι), V i ⊆ W i) :
M.IsIROn V
theorem Cslib.GameTheory.Mechanism.NoPositiveTransfersOn.mono {ι : Type u_1} {Ω : Type u_2} {M : Mechanism ι Ω} {V W : ι → Set (Ω → ℝ)} (hM : M.NoPositiveTransfersOn W) (hVW : ∀ (i : ι), V i ⊆ W i) :
theorem Cslib.GameTheory.Mechanism.IsIR.isIROn {ι : Type u_1} {Ω : Type u_2} {M : Mechanism ι Ω} (hM : M.IsIR) {V : ι → Set (Ω → ℝ)} (hV : ∀ (i : ι), ∀ v ∈ V i, 0 ≤ v) :
M.IsIROn V

Mechanism.IsIR implies Mechanism.IsIROn on any domain of nonnegative valuations, in particular on fun _ => {v | 0 ≤ v}.

def Cslib.GameTheory.Mechanism.welfare {ι : Type u_1} {Ω : Type u_2} [Fintype ι] (b : ι → Ω → ℝ) (ω : Ω) :

The reported welfare ∑ᵢ bᵢ(ω) of the outcome ω.

def Cslib.GameTheory.Mechanism.IsWelfareMaximizing {ι : Type u_1} {Ω : Type u_2} [Fintype ι] (f : (ι → Ω → ℝ) → Ω) :

An outcome rule is welfare-maximizing if it always chooses an outcome maximizing the reported welfare ([Rou13], Lecture 7, (1)).

def Cslib.GameTheory.Mechanism.IsWelfareMaximizingOn {ι : Type u_1} {Ω : Type u_2} [Fintype ι] (f : (ι → Ω → ℝ) → Ω) (V : ι → Set (Ω → ℝ)) :

An outcome rule maximizes reported welfare on every profile in V.

theorem Cslib.GameTheory.Mechanism.isWelfareMaximizing_comp_equiv {ι : Type u_1} [Fintype ι] {Ω₁ : Type u_3} {Ω₂ : Type u_4} (e : Ω₁ ≃ Ω₂) {f : (ι → Ω₁ → ℝ) → Ω₁} (hf : IsWelfareMaximizing f) :
IsWelfareMaximizing fun (u : ι → Ω₂ → ℝ) => e (f fun (j : ι) (ω₁ : Ω₁) => u j (e ω₁))

Transporting a welfare-maximizing outcome rule along an equivalence e : Ω₁ ≃ Ω₂ of outcome types preserves welfare maximization.

def Cslib.GameTheory.Mechanism.groves {ι : Type u_1} {Ω : Type u_2} [Fintype ι] [DecidableEq ι] (f : (ι → Ω → ℝ) → Ω) (h : ι → (ι → Ω → ℝ) → ℝ) :
Mechanism ι Ω

The Groves mechanism [Gro73] with outcome rule f and pivot h: agent i pays hᵢ(b) − ∑ⱼ≠ᵢ bⱼ(f(b)).

theorem Cslib.GameTheory.Mechanism.groves_isDSICOn {ι : Type u_1} {Ω : Type u_2} [Fintype ι] [DecidableEq ι] {f : (ι → Ω → ℝ) → Ω} {V : ι → Set (Ω → ℝ)} (hf : IsWelfareMaximizingOn f V) {h : ι → (ι → Ω → ℝ) → ℝ} (hh : ∀ (i : ι) (b : ι → Ω → ℝ) (v : Ω → ℝ), (∀ (j : ι), b j ∈ V j) → v ∈ V i → h i (Function.update b i v) = h i b) :

Groves mechanisms are DSIC on restricted domains ([Nis07], Theorem 9.17; [Gro73]): if f maximizes reported welfare on V and each pivot h i is independent of i's report on V, then groves f h is incentive compatible on V.

theorem Cslib.GameTheory.Mechanism.groves_isDSIC {ι : Type u_1} {Ω : Type u_2} [Fintype ι] [DecidableEq ι] {f : (ι → Ω → ℝ) → Ω} (hf : IsWelfareMaximizing f) {h : ι → (ι → Ω → ℝ) → ℝ} (hh : ∀ (i : ι) (b : ι → Ω → ℝ) (v : Ω → ℝ), h i (Function.update b i v) = h i b) :

Groves mechanisms are DSIC [Gro73]: if the outcome rule maximizes reported welfare and the pivot hᵢ does not depend on i's report, then i's utility under truthful reporting is ∑ⱼ bⱼ(ω*) − hᵢ(b₋ᵢ) with bᵢ = vᵢ, which the mechanism maximizes.

noncomputable def Cslib.GameTheory.Mechanism.clarkePivot {ι : Type u_1} {Ω : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype Ω] [Nonempty Ω] (i : ι) (b : ι → Ω → ℝ) :

The Clarke pivot [Cla71]: the maximum welfare max_ω ∑ⱼ≠ᵢ bⱼ(ω) of the other agents.

noncomputable def Cslib.GameTheory.Mechanism.vcg {ι : Type u_1} {Ω : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype Ω] [Nonempty Ω] (f : (ι → Ω → ℝ) → Ω) :
Mechanism ι Ω

The VCG mechanism with welfare-maximizing outcome rule f: agent i pays its externality max_ω ∑ⱼ≠ᵢ bⱼ(ω) − ∑ⱼ≠ᵢ bⱼ(f(b)) ([Rou13], Lecture 7, (2)).

@[simp]
theorem Cslib.GameTheory.Mechanism.clarkePivot_update {ι : Type u_1} {Ω : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype Ω] [Nonempty Ω] (i : ι) (b : ι → Ω → ℝ) (v : Ω → ℝ) :

The Clarke pivot of agent i does not depend on i's report.

theorem Cslib.GameTheory.Mechanism.clarkePivot_comp_equiv {ι : Type u_1} [Fintype ι] [DecidableEq ι] {Ω₁ : Type u_3} {Ω₂ : Type u_4} [Fintype Ω₁] [Nonempty Ω₁] [Fintype Ω₂] [Nonempty Ω₂] (e : Ω₁ ≃ Ω₂) (i : ι) (u : ι → Ω₂ → ℝ) :
(clarkePivot i fun (j : ι) (ω₁ : Ω₁) => u j (e ω₁)) = clarkePivot i u

Pulling back valuations along an equivalence e : Ω₁ ≃ Ω₂ of outcome types preserves the Clarke pivot.

theorem Cslib.GameTheory.Mechanism.vcg_payment_comp_equiv {ι : Type u_1} [Fintype ι] [DecidableEq ι] {Ω₁ : Type u_3} {Ω₂ : Type u_4} [Fintype Ω₁] [Nonempty Ω₁] [Fintype Ω₂] [Nonempty Ω₂] (e : Ω₁ ≃ Ω₂) (f : (ι → Ω₁ → ℝ) → Ω₁) (u : ι → Ω₂ → ℝ) (i : ι) :
(vcg fun (v : ι → Ω₂ → ℝ) => e (f fun (j : ι) (ω₁ : Ω₁) => v j (e ω₁))).payment u i = (vcg f).payment (fun (j : ι) (ω₁ : Ω₁) => u j (e ω₁)) i

Transporting a VCG mechanism along an equivalence e : Ω₁ ≃ Ω₂ of outcome types preserves payments on pulled-back valuation profiles.

theorem Cslib.GameTheory.Mechanism.vcg_isDSICOn {ι : Type u_1} {Ω : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype Ω] [Nonempty Ω] {f : (ι → Ω → ℝ) → Ω} {V : ι → Set (Ω → ℝ)} (hf : IsWelfareMaximizingOn f V) :

VCG is DSIC on restricted domains ([Nis07], Theorem 9.17): if f maximizes welfare on V, then vcg f is incentive compatible on V.

theorem Cslib.GameTheory.Mechanism.vcg_isDSIC {ι : Type u_1} {Ω : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype Ω] [Nonempty Ω] {f : (ι → Ω → ℝ) → Ω} (hf : IsWelfareMaximizing f) :

The VCG mechanism is DSIC ([Rou13], Lecture 7, Theorem 2.1).

theorem Cslib.GameTheory.Mechanism.vcg_payment_nonneg {ι : Type u_1} {Ω : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype Ω] [Nonempty Ω] (f : (ι → Ω → ℝ) → Ω) (b : ι → Ω → ℝ) (i : ι) :
0 ≤ (vcg f).payment b i

VCG payments are nonnegative ([Rou13], Lecture 7, after (2)), for any outcome rule.

theorem Cslib.GameTheory.Mechanism.vcg_noPositiveTransfersOn {ι : Type u_1} {Ω : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype Ω] [Nonempty Ω] (f : (ι → Ω → ℝ) → Ω) (V : ι → Set (Ω → ℝ)) :

VCG makes no positive transfers ([Nis07], Lemma 9.20, first statement).

theorem Cslib.GameTheory.Mechanism.vcg_isIROn {ι : Type u_1} {Ω : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype Ω] [Nonempty Ω] {f : (ι → Ω → ℝ) → Ω} {V : ι → Set (Ω → ℝ)} (hf : IsWelfareMaximizingOn f V) (hV : ∀ (i : ι), ∀ v ∈ V i, 0 ≤ v) :
(vcg f).IsIROn V

VCG is individually rational on nonnegative domains ([Nis07], Lemma 9.20, second statement): if f maximizes welfare on V and every valuation in V i is nonnegative, then vcg f is individually rational on V.

theorem Cslib.GameTheory.Mechanism.vcg_isIR {ι : Type u_1} {Ω : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype Ω] [Nonempty Ω] {f : (ι → Ω → ℝ) → Ω} (hf : IsWelfareMaximizing f) :
(vcg f).IsIR

VCG is individually rational ([Rou13], Lecture 7, after (4)): the rebate ∑ⱼ bⱼ(ω*) − max_ω ∑ⱼ≠ᵢ bⱼ(ω) is nonnegative when bᵢ ≥ 0, so a truthful agent with nonnegative valuation pays at most its value of the chosen outcome.

theorem Cslib.GameTheory.Mechanism.exists_isWelfareMaximizing {ι : Type u_1} {Ω : Type u_2} [Fintype ι] [Nonempty Ω] [Finite Ω] :
∃ (f : (ι → Ω → ℝ) → Ω), IsWelfareMaximizing f

A welfare-maximizing outcome rule exists when there are finitely many outcomes.

theorem Cslib.GameTheory.Mechanism.exists_isDSIC_isWelfareMaximizing {ι : Type u_1} {Ω : Type u_2} [Fintype ι] [DecidableEq ι] [Nonempty Ω] [Finite Ω] :
∃ (M : Mechanism ι Ω), M.IsDSIC ∧ IsWelfareMaximizing M.outcome ∧ M.IsIR ∧ ∀ (b : ι → Ω → ℝ) (i : ι), 0 ≤ M.payment b i

Vickrey–Clarke–Groves ([Rou13], Lecture 7, Theorem 2.1): in every general mechanism design environment with finitely many outcomes there is a DSIC welfare-maximizing mechanism. The VCG mechanism is moreover individually rational with nonnegative payments.