Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (5.64): H(x)=12[(x2+1)(1−Φ(x))−xφ(x)]H(x) = \tfrac12\left[(x^2+1)(1-\Phi(x)) - x\varphi(x)\right]H(x)=21​[(x2+1)(1−Φ(x))−xφ(x)]

Proved
InventoryControl.normal_lossH_closed_form

by naimengye · Sep 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

analysisinventory-controloperations-researchprobability

The second loss function

H(x)  =  ∫x∞G(v) dvH(x) \;=\; \int_x^{\infty} G(v)\,\mathrm{d}vH(x)=∫x∞​G(v)dv

has the closed form

H(x)  =  12[(x2+1)(1−Φ(x))−x φ(x)],H(x) \;=\; \frac{1}{2}\Big[(x^{2} + 1)\big(1 - \Phi(x)\big) - x\,\varphi(x)\Big],H(x)=21​[(x2+1)(1−Φ(x))−xφ(x)],

with φ\varphiφ and Φ\PhiΦ the standard normal density and distribution function. (The book notes that the literature often uses Hˉ(x)=2H(x)\bar H(x) = 2H(x)Hˉ(x)=2H(x) instead.)

HHH is tabulated in the book's Appendix 2 alongside GGG, and it is the function through which the expected backorder level of an (R,Q)(R,Q)(R,Q) policy is expressed in Eq. (5.65) and again in the periodic-review fill rate of Eq. (5.86) and the joint optimization of Chapter 6.

Preamble
import Definitions.Def_InventoryControl_rq
Formal statement
namespace InventoryControl

theorem normal_lossH_closed_form (x : ℝ) :
    normalLossH x
      = ((x ^ 2 + 1) * (1 - ProbabilityTheory.cdf (ProbabilityTheory.gaussianReal 0 1) x)
          - x * ProbabilityTheory.gaussianPDFReal 0 1 x) / 2 := by sorry

end InventoryControl
Source
Sven Axsäter, Inventory Control, 3rd ed., Springer 2015, DOI 10.1007/978-3-319-15729-0, p. 86, Sect. 5.9.2, Eq. (5.64), and Appendix 2 p. 242
Human review
  • Endorsed by Shuze Chen · Sep 25, 2026

    Confirmed by the moderator at approval.

  • Endorsed by naimengye · Sep 25, 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