Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3, p. 51 — ∂/∂λ E[g(x, D)] = E[g(x, D+1) − g(x, D)] for D ∼ Poisson(λ)

Proved
MarketInterference.FiniteSample.lemma_3

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

derivativep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1poissonprobability

Let x∈Rmx\in\mathbb R^mx∈Rm be a fixed vector and let g:Rm×N→Rg:\mathbb R^m\times\mathbb N\to\mathbb Rg:Rm×N→R be continuous in its first argument and satisfy

0≤g(y,d)≤M(∣d∣+∥y∥1)for all y∈Rm, d∈N.0\le g(y,d)\le M\big(|d|+\|y\|_1\big)\qquad\text{for all }y\in\mathbb R^m,\ d\in\mathbb N .0≤g(y,d)≤M(∣d∣+∥y∥1​)for all y∈Rm, d∈N.

For D∼Poisson(λ)D\sim\mathrm{Poisson}(\lambda)D∼Poisson(λ), the map λ↦E[g(x,D)]\lambda\mapsto\mathbb E[g(x,D)]λ↦E[g(x,D)] is differentiable at every λ0∈(0,∞)\lambda_0\in(0,\infty)λ0​∈(0,∞), with

∂∂λE[g(x,D)]∣λ=λ0=E[g(x,D+1)−g(x,D)],D∼Poisson(λ0).\frac{\partial}{\partial\lambda}\mathbb E[g(x,D)]\Big|_{\lambda=\lambda_0}=\mathbb E\big[g(x,D+1)-g(x,D)\big],\qquad D\sim\mathrm{Poisson}(\lambda_0).∂λ∂​E[g(x,D)]​λ=λ0​​=E[g(x,D+1)−g(x,D)],D∼Poisson(λ0​).

This is the one-dimensional derivative formula behind the partial derivatives of the expected matching value (Lemma 4).

Formalization Note ∥y∥1=∑k∣yk∣\|y\|_1=\sum_k|y_k|∥y∥1​=∑k​∣yk​∣ and ∣d∣=d|d|=d∣d∣=d for d∈Nd\in\mathbb Nd∈N. The Poisson mean is passed through Real.toNNReal, which is inactive near λ0>0\lambda_0>0λ0​>0, so the map is defined on a neighbourhood of λ0\lambda_0λ0​. The paper's continuity of ggg is kept as continuity in the vector argument for each ddd (continuity in d∈Nd\in\mathbb Nd∈N is vacuous).

Preamble
import Mathlib
Formal statement
namespace MarketInterference.FiniteSample

open MeasureTheory ProbabilityTheory

theorem lemma_3 {m : ℕ} (x : Fin m → ℝ) (g : (Fin m → ℝ) → ℕ → ℝ) (M : ℝ)
    (hcont : ∀ d, Continuous fun y => g y d)
    (hg : ∀ y d, 0 ≤ g y d ∧ g y d ≤ M * ((d : ℝ) + ∑ k, |y k|))
    (l₀ : ℝ) (hl₀ : 0 < l₀) :
    HasDerivAt (fun l : ℝ => ∫ d, g x d ∂(poissonMeasure (Real.toNNReal l)))
      (∫ d, (g x (d + 1) - g x d) ∂(poissonMeasure (Real.toNNReal l₀))) l₀ := by sorry

end MarketInterference.FiniteSample
Source
Bright, Delarue and Lobel, Reducing Marketplace Interference Bias Via Shadow Prices, arXiv:2205.02274v4, p. 51, Lemma 3
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