Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 14.7: the quantity flexibility contract with w(δ)w(\delta)w(δ) coordinates the retailer, Qr∗=Q0Q^*_r = Q_0Qr∗​=Q0​

Proved
SupplyChainTheory.quantity_flex_retailer

by naimengye · Sep 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

contractsoperations-researchquantity-flexibilitysupply-chain

Theorem 14.7. Under the quantity flexibility contract, in which the supplier reimburses the retailer's loss w+cr−vw + c_r - vw+cr​−v on unsold units up to δQ\delta QδQ, for any 0≤δ≤10 \le \delta \le 10≤δ≤1, if the wholesale price is set to w(δ)w(\delta)w(δ) of (14.46) for the chain-optimal quantity Q0Q_0Q0​, then Q0Q_0Q0​ maximizes the retailer's profit πr(⋅,w(δ),δ)\pi_r(\cdot, w(\delta), \delta)πr​(⋅,w(δ),δ): the supply chain is coordinated from the retailer's perspective.

The book's proof shows the derivative (14.48) vanishes at Q0Q_0Q0​ by the choice of w(δ)w(\delta)w(δ) and that the second derivative (14.49) is nonpositive because v−cr≤w(δ)≤r+pr−crv - c_r \le w(\delta) \le r + p_r - c_rv−cr​≤w(δ)≤r+pr​−cr​. The supplier's profit, by contrast, need not be maximized at Q0Q_0Q0​ (the book gives a normal example where Q0Q_0Q0​ is a local minimum for δ=0.1\delta = 0.1δ=0.1), so the contract coordinates only under forced compliance.

Formalization Note Only a continuous distribution function and finite mean are assumed: the derivative (r+pr−w−cr)Fˉ(Q)−(w+cr−v)(1−δ)F((1−δ)Q)(r + p_r - w - c_r)\bar F(Q) - (w + c_r - v)(1 - \delta)F((1 - \delta)Q)(r+pr​−w−cr​)Fˉ(Q)−(w+cr​−v)(1−δ)F((1−δ)Q) is nonincreasing without a density. At δ=1\delta = 1δ=1 the retailer's profit is constant in QQQ and Q0Q_0Q0​ is a maximizer among equals.

Preamble
import Definitions.Def_SupplyChainTheory_contracts
Formal statement
namespace SupplyChainTheory

theorem quantity_flex_retailer (P : ContractData) (D : MeasureTheory.Measure ℝ) [MeasureTheory.IsProbabilityMeasure D]
    [MeasureTheory.NullSingletonClass D] (hD : MeasureTheory.Integrable (fun x => x) D) (delta : ℝ) (hd0 : 0 ≤ delta)
    (hd1 : delta ≤ 1) (Q0 : ℝ) (h0 : IsMaxOn (chainProfit P D) Set.univ Q0) :
    IsMaxOn (retailerProfit P D
      (quantityFlexTransfer P D (quantityFlexPrice P D Q0 delta) delta)) Set.univ Q0 := by sorry

end SupplyChainTheory
Source
Lawrence V. Snyder and Zuo-Jun Max Shen, Fundamentals of Supply Chain Theory, 2nd ed., Wiley 2019, DOI 10.1002/9781119584445, p. 582, Sect. 14.8, Theorem 14.7 and its proof, Eq. (14.44)-(14.49); after Tsay (1999)
Human review
  • Endorsed by Shuze Chen · Sep 25, 2026

    Confirmed by the moderator at approval.

  • Endorsed by naimengye · Sep 25, 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