Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2(ii), (D2), Online Supplement p. 9 — ∫_τ^x z·exp{(2θz − κz²)/σ²} dz in terms of Φ and exp

Proved
VolunteerEngage.Thresholds.lemma_2_ii

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

gaussian-integralintegrationnormal-cdfp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let κ>0\kappa>0κ>0 and σ>0\sigma>0σ>0, and let θ,τ,x\theta,\tau,xθ,τ,x be real numbers. Write Φ\PhiΦ for the standard normal cumulative distribution function. Then

∫τxzexp⁡{2θz−κz2σ2} dz=θσπκκexp⁡{θ2κσ2}[Φ(x−θ/κσ/2κ)−Φ(τ−θ/κσ/2κ)]+σ22κ[exp⁡{2θτ−κτ2σ2}−exp⁡{2θx−κx2σ2}].\int_\tau^x z\exp\Big\{\frac{2\theta z-\kappa z^2}{\sigma^2}\Big\}\,dz=\frac{\theta\sigma\sqrt\pi}{\kappa\sqrt\kappa}\exp\Big\{\frac{\theta^2}{\kappa\sigma^2}\Big\}\Big[\Phi\Big(\frac{x-\theta/\kappa}{\sigma/\sqrt{2\kappa}}\Big)-\Phi\Big(\frac{\tau-\theta/\kappa}{\sigma/\sqrt{2\kappa}}\Big)\Big]+\frac{\sigma^2}{2\kappa}\Big[\exp\Big\{\frac{2\theta\tau-\kappa\tau^2}{\sigma^2}\Big\}-\exp\Big\{\frac{2\theta x-\kappa x^2}{\sigma^2}\Big\}\Big].∫τx​zexp{σ22θz−κz2​}dz=κκ​θσπ​​exp{κσ2θ2​}[Φ(σ/2κ​x−θ/κ​)−Φ(σ/2κ​τ−θ/κ​)]+2κσ2​[exp{σ22θτ−κτ2​}−exp{σ22θx−κx2​}].

Together with Lemma 2(i), this evaluates the integrals that arise when the linear equation on a threshold interval is solved with its integrating factor.

Formalization Note The integral is the oriented interval integral, so the identity is stated for all real τ\tauτ and xxx. The positivity of κ\kappaκ and σ\sigmaσ is the paper's standing assumption, stated explicitly. Φ\PhiΦ is Cohen2019.Robust.Phi === cdf (gaussianReal 0 1).

Preamble
import Mathlib
import Definitions.Def_Cohen2019_Robust_Phi
Formal statement
namespace VolunteerEngage.Thresholds

/-- Lemma 2(ii), (D2), Online Supplement p. 9: for `κ > 0`, `σ > 0` and all real `θ`, `τ`, `x`,
`∫_τ^x z exp{(2θz - κz²)/σ²} dz = (θσ√π/(κ√κ)) exp{θ²/(κσ²)}
  [Φ((x - θ/κ)/(σ/√(2κ))) - Φ((τ - θ/κ)/(σ/√(2κ)))]
  + (σ²/(2κ)) [exp{(2θτ - κτ²)/σ²} - exp{(2θx - κx²)/σ²}]`,
with `Φ` the standard normal cumulative distribution function and the integral oriented. -/
theorem lemma_2_ii (κ σ θ τ x : ℝ) (hκ : 0 < κ) (hσ : 0 < σ) :
    ∫ z in τ..x, z * Real.exp ((2 * θ * z - κ * z ^ 2) / σ ^ 2) =
      θ * σ * Real.sqrt Real.pi / (κ * Real.sqrt κ) * Real.exp (θ ^ 2 / (κ * σ ^ 2)) *
        (Cohen2019.Robust.Phi ((x - θ / κ) / (σ / Real.sqrt (2 * κ)))
          - Cohen2019.Robust.Phi ((τ - θ / κ) / (σ / Real.sqrt (2 * κ))))
      + σ ^ 2 / (2 * κ) *
        (Real.exp ((2 * θ * τ - κ * τ ^ 2) / σ ^ 2) - Real.exp ((2 * θ * x - κ * x ^ 2) / σ ^ 2)) := by sorry

end VolunteerEngage.Thresholds
Source
Ata, Tongarlak, Lee, Field, A Dynamic Model for Managing Volunteer Engagement, arXiv:2312.02920v2, Online Supplement p. 9, Lemma 2(ii), (D2)
Human review
  • Endorsed by Shuze Chen · Oct 15, 2026

    Confirmed by the moderator at approval.

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