Theorem 5.2 — tips restore efficient equilibria under structured costs
ProvedPricingWithTips.theorem_5_2_structured_costsFor every finite nonempty three-sided market whose delivery costs decompose either into buyer–store plus courier–store terms or into buyer–store plus courier–buyer terms, there is a welfare-optimal allocation supported by an equilibrium with up-front tips. In contrast, for every there is a structured two-buyer, one-store, two-courier market with positive optimal welfare and at least one without-tip equilibrium such that every without-tip equilibrium has welfare at most .
import Definitions.Def_PricingWithTips_Model
namespace PricingWithTips
variable {B S D : Type*} [Fintype B] [Fintype S] [Fintype D]
[DecidableEq B] [DecidableEq S] [DecidableEq D]
theorem theorem_5_2_structured_costs
[Nonempty B] [Nonempty S] [Nonempty D] :
(∀ M : Market B S D,
CourierStoreDecomposable M ∨ CourierBuyerDecomposable M →
∃ A p w t, IsWelfareOptimal M A ∧ IsWithTipEquilibrium M A p w t) ∧
ArbitrarilyLowWithoutTipWelfare := by sorry
end PricingWithTips
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every three nonempty finite types , , and , each equipped with decidable equality, the theorem asserts the conjunction of the following two claims. First, for every market consisting of a nonnegative real value for each buyer–store pair and a nonnegative real cost for each courier–buyer–store triple, if either there are real-valued functions and such that for every , or there are real-valued functions and such that for every , then there exist a feasible allocation , a store-price function , and functions such that is welfare-optimal and is a with-tip equilibrium. Here a feasible allocation assigns each buyer either no pair or one store–courier pair, with no store assigned to two distinct buyers and no courier assigned to two distinct buyers; its welfare is over assigned buyers , with an unassigned buyer contributing ; and welfare-optimal means that every feasible allocation has welfare at most that of . The with-tip equilibrium conditions are all of the following: , , and for every ; if buyer is unassigned, then for every store , whereas if is assigned to , then , , and for every store ; every courier actually assigned to has , and this quantity is at least for every ; every unassigned courier satisfies for every ; every unassigned store has price ; and for every buyer–store pair not served by any courier, both and are . In these conditions, is the infimum of all real for which at least one courier weakly prefers delivering to idling and to every other order under the following counterfactual: the selected pair receives tip , every other store for the same buyer receives tip , and every pair involving another buyer retains its original tip ; explicitly, acceptance requires and, for every , , where , for , and for . All optimality and preference comparisons are weak, and neither the decomposition nor the equilibrium witnesses are asserted to be unique. Second, independently of the preceding universally quantified market claim, for every real there exists a market with exactly two buyers, one store, and two couriers, again with all values and costs nonnegative, whose costs satisfy at least one of the two decompositions above, for which there exists a feasible welfare-optimal allocation having strictly positive welfare, there exists at least one without-tip equilibrium, and every without-tip equilibrium allocation has welfare at most . A without-tip equilibrium consists of a feasible allocation , nonnegative store prices , and nonnegative payments such that an unassigned buyer has at every store; a buyer assigned to store has and weakly prefers to every store; an assigned courier’s payment minus cost is nonnegative and weakly maximal over all buyer–store pairs; an unassigned courier’s payment minus cost is nonpositive for every pair; every unused store has price ; and every unserved buyer–store pair has payment . The positively optimal allocation in this second claim need not be the allocation of any without-tip equilibrium, while the existentially required without-tip equilibrium is among those universally required to have welfare at most ; and negative thresholds are not included.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.