Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 3.14 -- the profit-maximizing trading mechanism

Proved
MechanismDesign.BilateralTrade.profit_maximization

by mikedeng1 · Oct 3, 2026 · Mathlib 0df444a (Lean v4.33.1)

bilateral-trademechanism-designp2o-batch-b23bp2o-gran-per-chapterp2o-plan-bookp2o-v1profit-maximization

In the bilateral trade environment, suppose FSF_SFS​ and FBF_BFB​ are regular, i.e. ψS(θS)=θS+FS(θS)/fS(θS)\psi_S(\theta_S) = \theta_S + F_S(\theta_S)/f_S(\theta_S)ψS​(θS​)=θS​+FS​(θS​)/fS​(θS​) and ψB(θB)=θB−(1−FB(θB))/fB(θB)\psi_B(\theta_B) = \theta_B - (1-F_B(\theta_B))/f_B(\theta_B)ψB​(θB​)=θB​−(1−FB​(θB​))/fB​(θB​) are increasing. The designer's expected profit is E[tB(θ)−tS(θ)]\mathbb E[t_B(\theta) - t_S(\theta)]E[tB​(θ)−tS​(θ)]. For an incentive-compatible and individually rational direct mechanism, the following conditions are necessary and sufficient for it to maximize expected profit among all such mechanisms:

q(θ)={1if θB−1−FB(θB)fB(θB)>θS+FS(θS)fS(θS),0otherwise;q(\theta) = \begin{cases} 1 & \text{if } \theta_B - \frac{1-F_B(\theta_B)}{f_B(\theta_B)} > \theta_S + \frac{F_S(\theta_S)}{f_S(\theta_S)},\\ 0 & \text{otherwise;}\end{cases}q(θ)={10​if θB​−fB​(θB​)1−FB​(θB​)​>θS​+fS​(θS​)FS​(θS​)​,otherwise;​
  1. for all θB∈[θ‾B,θ‾B]\theta_B \in [\underline\theta_B, \overline\theta_B]θB​∈[θ​B​,θB​] and θS∈[θ‾S,θ‾S]\theta_S \in [\underline\theta_S, \overline\theta_S]θS​∈[θ​S​,θS​],
TB(θB)=θBQB(θB)−∫θ‾BθBQB(x) dx,TS(θS)=θ‾S−(1−QS(θS))θS−∫θSθ‾S(1−QS(x)) dx.T_B(\theta_B) = \theta_B Q_B(\theta_B) - \int_{\underline\theta_B}^{\theta_B} Q_B(x)\,dx, \qquad T_S(\theta_S) = \overline\theta_S - (1 - Q_S(\theta_S))\theta_S - \int_{\theta_S}^{\overline\theta_S} (1 - Q_S(x))\,dx .TB​(θB​)=θB​QB​(θB​)−∫θ​B​θB​​QB​(x)dx,TS​(θS​)=θS​−(1−QS​(θS​))θS​−∫θS​θS​​(1−QS​(x))dx.

A profit-maximizing platform facilitates less trade than a welfare-maximizing designer.

Formalization Note Sufficiency assumes (1) for every θ∈Θ\theta \in \Thetaθ∈Θ together with (2). Necessity concludes (2) as printed and (1) only for almost every θ\thetaθ with ψB(θB)≠ψS(θS)\psi_B(\theta_B) \ne \psi_S(\theta_S)ψB​(θB​)=ψS​(θS​). Two corrections of the page are involved: changing qqq on a null set changes nothing, and because regularity is only weak monotonicity, the tie set {ψB(θB)=ψS(θS)}\{\psi_B(\theta_B) = \psi_S(\theta_S)\}{ψB​(θB​)=ψS​(θS​)} can have positive probability, and there the value of qqq does not affect profit. Mechanisms are measurable with integrable transfers (Ch. 2 note 2).

Preamble
import Mathlib
import Definitions.Def_MechanismDesign_BilateralTrade_Model

open MeasureTheory
Formal statement
namespace MechanismDesign.BilateralTrade

/-- Proposition 3.14 (p.72), profit maximization. Assume `F_S`, `F_B` are regular, and let `m` be
a well-defined, incentive-compatible and individually rational direct mechanism. Sufficiency: if
(i) `q(θ) = 1` iff `ψ_B(θ_B) > ψ_S(θ_S)` for every `θ ∈ Θ` and (ii) the interim payments are
the incentive-compatible ones with binding participation of `θ̄_S` and `θ̲_B`, then `m`
maximizes the expected profit `E[t_B − t_S]` among all such mechanisms. Necessity: a maximizer
satisfies (ii), and (i) almost everywhere off the tie set `ψ_B(θ_B) = ψ_S(θ_S)` (under weak
regularity that set may have positive probability and the profit does not depend on `q` there). -/
theorem profit_maximization (E : Environment) (hreg : E.Regular) (m : DirectMechanism E)
    (hm : m.Admissible) :
    ((∀ m' : DirectMechanism E, m'.Admissible → m'.expectedSurplus ≤ m.expectedSurplus) →
      (∀ᵐ θ ∂E.prior, E.psiB θ.2 ≠ E.psiS θ.1 → m.q θ = profitRule E θ) ∧
      (∀ y ∈ Set.Icc E.loB E.hiB, m.TB y = y * m.QB y - ∫ z in E.loB..y, m.QB z) ∧
      (∀ x ∈ Set.Icc E.loS E.hiS,
        m.TS x = E.hiS - (1 - m.QS x) * x - ∫ z in x..E.hiS, (1 - m.QS z))) ∧
    ((∀ θ ∈ E.typeSpace, m.q θ = profitRule E θ) →
      (∀ y ∈ Set.Icc E.loB E.hiB, m.TB y = y * m.QB y - ∫ z in E.loB..y, m.QB z) →
      (∀ x ∈ Set.Icc E.loS E.hiS,
        m.TS x = E.hiS - (1 - m.QS x) * x - ∫ z in x..E.hiS, (1 - m.QS z)) →
      ∀ m' : DirectMechanism E, m'.Admissible → m'.expectedSurplus ≤ m.expectedSurplus) := by sorry

end MechanismDesign.BilateralTrade
Source
Börgers, An Introduction to the Theory of Mechanism Design, Oxford University Press 2015, DOI 10.1093/acprof:oso/9780199734023.001.0001, p.72, Proposition 3.14 (with Assumption 3.3, p.70)
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 5, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me