Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix A, p. 20, (8) — reduction of E(h) to the functions g, f, ℓ at deterministic times

Proved
AuctionDuration.ClearingError.eq_8

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

brownian-motioncall-auctionp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1poisson-processprice-formation

In the one-auction model, write NmmN^{mm}Nmm for the market-maker counting process, Ω~={Nτ1clmm>0}\tilde\Omega=\{N^{mm}_{\tau^{cl}_1}>0\}Ω~={Nτ1cl​mm​>0}, and, for a deterministic ttt,

g(t)=E[1Ntmm>0(∑k=1NtmmPτkmm−PtNtmm)2],f(t)=E[1Ntmm>0Ntmm],ℓ(t)=E[Iτ1cl2] E[1Ntmm>0(Ntmm)2].g(t)=\mathbb E\Big[\mathbf 1_{N^{mm}_t>0}\Big(\sum_{k=1}^{N^{mm}_t}\frac{P_{\tau^{mm}_k}-P_t}{N^{mm}_t}\Big)^2\Big],\quad f(t)=\mathbb E\Big[\frac{\mathbf 1_{N^{mm}_t>0}}{N^{mm}_t}\Big],\quad \ell(t)=\mathbb E[I^2_{\tau^{cl}_1}]\,\mathbb E\Big[\frac{\mathbf 1_{N^{mm}_t>0}}{(N^{mm}_t)^2}\Big].g(t)=E[1Ntmm​>0​(k=1∑Ntmm​​Ntmm​Pτkmm​​−Pt​​)2],f(t)=E[Ntmm​1Ntmm​>0​​],ℓ(t)=E[Iτ1cl​2​]E[(Ntmm​)21Ntmm​>0​​].

Then the squared clearing-price error is integrable under P(⋅∣Ω~)\mathbb P(\cdot\mid\tilde\Omega)P(⋅∣Ω~), the integrand below is integrable on (h,∞)(h,\infty)(h,∞), and

E(h)=P(Nτ1clmm>0)−1eνh∫h+∞νe−νt(g(t)+σ2f(t)+1K2ℓ(t)) dt.E(h)=\mathbb P\big(N^{mm}_{\tau^{cl}_1}>0\big)^{-1}e^{\nu h}\int_h^{+\infty}\nu e^{-\nu t}\Big(g(t)+\sigma^2 f(t)+\frac1{K^2}\ell(t)\Big)\,dt .E(h)=P(Nτ1cl​mm​>0)−1eνh∫h+∞​νe−νt(g(t)+σ2f(t)+K21​ℓ(t))dt.

The identity separates the three sources of error of the clearing price (the price moves since the market makers' arrivals, their estimation noise, and the market takers' imbalance) and reduces the random clearing time to an integral over deterministic times.

Formalization Note The page displays a chain of three equalities; this item states its outer two sides. The integrability conjuncts rule out junk values of the Bochner integrals. The identity uses the added hypotheses E[gk]=0\mathbb E[g_k]=0E[gk​]=0 and the independence of Iτ1clI_{\tau^{cl}_1}Iτ1cl​​ (see the model's note).

Preamble
import Mathlib
import Definitions.Def_AuctionDuration_ClearingError_Model
Formal statement
namespace AuctionDuration.ClearingError
open MeasureTheory ProbabilityTheory QueueingFundamentals.Foundations

/-- Appendix A, p. 20, (8): reduction of E(h) to the auxiliary functions g, f, ℓ at deterministic
times, E(h) = P(N^mm_{τ^cl_1} > 0)^{-1} e^{νh} ∫_h^∞ νe^{−νt} (g(t) + σ² f(t) + ℓ(t)/K²) dt. -/
theorem eq_8 {Ω : Type*} [MeasurableSpace Ω] (p : Params) (hp : p.Standing)
    (P : Measure Ω) (X : Auction Ω) (hX : IsModel p P X) (h : ℝ) (hh : 0 ≤ h) :
    Integrable (fun ω => (Pcl p X h ω - Peff p X (tauCl X h ω) ω) ^ 2) (P[|OmegaT X h]) ∧
    IntegrableOn (fun t => p.nu * Real.exp (-(p.nu * t)) *
        (gFun p P X t + p.sigma ^ 2 * fFun P X t + ellFun P X t / p.K ^ 2)) (Set.Ioi h) ∧
    E p P X h = ((P (OmegaT X h)).toReal)⁻¹ * Real.exp (p.nu * h) *
      ∫ t in Set.Ioi h, p.nu * Real.exp (-(p.nu * t)) *
        (gFun p P X t + p.sigma ^ 2 * fFun P X t + ellFun P X t / p.K ^ 2) := by sorry

end AuctionDuration.ClearingError
Source
Jusselin, Mastrolia & Rosenbaum, Optimal auction duration: a price formation viewpoint, arXiv:1906.01713v3, p. 20, Appendix A, (8)
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