Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (29), p. 72 — expected backorders equal mean demand minus stock plus expected inventory

Proved
CachonCoord.BaseStock.eq_29

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

inventoryp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1probabilitysupply-chain

Let DrD_rDr​ be nonnegative lead-time demand with finite mean μr\mu_rμr​. Expected inventory and expected backorders at a real stock level yyy are Ir(y)=E[(y−Dr)+]I_r(y)=\mathbb E[(y-D_r)^+]Ir​(y)=E[(y−Dr​)+] and Br(y)=E[(Dr−y)+]B_r(y)=\mathbb E[(D_r-y)^+]Br​(y)=E[(Dr​−y)+]. Then

Br(y)=μr−y+Ir(y).B_r(y)=\mu_r-y+I_r(y).Br​(y)=μr​−y+Ir​(y).

The identity connects the two shortfall functions and rewrites inventory costs in terms of IrI_rIr​ alone.

Formalization Note The model requires the mean of DrD_rDr​ to be integrable, avoiding the default value of a nonintegrable real integral. The identity holds at negative stock levels as well.

Preamble
import Mathlib
import Definitions.Def_CachonCoord_BaseStock_Model

open MeasureTheory ProbabilityTheory
Formal statement
namespace CachonCoord.BaseStock

/-- Cachon (2003), §6.7.1, Eq. (29), p. 72: the expected backorders
equal mean demand minus the stock level plus expected inventory. -/
theorem eq_29 (M : Model) :
    ∀ y : ℝ, M.B y = M.meanDemand - y + M.I y := by sorry

end CachonCoord.BaseStock
Source
Cachon (2003), Supply Chain Coordination with Contracts, 3rd draft (Jan. 2003), §6.7.1, Eq. (29), p. 72
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

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