Documentation

CslibFrontier.GameTheory.Mechanism.MultiUnit

Multi-unit auctions: (k + 1)-st price vs discriminatory (j + 1)-st price #

In a single-minded multi-unit auction ([Nis07], §9.3.5.4, p. 221; [Vic61]), k identical items are sold to bidders i : ι, each wanting at most one item (xᵢ ∈ {0, 1} with ∑ᵢ xᵢ ≤ k, multiUnitFeasible k).

Ordering bidders by bid with ties broken in favour of smaller indices (Beats, rank), the top-k allocation rule (allocation k) awards one item to each bidder with 0-indexed rank b i < k. On nonnegative bids:

  1. Welfare maximization and uniform (k + 1)-st price truthfulness ([Nis07], §9.3.5.4, p. 221): allocation k maximizes reported welfare ∑ᵢ bᵢ xᵢ over multiUnitFeasible k (isWelfareMaximizing_allocation), and charging every winner the uniform (k + 1)-st highest bid (bidAtRank k b, which is 0 when Fintype.card ι ≤ k) agrees on nonnegative profiles with both criticalBidMechanism (allocation k) and myerson (allocation k) (criticalBidMechanism_eq_on_nonneg, mechanism_payment_eq_myersonPayment). Consequently MultiUnit.mechanism k is DSIC, individually rational, and normalized (mechanism_isDSIC, mechanism_isIR, mechanism_isNormalized), generalizing Vickrey.mechanism (k = 1).
  2. Failure of DSIC for discriminatory (j + 1)-st price auctions (original contrast, not in [Nis07]): contrasting with the uniform (k + 1)-st price rule, charging the j-th highest bidder (1 ≤ j ≤ k, 0-indexed rank = j - 1) the (j + 1)-st highest bid (nextBidMechanism k) is not DSIC whenever 2 ≤ k and 2 ≤ Fintype.card ι (not_isDSIC_nextBidMechanism): when bidder i₀ has value 3, bidder i₁ bids 2, and any remaining bidders bid 0, truthful bidding 3 gives i₀ rank 0 at price 2 (utility 1), whereas shading to 1 drops i₀ to rank 1 < k (still winning!) at price 0 (utility 3 > 1). Both bounds 2 ≤ k and 2 ≤ Fintype.card ι are tight (nextBidMechanism_one_eq_mechanism, nextBidMechanism_isDSIC_of_card_le_one).

Source locator note. The unit-demand (k + 1)-st price multi-unit auction appears directly in [Nis07], §9.3.5.4 (p. 221). Note that Chapter 1, Exercise 1.2 of the edited volume (Nisan et al., 2007, p. 26) instead concerns pure Nash equilibria in random two-player matrix games; the contrasting nextBidMechanism counterexample is original and not taken from that exercise.

Main definitions #

Main results #

References #

Feasible allocations of k identical items to unit-demand bidders: 0-1 vectors summing to at most k ([Nis07], §9.3.5.4).

theorem Cslib.GameTheory.SingleParameter.MultiUnit.mem_multiUnitFeasible {ι : Type u_1} [Fintype ι] {k : ℕ} {x : ι → ℝ} :
x ∈ multiUnitFeasible k ↔ (∀ (i : ι), x i = 0 ∨ x i = 1) ∧ ∑ i : ι, x i ≤ ↑k
def Cslib.GameTheory.SingleParameter.MultiUnit.Beats {ι : Type u_1} [LinearOrder ι] (b : ι → ℝ) (j i : ι) :

Bidder j strictly beats bidder i on bid profile b: either b i < b j, or b i = b j and j < i (ties broken in favour of smaller indices, matching Vickrey.Wins).

theorem Cslib.GameTheory.SingleParameter.MultiUnit.beats_trans {ι : Type u_1} [LinearOrder ι] {b : ι → ℝ} {x y z : ι} (hxy : Beats b x y) (hyz : Beats b y z) :
Beats b x z
theorem Cslib.GameTheory.SingleParameter.MultiUnit.beats_trichotomous {ι : Type u_1} [LinearOrder ι] {b : ι → ℝ} {i j : ι} (hij : i ≠ j) :
Beats b i j ∨ Beats b j i
theorem Cslib.GameTheory.SingleParameter.MultiUnit.le_of_beats {ι : Type u_1} [LinearOrder ι] {b : ι → ℝ} {j i : ι} (h : Beats b j i) :
b i ≤ b j
theorem Cslib.GameTheory.SingleParameter.MultiUnit.le_of_not_beats {ι : Type u_1} [LinearOrder ι] {b : ι → ℝ} {j i : ι} (h : ¬Beats b j i) :
b j ≤ b i
noncomputable def Cslib.GameTheory.SingleParameter.MultiUnit.rank {ι : Type u_1} [LinearOrder ι] [Fintype ι] (b : ι → ℝ) (i : ι) :

The 0-indexed rank of bidder i from the top on bid profile b: the number of bidders j with Beats b j i.

theorem Cslib.GameTheory.SingleParameter.MultiUnit.rank_def {ι : Type u_1} [LinearOrder ι] [Fintype ι] (b : ι → ℝ) (i : ι) :
rank b i = {j : ι | Beats b j i}.card
theorem Cslib.GameTheory.SingleParameter.MultiUnit.rank_lt_of_beats {ι : Type u_1} [LinearOrder ι] [Fintype ι] {b : ι → ℝ} {i j : ι} (h : Beats b i j) :
rank b i < rank b j
theorem Cslib.GameTheory.SingleParameter.MultiUnit.beats_iff_rank_lt {ι : Type u_1} [LinearOrder ι] [Fintype ι] {b : ι → ℝ} {i j : ι} :
Beats b i j ↔ rank b i < rank b j
theorem Cslib.GameTheory.SingleParameter.MultiUnit.exists_rank_eq {ι : Type u_1} [LinearOrder ι] [Fintype ι] {b : ι → ℝ} {r : ℕ} (hr : r < Fintype.card ι) :
∃ (i : ι), rank b i = r
def Cslib.GameTheory.SingleParameter.MultiUnit.Wins {ι : Type u_1} [LinearOrder ι] [Fintype ι] (k : ℕ) (b : ι → ℝ) (i : ι) :

Bidder i wins one of the k identical items iff rank b i < k.

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

Top-k allocation rule: each of the k highest-ranked bidders receives 1 item, and all other bidders receive 0.

theorem Cslib.GameTheory.SingleParameter.MultiUnit.allocation_eq_one_iff {ι : Type u_1} [LinearOrder ι] [Fintype ι] {k : ℕ} {b : ι → ℝ} {i : ι} :
allocation k b i = 1 ↔ Wins k b i
theorem Cslib.GameTheory.SingleParameter.MultiUnit.allocation_eq_zero_iff {ι : Type u_1} [LinearOrder ι] [Fintype ι] {k : ℕ} {b : ι → ℝ} {i : ι} :
allocation k b i = 0 ↔ ¬Wins k b i
theorem Cslib.GameTheory.SingleParameter.MultiUnit.allocation_binary {ι : Type u_1} [LinearOrder ι] [Fintype ι] (k : ℕ) (b : ι → ℝ) (i : ι) :
allocation k b i = 0 ∨ allocation k b i = 1
theorem Cslib.GameTheory.SingleParameter.MultiUnit.card_wins {ι : Type u_1} [LinearOrder ι] [Fintype ι] (k : ℕ) (b : ι → ℝ) :
{i : ι | Wins k b i}.card = min k (Fintype.card ι)
theorem Cslib.GameTheory.SingleParameter.MultiUnit.sum_allocation {ι : Type u_1} [LinearOrder ι] [Fintype ι] (k : ℕ) (b : ι → ℝ) :
∑ i : ι, allocation k b i = ↑(min k (Fintype.card ι))

Top-k allocation maximizes welfare ([Nis07], §9.3.5.4): on nonnegative bids, allocation k maximizes ∑ᵢ bᵢ yᵢ over multiUnitFeasible k.

Uniform (k + 1)-st price auction #

noncomputable def Cslib.GameTheory.SingleParameter.MultiUnit.bidAtRank {ι : Type u_1} [LinearOrder ι] [Fintype ι] (r : ℕ) (b : ι → ℝ) :

The (r + 1)-st highest bid (0-indexed rank r), clamped below at 0, or 0 when Fintype.card ι ≤ r.

theorem Cslib.GameTheory.SingleParameter.MultiUnit.bidAtRank_eq_of_rank {ι : Type u_1} [LinearOrder ι] [Fintype ι] {r : ℕ} {b : ι → ℝ} {i : ι} (hi : rank b i = r) :
bidAtRank r b = max 0 (b i)
theorem Cslib.GameTheory.SingleParameter.MultiUnit.bidAtRank_eq_of_rank_nonneg {ι : Type u_1} [LinearOrder ι] [Fintype ι] {r : ℕ} {b : ι → ℝ} (hb : 0 ≤ b) {i : ι} (hi : rank b i = r) :
bidAtRank r b = b i

Uniform (k + 1)-st price multi-unit auction ([Nis07], §9.3.5.4, p. 221): the top k bidders win one item each and every winner pays bidAtRank k b (the (k + 1)-st highest bid, or 0 when Fintype.card ι ≤ k); losers pay 0.

@[simp]
theorem Cslib.GameTheory.SingleParameter.MultiUnit.mechanism_payment {ι : Type u_1} [LinearOrder ι] [Fintype ι] (k : ℕ) (b : ι → ℝ) (i : ι) :
theorem Cslib.GameTheory.SingleParameter.MultiUnit.criticalBid_allocation_of_wins {ι : Type u_1} [LinearOrder ι] [Fintype ι] {k : ℕ} {b : ι → ℝ} (hb : 0 ≤ b) {i : ι} (hw : Wins k b i) :

For every winning bidder i on a nonnegative profile b, criticalBid (allocation k) b i equals the uniform (k + 1)-st highest bid bidAtRank k b.

On every nonnegative bid profile, criticalBidMechanism (allocation k) and mechanism k have identical allocations and payments.

Uniform (k + 1)-st price payment equals Myerson's payment on nonnegative bids.

The (k + 1)-st price k-unit auction is DSIC ([Nis07], §9.3.5.4, p. 221).

The (k + 1)-st price k-unit auction is individually rational.

In the (k + 1)-st price auction, a zero bid pays zero.

Discriminatory (j + 1)-st price auction is not DSIC #

Discriminatory (j + 1)-st price multi-unit auction (original; not in [Nis07]): the j-th highest bidder (1 ≤ j ≤ k, 0-indexed rank b i = j - 1) wins one item and pays the (j + 1)-st highest bid bidAtRank (rank b i + 1) b (0 if Fintype.card ι ≤ j); losers pay 0.

@[simp]

For k = 1, nextBidMechanism 1 coincides with mechanism 1 (since the unique winner has rank b i = 0, paying bidAtRank 1 b).

theorem Cslib.GameTheory.SingleParameter.MultiUnit.rank_eq_zero_of_gt {ι : Type u_1} [LinearOrder ι] [Fintype ι] {b : ι → ℝ} {i : ι} (h : ∀ (j : ι), j ≠ i → b j < b i) :
rank b i = 0

If bidder i's bid strictly exceeds every other bid, rank b i = 0.

theorem Cslib.GameTheory.SingleParameter.MultiUnit.rank_eq_one_of_between {ι : Type u_1} [LinearOrder ι] [Fintype ι] {b : ι → ℝ} {top second : ι} (htop : b second < b top) (hother : ∀ (j : ι), j ≠ second → j ≠ top → b j < b second) :
rank b second = 1

If top strictly outbids second and second strictly outbids everyone else, rank b second = 1.

Charging the j-th highest bidder the (j + 1)-st highest bid is not DSIC (original; not in [Nis07]) whenever 2 ≤ k and 2 ≤ Fintype.card ι: when i₀ has true value 3, i₁ ≠ i₀ bids 2, and any remaining bidders bid 0, bidding truthfully gives i₀ rank 0 at price 2 (utility 1), whereas shading to 1 gives i₀ rank 1 < k (still winning one item) at price 0 (utility 3 > 1).