Documentation

CslibFrontier.GameTheory.Mechanism.Vickrey

The Vickrey (second-price) auction #

A single item is sold to the highest bidder, ties being broken in favour of the smallest index; the winner pays the highest bid among the other bidders (0 if there are none) and losers pay nothing ([Vic61]; [Rou13], Lecture 2). We prove Roughgarden's Theorem 5.1 (Lecture 2), items (1) and (2): the auction is DSIC and individually rational (Claims 4.1 and 4.2), and on nonnegative bids it maximizes the reported welfare ∑ᵢ bᵢ xᵢ over 0-1 allocations with at most one winner. Item (3), linear running time, is not formalized here.

The proof goes through the critical-bid mechanism: the Vickrey allocation is a threshold rule whose critical bid is the highest other bid. Consequently the Vickrey payment is Myerson's payment (Lecture 3, §6: "Myerson's Lemma regenerates the Vickrey auction as a special case").

Main definitions #

Main results #

References #

def Cslib.GameTheory.SingleParameter.Vickrey.Wins {ι : Type u_1} [LinearOrder ι] (b : ι → ℝ) (i : ι) :

Bidder i wins the Vickrey auction on bids b: no bid exceeds bᵢ, and bidders with a smaller index bid strictly less (ties go to the smallest index).

noncomputable def Cslib.GameTheory.SingleParameter.Vickrey.allocation {ι : Type u_1} [LinearOrder ι] (b : ι → ℝ) (i : ι) :

The Vickrey allocation rule: the winner gets the item.

Feasible allocations of a single item: 0-1 vectors with at most one winner.

theorem Cslib.GameTheory.SingleParameter.Vickrey.Wins.unique {ι : Type u_1} [LinearOrder ι] {b : ι → ℝ} {i j : ι} (hi : Wins b i) (hj : Wins b j) :
i = j

The winner is unique.

theorem Cslib.GameTheory.SingleParameter.Vickrey.Wins.update_of_le {ι : Type u_1} [LinearOrder ι] {b : ι → ℝ} {i : ι} {z z' : ℝ} (h : Wins (Function.update b i z) i) (hzz' : z ≤ z') :

Raising the winner's bid keeps it the winner.

theorem Cslib.GameTheory.SingleParameter.Vickrey.wins_comp_iff {ι : Type u_1} [LinearOrder ι] {φ : ℝ → ℝ} (hφ : StrictMono φ) {b : ι → ℝ} {i : ι} :
Wins (fun (j : ι) => φ (b j)) i ↔ Wins b i

Winning is invariant under a strictly increasing transformation of all bids.

theorem Cslib.GameTheory.SingleParameter.Vickrey.allocation_comp {ι : Type u_1} [LinearOrder ι] {φ : ℝ → ℝ} (hφ : StrictMono φ) (b : ι → ℝ) (i : ι) :
allocation (fun (j : ι) => φ (b j)) i = allocation b i

The highest-bidder allocation is invariant under a strictly increasing transformation of all bids.

With a single bidder, that bidder always wins.

The highest-bidder allocation rule is monotone.

theorem Cslib.GameTheory.SingleParameter.Vickrey.exists_wins {ι : Type u_1} [LinearOrder ι] [Finite ι] [Nonempty ι] (b : ι → ℝ) :
∃ (i : ι), Wins b i

With at least one bidder, some bidder wins: the smallest index among the highest bidders.

noncomputable def Cslib.GameTheory.SingleParameter.Vickrey.highestOtherBid {ι : Type u_1} [LinearOrder ι] [Fintype ι] (b : ι → ℝ) (i : ι) :

The highest bid among the bidders other than i, or 0 if it is negative or there are no other bidders.

The Vickrey auction: the winner pays the highest other bid.

theorem Cslib.GameTheory.SingleParameter.Vickrey.le_highestOtherBid {ι : Type u_1} [LinearOrder ι] [Fintype ι] {b : ι → ℝ} {i j : ι} (hj : j ≠ i) :
theorem Cslib.GameTheory.SingleParameter.Vickrey.highestOtherBid_le_iff {ι : Type u_1} [LinearOrder ι] [Fintype ι] {b : ι → ℝ} {i : ι} {c : ℝ} :
highestOtherBid b i ≤ c ↔ 0 ≤ c ∧ ∀ (j : ι), j ≠ i → b j ≤ c
@[simp]

The highest other bid does not depend on i's own bid.

theorem Cslib.GameTheory.SingleParameter.Vickrey.wins_update_of_lt {ι : Type u_1} [LinearOrder ι] [Fintype ι] {b : ι → ℝ} {i : ι} {z : ℝ} (h : highestOtherBid b i < z) :

Bidding above the highest other bid wins.

theorem Cslib.GameTheory.SingleParameter.Vickrey.highestOtherBid_le_of_wins {ι : Type u_1} [LinearOrder ι] [Fintype ι] {b : ι → ℝ} {i : ι} {z : ℝ} (hz : 0 ≤ z) (h : Wins (Function.update b i z) i) :

A winning nonnegative bid is at least the highest other bid.

theorem Cslib.GameTheory.SingleParameter.Vickrey.threshold_allocation {ι : Type u_1} [LinearOrder ι] [Fintype ι] (b : ι → ℝ) (i : ι) :
(∀ (z : ℝ), highestOtherBid b i < z → allocation (Function.update b i z) i = 1) ∧ ∀ (z : ℝ), 0 ≤ z → allocation (Function.update b i z) i = 1 → highestOtherBid b i ≤ z

The critical bid in the Vickrey auction is the highest other bid.

The Vickrey auction is the critical-bid mechanism of the highest-bidder rule.

Vickrey's auction is DSIC ([Rou13], Lecture 2, Claim 4.1).

Vickrey's auction is individually rational ([Rou13], Lecture 2, Claim 4.2).

The second-price payment is Myerson's payment for the highest-bidder allocation rule ([Rou13], Lecture 3, §6).

In the Vickrey auction a zero bid pays zero.

Vickrey's auction maximizes welfare ([Rou13], Lecture 2, Theorem 5.1 (2)): on nonnegative bids, giving the item to the winner maximizes ∑ᵢ bᵢ xᵢ over all 0-1 allocations with at most one winner.