Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§6.2.5, p. 25 — the (w_q(δ), δ) quantity flexibility contract gives the retailer ≥ Π(q°) at δ = 0, the supplier ≥ Π(q°) at δ = 1, and every split of Π(q°)

Proved
CachonCoord.Newsvendor.p25_qf_allocation

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

coordinationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1profit-allocationquantity-flexibility

Let qoq^oqo maximize the supply chain profit Π(q)=(p−v+g)S(q)−(c−v)q−gμ\Pi(q) = (p - v + g)S(q) - (c - v)q - g\muΠ(q)=(p−v+g)S(q)−(c−v)q−gμ, and assume Π(qo)>0\Pi(q^o) > 0Π(qo)>0. Consider the quantity flexibility contracts (wq(δ),δ)(w_q(\delta), \delta)(wq​(δ),δ), 0≤δ≤10 \le \delta \le 10≤δ≤1, with

wq(δ)=(p−v+gr)(1−F(qo))1−F(qo)+(1−δ)F((1−δ)qo)−cr+v.w_q(\delta) = \frac{(p - v + g_r)(1 - F(q^o))}{1 - F(q^o) + (1-\delta)F((1-\delta)q^o)} - c_r + v .wq​(δ)=1−F(qo)+(1−δ)F((1−δ)qo)(p−v+gr​)(1−F(qo))​−cr​+v.

Then:

  1. at δ=0\delta = 0δ=0 the retailer earns at least the supply chain optimal profit:
πr(qo,wq(0),0)=Π(qo)+gs(μ−S(qo)+Fˉ(qo)qo)≥Π(qo);\pi_r(q^o, w_q(0), 0) = \Pi(q^o) + g_s\big(\mu - S(q^o) + \bar F(q^o)q^o\big) \ge \Pi(q^o);πr​(qo,wq​(0),0)=Π(qo)+gs​(μ−S(qo)+Fˉ(qo)qo)≥Π(qo);
  1. at δ=1\delta = 1δ=1 the supplier earns at least the supply chain optimal profit:
πs(qo,wq(1),1)=Π(qo)+μgr≥Π(qo);\pi_s(q^o, w_q(1), 1) = \Pi(q^o) + \mu g_r \ge \Pi(q^o);πs​(qo,wq​(1),1)=Π(qo)+μgr​≥Π(qo);
  1. every allocation of Π(qo)\Pi(q^o)Π(qo) is possible: for every aaa with 0≤a≤Π(qo)0 \le a \le \Pi(q^o)0≤a≤Π(qo) there is δ∈[0,1]\delta \in [0,1]δ∈[0,1] with
πr(qo,wq(δ),δ)=aandπs(qo,wq(δ),δ)=Π(qo)−a.\pi_r(q^o, w_q(\delta), \delta) = a \quad\text{and}\quad \pi_s(q^o, w_q(\delta), \delta) = \Pi(q^o) - a .πr​(qo,wq​(δ),δ)=aandπs​(qo,wq​(δ),δ)=Π(qo)−a.

Together with the retailer's optimality of qoq^oqo under (wq(δ),δ)(w_q(\delta),\delta)(wq​(δ),δ), this shows that the quantity flexibility contract coordinates the newsvendor supply chain (with forced compliance) and can divide its profit arbitrarily.

Formalization Note The local ContractData has Cachon’s assumptions v<cs+crv<c_s+c_rv<cs​+cr​, cs+cr<pc_s+c_r<pcs​+cr​<p, and nonnegative goodwill costs. It permits negative net salvage and v≥crv\ge c_rv≥cr​. Demand is a probability law on [0,∞)[0,\infty)[0,∞) with finite mean and a continuous cdf strictly increasing until it reaches one. These are the chapter’s standing assumptions; Π(qo)>0\Pi(q^o)>0Π(qo)>0 is included wherever a chain optimum is named. Cachon’s differentiable cdf is represented on the interior of its active support by hFderiv; derivative claims use HasDerivAt. Π(qo)>0\Pi(q^o) > 0Π(qo)>0 is the standing assumption of p. 11. The continuity in δ\deltaδ that the page invokes is not assumed: it is part of what must be proved. The displays of p. 25 mix qqq and qoq^oqo (printed slip); the Lean states them at qoq^oqo. The profits are the local retailerProfit/supplierProfit with quantityFlexTransfer at quantityFlexPrice; they sum to Π\PiΠ for every transfer by definition, so the supplier's share in clause 3 is Π(qo)−a\Pi(q^o) - aΠ(qo)−a.

Preamble
import Mathlib
import Definitions.Def_CachonCoord_Newsvendor_Contracts

open MeasureTheory ProbabilityTheory
Formal statement
namespace CachonCoord.Newsvendor

/-- Cachon (2003), §6.2.5, p. 25 — profit allocation under the quantity flexibility contract
`(w_q(δ), δ)`: at δ = 0 the retailer earns `Π(q°) + g_s(μ − S(q°) + F̄(q°)q°) ≥ Π(q°)`; at δ = 1
the supplier earns `Π(q°) + μg_r ≥ Π(q°)`; and, the profits being continuous in δ, every
allocation of `Π(q°)` (retailer `a`, supplier `Π(q°) − a`, `0 ≤ a ≤ Π(q°)`) arises for some
`δ ∈ [0, 1]`. Standing assumption `Π(q°) > 0` (p. 11). -/
theorem p25_qf_allocation (P : ContractData) (D : Measure ℝ) [IsProbabilityMeasure D] [NullSingletonClass D]
    (hD : Integrable (fun x => x) D) (hD0 : D (Set.Iio 0) = 0)
    (hF : ∀ x y : ℝ, 0 ≤ x → x < y → cdf D x < 1 → cdf D x < cdf D y)
    (density : ℝ → ℝ)
    (hFderiv : ∀ x : ℝ, 0 < x → cdf D x < 1 → HasDerivAt (cdf D) (density x) x)
    (q0 : ℝ) (h0 : IsMaxOn (chainProfit P D) Set.univ q0) (hPi : 0 < chainProfit P D q0) :
    (retailerProfit P D (quantityFlexTransfer P D (quantityFlexPrice P D q0 0) 0) q0 =
        chainProfit P D q0 + P.ps * (meanDemand D - expSales D q0 + (1 - cdf D q0) * q0) ∧
      chainProfit P D q0 ≤
        retailerProfit P D (quantityFlexTransfer P D (quantityFlexPrice P D q0 0) 0) q0) ∧
    (supplierProfit P D (quantityFlexTransfer P D (quantityFlexPrice P D q0 1) 1) q0 =
        chainProfit P D q0 + meanDemand D * P.pr ∧
      chainProfit P D q0 ≤
        supplierProfit P D (quantityFlexTransfer P D (quantityFlexPrice P D q0 1) 1) q0) ∧
    ∀ a ∈ Set.Icc 0 (chainProfit P D q0), ∃ δ ∈ Set.Icc (0 : ℝ) 1,
      retailerProfit P D (quantityFlexTransfer P D (quantityFlexPrice P D q0 δ) δ) q0 = a ∧
      supplierProfit P D (quantityFlexTransfer P D (quantityFlexPrice P D q0 δ) δ) q0 =
        chainProfit P D q0 - a := by sorry

end CachonCoord.Newsvendor
Source
Cachon (2003), Supply Chain Coordination with Contracts, 3rd draft (Jan. 2003), §6.2.5, p. 25 (allocation paragraph: δ = 0 and δ = 1 displays and the sentence "Given that the profit functions are continuous in δ, it follows that all possible allocations of Π(q°) are possible.")
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