Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4 (3.20), p. 19 — mean-field part: μa\mu_aμa​ is differentiable at ppp with derivative μa′(p)=Δa(p)/(1+… )\mu'_a(p)=\Delta_a(p)/(1+\dots)μa′​(p)=Δa​(p)/(1+…)

Proved
EquilibriumExperiment.Gradient.lemma_4_muLim_hasDerivAt

by tianyipeng · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

derivativeimplicit-functionmean-field

Consider a market satisfying the standing assumptions (Definition 5, Assumptions 1–3, (3.1)–(3.2)), conditional on a global state A=aA=aA=a. Fix p>0p>0p>0 with E[fB(p ωˉ)]>0\mathbb E[f_B(p\,\bar\omega)]>0E[fB​(pωˉ)]>0, and let μa(p)\mu_a(p)μa​(p) be the mean-field active supply, the unique solution in (0,1](0,1](0,1] of μ=E[fB1(p ω(da/μ))]\mu=\mathbb E[f_{B_1}(p\,\omega(d_a/\mu))]μ=E[fB1​​(pω(da​/μ))] (Lemma 2). Then μa\mu_aμa​ is differentiable at ppp, with

μa′(p)=Δa(p)1+p da Δa(p) ω′(da/μa(p))/(μa(p)2 ω(da/μa(p))),Δa(p)=ω(da/μa(p)) E[fB1′(p ω(da/μa(p)))].\mu_a'(p)=\frac{\Delta_a(p)}{1+p\,d_a\,\Delta_a(p)\,\omega'\bigl(d_a/\mu_a(p)\bigr)\big/\bigl(\mu_a(p)^2\,\omega(d_a/\mu_a(p))\bigr)},\qquad \Delta_a(p)=\omega\bigl(d_a/\mu_a(p)\bigr)\,\mathbb E\bigl[f'_{B_1}\bigl(p\,\omega(d_a/\mu_a(p))\bigr)\bigr].μa′​(p)=1+pda​Δa​(p)ω′(da​/μa​(p))/(μa​(p)2ω(da​/μa​(p)))Δa​(p)​,Δa​(p)=ω(da​/μa​(p))E[fB1​′​(pω(da​/μa​(p)))].

This is the mean-field statement in the second equality of (3.20). It says the right-hand side of (3.20) is the true derivative of p↦μa(p)p\mapsto\mu_a(p)p↦μa​(p), independently of the finite-nnn limit in the first equality. It is the ingredient Proposition 12 needs.

Formalization Note. μa(p)\mu_a(p)μa​(p) is muLim p and the right-hand side is muLimDeriv p, with Lean's convention x/0=0x/0=0x/0=0. In the degenerate case ω(da/μa(p))=0\omega(d_a/\mu_a(p))=0ω(da​/μa​(p))=0, concavity forces ω≡0\omega\equiv0ω≡0 on R+\mathbb R_+R+​, so μa\mu_aμa​ is locally constant and both sides equal 000.

Preamble
import Mathlib
import Definitions.Def_EquilibriumExperiment_Gradient_Model

open MeasureTheory ProbabilityTheory Filter Topology
Formal statement
namespace EquilibriumExperiment.Gradient

theorem lemma_4_muLim_hasDerivAt {B : Type} [MeasurableSpace B] (M : Market B)
    (hM : M.Standing) {p : ℝ} (hp : 0 < p) (hpos : 0 < ∫ b, M.f b (p * M.omegaSup) ∂M.β) :
    HasDerivAt M.muLim (M.muLimDeriv p) p := by sorry

end EquilibriumExperiment.Gradient
Source
Wager & Xu, Experimenting in Equilibrium, arXiv:1903.02124v5, p. 19, Lemma 4, eq. (3.20) (second equality: μ'_a(p) = Δ_a(p)/(1 + p d_a Δ_a(p) ω'(d_a/μ_a(p))/(μ_a(p)² ω(d_a/μ_a(p)))))

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