Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(4), p. 9 — for a fee f ≥ 0 the seller's unique optimal direct price is v − f/2 if f ≤ 2μ and v − μ if f ≥ 2μ

Proved
MarketplaceLeakage.Baseline.eq_4

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

best-responseleakagep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1platforms

Consider the baseline leakage game with value vvv, marginal cost c<vc<vc<v, and switching costs uniform on [0,μ][0,\mu][0,μ], μ>0\mu>0μ>0. Let f≥0f\ge 0f≥0 be the marketplace's per-transaction fee. Then a direct price pdp_dpd​ maximizes the seller's profit

πf(pd)=(pd−c) G(v−pd)+(v−c−f) (1−G(v−pd))\pi_f(p_d)=(p_d-c)\,G(v-p_d)+(v-c-f)\,\bigl(1-G(v-p_d)\bigr)πf​(pd​)=(pd​−c)G(v−pd​)+(v−c−f)(1−G(v−pd​))

over all pd≤vp_d\le vpd​≤v if and only if

pd=pd∗(f)={v−μif f≥2μ,v−f2if f≤2μ.p_d=p_d^*(f)=\begin{cases}v-\mu & \text{if } f\ge 2\mu,\\ v-\dfrac f2 & \text{if } f\le 2\mu.\end{cases}pd​=pd∗​(f)=⎩⎨⎧​v−μv−2f​​if f≥2μ,if f≤2μ.​

In particular the seller's best response exists and is unique for every nonnegative fee.

This is the seller's best-response function of the baseline model: at moderate fees the seller undercuts the marketplace price vvv by half the fee, and at high fees it prices low enough to divert every buyer to its direct channel.

Formalization Note. The paper prefaces (4) with "Assuming f≤v−cf\le v-cf≤v−c"; the display in fact needs f≥0f\ge 0f≥0 (for f<0f<0f<0 the formula v−f/2v-f/2v−f/2 exceeds vvv, and the optimum is pd=vp_d=vpd​=v), and holds for every f≥0f\ge 0f≥0 whether or not f≤v−cf\le v-cf≤v−c. The statement is therefore posed for f≥0f\ge 0f≥0. The two branches agree at f=2μf=2\muf=2μ; Lean writes the first branch for 2μ≤f2\mu\le f2μ≤f. The standing assumption c<vc<vc<v is kept as a hypothesis.

Preamble
import Mathlib
import Definitions.Def_MarketplaceLeakage_Baseline_Setting
Formal statement
namespace MarketplaceLeakage.Baseline

/-- (4), p. 9: for `μ > 0` and any fee `f ≥ 0`, the seller's profit-maximizing direct price is
unique and equals `v − μ` if `f ≥ 2μ` and `v − f/2` if `f ≤ 2μ` (the branches agree at
`f = 2μ`). The page's "Assuming f ≤ v − c" is replaced by `0 ≤ f`, which is what the display
needs (for `f < 0` the optimum is `p_d = v`). -/
theorem eq_4 (v c μ : ℝ) (hvc : c < v) (hμ : 0 < μ) (f : ℝ) (hf : 0 ≤ f) (pd : ℝ) :
    IsSOpt v c μ f pd ↔ pd = (if 2 * μ ≤ f then v - μ else v - f / 2) := by sorry

end MarketplaceLeakage.Baseline
Source
Hagiu, Wright, Marketplace Leakage, authors' manuscript dated March 2023 (sha256 cb89cc00…3c98a6; published in Management Science, doi:10.1287/mnsc.2023.4757), p. 9, display (4)
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