Auction.ReserveSecondPrice.allocation
defimported Lean
The item is sold exactly when the winning bid meets the reserve.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in variable {I : Type*} [Fintype I] [Nontrivial I] [DecidableEq I] in variable {U : Type*} [AddCommGroup U] [LinearOrder U] [IsOrderedAddMonoid U] in noncomputable def Auction.ReserveSecondPrice.allocation (reserve : U) (b : I → U) : Option I
- Defined in
- EconCSLib, `Auction.ReserveSecondPrice.allocation`
- Lean proof
- By xbei (from the file's git history), from github.com/gametheoryinlean/EconCSLib at
1a88f809b538(Copyright (c) 2026 EconCSLib contributors. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.30.0.Auction.ReserveSecondPrice.allocation← Auction.ReserveSecondPrice.allocation (EconCSLib/MechanismDesign/Auction/ReserveVickrey.lean:95): verbatim
- Verified
- 08 Oct 2026
- Axioms
- none listed
- Built on 1
- Auction.SecondPrice.winnerThe winner of the second-price auction: the bidder with the highest bid. Uses
Auction.argmaxBidfrom…
- Auction.SecondPrice.winnerThe winner of the second-price auction: the bidder with the highest bid. Uses
- Used by 21
- Auction.ReserveSecondPrice.mechanism_payment_of_allocation_eq_someThe allocated bidder pays the clearing price.
- Auction.ReserveSecondPrice.utility_loserAuction.ReserveSecondPrice.utility_loser
- Auction.ReserveSecondPrice.allocation_eq_some_winner_iffThe allocation is the second-price winner exactly when the winner's bid meets the reserve.
- Auction.ReserveSecondPrice.game_eq_toStrategicGame
game reserve vequals the strategic game induced bymechanism reserve. - Auction.ReserveSecondPrice.utility_winnerAuction.ReserveSecondPrice.utility_winner
- Auction.ReserveSecondPrice.mechanism_payment_of_allocation_ne_someA bidder who is not allocated the item pays zero.
- Auction.ReserveSecondPrice.allocation_eq_some_iffThe allocation is
some iexactly when the reserve is met andiis the second-price winner. - Auction.ReserveSecondPrice.utility_nonnegTruthful bidding yields nonnegative utility.
- Auction.ReserveSecondPrice.mechanismThe reserve second-price auction as a
MechanismWithTransfers. Agents report bids inU. The allocation isnonewhen the reserve is… - Auction.ReserveSecondPrice.utilityUtility of bidder
i: the allocated bidder receives value minus the clearing price; all others receive0. - Auction.ReserveSecondPrice.reserve_le_bid_winner_of_allocation_eq_someIf the item is allocated, then the winning bid meets the reserve.
- Auction.ReserveSecondPrice.valuation_is_dominantTruthful bidding dominates any other bid in the reserve second-price auction.
- Auction.ReserveSecondPrice.clearingPrice_le_bid_of_allocation_eq_someWhen the item is sold, the clearing price is no more than the allocated bidder's bid.
- Auction.ReserveSecondPrice.mechanism_allocationRuleAuction.ReserveSecondPrice.mechanism_allocationRule
- Auction.ReserveSecondPrice.mechanism_payment_le_bid_of_allocation_eq_someThe allocated bidder never pays more than her reported bid.
- Auction.ReserveSecondPrice.clearingPrice_eq_max_reserve_excluding_of_allocation_eq_someWhen bidder
ireceives the item, the clearing price is the maximum of the reserve and the highest bid excludingi. - Auction.ReserveSecondPrice.mechanism_paymentRuleAuction.ReserveSecondPrice.mechanism_paymentRule
- Auction.ReserveSecondPrice.mechanism_payment_eq_zero_of_allocation_eq_noneIf the item is withheld, every bidder pays zero.
- Auction.ReserveSecondPrice.allocation_eq_none_iffThe item is withheld exactly when the winning bid is below the reserve.
- Auction.ReserveSecondPrice.bid_le_clearing_threshold_of_not_allocation_update_selfAuction.ReserveSecondPrice.bid_le_clearing_threshold_of_not_allocation_update_self
- Auction.ReserveSecondPrice.winner_eq_of_allocation_eq_someIf bidder
iis allocated the item, theniis the second-price winner.
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in variable {I : Type*} [Fintype I] [Nontrivial I] [DecidableEq I] in variable {U : Type*} [AddCommGroup U] [LinearOrder U] [IsOrderedAddMonoid U] in /-- The item is sold exactly when the winning bid meets the reserve. -/ noncomputable def Auction.ReserveSecondPrice.allocation (reserve : U) (b : I → U) : Option I := if reserve ≤ b (SecondPrice.winner b) then some (SecondPrice.winner b) else none