Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 8 — with at-once shipping costs, an advance-purchase discount Pareto-improves a pull contract

Proved
CachonPushPull.ShippingCost.apd_pareto_improves_pull

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

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

Consider the model of §3 with v<c<pv < c < pv<c<p, in which the supplier pays a shipping and handling cost τ>0\tau > 0τ>0 on every unit of an at-once order (§5.1). Fix the at-once price w2<pw_2 < pw2​<p and suppose the retailer does not prebook under the pull contract {w2,w2}\{w_2, w_2\}{w2​,w2​}: prebooking nothing is his unique best reply, and the supplier then produces a best response q0q_0q0​ to the prebook 000.

Then there is an advance-purchase discount w1w_1w1​ with

c<w1<w2c < w_1 < w_2c<w1​<w2​

such that the contract {w1,w2}\{w_1, w_2\}{w1​,w2​} has an outcome, and every outcome (y,q)(y, q)(y,q) of {w1,w2}\{w_1, w_2\}{w1​,w2​} is a strict Pareto improvement on the pull outcome:

πr{w2,w2}(0,q0)<πr{w1,w2}(y,q),πs{w2,w2}(0,q0)<πs{w1,w2}(y,q),\pi_r^{\{w_2,w_2\}}(0, q_0) < \pi_r^{\{w_1,w_2\}}(y, q), \qquad \pi_s^{\{w_2,w_2\}}(0, q_0) < \pi_s^{\{w_1,w_2\}}(y, q),πr{w2​,w2​}​(0,q0​)<πr{w1​,w2​}​(y,q),πs{w2​,w2​}​(0,q0​)<πs{w1​,w2​}​(y,q),

for every supplier best response q0q_0q0​ to the prebook 000 under {w2,w2}\{w_2, w_2\}{w2​,w2​}.

So once at-once orders are costly to ship, a pull contract is never in the Pareto set: the supplier can offer a small discount that induces the retailer to take some inventory in advance, saving the shipping cost on it, and both firms gain.

Formalization Note "The retailer does not prebook when w1=w2w_1 = w_2w1​=w2​" is read as "y=0y = 0y=0 is the retailer's unique best reply" (predicate PullNoPrebook); with a tie the conclusion can fail, and this strict reading is the proof's "w2w_2w2​ is sufficiently high". "Profit increases for both" is read as strict increase for both firms, in every outcome of the discounted contract, so no favourable tie-breaking is assumed. The conclusion c<w1c < w_1c<w1​ is a strengthening of "advance-purchase discount" (w1<w2w_1 < w_2w1​<w2​), which follows from the premise. No positivity of the density at 000 is assumed. The IGFR assumption is part of the model but is not needed.

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

open MeasureTheory ProbabilityTheory

/-- Theorem 8, p. 234. Let the supplier incur a shipping and handling cost `τ > 0` per at-once
unit (§5.1), and fix the at-once price `w₂ < p`. If the retailer does not prebook under the pull
contract `{w₂, w₂}` (`y = 0` is his unique best reply, `PullNoPrebook`), then there is an
advance-purchase discount `c < w₁ < w₂` such that `{w₁, w₂}` has an outcome, and every outcome
`(y, q)` of `{w₁, w₂}` gives both the retailer and the supplier strictly more profit than the
pull outcome `(0, q₀)`, for every supplier best response `q₀` to the prebook `0` under
`{w₂, w₂}`. -/
theorem apd_pareto_improves_pull (μ : Measure ℝ) [IsProbabilityMeasure μ] (f : ℝ → ℝ)
    (hD : DemandModel μ f) (p c v : ℝ) (hvc : v < c) (hcp : c < p)
    (τ : ℝ) (hτ : 0 < τ) (w₂ : ℝ) (hw₂p : w₂ < p)
    (hpull : PullNoPrebook μ p c v τ w₂) :
    ∃ w₁ : ℝ, c < w₁ ∧ w₁ < w₂ ∧
      (∃ y q : ℝ, IsOutcome μ p c v τ w₁ w₂ y q) ∧
      ∀ y q : ℝ, IsOutcome μ p c v τ w₁ w₂ y q →
        ∀ q₀ : ℝ, IsSupplierBestResponse μ c v τ w₂ w₂ 0 q₀ →
          retailerProfit μ p v w₂ w₂ 0 q₀ < retailerProfit μ p v w₁ w₂ y q ∧
          supplierProfit μ c v τ w₂ w₂ 0 q₀ < supplierProfit μ c 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, Theorem 8
Read-back

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

Let μ\muμ be a probability measure on the real line R\mathbb{R}R, and let f:R→Rf : \mathbb{R} \to \mathbb{R}f:R→R be a real function. Assume the predicate DemandModel(μ,f)\mathrm{DemandModel}(\mu, f)DemandModel(μ,f) holds. This predicate comes from the imported definitions bundle, and its body is not shown with this declaration, so it cannot be unfolded here. The function fff appears only in this hypothesis and nowhere in the conclusion.

Let p,c,v,τ,w2p, c, v, \tau, w_2p,c,v,τ,w2​ be real numbers that satisfy:

v<c<p,τ>0,w2<p.v < c < p, \qquad \tau > 0, \qquad w_2 < p.v<c<p,τ>0,w2​<p.

Nothing else constrains w2w_2w2​. In particular, w2w_2w2​ is not required to exceed ccc or vvv.

Assume also the predicate PullNoPrebook(μ,p,c,v,τ,w2)\mathrm{PullNoPrebook}(\mu, p, c, v, \tau, w_2)PullNoPrebook(μ,p,c,v,τ,w2​). It too is defined in the bundle and not shown here. Its arguments do not include fff.

The statement then asserts that some real number w1w_1w1​ has all of the following properties:

  1. c<w1<w2c < w_1 < w_2c<w1​<w2​.
  2. At least one pair of reals (y,q)(y, q)(y,q) satisfies IsOutcome(μ,p,c,v,τ,w1,w2,y,q)\mathrm{IsOutcome}(\mu, p, c, v, \tau, w_1, w_2, y, q)IsOutcome(μ,p,c,v,τ,w1​,w2​,y,q). This predicate is defined in the bundle.
  3. Take any pair of reals (y,q)(y, q)(y,q) with IsOutcome(μ,p,c,v,τ,w1,w2,y,q)\mathrm{IsOutcome}(\mu, p, c, v, \tau, w_1, w_2, y, q)IsOutcome(μ,p,c,v,τ,w1​,w2​,y,q). Take any real q0q_0q0​ with IsSupplierBestResponse(μ,c,v,τ,w2,w2,0,q0)\mathrm{IsSupplierBestResponse}(\mu, c, v, \tau, w_2, w_2, 0, q_0)IsSupplierBestResponse(μ,c,v,τ,w2​,w2​,0,q0​). This predicate is also defined in the bundle, and its arguments are both price slots set to w2w_2w2​, the fourth-to-last argument set to 000, and q0q_0q0​. Then both of these strict inequalities hold:
retailerProfit(μ,p,v,w2,w2,0,q0)<retailerProfit(μ,p,v,w1,w2,y,q),\mathrm{retailerProfit}(\mu, p, v, w_2, w_2, 0, q_0) < \mathrm{retailerProfit}(\mu, p, v, w_1, w_2, y, q),retailerProfit(μ,p,v,w2​,w2​,0,q0​)<retailerProfit(μ,p,v,w1​,w2​,y,q), supplierProfit(μ,c,v,τ,w2,w2,0,q0)<supplierProfit(μ,c,v,τ,w1,w2,y,q).\mathrm{supplierProfit}(\mu, c, v, \tau, w_2, w_2, 0, q_0) < \mathrm{supplierProfit}(\mu, c, v, \tau, w_1, w_2, y, q).supplierProfit(μ,c,v,τ,w2​,w2​,0,q0​)<supplierProfit(μ,c,v,τ,w1​,w2​,y,q).

The two profit functions are defined in the bundle and not shown here. As written, retailerProfit\mathrm{retailerProfit}retailerProfit takes no ccc and no τ\tauτ argument, and supplierProfit\mathrm{supplierProfit}supplierProfit takes no ppp argument.

The quantified variables yyy, qqq and q0q_0q0​ range over all of R\mathbb{R}R, including negative values. Any restriction to nonnegative values would have to come from the bundle predicates. The variable w1w_1w1​ is chosen once and must work for every such pair (y,q)(y, q)(y,q) and every such q0q_0q0​ at the same time.

The degenerate cases the hypotheses permit are as follows.

  • Empty or one-element types. No type here can be empty. All variables are real, and μ\muμ is a probability measure, so it has total mass 111. A Dirac point mass satisfies this, so μ\muμ may be degenerate unless DemandModel\mathrm{DemandModel}DemandModel excludes it.
  • No price floor. Only w2<pw_2 < pw2​<p is required. If w2≤cw_2 \le cw2​≤c, no w1w_1w1​ can satisfy c<w1<w2c < w_1 < w_2c<w1​<w2​, so the conclusion is false. In that case the statement can hold only if DemandModel(μ,f)\mathrm{DemandModel}(\mu, f)DemandModel(μ,f) and PullNoPrebook(μ,p,c,v,τ,w2)\mathrm{PullNoPrebook}(\mu, p, c, v, \tau, w_2)PullNoPrebook(μ,p,c,v,τ,w2​) cannot both be true. Whether they can is decided by definitions not shown here.
  • Vacuous clause. If no real q0q_0q0​ satisfies IsSupplierBestResponse(μ,c,v,τ,w2,w2,0,q0)\mathrm{IsSupplierBestResponse}(\mu, c, v, \tau, w_2, w_2, 0, q_0)IsSupplierBestResponse(μ,c,v,τ,w2​,w2​,0,q0​), the profit comparisons in item 3 hold vacuously. The only remaining requirements are then c<w1<w2c < w_1 < w_2c<w1​<w2​ and the existence of some outcome.
  • Vacuous theorem. If DemandModel\mathrm{DemandModel}DemandModel or PullNoPrebook\mathrm{PullNoPrebook}PullNoPrebook can never be satisfied, the whole theorem is vacuously true.
  • Default values. Nothing in the statement itself divides, subtracts in N\mathbb{N}N, or takes a supremum. Any expectations or integrals inside the profit functions and predicates might use default values, for example the value 000 when a function is not integrable. That would depend on the bundle's definitions, which are not visible here, so it cannot be determined from this declaration.
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