Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (5.42): F(x)=σ′Q[G(R−x−μ′σ′)−G(R+Q−x−μ′σ′)]F(x) = \frac{\sigma'}{Q}\left[G\left(\frac{R-x-\mu'}{\sigma'}\right) - G\left(\frac{R+Q-x-\mu'}{\sigma'}\right)\right]F(x)=Qσ′​[G(σ′R−x−μ′​)−G(σ′R+Q−x−μ′​)]

Proved
InventoryControl.rq_cdf_closed_form

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

inventory-controloperations-researchprobabilityreorder-point

The distribution function of the inventory level under a continuous review (R,Q)(R,Q)(R,Q) policy with Q>0Q > 0Q>0 and normal lead-time demand of mean μ′\mu'μ′ and standard deviation σ′>0\sigma' > 0σ′>0 has the closed form

F(x)  =  σ′Q[G ⁣(R−x−μ′σ′)−G ⁣(R+Q−x−μ′σ′)],F(x) \;=\; \frac{\sigma'}{Q}\left[G\!\left(\frac{R - x - \mu'}{\sigma'}\right) - G\!\left(\frac{R + Q - x - \mu'}{\sigma'}\right)\right],F(x)=Qσ′​[G(σ′R−x−μ′​)−G(σ′R+Q−x−μ′​)],

where GGG is the standard normal loss function of Eq. (5.40).

The book obtains it by writing the integrand of Eq. (5.39) as −G′-G'−G′ using Eq. (5.41) and integrating over the uniform inventory position. It is the workhorse of the chapter: the service levels of Sect. 5.7.2, the backorder cost of Sect. 5.9.2 and the periodic-review fill rate of Sect. 5.12.4 are all evaluated from it, and it is why the loss function is tabulated in the book's Appendix 2.

Preamble
import Definitions.Def_InventoryControl_rq
Formal statement
namespace InventoryControl

theorem rq_cdf_closed_form (R Q m s x : ℝ) (hQ : 0 < Q) (hs : 0 < s) :
    rqCDF R Q m s x
      = s / Q * (normalLoss ((R - x - m) / s) - normalLoss ((R + Q - x - m) / s)) := by sorry

end InventoryControl
Source
Sven Axsäter, Inventory Control, 3rd ed., Springer 2015, DOI 10.1007/978-3-319-15729-0, p. 76, Sect. 5.3.4, Eq. (5.42)
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