Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (3) — in push mode the retailer prebooks qqq with F(q)=(p−w^1)/(p−v)F(q) = (p - \hat w_1)/(p - v)F(q)=(p−w^1​)/(p−v)

Proved
CachonPushPull.Coordination.push_prebook_optimal

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

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

Let demand satisfy the standing assumptions and v<c<pv < c < pv<c<p. In push mode the supplier produces exactly the prebook, and the retailer's profit from a prebook qqq at price w^1\hat w_1w^1​ is

π^r(q,w^1)=(p−v)S(q)−(w^1−v)q.\hat\pi_r(q, \hat w_1) = (p - v)S(q) - (\hat w_1 - v)q .π^r​(q,w^1​)=(p−v)S(q)−(w^1​−v)q.

For every v<w^1≤pv < \hat w_1 \le pv<w^1​≤p there is q≥0q \ge 0q≥0 with

F(q)=p−w^1p−v,F(q) = \frac{p - \hat w_1}{p - v},F(q)=p−vp−w^1​​,

and every such qqq is the unique maximizer of π^r(⋅,w^1)\hat\pi_r(\cdot, \hat w_1)π^r​(⋅,w^1​) over [0,∞)[0, \infty)[0,∞).

In the proof of Theorem 7 this shows that, with w2=pw_2 = pw2​=p and w1≥cw_1 \ge cw1​≥c, the retailer never gains by prebooking more than qoq^oqo.

Formalization Note The paper writes "the optimal prebook is implicitly defined by"; the statement reads this as existence plus unique maximization. The paper's push contracts have w^1<p\hat w_1 < pw^1​<p; the statement also covers w^1=p\hat w_1 = pw^1​=p (where the optimal prebook is 000) and allows any w^1>v\hat w_1 > vw^1​>v.

Preamble
import Mathlib
import Definitions.Def_CachonPushPull_Coordination_Game
Formal statement
namespace CachonPushPull.Coordination

open MeasureTheory ProbabilityTheory

/-- Eq. (3), p. 227: in push mode (the supplier produces exactly the prebook) the retailer's
profit is `π̂_r(q, ŵ₁) = (p - v) S(q) - (ŵ₁ - v) q`. For every prebook price `v < ŵ₁ ≤ p` a
prebook `q ≥ 0` with `F(q) = (p - ŵ₁)/(p - v)` exists, and every such `q` is the unique maximizer
of `π̂_r(·, ŵ₁)` over `[0, ∞)`. -/
theorem push_prebook_optimal (μ : Measure ℝ) [IsProbabilityMeasure μ] (f : ℝ → ℝ)
    (hD : DemandModel μ f) (p c v : ℝ) (hvc : v < c) (hcp : c < p)
    (w : ℝ) (hvw : v < w) (hwp : w ≤ p) :
    (∃ q : ℝ, 0 ≤ q ∧ cdf μ q = (p - w) / (p - v)) ∧
    ∀ q : ℝ, 0 ≤ q → cdf μ q = (p - w) / (p - v) →
      ∀ y : ℝ, 0 ≤ y → y ≠ q →
        (p - v) * S μ y - (w - v) * y < (p - v) * S μ q - (w - v) * q := by sorry

end CachonPushPull.Coordination
Source
Cachon, The Allocation of Inventory Risk in a Supply Chain: Push, Pull, and Advance-Purchase Discount Contracts, Management Science 50(2), 2004, p. 227, Section 4.2, Eq. (3)
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 cdf F(x)=μ((−∞,x])F(x)=\mu((-\infty,x])F(x)=μ((−∞,x]);
  • f:R→Rf:\mathbb{R}\to\mathbb{R}f:R→R be a function;
  • p,c,vp, c, vp,c,v be real numbers with v<c<pv < c < pv<c<p;
  • www be a real number with v<w≤pv < w \le pv<w≤p.

Hypotheses on (μ,f)(\mu, f)(μ,f). The same four conditions as before:

  • 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,∞);
  • y↦yf(y)/(1−F(y))y\mapsto y f(y)/(1-F(y))y↦yf(y)/(1−F(y)) has strictly positive derivative at every x>0x>0x>0.

Objects. With S(q)=q−∫0qFS(q) = q - \int_0^q FS(q)=q−∫0q​F, the statement uses the explicit function

h(y)=(p−v) S(y)−(w−v) y.h(y) = (p-v)\,S(y) - (w - v)\,y .h(y)=(p−v)S(y)−(w−v)y.

Conclusion. Both of the following hold:

  1. A critical quantity exists. There is q≥0q \ge 0q≥0 with
F(q)=p−wp−v.F(q) = \frac{p-w}{p-v}.F(q)=p−vp−w​.
  1. Strict optimality. For every such q≥0q \ge 0q≥0 and every y≥0y \ge 0y≥0 with y≠qy \ne qy=q:
h(y)<h(q).h(y) < h(q).h(y)<h(q).

Degenerate cases.

  • The cost is otherwise unused. ccc appears only through v<c<pv < c < pv<c<p, and www is not required to satisfy w≥cw \ge cw≥c.
  • No division by zero. p−v>0p - v > 0p−v>0, so the ratio lies in [0,1)[0,1)[0,1).
  • Boundary w=pw = pw=p. The ratio is 000 and the maximiser is q=0q = 0q=0.
  • Stated as a formula. The claim is written directly in terms of hhh over y≥0y \ge 0y≥0, not through any game or contract definition. It says nothing about y<0y < 0y<0.
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