Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (15), p. 34 — quantity flexibility coordinates the price only if w_q = v − c_r or δ = 0

Proved
CachonCoord.PriceNewsvendor.eq_15

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

first-order-conditionp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1pricingquantity-flexibilitysupply-chain

Assume both goodwill penalties vanish, gr=gs=0g_r=g_s=0gr​=gs​=0. Fix a quantity q>0q>0q>0 and a quantity-flexibility contract with wholesale price wqw_qwq​ and flexibility δ∈[0,1]\delta\in[0,1]δ∈[0,1], under which the retailer earns

πr(q,p,wq,δ)=(p−v)S(q,p)−(wq+cr−v)q+(wq+cr−v)∫(1−δ)qqF(y∣p) dy.\pi_r(q,p,w_q,\delta)=(p-v)S(q,p)-(w_q+c_r-v)q+(w_q+c_r-v)\int_{(1-\delta)q}^{q}F(y\mid p)\,dy.πr​(q,p,wq​,δ)=(p−v)S(q,p)−(wq​+cr​−v)q+(wq​+cr​−v)∫(1−δ)qq​F(y∣p)dy.

Let ppp be an admissible price that maximizes the integrated profit Π(q,⋅)\Pi(q,\cdot)Π(q,⋅) and also the retailer's profit πr(q,⋅,wq,δ)\pi_r(q,\cdot,w_q,\delta)πr​(q,⋅,wq​,δ). Suppose S(q,⋅)S(q,\cdot)S(q,⋅) is differentiable at ppp, and that the price derivative of ∫(1−δ)qqF(y∣p) dy\int_{(1-\delta)q}^{q}F(y\mid p)\,dy∫(1−δ)qq​F(y∣p)dy is ∫(1−δ)qq∂F(y∣p)/∂p dy\int_{(1-\delta)q}^{q}\partial F(y\mid p)/\partial p\,dy∫(1−δ)qq​∂F(y∣p)/∂pdy with an integrable integrand. Then

wq=v−crorδ=0.w_q=v-c_r\quad\text{or}\quad\delta=0.wq​=v−cr​orδ=0.

Since wq=v−crw_q=v-c_rwq​=v−cr​ leaves the supplier with a negative margin and δ=0\delta=0δ=0 is a plain wholesale-price contract, the quantity-flexibility contract does not coordinate the newsvendor with price-dependent demand.

Formalization Note The page argues for general goodwill by comparing (15) with (14), but both displays differentiate gμg\mugμ and grμg_r\mugr​μ as constants, while μ(p)\mu(p)μ(p) varies with the price under the section's assumption ∂F(y∣p)/∂p>0\partial F(y\mid p)/\partial p>0∂F(y∣p)/∂p>0. The statement therefore takes the zero-goodwill case, where the page's conclusion "gs=0g_s=0gs​=0 and either wq=v−crw_q=v-c_rwq​=v−cr​ or δ=0\delta=0δ=0" reduces to the displayed disjunction. Differentiation under the integral sign and the integrability of ∂F/∂p\partial F/\partial p∂F/∂p on [(1−δ)q,q][(1-\delta)q,q][(1−δ)q,q] are disclosed regularity hypotheses; q>0q>0q>0 and δ≤1\delta\le1δ≤1 keep the integration range inside (0,∞)(0,\infty)(0,∞), where ∂F/∂p>0\partial F/\partial p>0∂F/∂p>0.

Preamble
import Mathlib
import Definitions.Def_CachonCoord_PriceNewsvendor_Model
Formal statement
namespace CachonCoord.PriceNewsvendor

/-- Equation (15) against (14), p. 34, in the zero-goodwill regime. If the quantity-flexibility
contract `(w_q, δ)`, `0 ≤ δ ≤ 1`, leaves an interior integrated-optimal price `p` (at fixed
`q > 0`) optimal for the retailer, then `w_q = v - c_r` or `δ = 0`. The price derivative of
`∫_{(1-δ)q}^q F(y|p) dy` is taken, as on the page, to be `∫_{(1-δ)q}^q ∂F(y|p)/∂p dy`
(differentiation under the integral sign, a disclosed regularity hypothesis). -/
theorem eq_15 (M : Model) (q p wq δ Sp : ℝ)
    (hgr : M.gr = 0) (hgs : M.gs = 0)
    (hq : 0 < q) (hδ0 : 0 ≤ δ) (hδ1 : δ ≤ 1) (hp : p ∈ M.demand.prices)
    (hS : HasDerivAt (fun t => M.S q t) Sp p)
    (hFint : IntervalIntegrable (fun y => M.demand.priceSlope y p) MeasureTheory.volume
      ((1 - δ) * q) q)
    (hI : HasDerivAt (fun t => ∫ y in (1 - δ) * q..q, cdfOf (M.demand.law t) y)
      (∫ y in (1 - δ) * q..q, M.demand.priceSlope y p) p)
    (hchain : IsMaxOn (fun t => M.Pi q t) M.demand.prices p)
    (hret : IsMaxOn (fun t => M.qfRetailer wq δ q t) M.demand.prices p) :
    wq = M.v - M.cr ∨ δ = 0 := by sorry

end CachonCoord.PriceNewsvendor
Source
Cachon (2003), Supply Chain Coordination with Contracts, 3rd draft (Jan. 2003), §6.3.1, Eqs. (14)–(15), p. 34
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