Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3, p. 14 — the exchange's HJB equation (4.15) has a unique continuous viscosity solution

Proved
MMDarkPool.Exchange.theorem_3

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

existencehjb-equationmarket-makingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1uniquenessviscosity-solution

Consider the lit/dark market-making model under its standing assumptions: horizon T>0T>0T>0, tick T>0\mathcal T>0T>0, σ,γ,η,ϵ>0\sigma,\gamma,\eta,\epsilon>0σ,γ,η,ϵ>0, Aj,θj,cj>0A^j,\theta^j,c^j>0Aj,θj,cj>0, Γl≥Γd>0\Gamma^l\ge\Gamma^d>0Γl≥Γd>0, risk limit qˉ∈N\bar q\in\mathbb Nqˉ​∈N and finite volume sets Vl,Vd⊂N\mathcal V^l,\mathcal V^d\subset\mathbb NVl,Vd⊂N containing 000. Let L⋆(z,q)\mathcal L^\star(z,q)L⋆(z,q) be any best response of the market maker in the sense of (4.6): for each inventory q∈{−qˉ,…,qˉ}q\in\{-\bar q,\dots,\bar q\}q∈{−qˉ​,…,qˉ​} and jump incentives zzz, an admissible volume vector maximizing the market maker's Hamiltonian h(⋅,z,q)h(\cdot,z,q)h(⋅,z,q) of (4.10). Consider the exchange's HJB equation

{0=∂tv(t,q)+H(q,L⋆,v(t,⋅)),q∈{−qˉ,…,qˉ}, t∈[0,T),v(T,q)=−1,(4.15)\begin{cases}0=\partial_tv(t,q)+\mathcal H\big(q,\mathcal L^\star,v(t,\cdot)\big), & q\in\{-\bar q,\dots,\bar q\},\ t\in[0,T),\\ v(T,q)=-1,\end{cases}\qquad\qquad(4.15){0=∂t​v(t,q)+H(q,L⋆,v(t,⋅)),v(T,q)=−1,​q∈{−qˉ​,…,qˉ​}, t∈[0,T),(4.15)

where H(q,L⋆,v(t,⋅))=sup⁡z∈R2(#Vl+#Vd)+1U(z,q,L⋆(z,q),v(t,⋅))\mathcal H(q,\mathcal L^\star,v(t,\cdot))=\sup_{z\in\mathbb R^{2(\#\mathcal V^l+\#\mathcal V^d)+1}}\mathcal U(z,q,\mathcal L^\star(z,q),v(t,\cdot))H(q,L⋆,v(t,⋅))=supz∈R2(#Vl+#Vd)+1​U(z,q,L⋆(z,q),v(t,⋅)) is the exchange's Hamiltonian (4.16).

Then (4.15) has a continuous viscosity solution vvv on [0,T]×{−qˉ,…,qˉ}[0,T]\times\{-\bar q,\dots,\bar q\}[0,T]×{−qˉ​,…,qˉ​}, and it is unique: every continuous viscosity solution www of (4.15) agrees with vvv on [0,T]×{−qˉ,…,qˉ}[0,T]\times\{-\bar q,\dots,\bar q\}[0,T]×{−qˉ​,…,qˉ​}.

This is the well-posedness half of the paper's main theorem. Through the ansatz (4.14), the solution vvv is the reduced value function of the exchange's make-take fees design problem, and the supremum in (4.15) gives the exchange's optimal incentives.

Formalization Note. Only the first sentence of Theorem 3 is formalized; the identity v0E=v(0,Q0)=vE(0,S~0,Nˉ0,N0,Y0)v^E_0=v(0,Q_0)=v^E(0,\tilde S_0,\bar N_0,N_0,Y_0)v0E​=v(0,Q0​)=vE(0,S~0​,Nˉ0​,N0​,Y0​) and the statement that the optimal incentives solve the supremum need the stochastic control model and are not part of this statement. The paper solves (4.15) "for a specific optimal response"; here the statement holds for every best-response selection. The readings used: qˉ∈N\bar q\in\mathbb Nqˉ​∈N for "2qˉ∈N2\bar q\in\mathbb N2qˉ​∈N"; admissible volumes keep the inventory within the risk limits ±qˉ\pm\bar q±qˉ​ (§5.1.1); 0∈Vl,Vd0\in\mathcal V^l,\mathcal V^d0∈Vl,Vd; one sum per pool in (4.10); H\mathcal HH is valued in the extended reals; and the viscosity notion is the standard per-component one for a finite system of backward ODEs (C1C^1C1 test functions in ttt, interior test times t0∈(0,T)t_0\in(0,T)t0​∈(0,T), nonlocal argument v(t0,⋅)v(t_0,\cdot)v(t0​,⋅), subsolution ∂tφ+H≥0\partial_t\varphi+\mathcal H\ge0∂t​φ+H≥0 at local maxima of v(⋅,q)−φv(\cdot,q)-\varphiv(⋅,q)−φ, supersolution ≤0\le0≤0 at local minima), with continuity on [0,T][0,T][0,T] and the terminal condition as separate requirements. Values of vvv off the grid are not constrained and do not enter H\mathcal HH with a nonzero coefficient. The informal "impacts small with respect to the tick" and "ϵ\epsilonϵ small enough" are not assumed.

Preamble
import Mathlib
import Definitions.Def_MMDarkPool_Exchange_Model
Formal statement
namespace MMDarkPool.Exchange

theorem theorem_3 (P : Params) (hP : Standing P) (Lstar : Inc P → ℤ → Vol) (hL : IsBestResponse P Lstar) : ∃ v : ℝ → ℤ → ℝ, IsViscositySolution P Lstar v ∧ ∀ w : ℝ → ℤ → ℝ, IsViscositySolution P Lstar w → ∀ t ∈ Set.Icc 0 P.T, ∀ q ∈ Grid P, w t q = v t q := by sorry

end MMDarkPool.Exchange
Source
Baldacci, Manziuk, Mastrolia & Rosenbaum, arXiv:1912.01129v1, p. 14, Theorem 3 (first assertion), with (4.15) p. 13 and (4.16) p. 14
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