Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§6.10.2, p. 98 — expected sales S_θ(x) = x − E[(x − D_θ)⁺] = x − ∫₀ˣ F_θ

Proved
CachonCoord.CapacityForecast.p98_expected_sales

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

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

Let DθD_\thetaDθ​ be demand of type θ\thetaθ in the capacity procurement game, with distribution function FθF_\thetaFθ​ vanishing on (−∞,0)(-\infty, 0)(−∞,0). For every xxx, expected sales with xxx units of capacity satisfy

Sθ(x)=x−E[(x−Dθ)+]=x−∫0xFθ(y) dy.S_\theta(x) = x - \mathbb E\big[(x - D_\theta)^+\big] = x - \int_0^x F_\theta(y)\,dy .Sθ​(x)=x−E[(x−Dθ​)+]=x−∫0x​Fθ​(y)dy.

The integral form is the one used to differentiate SθS_\thetaSθ​ and the chain profit Ωθ\Omega_\thetaΩθ​ in capacity.

Formalization Note The identity is stated for every real xxx (for x<0x < 0x<0 both sides equal xxx). The page writes the integration variable as xxx.

Preamble
import Mathlib
import Definitions.Def_CachonCoord_CapacityForecast_Model

open MeasureTheory ProbabilityTheory
Formal statement
namespace CachonCoord.CapacityForecast

/-- Cachon (2003), 3rd draft, §6.10.2, p. 98, the display defining `S_θ(x)`: expected sales
`S_θ(x) = x − E[(x − D_θ)⁺]` equal `x − ∫_0^x F_θ(y) dy`. (The page writes the integration
variable as `x`.) -/
theorem p98_expected_sales (M : Model) (θ : DemandType) (x : ℝ) :
    M.S θ x = x - ∫ y in (0 : ℝ)..x, cdf (M.μ θ) y := by sorry

end CachonCoord.CapacityForecast
Source
Cachon (2003), Supply Chain Coordination with Contracts, 3rd draft (Jan. 2003), §6.10.2, p. 98, the display defining S_θ(x)
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