Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§6.3.1, pp. 37–38 — the quantity discount w_d(q) keeps the price undistorted when g_s = 0 and makes q° optimal at p°

Proved
CachonCoord.PriceNewsvendor.quantity_discount

by mikedeng1 · Oct 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

coordinationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1pricingquantity-discountsupply-chain

Let (q∘,p∘)(q^\circ,p^\circ)(q∘,p∘) be an optimal feasible quantity-price pair of the integrated channel, and let λ∈[0,1]\lambda\in[0,1]λ∈[0,1]. Consider the quantity-discount schedule designed at p∘p^\circp∘,

wd(q)=((1−λ)(p∘−v+g)−gs)S(q,p∘)q+λ(c−v)−cr+v,w_d(q)=\bigl((1-\lambda)(p^\circ-v+g)-g_s\bigr)\frac{S(q,p^\circ)}{q}+\lambda(c-v)-c_r+v,wd​(q)=((1−λ)(p∘−v+g)−gs​)qS(q,p∘)​+λ(c−v)−cr​+v,

under which the retailer earns πr(q,wd(q),p)=(p−v+gr)S(q,p)−(wd(q)+cr−v)q−grμ(p)\pi_r(q,w_d(q),p)=(p-v+g_r)S(q,p)-(w_d(q)+c_r-v)q-g_r\mu(p)πr​(q,wd​(q),p)=(p−v+gr​)S(q,p)−(wd​(q)+cr​−v)q−gr​μ(p). Then:

  1. for every q≥0q\ge0q≥0 and admissible ppp, πr(q,wd(q),p)=(p−v+gr)S(q,p)−λ(c−v)q−grμ(p)−((1−λ)(p∘−v+g)−gs)S(q,p∘)\pi_r(q,w_d(q),p)=(p-v+g_r)S(q,p)-\lambda(c-v)q-g_r\mu(p)-\bigl((1-\lambda)(p^\circ-v+g)-g_s\bigr)S(q,p^\circ)πr​(q,wd​(q),p)=(p−v+gr​)S(q,p)−λ(c−v)q−gr​μ(p)−((1−λ)(p∘−v+g)−gs​)S(q,p∘);
  2. for every q≥0q\ge0q≥0, πr(q,wd(q),p∘)=λ(Π(q,p∘)+gμ(p∘))−grμ(p∘)\pi_r(q,w_d(q),p^\circ)=\lambda\bigl(\Pi(q,p^\circ)+g\mu(p^\circ)\bigr)-g_r\mu(p^\circ)πr​(q,wd​(q),p∘)=λ(Π(q,p∘)+gμ(p∘))−gr​μ(p∘);
  3. if gs=0g_s=0gs​=0, then for every q≥0q\ge0q≥0 the admissible prices that maximize πr(q,wd(q),⋅)\pi_r(q,w_d(q),\cdot)πr​(q,wd​(q),⋅) are exactly those that maximize Π(q,⋅)\Pi(q,\cdot)Π(q,⋅);
  4. given the price p∘p^\circp∘, the quantity q∘q^\circq∘ maximizes over q≥0q\ge0q≥0 both the retailer's profit πr(q,wd(q),p∘)\pi_r(q,w_d(q),p^\circ)πr​(q,wd​(q),p∘) and the supplier's profit πs(q,wd(q),p∘)=gsS(q,p∘)+(wd(q)−cs)q−gsμ(p∘)\pi_s(q,w_d(q),p^\circ)=g_sS(q,p^\circ)+(w_d(q)-c_s)q-g_s\mu(p^\circ)πs​(q,wd​(q),p∘)=gs​S(q,p∘)+(wd​(q)−cs​)q−gs​μ(p∘).

The quantity discount leaves all revenue with the retailer, so it does not distort the pricing decision when gs=0g_s=0gs​=0, and it coordinates the quantity decision once p∘p^\circp∘ is chosen.

Formalization Note The page's display for πr(q,wd(q),p∘)\pi_r(q,w_d(q),p^\circ)πr​(q,wd​(q),p∘) omits the factor λ\lambdaλ in front of Π(q,p∘)+gμ\Pi(q,p^\circ)+g\muΠ(q,p∘)+gμ; it is restored in item 2. The page writes the price-derivative equality ∂πr/∂p=∂Π/∂p\partial\pi_r/\partial p=\partial\Pi/\partial p∂πr​/∂p=∂Π/∂p (with its terms swapped on p. 37); item 3 states its consequence, equality of the price maximizers, which holds because πr−Π\pi_r-\Piπr​−Π does not depend on ppp when gs=0g_s=0gs​=0, even with a price-dependent mean. The page shows that p∘(q)p^\circ(q)p∘(q) is optimal for each qqq and that q∘q^\circq∘ is optimal given p∘p^\circp∘; it does not claim that (q∘,p∘)(q^\circ,p^\circ)(q∘,p∘) jointly maximizes the retailer's profit, and neither does this statement. At q=0q=0q=0 the junk value wd(0)w_d(0)wd​(0) is multiplied by q=0q=0q=0, and S(0,p)=0S(0,p)=0S(0,p)=0 for nonnegative demand.

Preamble
import Mathlib
import Definitions.Def_CachonCoord_PriceNewsvendor_Model
Formal statement
namespace CachonCoord.PriceNewsvendor

/-- The quantity discount of pp. 37–38, designed at the price component `p°` of an integrated
optimum `(q°, p°)`. (1) The retailer's profit identity of p. 38. (2) At `p = p°` the retailer
earns `λ(Π(q, p°) + gμ(p°)) - g_r μ(p°)` (the page's display omits the factor `λ`).
(3) If `g_s = 0`, for every `q` the retailer's optimal prices are exactly the chain's.
(4) Given `p°`, `q°` is optimal for the retailer and for the supplier. Joint optimality of
`(q°, p°)` for the retailer is not claimed (the page does not claim it). -/
theorem quantity_discount (M : Model) (lam : ℝ) (opt : ℝ × ℝ)
    (hlam0 : 0 ≤ lam) (hlam1 : lam ≤ 1)
    (hopt_feasible : opt ∈ M.feasible)
    (hopt : IsMaxOn (fun x : ℝ × ℝ => M.Pi x.1 x.2) M.feasible opt) :
    (∀ q : ℝ, 0 ≤ q → ∀ p ∈ M.demand.prices,
      M.qdRetailer lam opt.2 q p =
        (p - M.v + M.gr) * M.S q p - lam * (M.c - M.v) * q - M.gr * M.mu p -
          ((1 - lam) * (opt.2 - M.v + M.g) - M.gs) * M.S q opt.2) ∧
    (∀ q : ℝ, 0 ≤ q →
      M.qdRetailer lam opt.2 q opt.2 =
        lam * (M.Pi q opt.2 + M.g * M.mu opt.2) - M.gr * M.mu opt.2) ∧
    (M.gs = 0 → ∀ q : ℝ, 0 ≤ q → ∀ p ∈ M.demand.prices,
      (IsMaxOn (fun t => M.qdRetailer lam opt.2 q t) M.demand.prices p ↔
        IsMaxOn (fun t => M.Pi q t) M.demand.prices p)) ∧
    IsMaxOn (fun q => M.qdRetailer lam opt.2 q opt.2) (Set.Ici 0) opt.1 ∧
    IsMaxOn (fun q => M.qdSupplier lam opt.2 q opt.2) (Set.Ici 0) opt.1 := by sorry

end CachonCoord.PriceNewsvendor
Source
Cachon (2003), Supply Chain Coordination with Contracts, 3rd draft (Jan. 2003), §6.3.1, quantity-discount displays, pp. 37–38
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 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