Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(3.5), p. 16 — market-maker flow profit: π_r = 2(1 − ω)ρ/((1 + ω)N_r) − 2ν

Proved
PegProtect.Equilibrium.equation_3_5

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

market-makingmarket-microstructurep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1sniping

Under the standing market restrictions, for 0≤ω<10\le\omega<10≤ω<1 and a positive mass NrN_rNr​ of market makers, the expected flow profit of a market maker who keeps both a bid and an offer at the best bid and offer is

πr=2(1−ω)ρ∑k=0∞qkNr−2ν=2 (1−ω)ρ(1+ω)Nr−2ν.\pi_r=\frac{2(1-\omega)\rho\sum_{k=0}^{\infty}q_k}{N_r}-2\nu=2\,\frac{(1-\omega)\rho}{(1+\omega)N_r}-2\nu .πr​=Nr​2(1−ω)ρ∑k=0∞​qk​​−2ν=2(1+ω)Nr​(1−ω)ρ​−2ν.

Investor market orders reach each side at rate (1−ω)ρ(1-\omega)\rho(1−ω)ρ and find no contra-side midpoint liquidity with probability ∑k≥0qk=1/(1+ω)\sum_{k\ge0}q_k=1/(1+\omega)∑k≥0​qk​=1/(1+ω); the loss to snipers occurs at rate ν\nuν on each side. Setting πr=0\pi_r=0πr​=0 yields the equilibrium mass (3.7).

Formalization Note A positive maker mass keeps the per-maker payoff within its economic domain; Lean division assigns a junk value at Nr=0N_r=0Nr​=0.

Preamble
import Mathlib
import Definitions.Def_PegProtect_Equilibrium_Model
Formal statement
namespace PegProtect.Equilibrium

theorem equation_3_5 (P : Params) (hP : P.Standing) (ω Nr : ℝ)
    (h0 : 0 ≤ ω) (h1 : ω < 1) (hNr : 0 < Nr) :
    piR P ω Nr = 2 * ((1 - ω) * P.ρ / ((1 + ω) * Nr)) - 2 * P.ν := by sorry

end PegProtect.Equilibrium
Source
Aldrich & Friedman, Order Protection through Delayed Messaging, SSRN 2999059 (version of March 3, 2019), p. 16, §3.4, (3.5)
Human review
  • Endorsed by Shuze Chen · Oct 20, 2026

    Confirmed by the moderator at approval.

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