Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (18), p. 42 — the optimal effort e°(q) satisfies p ∂S(q, e°(q))/∂e − g′(e°(q)) = 0

Proved
CachonCoord.EffortNewsvendor.eq_18

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

effortfirst-order-conditionnewsvendorp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1supply-chain

In the effort model of §6.4.1, fix an order quantity q≥0q \ge 0q≥0 and suppose an effort level eo(q)>0e^o(q) > 0eo(q)>0 maximizes the channel profit e↦Π(q,e)=pS(q,e)−cq−g(e)e \mapsto \Pi(q, e) = pS(q, e) - cq - g(e)e↦Π(q,e)=pS(q,e)−cq−g(e) over e≥0e \ge 0e≥0. Then Π(q,⋅)\Pi(q, \cdot)Π(q,⋅) is differentiable at eo(q)e^o(q)eo(q) and

∂Π(q,eo(q))∂e=p ∂S(q,eo(q))∂e−g′(eo(q))=0,∂S(q,e)∂e=−∫0q∂F(y∣e)∂e dy.\frac{\partial \Pi(q, e^o(q))}{\partial e} = p\,\frac{\partial S(q, e^o(q))}{\partial e} - g'(e^o(q)) = 0, \qquad \frac{\partial S(q, e)}{\partial e} = -\int_0^q \frac{\partial F(y \mid e)}{\partial e}\,dy.∂e∂Π(q,eo(q))​=p∂e∂S(q,eo(q))​−g′(eo(q))=0,∂e∂S(q,e)​=−∫0q​∂e∂F(y∣e)​dy.

This first-order condition characterizes the chain-optimal effort for a given order quantity. The contract results of the section compare the retailer's effort incentive with it.

Formalization Note The maximizer is assumed interior (eo(q)>0e^o(q) > 0eo(q)>0), where the book's first-order condition applies.

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

/-- Eq. (18), p. 42: if `e°(q) > 0` maximizes the channel profit `e ↦ Π(q, e)` over effort
levels `e ≥ 0`, then `Π(q, ·)` is differentiable at `e°(q)` with derivative
`p ∂S(q, e°(q))/∂e − g′(e°(q))`, where `∂S(q, e)/∂e = −∫_0^q ∂F(y|e)/∂e dy`, and this derivative
is `0`. -/
theorem eq_18 (M : Model) (q eo : ℝ) (hq : 0 ≤ q) (heo : 0 < eo)
    (hmax : IsMaxOn (fun e => M.Pi q e) (Set.Ici 0) eo) :
    HasDerivAt (fun e => M.Pi q e)
        (M.p * (-∫ y in (0 : ℝ)..q, M.effortSlope y eo) - M.effortCost' eo) eo ∧
      M.p * (-∫ y in (0 : ℝ)..q, M.effortSlope y eo) - M.effortCost' eo = 0 := by sorry

end CachonCoord.EffortNewsvendor
Source
Cachon (2003), Supply Chain Coordination with Contracts, 3rd draft (Jan. 2003), §6.4.1, Eq. (18), p. 42
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