Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 7 — advance-purchase discounts with w2=pw_2 = pw2​=p are Pareto, the Pareto set coordinates the chain, and any division of Πo\Pi^oΠo is achievable

Proved
CachonPushPull.Coordination.apd_pareto_coordinates

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

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

Let demand satisfy the standing assumptions (F(0)=0F(0) = 0F(0)=0, FFF strictly increasing on [0,∞)[0,\infty)[0,∞) with a density on (0,∞)(0,\infty)(0,∞), IGFR), let v<c<pv < c < pv<c<p, and let qoq^oqo satisfy F(qo)=(p−c)/(p−v)F(q^o) = (p - c)/(p - v)F(qo)=(p−c)/(p−v), with Πo=Π(qo)\Pi^o = \Pi(q^o)Πo=Π(qo) the supply chain's optimal expected profit. Contracts are pairs {w1,w2}\{w_1, w_2\}{w1​,w2​} of wholesale prices, compared among the push, pull and advance-purchase discount contracts; outcomes of a contract are the prebook–production pairs (y,q)(y, q)(y,q) in which the supplier best-responds to the prebook and the retailer prebooks optimally anticipating that response. Then:

  1. every advance-purchase discount contract with w2=pw_2 = pw2​=p and c≤w1≤w2c \le w_1 \le w_2c≤w1​≤w2​ has an outcome and is Pareto;
  2. every outcome (y,q)(y, q)(y,q) of every Pareto contract has efficiency 100%100\%100%:
Π(q)=Πo;\Pi(q) = \Pi^o ;Π(q)=Πo;
  1. any division of the supply chain's profit is achievable: for every r∈[0,Πo]r \in [0, \Pi^o]r∈[0,Πo] there are w1∈[c,p]w_1 \in [c, p]w1​∈[c,p] and an outcome (y,q)(y, q)(y,q) of {w1,p}\{w_1, p\}{w1​,p} with πr(y,q)=r\pi_r(y, q) = rπr​(y,q)=r and πs(y,q)=Πo−r\pi_s(y, q) = \Pi^o - rπs​(y,q)=Πo−r.

The theorem shows that supply chain coordination with an arbitrary allocation of profit is achievable with wholesale-price contracts alone: the at-once price w2=pw_2 = pw2​=p gives the supplier the chain's marginal incentive for capacity, and the prebook discount w1w_1w1​ moves profit between the firms without distorting either firm's decision.

Formalization Note "Includes all" is read as membership of every such contract in the Pareto set, and each of its outcomes must be undominated. The efficiency sentence ranges over every Pareto contract, not only the w2=pw_2 = pw2​=p family. "Any division is achievable" is read as surjectivity of the payoff split onto [0,Πo][0, \Pi^o][0,Πo]. The contract classes carry the lower bound w1≥cw_1 \ge cw1​≥c (see the Game definition). The theorem does not use the IGFR assumption; it is kept so the series shares one demand model.

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

open MeasureTheory ProbabilityTheory

/-- Theorem 7, p. 233. Among the push, pull and advance-purchase discount contracts:
1. every contract `{w₁, p}` with `c ≤ w₁ ≤ p` has an outcome and is Pareto;
2. every outcome `(y, q)` of every Pareto contract is efficient: `Π(q) = Π^o = Π(q^o)`;
3. any division of `Π^o` is achievable: for every `r ∈ [0, Π^o]` some contract `{w₁, p}` with
   `c ≤ w₁ ≤ p` has an outcome giving the retailer `r` and the supplier `Π^o - r`. -/
theorem apd_pareto_coordinates (μ : Measure ℝ) [IsProbabilityMeasure μ] (f : ℝ → ℝ)
    (hD : DemandModel μ f) (p c v : ℝ) (hvc : v < c) (hcp : c < p)
    (qo : ℝ) (hqo : cdf μ qo = (p - c) / (p - v)) :
    (∀ w₁ : ℝ, c ≤ w₁ → w₁ ≤ p →
      (∃ y q : ℝ, IsOutcome μ p c v w₁ p y q) ∧ IsPareto μ p c v w₁ p) ∧
    (∀ w₁ w₂ : ℝ, IsPareto μ p c v w₁ w₂ →
      ∀ y q : ℝ, IsOutcome μ p c v w₁ w₂ y q →
        chainProfit μ p c v q = chainProfit μ p c v qo) ∧
    ∀ r : ℝ, 0 ≤ r → r ≤ chainProfit μ p c v qo →
      ∃ w₁ : ℝ, c ≤ w₁ ∧ w₁ ≤ p ∧ ∃ y q : ℝ, IsOutcome μ p c v w₁ p y q ∧
        retailerProfit μ p v w₁ p y q = r ∧
        supplierProfit μ p c v w₁ p y q = chainProfit μ p c v qo - r := 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. 233, Section 4.5, Theorem 7
Read-back

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

The statement is about a probability distribution μ\muμ on the real line and a real function fff. Together they must satisfy a hypothesis DemandModel(μ,f)\mathrm{DemandModel}(\mu, f)DemandModel(μ,f). There are three real parameters p,c,vp, c, vp,c,v with

v<c<p,v < c < p,v<c<p,

and a real number qoq^oqo with

Fμ(qo)=p−cp−v.F_\mu(q^o) = \frac{p - c}{p - v}.Fμ​(qo)=p−vp−c​.

Here Fμ(x)=μ((−∞,x])F_\mu(x) = \mu\big((-\infty, x]\big)Fμ​(x)=μ((−∞,x]) is the cumulative distribution function of μ\muμ. The function fff appears only inside DemandModel\mathrm{DemandModel}DemandModel and nowhere in the conclusion.

The statement uses six names from a definitions bundle that was not included with the code: DemandModel\mathrm{DemandModel}DemandModel, IsOutcome\mathrm{IsOutcome}IsOutcome, IsPareto\mathrm{IsPareto}IsPareto, chainProfit\mathrm{chainProfit}chainProfit, retailerProfit\mathrm{retailerProfit}retailerProfit and supplierProfit\mathrm{supplierProfit}supplierProfit. This read-back cannot unfold them. It records only the arguments each one takes:

  • Π(q):=chainProfit(μ,p,c,v,q)\Pi(q) := \mathrm{chainProfit}(\mu, p, c, v, q)Π(q):=chainProfit(μ,p,c,v,q)
  • IsOutcome(μ,p,c,v,w1,w2,y,q)\mathrm{IsOutcome}(\mu, p, c, v, w_1, w_2, y, q)IsOutcome(μ,p,c,v,w1​,w2​,y,q)
  • IsPareto(μ,p,c,v,w1,w2)\mathrm{IsPareto}(\mu, p, c, v, w_1, w_2)IsPareto(μ,p,c,v,w1​,w2​)
  • R(w1,w2,y,q):=retailerProfit(μ,p,v,w1,w2,y,q)R(w_1, w_2, y, q) := \mathrm{retailerProfit}(\mu, p, v, w_1, w_2, y, q)R(w1​,w2​,y,q):=retailerProfit(μ,p,v,w1​,w2​,y,q), which does not take ccc as an argument
  • S(w1,w2,y,q):=supplierProfit(μ,p,c,v,w1,w2,y,q)S(w_1, w_2, y, q) := \mathrm{supplierProfit}(\mu, p, c, v, w_1, w_2, y, q)S(w1​,w2​,y,q):=supplierProfit(μ,p,c,v,w1​,w2​,y,q)

Under these hypotheses, the statement asserts that all three of the following hold together:

  1. Existence and Pareto property when the second price is ppp. Take any real w1w_1w1​ with c≤w1≤pc \le w_1 \le pc≤w1​≤p (both endpoints included). Then there are real numbers y,qy, qy,q with IsOutcome(μ,p,c,v,w1,p,y,q)\mathrm{IsOutcome}(\mu,p,c,v,w_1,p,y,q)IsOutcome(μ,p,c,v,w1​,p,y,q), and IsPareto(μ,p,c,v,w1,p)\mathrm{IsPareto}(\mu,p,c,v,w_1,p)IsPareto(μ,p,c,v,w1​,p) holds. In both predicates the second price argument w2w_2w2​ is set equal to ppp.

  2. Every outcome of a Pareto pair earns the same chain profit. Take any real w1,w2w_1, w_2w1​,w2​ with no range restriction, such that IsPareto(μ,p,c,v,w1,w2)\mathrm{IsPareto}(\mu,p,c,v,w_1,w_2)IsPareto(μ,p,c,v,w1​,w2​) holds. Take any real y,qy, qy,q with IsOutcome(μ,p,c,v,w1,w2,y,q)\mathrm{IsOutcome}(\mu,p,c,v,w_1,w_2,y,q)IsOutcome(μ,p,c,v,w1​,w2​,y,q). Then

Π(q)=Π(qo).\Pi(q) = \Pi(q^o).Π(q)=Π(qo).

This is an equality of chain-profit values. It does not say that q=qoq = q^oq=qo.

  1. Any split of Π(qo)\Pi(q^o)Π(qo) can be reached. Take any real rrr with 0≤r≤Π(qo)0 \le r \le \Pi(q^o)0≤r≤Π(qo). Then there are a real w1w_1w1​ with c≤w1≤pc \le w_1 \le pc≤w1​≤p and real numbers y,qy, qy,q such that all of the following hold:
IsOutcome(μ,p,c,v,w1,p,y,q),R(w1,p,y,q)=r,S(w1,p,y,q)=Π(qo)−r.\mathrm{IsOutcome}(\mu,p,c,v,w_1,p,y,q),\qquad R(w_1,p,y,q) = r,\qquad S(w_1,p,y,q) = \Pi(q^o) - r.IsOutcome(μ,p,c,v,w1​,p,y,q),R(w1​,p,y,q)=r,S(w1​,p,y,q)=Π(qo)−r.

Degenerate cases.

  • The quotient. Because v<c<pv < c < pv<c<p, the value (p−c)/(p−v)(p-c)/(p-v)(p−c)/(p−v) lies strictly between 000 and 111. No division by zero can occur.
  • The hypothesis on qoq^oqo can fail. If the distribution function FμF_\muFμ​ jumps over the value (p−c)/(p−v)(p-c)/(p-v)(p−c)/(p−v), for example when μ\muμ has an atom, then no qoq^oqo satisfies it. For such μ\muμ the theorem says nothing (it holds vacuously).
  • qoq^oqo need not be unique. If FμF_\muFμ​ is flat at that level, several values of qoq^oqo satisfy the hypothesis. The conclusion is then asserted for each of them, with Π(qo)\Pi(q^o)Π(qo) evaluated at whichever one is chosen.
  • DemandModel\mathrm{DemandModel}DemandModel. Whether it can be satisfied at all, and whether it restricts μ\muμ to nonnegative values, cannot be determined from this code. If it can never be satisfied, the whole theorem holds vacuously.
  • Unrestricted numbers. The variables yyy and qqq range over all reals, negative values included. Part 2 places no ordering condition on w1w_1w1​ and w2w_2w2​.
  • When Π(qo)\Pi(q^o)Π(qo) is small. If Π(qo)<0\Pi(q^o) < 0Π(qo)<0, no rrr satisfies the condition in part 3, so part 3 holds vacuously. If Π(qo)=0\Pi(q^o) = 0Π(qo)=0, part 3 requires only the split r=0r = 0r=0, with the supplier's profit equal to 000.
  • Endpoints. In parts 1 and 3, w1w_1w1​ may equal ccc or ppp.
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