Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§5.1 — the retailer is never worse off with an advance-purchase discount than with pull

Proved
CachonPushPull.ShippingCost.retailer_never_worse

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

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

Fix an at-once price w2<pw_2 < pw2​<p and a shipping cost τ>0\tau > 0τ>0, and let w1≤w2w_1 \le w_2w1​≤w2​. For every outcome (y,q)(y, q)(y,q) of the contract {w1,w2}\{w_1, w_2\}{w1​,w2​} and every outcome (y0,q0)(y_0, q_0)(y0​,q0​) of the pull contract {w2,w2}\{w_2, w_2\}{w2​,w2​},

πr{w2,w2}(y0,q0)≤πr{w1,w2}(y,q),\pi_r^{\{w_2, w_2\}}(y_0, q_0) \le \pi_r^{\{w_1, w_2\}}(y, q),πr{w2​,w2​}​(y0​,q0​)≤πr{w1​,w2​}​(y,q),

where the superscript names the contract under which the retailer's profit is computed.

So an advance-purchase discount (w1<w2w_1 < w_2w1​<w2​) can only help the retailer relative to a pull contract with the same at-once price; the question Theorem 8 answers is whether it can also help the supplier.

Formalization Note "Never worse off" is read as: every outcome of the discounted contract is at least as good for the retailer as every outcome of the pull contract.

Preamble
import Mathlib
import Definitions.Def_CachonPushPull_ShippingCost_Game
Formal statement
namespace CachonPushPull.ShippingCost

open MeasureTheory ProbabilityTheory

/-- §5.1, p. 234: "The retailer is clearly never worse off with an advance-purchase discount
(`w₁ < w₂`) relative to a pull contract (`w₁ = w₂`) for a fixed `w₂`." For a fixed `w₂ < p`
and any `w₁ ≤ w₂`, the retailer's profit in every outcome of `{w₁, w₂}` is at least his profit in
every outcome of the pull contract `{w₂, w₂}`. -/
theorem retailer_never_worse (μ : Measure ℝ) [IsProbabilityMeasure μ] (f : ℝ → ℝ)
    (hD : DemandModel μ f) (p c v : ℝ) (hvc : v < c) (hcp : c < p)
    (τ : ℝ) (hτ : 0 < τ) (w₁ w₂ : ℝ) (hw₁₂ : w₁ ≤ w₂) (hw₂p : w₂ < p) :
    ∀ y q y₀ q₀ : ℝ, IsOutcome μ p c v τ w₁ w₂ y q → IsOutcome μ p c v τ w₂ w₂ y₀ q₀ →
      retailerProfit μ p v w₂ w₂ y₀ q₀ ≤ retailerProfit μ p v w₁ w₂ y q := by sorry

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

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

Setting. Let μ\muμ be a probability measure on R\mathbb{R}R with F(x)=μ((−∞,x])F(x)=\mu((-\infty,x])F(x)=μ((−∞,x]). Let fff be such that (μ,f)(\mu,f)(μ,f) satisfies the demand model:

  • F(0)=0F(0)=0F(0)=0;
  • FFF is strictly increasing on [0,∞)[0,\infty)[0,∞);
  • F′=fF'=fF′=f on (0,∞)(0,\infty)(0,∞);
  • yf(y)/(1−F(y))yf(y)/(1-F(y))yf(y)/(1−F(y)) has a strictly positive derivative on (0,∞)(0,\infty)(0,∞).

Let p,c,v,τ,w1,w2p,c,v,\tau,w_1,w_2p,c,v,τ,w1​,w2​ be reals with

v<c<p,τ>0,w1≤w2<p.v<c<p,\qquad \tau>0,\qquad w_1\le w_2<p.v<c<p,τ>0,w1​≤w2​<p.

Several relations are not assumed:

  • no lower bound on w1w_1w1​ (it may lie below vvv or be negative);
  • no relation between w2w_2w2​ and ccc, vvv or τ\tauτ.

Conclusion. Take any reals y,q,y0,q0y,q,y_0,q_0y,q,y0​,q0​ such that:

  • (y,q)(y,q)(y,q) is an outcome of the contract {w1,w2}\{w_1,w_2\}{w1​,w2​};
  • (y0,q0)(y_0,q_0)(y0​,q0​) is an outcome of the pull contract {w2,w2}\{w_2,w_2\}{w2​,w2​}.

Here an outcome is a prebook ≥0\ge0≥0, followed by a supplier best response that maximises πs\pi_sπs​ over productions ≥\ge≥ the prebook. No other nonnegative prebook paired with any of its supplier best responses gives the retailer more. For such (y,q)(y,q)(y,q) and (y0,q0)(y_0,q_0)(y0​,q0​),

πrw2,w2(y0,q0)≤πrw1,w2(y,q),\pi_r^{w_2,w_2}(y_0,q_0)\le\pi_r^{w_1,w_2}(y,q),πrw2​,w2​​(y0​,q0​)≤πrw1​,w2​​(y,q),

where πra,b(y,q)=−(a−v)y+(p−v)S(y)+(p−b)(S(q)−S(y))\pi_r^{a,b}(y,q)=-(a-v)y+(p-v)S(y)+(p-b)(S(q)-S(y))πra,b​(y,q)=−(a−v)y+(p−v)S(y)+(p−b)(S(q)−S(y)).

Degenerate cases. The statement says nothing about whether outcomes exist. If either contract has no outcome, it holds vacuously. When w1=w2w_1=w_2w1​=w2​ it compares any two outcomes of the same contract, and so asserts that all outcomes of {w2,w2}\{w_2,w_2\}{w2​,w2​} give the retailer equal profit. The case w2−τ<vw_2-\tau<vw2​−τ<v, where the supplier's net at-once margin over salvage is negative, is permitted.

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