Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 1, p. 573 — under uniform demand E X♭ = μ − σ[φ(β′) − φ(α′)]/[Φ(β′) − Φ(α′)]

Proved
BoundedNV.Uniform.cor1_expected_order

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

bounded-rationalitynewsvendorp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1truncated-normal

Let the demand DDD be uniformly distributed on [a,b][a, b][a,b] with b>a≥0b > a \ge 0b>a≥0, let 0<c<p0 < c < p0<c<p, β>0\beta > 0β>0, and set

μ=b−cp(b−a),σ=β b−ap.\mu = b - \frac{c}{p}(b-a), \qquad \sigma = \sqrt{\beta\,\frac{b-a}{p}}.μ=b−pc​(b−a),σ=βpb−a​​.

Then the expected behavioral solution is

EX♭=μ−σ⋅ϕ((b−μ)/σ)−ϕ((a−μ)/σ)Φ((b−μ)/σ)−Φ((a−μ)/σ),\mathbb E X^\flat = \mu - \sigma\cdot\frac{\phi\big((b-\mu)/\sigma\big) - \phi\big((a-\mu)/\sigma\big)}{\Phi\big((b-\mu)/\sigma\big) - \Phi\big((a-\mu)/\sigma\big)},EX♭=μ−σ⋅Φ((b−μ)/σ)−Φ((a−μ)/σ)ϕ((b−μ)/σ)−ϕ((a−μ)/σ)​,

where ϕ\phiϕ and Φ\PhiΦ are the standard normal density and distribution function.

This closed form is the mean of the truncated normal law of Proposition 1 and is the input to Proposition 3 (midpoint bias).

Formalization Note EX♭\mathbb E X^\flatEX♭ is ∫Rx ψ(x) dx\int_{\mathbb R} x\,\psi(x)\,dx∫R​xψ(x)dx with ψ\psiψ the logit density of the profit over [a,b][a,b][a,b]. ϕ\phiϕ is Mathlib's gaussianPDFReal 0 1 and Φ\PhiΦ the distribution function of gaussianReal 0 1. Since a<ba < ba<b and σ>0\sigma > 0σ>0, the denominator is strictly positive, so the division is genuine.

Preamble
import Mathlib
import Definitions.Def_BoundedNV_Uniform_Logit
import Definitions.Def_BoundedNV_Uniform_UniformDemand

open ProbabilityTheory
Formal statement
namespace BoundedNV.Uniform

/-- Corollary 1, p. 573: for demand `D ∼ U[a, b]`, the expected behavioral solution is the mean (8)
of the truncated normal law of Proposition 1,
`E X♭ = μ − σ (φ((b − μ)/σ) − φ((a − μ)/σ)) / (Φ((b − μ)/σ) − Φ((a − μ)/σ))`,
with `φ`, `Φ` the standard normal density and distribution function. -/
theorem cor1_expected_order (a b p c β μ σ : ℝ) (ha : 0 ≤ a) (hab : a < b) (hc : 0 < c) (hcp : c < p)
    (hβ : 0 < β) (hμ : μ = unifMu a b p c) (hσ : σ = unifSigma a b p β) :
    logitExp (Set.Icc a b) (nvProfit (unifDensity a b) p c) β id =
      μ - σ * (gaussianPDFReal 0 1 ((b - μ) / σ) - gaussianPDFReal 0 1 ((a - μ) / σ)) /
        (cdf (gaussianReal 0 1) ((b - μ) / σ) - cdf (gaussianReal 0 1) ((a - μ) / σ)) := by sorry

end BoundedNV.Uniform
Source
Su, Bounded Rationality in Newsvendor Models, Manufacturing & Service Operations Management 10(4), 2008, p. 573 (PDF 8), Corollary 1, eq. (8)
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