Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§6.4.1, p. 43 — under the quantity discount w_d the retailer earns π_r(q, e°) = λΠ(q, e°)

Proved
CachonCoord.EffortNewsvendor.p43_quantity_discount_profit

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

effortnewsvendorp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1quantity-discountsupply-chain

In the effort model of §6.4.1, let eoe^oeo be an effort level and λ∈[0,1]\lambda \in [0, 1]λ∈[0,1], and let the retailer pay Td(q)=wd(q)qT_d(q) = w_d(q)qTd​(q)=wd​(q)q with the quantity discount schedule

wd(q)=(1−λ)p S(q,eo)q+λc−(1−λ)g(eo)q.w_d(q) = (1 - \lambda)p\,\frac{S(q, e^o)}{q} + \lambda c - (1 - \lambda)\frac{g(e^o)}{q}.wd​(q)=(1−λ)pqS(q,eo)​+λc−(1−λ)qg(eo)​.

Then for every q>0q > 0q>0 and every effort eee,

πr(q,e)=pS(q,e)−(1−λ)pS(q,eo)−λcq−g(e)+(1−λ)g(eo),\pi_r(q, e) = pS(q, e) - (1 - \lambda)pS(q, e^o) - \lambda cq - g(e) + (1 - \lambda)g(e^o),πr​(q,e)=pS(q,e)−(1−λ)pS(q,eo)−λcq−g(e)+(1−λ)g(eo),

and in particular

πr(q,eo)=λpS(q,eo)−λcq−λg(eo)=λΠ(q,eo).\pi_r(q, e^o) = \lambda pS(q, e^o) - \lambda cq - \lambda g(e^o) = \lambda \Pi(q, e^o).πr​(q,eo)=λpS(q,eo)−λcq−λg(eo)=λΠ(q,eo).

The retailer keeps all realized revenue and bears all of his effort cost, while his order is charged against expected revenue at eoe^oeo. This is why the quantity discount, alone among the section's contracts, aligns both decisions.

Formalization Note The sign of the g(eo)/qg(e^o)/qg(eo)/q term is the one under which the page's two displays of πr\pi_rπr​ hold; the page prints +(1−λ)g(eo)/q+(1 - \lambda)g(e^o)/q+(1−λ)g(eo)/q (see the definition's note).

Preamble
import Mathlib
import Definitions.Def_CachonCoord_EffortNewsvendor_Model
import Definitions.Def_CachonCoord_EffortNewsvendor_Contracts
Formal statement
namespace CachonCoord.EffortNewsvendor

/-- p. 43, the two displays of `π_r`: under the quantity discount `w_d` with `λ ∈ [0, 1]`, for
every `q > 0` and every effort `e`,
`π_r(q, e) = pS(q, e) − (1 − λ)pS(q, e°) − λcq − g(e) + (1 − λ)g(e°)`, and at `e = e°`,
`π_r(q, e°) = λpS(q, e°) − λcq − λg(e°) = λΠ(q, e°)`. -/
theorem p43_quantity_discount_profit (M : Model) (lam eo q e : ℝ) (hlam0 : 0 ≤ lam)
    (hlam1 : lam ≤ 1) (hq : 0 < q) :
    M.qdRetailerProfit lam eo q e =
        M.p * M.S q e - (1 - lam) * M.p * M.S q eo - lam * M.c * q - M.effortCost e
          + (1 - lam) * M.effortCost eo ∧
      M.qdRetailerProfit lam eo q eo =
        lam * M.p * M.S q eo - lam * M.c * q - lam * M.effortCost eo ∧
      M.qdRetailerProfit lam eo q eo = lam * M.Pi q eo := by sorry

end CachonCoord.EffortNewsvendor
Source
Cachon (2003), Supply Chain Coordination with Contracts, 3rd draft (Jan. 2003), §6.4.1, p. 43, the schedule w_d(q) and the two displays of π_r
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