Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eqs. (1)–(2): the integrated chain's profit Π(q)\Pi(q)Π(q) is concave, increasing on [0,qo][0,q^o][0,qo] and maximized at F(qo)=(p−c)/(p−v)F(q^o) = (p-c)/(p-v)F(qo)=(p−c)/(p−v)

Proved
CachonPushPull.Pareto.chain_newsvendor

by mikedeng1 · Sep 26, 2026 · Mathlib 0df444a (Lean v4.33.1)

newsvendorp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1supply-chain

Let demand satisfy the standing assumptions (distribution function FFF with F(0)=0F(0) = 0F(0)=0, strictly increasing on [0,∞)[0,\infty)[0,∞), density fff on (0,∞)(0,\infty)(0,∞), IGFR), and let v<c<pv < c < pv<c<p. The integrated supply chain's expected profit is

Π(q)=(p−v)S(q)−(c−v)q,S(q)=q−∫0qF(x) dx.\Pi(q) = (p - v) S(q) - (c - v) q, \qquad S(q) = q - \int_0^q F(x)\,dx .Π(q)=(p−v)S(q)−(c−v)q,S(q)=q−∫0q​F(x)dx.

Then:

  1. Π\PiΠ is concave on [0,∞)[0, \infty)[0,∞);
  2. there is exactly one qo∈Rq^o \in \mathbb Rqo∈R with F(qo)=p−cp−vF(q^o) = \dfrac{p - c}{p - v}F(qo)=p−vp−c​;
  3. for that qoq^oqo: qo>0q^o > 0qo>0, Π\PiΠ attains its maximum over [0,∞)[0,\infty)[0,∞) at qoq^oqo, and Π\PiΠ is strictly increasing on [0,qo][0, q^o][0,qo].

This is the newsvendor benchmark against which every contract is measured; Πo=Π(qo)\Pi^o = \Pi(q^o)Πo=Π(qo) and the efficiency of a contract is Π(q)/Πo\Pi(q)/\Pi^oΠ(q)/Πo.

Formalization Note Existence and uniqueness of qoq^oqo are part of the statement, so later theorems may take qoq^oqo as a parameter characterized by F(qo)=(p−c)/(p−v)F(q^o) = (p-c)/(p-v)F(qo)=(p−c)/(p−v) without being vacuous. "Increasing" is read as strictly increasing, which is true because F<F(qo)F < F(q^o)F<F(qo) on [0,qo)[0, q^o)[0,qo).

Preamble
import Mathlib
import Definitions.Def_CachonPushPull_Pareto_Model
Formal statement
namespace CachonPushPull.Pareto

open MeasureTheory ProbabilityTheory

/-- Eqs. (1)–(2), p. 227: the integrated chain faces a newsvendor problem. -/
theorem chain_newsvendor (μ : Measure ℝ) [IsProbabilityMeasure μ] (f : ℝ → ℝ)
    (hD : DemandModel μ f) (p c v : ℝ) (hvc : v < c) (hcp : c < p) :
    ConcaveOn ℝ (Set.Ici 0) (chainProfit μ p c v) ∧
    (∃! qo : ℝ, cdf μ qo = (p - c) / (p - v)) ∧
    ∀ qo : ℝ, cdf μ qo = (p - c) / (p - v) →
      0 < qo ∧ IsMaxOn (chainProfit μ p c v) (Set.Ici 0) qo ∧
      StrictMonoOn (chainProfit μ p c v) (Set.Icc 0 qo) := by sorry

end CachonPushPull.Pareto
Source
Cachon, The Allocation of Inventory Risk in a Supply Chain: Push, Pull, and Advance-Purchase Discount Contracts, Management Science 50(2), 2004, p. 227, Eq. (1) and Eq. (2)
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting.

  • μ\muμ is a probability measure on R\mathbb RR with F(x)=μ((−∞,x])F(x)=\mu((-\infty,x])F(x)=μ((−∞,x]), and f:R→Rf:\mathbb R\to\mathbb Rf:R→R.
  • The demand-model conditions hold:
    • F(0)=0F(0)=0F(0)=0;
    • FFF is strictly increasing on [0,∞)[0,\infty)[0,∞);
    • for every x>0x>0x>0, FFF is differentiable at xxx with F′(x)=f(x)F'(x)=f(x)F′(x)=f(x);
    • for every x>0x>0x>0, the function g(y)=yf(y)/(1−F(y))g(y)=y f(y)/(1-F(y))g(y)=yf(y)/(1−F(y)) (with a/0:=0a/0:=0a/0:=0) is differentiable at xxx with g′(x)>0g'(x)>0g′(x)>0.
  • p,c,vp,c,vp,c,v are reals with v<c<pv<c<pv<c<p.
  • Write S(q)=q−∫0qF(x) dxS(q)=q-\int_0^qF(x)\,dxS(q)=q−∫0q​F(x)dx and Π(q)=(p−v)S(q)−(c−v)q\Pi(q)=(p-v)S(q)-(c-v)qΠ(q)=(p−v)S(q)−(c−v)q.

Conclusion. The statement asserts three things.

  1. Π\PiΠ is concave on [0,∞)[0,\infty)[0,∞).
  2. There is exactly one real number qoq^oqo, unique among all reals, with
F(qo)=p−cp−v.F(q^o)=\frac{p-c}{p-v} .F(qo)=p−vp−c​.
  1. Every real qoq^oqo satisfying this equation has three properties:
    • qo>0q^o>0qo>0;
    • Π(q)≤Π(qo)\Pi(q)\le\Pi(q^o)Π(q)≤Π(qo) for all q≥0q\ge0q≥0;
    • Π\PiΠ is strictly increasing on [0,qo][0,q^o][0,qo].

Degenerate cases.

  • The ratio (p−c)/(p−v)(p-c)/(p-v)(p−c)/(p−v) lies strictly between 000 and 111. No sign is imposed on p,c,vp,c,vp,c,v individually; for example vvv may be negative.
  • The domain [0,∞)[0,\infty)[0,∞) includes q=0q=0q=0, where Π(0)=0\Pi(0)=0Π(0)=0.
  • The hypotheses force F<1F<1F<1 on [0,∞)[0,\infty)[0,∞) and F=0F=0F=0 on (−∞,0](-\infty,0](−∞,0]. So the convention a/0:=0a/0:=0a/0:=0 in ggg never applies at points y≥0y\ge0y≥0.
  • The integral of the bounded monotone FFF is an ordinary integral, not a default value.
  • The hypotheses can be satisfied, for example by exponential demand with f(x)=e−xf(x)=e^{-x}f(x)=e−x.
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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