Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§6.4.1, p. 41 — expected sales given effort: S(q, e) = q − ∫₀^q F(y|e) dy

Proved
CachonCoord.EffortNewsvendor.p41_expected_sales

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

effortnewsvendorp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1supply-chain

In the effort model of §6.4.1, let DDD have the demand law given effort e≥0e \ge 0e≥0, with distribution function F(⋅∣e)F(\cdot \mid e)F(⋅∣e) on [0,∞)[0, \infty)[0,∞). For every order quantity q≥0q \ge 0q≥0, expected sales S(q,e)=E[min⁡(q,D)]S(q, e) = \mathbb E[\min(q, D)]S(q,e)=E[min(q,D)] satisfy

S(q,e)=q−∫0qF(y∣e) dy.S(q, e) = q - \int_0^q F(y \mid e)\,dy.S(q,e)=q−∫0q​F(y∣e)dy.

This is the form of expected sales in which the section differentiates with respect to effort.

Formalization Note The book writes this display as the definition of SSS. The formalization defines SSS as the expectation and states the integral form as a theorem.

Preamble
import Mathlib
import Definitions.Def_CachonCoord_EffortNewsvendor_Model
Formal statement
namespace CachonCoord.EffortNewsvendor

/-- p. 41, the display after `Π(q, e)`: expected sales given effort `e` satisfy
`S(q, e) = q − ∫_0^q F(y|e) dy` for `q ≥ 0` and every effort level `e ≥ 0`. -/
theorem p41_expected_sales (M : Model) (q e : ℝ) (hq : 0 ≤ q) (he : 0 ≤ e) :
    M.S q e = q - ∫ y in (0 : ℝ)..q, M.F y e := by sorry

end CachonCoord.EffortNewsvendor
Source
Cachon (2003), Supply Chain Coordination with Contracts, 3rd draft (Jan. 2003), §6.4.1, p. 41, the display of S(q, e)
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