Documentation

CslibFrontier.GameTheory.Mechanism.FirstPrice

The first-price auction #

A single item is sold to the highest bidder, ties being broken in favour of the smallest index as in SingleParameter.Vickrey.allocation; the winner pays its own bid and losers pay nothing (winner-pays-bid, [Har21], Chapter 2, §2.3 and equation (2.7.1)). Unlike the second-price auction, the first-price auction is not DSIC, and bidders shade their bids below their values.

For n bidders with independent valuations uniform on [0, 1], bidding β(v) = (n − 1) v / n is a Bayes–Nash equilibrium (FirstPrice.isBayesNash_uniformBid), with expected revenue (n − 1) / (n + 1) (FirstPrice.integral_sum_payment_uniformBid), the same as the second-price auction's. For two bidders this is [Har21], §2.3 and Example 2.8.1, where each bidder bids half its value, and the revenue comparison 1/3 = 1/3 of §2.7. The n-bidder statement is the standard generalization of that example. We derive it with Hartline's method of revenue equivalence (§2.8) and do not quote it from a source.

The proof of the equilibrium goes through the characterization Mechanism.isBayesNash_iff of CslibFrontier.GameTheory.Mechanism.Bayesian. Under β a bid z wins with probability min(z / c, 1)^(n − 1) where c = (n − 1) / n (FirstPrice.interimAllocation_uniformBid), so the interim allocation of the type v is v^(n − 1): monotone, and its payment β(v) v^(n − 1) is the payment identity's v^n − ∫₀^v z^(n − 1) dz. Bids above c are dominated by the bid c, which also wins for sure (Example 2.8.1 (v)(b) for n = 2).

Main definitions #

Main results #

References #

The first-price auction: the highest bidder wins, ties going to the smallest index, and pays its bid; losers pay nothing ([Har21], §2.3).

The bidding strategy v ↦ (n − 1) v / n, the symmetric Bayes–Nash equilibrium of the first-price auction with n bidders whose values are uniform on [0, 1].

With two bidders each bids half its value ([Har21], §2.3).

theorem Cslib.GameTheory.SingleParameter.FirstPrice.interimPayment_eq {ι : Type u_1} [LinearOrder ι] [Fintype ι] (μ : ι → MeasureTheory.Measure ℝ) (β : ι → ℝ → ℝ) (i : ι) (z : ℝ) :

Winner pays bid ([Har21], equation (2.7.1)): the interim payment at bid z is z times the interim allocation at z.

theorem Cslib.GameTheory.SingleParameter.FirstPrice.interimAllocation_uniformBid {ι : Type u_1} [LinearOrder ι] [Fintype ι] (i : ι) {z : ℝ} (hz : 0 ≤ z) :
mechanism.interimAllocation (fun (x : ι) => MeasureTheory.volume.restrict (Set.Icc 0 1)) (fun (x : ι) => uniformBid (Fintype.card ι)) i z = min (z / ((↑(Fintype.card ι) - 1) / ↑(Fintype.card ι))) 1 ^ (Fintype.card ι - 1)

Interim allocation of the first-price auction under uniformBid: against n − 1 bidders with values uniform on [0, 1] bidding c v, c = (n − 1) / n, a bid z ≥ 0 wins with probability min(z / c, 1)^(n − 1).

At a valuation v ∈ [0, 1], the interim allocation under uniformBid is v^(n−1), the probability that v is the highest of n uniform values.

theorem Cslib.GameTheory.SingleParameter.FirstPrice.interimAllocation_uniformBid_of_le {ι : Type u_1} [LinearOrder ι] [Fintype ι] (i : ι) {z : ℝ} (hz : (↑(Fintype.card ι) - 1) / ↑(Fintype.card ι) ≤ z) :
mechanism.interimAllocation (fun (x : ι) => MeasureTheory.volume.restrict (Set.Icc 0 1)) (fun (x : ι) => uniformBid (Fintype.card ι)) i z = 1

A bid of at least (n − 1) / n wins for sure against uniformBid.

The first-price equilibrium for uniform values ([Har21], §2.3 and Example 2.8.1 for two bidders). With n bidders whose values are independent and uniform on [0, 1], every bidder bidding (n − 1) v / n is a Bayes–Nash equilibrium of the first-price auction.

theorem Cslib.GameTheory.SingleParameter.FirstPrice.not_isBayesNash_id {ι : Type u_1} [LinearOrder ι] [Fintype ι] (hn : 1 < Fintype.card ι) :
¬mechanism.IsBayesNash (fun (x : ι) => MeasureTheory.volume.restrict (Set.Icc 0 1)) (fun (x : ι) => 1) fun (x : ι) (v : ℝ) => v

Bid shading. With at least two bidders whose values are uniform on [0, 1], truthful bidding is not a Bayes–Nash equilibrium of the first-price auction: by bidding 1/2 instead of its value, which leaves it nothing, the type 1 wins with probability 2^(1 − n) and gains utility (1 − 1/2) · 2^(1 − n) = 2^(−n) > 0.

Expected revenue of the first-price auction for n uniform bidders in the equilibrium uniformBid n: (n − 1) / (n + 1). Each bidder pays E[β(v) v^(n − 1)] = (n − 1) / (n (n + 1)).

Revenue equivalence of the first- and second-price auctions for values uniform on [0, 1] ([Har21], Corollary 2.7.2, for the uniform distribution): the first-price auction in the equilibrium uniformBid n and the second-price auction with truthful bids have the same expected revenue. The proof is the method of revenue equivalence: both equilibria allocate to the highest-valued bidder and the zero type pays nothing in both, so both revenues equal the expected virtual welfare of the highest-value allocation (Mechanism.IsBayesNash.integral_sum_payment_eq and Mechanism.IsDSIC.integral_sum_payment_eq).

Expected revenue of the second-price auction for n bidders with values uniform on [0, 1] and truthful bids: (n − 1) / (n + 1), the expected second-highest value (1/3 for two bidders, [Har21], §2.7).

General i.i.d. priors with densities #

A probability distribution with a density on [0, h] has strictly positive upper support h.

The CDF v ↦ μ((-∞, v]) is strictly increasing on [0, h] when the density is positive on (0, h).

The CDF v ↦ μ((-∞, v]) is strictly positive on (0, ∞).

The CDF v ↦ μ((-∞, v]) is continuous on [0, h].

The symmetric Bayes–Nash equilibrium bid function of the n-bidder first-price auction for a common valuation distribution μ ([Har21], §2.8–2.9): b(v) = v − (∫₀^v F(z)^(n − 1) dz) / F(v)^(n − 1), where F(z) = μ((-∞, z]). At v = 0 (and for n = 1), this evaluates to 0.

The equilibrium bid is nonnegative and does not exceed the valuation on [0, h].

For n ≥ 2 bidders, equilibriumBid μ n is strictly increasing on [0, h].

Conditional-expectation characterization of the first-price equilibrium bid ([Har21], §2.8): for i.i.d. bidders drawn from μ with a density on [0, h] and any valuation v ∈ (0, h], equilibriumBid μ n v equals the conditional expectation of the highest other valuation given that it does not exceed v.

theorem Cslib.GameTheory.SingleParameter.FirstPrice.isBayesNash_of_vickrey_allocation {ι : Type u_1} [LinearOrder ι] [Fintype ι] {M : Mechanism ι} (halloc : M.allocation = Vickrey.allocation) {μ : MeasureTheory.Measure ℝ} [MeasureTheory.IsProbabilityMeasure μ] {f : ℝ → NNReal} {h : ℝ} (hμ : HasValueDensity μ f h) {β : ℝ → ℝ} (hβ0 : β 0 = 0) (hnonneg : ∀ v ∈ Set.Icc 0 h, 0 ≤ β v) (hstrict : 1 < Fintype.card ι → StrictMonoOn β (Set.Icc 0 h)) (hcont : ContinuousOn β (Set.Icc 0 h)) (hpay : ∀ (i : ι), ∀ v ∈ Set.Icc 0 h, M.interimPayment (fun (x : ι) => μ) (fun (x : ι) => β) i (β v) = M.interimPayment (fun (x : ι) => μ) (fun (x : ι) => β) i (β 0) + (v * μ.real (Set.Iic v) ^ (Fintype.card ι - 1) - ∫ (z : ℝ) in 0..v, μ.real (Set.Iic z) ^ (Fintype.card ι - 1))) (hpay_one : Fintype.card ι = 1 → ∀ (i : ι) (z : ℝ), 0 ≤ z → M.interimPayment (fun (x : ι) => μ) (fun (x : ι) => β) i (β 0) ≤ M.interimPayment (fun (x : ι) => μ) (fun (x : ι) => β) i z) (hpay_ge : 1 < Fintype.card ι → ∀ (i : ι) (z : ℝ), β h ≤ z → M.interimPayment (fun (x : ι) => μ) (fun (x : ι) => β) i (β h) ≤ M.interimPayment (fun (x : ι) => μ) (fun (x : ι) => β) i z) :
M.IsBayesNash (fun (x : ι) => μ) (fun (x : ι) => h) fun (x : ι) => β

Symmetric Bayes–Nash equilibrium sufficiency for highest-bidder auctions: if M allocates via Vickrey.allocation and β is a continuous strategy on [0, h] with β 0 = 0, nonnegative on [0, h], strictly increasing when n ≥ 2, satisfying the payment identity and never rewarding overbidding above β h (or above 0 when n = 1), then β is a symmetric Bayes–Nash equilibrium.

theorem Cslib.GameTheory.SingleParameter.FirstPrice.interimPayment_eq_of_isBayesNash_strictMonoOn {ι : Type u_1} [LinearOrder ι] [Fintype ι] {M : Mechanism ι} (halloc : M.allocation = Vickrey.allocation) {μ : MeasureTheory.Measure ℝ} [MeasureTheory.IsProbabilityMeasure μ] {f : ℝ → NNReal} {h : ℝ} (hμ : HasValueDensity μ f h) {β : ℝ → ℝ} (hβ : StrictMonoOn β (Set.Icc 0 h)) (hBNE : M.IsBayesNash (fun (x : ι) => μ) (fun (x : ι) => h) fun (x : ι) => β) (i : ι) {v : ℝ} (hv : v ∈ Set.Icc 0 h) :
M.interimPayment (fun (x : ι) => μ) (fun (x : ι) => β) i (β v) = M.interimPayment (fun (x : ι) => μ) (fun (x : ι) => β) i (β 0) + (v * μ.real (Set.Iic v) ^ (Fintype.card ι - 1) - ∫ (z : ℝ) in 0..v, μ.real (Set.Iic z) ^ (Fintype.card ι - 1))

Interim payment identity for strictly increasing symmetric BNEs of highest-bidder auctions: if M uses Vickrey.allocation and β is a strictly increasing symmetric Bayes–Nash equilibrium on [0, h], then bidder i's interim payment at β v is determined by pᵢ(β 0) and the CDF F(z) = μ((-∞, z]).

theorem Cslib.GameTheory.SingleParameter.FirstPrice.isBayesNash_equilibriumBid {ι : Type u_1} [LinearOrder ι] [Fintype ι] {μ : MeasureTheory.Measure ℝ} [MeasureTheory.IsProbabilityMeasure μ] {f : ℝ → NNReal} {h : ℝ} (hμ : HasValueDensity μ f h) :
mechanism.IsBayesNash (fun (x : ι) => μ) (fun (x : ι) => h) fun (x : ι) => equilibriumBid μ (Fintype.card ι)

General i.i.d. first-price Bayes–Nash equilibrium ([Har21], §2.8): for n i.i.d. bidders whose common valuation distribution μ has a density f positive on (0, h), every bidder bidding equilibriumBid μ n is a Bayes–Nash equilibrium of FirstPrice.mechanism.

theorem Cslib.GameTheory.SingleParameter.FirstPrice.eq_equilibriumBid_of_isBayesNash {ι : Type u_1} [LinearOrder ι] [Fintype ι] {μ : MeasureTheory.Measure ℝ} [MeasureTheory.IsProbabilityMeasure μ] {f : ℝ → NNReal} {h : ℝ} (hμ : HasValueDensity μ f h) (hn : 1 < Fintype.card ι) {β : ℝ → ℝ} (hβ : StrictMonoOn β (Set.Icc 0 h)) (hBNE : mechanism.IsBayesNash (fun (x : ι) => μ) (fun (x : ι) => h) fun (x : ι) => β) {v : ℝ} (hv : v ∈ Set.Icc 0 h) :

Uniqueness of the symmetric first-price equilibrium ([Har21], §2.9): with n ≥ 2 i.i.d. bidders drawn from μ (with a density positive on (0, h)), any symmetric Bayes–Nash equilibrium β that is strictly increasing on [0, h] agrees with equilibriumBid μ n on all of [0, h]. Neither continuity of β nor the boundary condition β 0 = 0 needs to be assumed.

The first-price payment under equilibriumBid is integrable for any i.i.d. prior with a density on [0, h].

theorem Cslib.GameTheory.SingleParameter.FirstPrice.vickrey_isBayesNash_id {ι : Type u_1} [LinearOrder ι] [Fintype ι] {μ : MeasureTheory.Measure ℝ} [MeasureTheory.IsProbabilityMeasure μ] {f : ℝ → NNReal} {h : ℝ} (hμ : HasValueDensity μ f h) :
Vickrey.mechanism.IsBayesNash (fun (x : ι) => μ) (fun (x : ι) => h) fun (x : ι) (v : ℝ) => v

Truthful bidding is a Bayes–Nash equilibrium of the Vickrey auction for any i.i.d. prior with a density on [0, h] (an instance of Mechanism.IsDSIC.isBayesNash_id).

theorem Cslib.GameTheory.SingleParameter.FirstPrice.integral_sum_payment_eq_vickrey_of_isBayesNash {ι : Type u_1} [LinearOrder ι] [Fintype ι] {M : Mechanism ι} (halloc : M.allocation = Vickrey.allocation) {μ : MeasureTheory.Measure ℝ} [MeasureTheory.IsProbabilityMeasure μ] {f : ℝ → NNReal} {h : ℝ} (hμ : HasValueDensity μ f h) {β : ℝ → ℝ} (hBNE : M.IsBayesNash (fun (x : ι) => μ) (fun (x : ι) => h) fun (x : ι) => β) (hstrict : 1 < Fintype.card ι → StrictMonoOn β (Set.Icc 0 h)) (hp : ∀ (i : ι), MeasureTheory.Integrable (fun (v : ι → ℝ) => M.payment (fun (j : ι) => β (v j)) i) (MeasureTheory.Measure.pi fun (x : ι) => μ)) (h0 : ∀ (i : ι), M.interimPayment (fun (x : ι) => μ) (fun (x : ι) => β) i (β 0) = 0) :
(∫ (v : ι → ℝ), ∑ i : ι, M.payment (fun (j : ι) => β (v j)) i ∂MeasureTheory.Measure.pi fun (x : ι) => μ) = ∫ (v : ι → ℝ), ∑ i : ι, Vickrey.mechanism.payment v i ∂MeasureTheory.Measure.pi fun (x : ι) => μ

Revenue equivalence with Vickrey for symmetric equilibria of highest-bidder auctions: if M uses Vickrey.allocation and β is a symmetric Bayes–Nash equilibrium for an i.i.d. prior μ with density f on [0, h] that is strictly increasing on [0, h] (when n ≥ 2), with integrable payments and zero interim payment for type 0, then M under β earns the same expected revenue as the truthful Vickrey auction.

theorem Cslib.GameTheory.SingleParameter.FirstPrice.integral_sum_payment_equilibriumBid_eq_vickrey {ι : Type u_1} [LinearOrder ι] [Fintype ι] {μ : MeasureTheory.Measure ℝ} [MeasureTheory.IsProbabilityMeasure μ] {f : ℝ → NNReal} {h : ℝ} (hμ : HasValueDensity μ f h) :
(∫ (v : ι → ℝ), ∑ i : ι, mechanism.payment (fun (j : ι) => equilibriumBid μ (Fintype.card ι) (v j)) i ∂MeasureTheory.Measure.pi fun (x : ι) => μ) = ∫ (v : ι → ℝ), ∑ i : ι, Vickrey.mechanism.payment v i ∂MeasureTheory.Measure.pi fun (x : ι) => μ

General i.i.d. revenue equivalence of the first- and second-price auctions ([Har21], Corollary 2.7.2): for n i.i.d. bidders drawn from any distribution μ with a density f positive on (0, h), the first-price auction in its symmetric equilibrium equilibriumBid μ n earns the same expected revenue as the truthful Vickrey auction.

Uniform specialization: for the uniform distribution on [0, 1], the general equilibrium bid equilibriumBid reduces to uniformBid n v = (n − 1) v / n on [0, 1].