Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§3.1, Example: Logit Demand, p. 13 — under (13), ∂nʲ/∂tʲ = −nʲ(1 − nʲ)

Proved
NetFeePlatform.Competition.logit_deriv

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

logit-demandp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1platform-competition

Let JJJ platforms charge net fees t=(t1,…,tJ)t=(t^1,\dots,t^J)t=(t1,…,tJ) and let demand take the Logit form with outside-option weight w≥0w\ge0w≥0,

nj(t)=e−tjw+∑ke−tk.n^j(t)=\frac{e^{-t^j}}{w+\sum_k e^{-t^k}}.nj(t)=w+∑k​e−tke−tj​.

Then, holding the other platforms' net fees fixed, platform jjj's share is differentiable in its own net fee, with

∂nj(t)∂tj=− nj(t) (1−nj(t)).\frac{\partial n^j(t)}{\partial t^j}=-\,n^j(t)\,\big(1-n^j(t)\big).∂tj∂nj(t)​=−nj(t)(1−nj(t)).

This identity turns the general pricing formula of Proposition 1 into the explicit Logit formula (14), and is the basic computation behind every equilibrium characterization of the paper's §5–6.

Formalization Note The derivative is stated as HasDerivAt of s↦nj(tj=s,t−j)s\mapsto n^j(t^j{=}s,t^{-j})s↦nj(tj=s,t−j) at s=tjs=t^js=tj. The weight w=ezw=e^{z}w=ez is allowed to be 000 (no outside option).

Preamble
import Mathlib
import Definitions.Def_NetFeePlatform_Competition_Setting
Formal statement
namespace NetFeePlatform.Competition
theorem logit_deriv {J : ℕ} (w : ℝ) (hw : 0 ≤ w) (t : Fin J → ℝ) (j : Fin J) :
    HasDerivAt (fun s => demand w (Function.update t j s) j)
      (-(demand w t j * (1 - demand w t j))) (t j) := by sorry
end NetFeePlatform.Competition
Source
Ekmekci, White & Wu, Platform Competition and Interoperability: The Net Fee Model, accepted working-paper version (December 12, 2024), p. 13, §3.1, Example: Logit Demand, after (13)
Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

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