Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Proposition 2, p. 34 — the marketplace's profit Π(b, f) is −kb²/2 if f ≥ b + 2μ and f(1 − (f − b)/(2μ)) − kb²/2 if b ≤ f ≤ b + 2μ

Proved
MarketplaceLeakage.Benefits.profit_b_f

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

leakagep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1platformspricing

In the leakage game with transaction benefit bbb and investment cost K(b)=k2b2K(b) = \tfrac{k}{2}b^2K(b)=2k​b2 (see the Setting), let c<vc < vc<v, μ>0\mu > 0μ>0, f≥bf \ge bf≥b, and let pdp_dpd​ be seller-optimal at (b,f)(b,f)(b,f). Then the marketplace's profit is

Π(b,f)={−kb22if f≥b+2μ,f(1−12μ(f−b))−kb22if b≤f≤b+2μ.\Pi(b,f) = \begin{cases} -\dfrac{kb^2}{2} & \text{if } f \ge b + 2\mu, \\[6pt] f\Bigl(1 - \dfrac{1}{2\mu}(f-b)\Bigr) - \dfrac{kb^2}{2} & \text{if } b \le f \le b + 2\mu. \end{cases}Π(b,f)=⎩⎨⎧​−2kb2​f(1−2μ1​(f−b))−2kb2​​if f≥b+2μ,if b≤f≤b+2μ.​

The marketplace's overall value is the maximum of Π(b,f)\Pi(b,f)Π(b,f) over b≥0b \ge 0b≥0, b≤f≤v−c+bb \le f \le v - c + bb≤f≤v−c+b; this formula is what that maximization works with.

Formalization Note The paper's display has a third line, Π(b,f)=b−kb2/2\Pi(b,f) = b - kb^2/2Π(b,f)=b−kb2/2 if f=bf = bf=b. It is the second line evaluated at f=bf = bf=b, so the two-line form states the same function. The two lines agree at f=b+2μf = b + 2\muf=b+2μ.

Preamble
import Mathlib
import Definitions.Def_MarketplaceLeakage_Benefits_Setting
Formal statement
namespace MarketplaceLeakage.Benefits

/-- Proof of Proposition 2, p. 34: at benefit `b` and fee `f ≥ b`, when the seller answers
optimally, the marketplace's profit is `Π(b, f) = −kb²/2` if `f ≥ b + 2μ` and
`f (1 − (f − b)/(2μ)) − kb²/2` if `b ≤ f ≤ b + 2μ` (the printed third line, `b − kb²/2` at
`f = b`, is the second line at `f = b`). -/
theorem profit_b_f (v c μ k b f pd : ℝ) (hvc : c < v) (hμ : 0 < μ) (hbf : b ≤ f)
    (hS : IsSOptB v c μ b f pd) :
    MProfitB v μ k b f pd =
      (if b + 2 * μ ≤ f then -(k * b ^ 2 / 2)
       else f * (1 - (f - b) / (2 * μ)) - k * b ^ 2 / 2) := by sorry

end MarketplaceLeakage.Benefits
Source
Hagiu, Wright, Marketplace Leakage, authors' manuscript dated March 2023 (sha256 cb89c…98a6; published in Management Science, doi:10.1287/mnsc.2023.4757), p. 34, §8.3, Proof of Proposition 2 (display for Π(b, f))
Human review
  • Endorsed by Shuze Chen · Oct 15, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 15, 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