Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§4.1, eq. (5), p. 572 — under uniform demand the expected profit is quadratic on [a, b]

Proved
BoundedNV.Uniform.eq5_profit_quadratic

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

newsvendorp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1uniform-demand

Let the demand DDD be uniformly distributed on [a,b][a, b][a,b] with b>a≥0b > a \ge 0b>a≥0, and let 0<c<p0 < c < p0<c<p. For every order quantity x∈[a,b]x \in [a, b]x∈[a,b], the newsvendor's expected profit π(x)=p Emin⁡(D,x)−cx\pi(x) = p\,\mathbb E\min(D,x) - cxπ(x)=pEmin(D,x)−cx is the quadratic

π(x)=Ax2+Bx+C,A=−p2(b−a),B=pbb−a−c,C=−pa22(b−a).\pi(x) = A x^2 + B x + C, \qquad A = -\frac{p}{2(b-a)},\quad B = \frac{pb}{b-a} - c,\quad C = -\frac{p a^2}{2(b-a)}.π(x)=Ax2+Bx+C,A=−2(b−a)p​,B=b−apb​−c,C=−2(b−a)pa2​.

This quadratic structure is what makes the logit density eπ(x)/βe^{\pi(x)/\beta}eπ(x)/β a Gaussian kernel on [a,b][a, b][a,b], which is the content of Proposition 1.

Formalization Note The paper states (5) without restricting xxx; it holds only on [a,b][a, b][a,b], since π(x)=(p−c)x\pi(x) = (p-c)xπ(x)=(p−c)x for x<ax < ax<a and π(x)=p(a+b)/2−cx\pi(x) = p(a+b)/2 - cxπ(x)=p(a+b)/2−cx for x>bx > bx>b. The decision domain of the behavioral solution is [a,b][a, b][a,b], so this is the range on which (5) is used.

Preamble
import Mathlib
import Definitions.Def_BoundedNV_Uniform_Logit
import Definitions.Def_BoundedNV_Uniform_UniformDemand
Formal statement
namespace BoundedNV.Uniform

/-- §4.1, eq. (5), p. 572: for demand `D ∼ U[a, b]` with `0 ≤ a < b`, on the interval `[a, b]` the
expected profit (3) is the quadratic `A x² + B x + C` with `A = −p/(2(b − a))`,
`B = pb/(b − a) − c` and `C = −pa²/(2(b − a))`. -/
theorem eq5_profit_quadratic (a b p c : ℝ) (ha : 0 ≤ a) (hab : a < b) (hc : 0 < c) (hcp : c < p) :
    ∀ x ∈ Set.Icc a b,
      nvProfit (unifDensity a b) p c x =
        (-p / (2 * (b - a))) * x ^ 2 + (p * b / (b - a) - c) * x + (-p * a ^ 2 / (2 * (b - a))) := by sorry

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