§6.2.5, p. 25 — the supplier's first-order condition holds at q° under (w_q(δ), δ): ∂π_s/∂q = g_s(1 − F(q°)) − c + v + (p − v + g_r)(1 − F(q°)) = 0
ProvedCachonCoord.Newsvendor.p25_supplier_focLet maximize the supply chain profit and let . Under the quantity flexibility contract the supplier's profit is
It is differentiable at , and
So the supplier, too, has a stationary point at the chain-optimal quantity; Cachon goes on to show that the second-order condition can fail, so coordination needs forced compliance.
Formalization Note The local ContractData has Cachon’s assumptions , , and nonnegative goodwill costs. It permits negative net salvage and . Demand is a probability law on with finite mean and a continuous cdf strictly increasing until it reaches one. These are the chapter’s standing assumptions; is included wherever a chain optimum is named. Cachon’s differentiable cdf is represented on the interior of its active support by hFderiv; derivative claims use HasDerivAt. The supplier's profit is the local supplierProfit with the transfer quantityFlexTransfer at the price quantityFlexPrice. The derivative is stated as a HasDerivAt fact; it needs only continuity of .
import Mathlib import Definitions.Def_CachonCoord_Newsvendor_Contracts open MeasureTheory ProbabilityTheory
namespace CachonCoord.Newsvendor
/-- Cachon (2003), §6.2.5, p. 25: under the quantity flexibility contract `(w_q(δ), δ)` the
supplier's profit `π_s(q, w_q(δ), δ)` is differentiable at the chain-optimal `q°` with derivative
`g_s(1 − F(q°)) − c + v + (p − v + g_r)(1 − F(q°))`, and this derivative is `0`. -/
theorem p25_supplier_foc (P : ContractData) (D : Measure ℝ) [IsProbabilityMeasure D] [NullSingletonClass D]
(hD : Integrable (fun x => x) D) (hD0 : D (Set.Iio 0) = 0)
(hF : ∀ x y : ℝ, 0 ≤ x → x < y → cdf D x < 1 → cdf D x < cdf D y)
(density : ℝ → ℝ)
(hFderiv : ∀ x : ℝ, 0 < x → cdf D x < 1 → HasDerivAt (cdf D) (density x) x)
(q0 : ℝ) (h0 : IsMaxOn (chainProfit P D) Set.univ q0)
(hPi : 0 < chainProfit P D q0)
(δ : ℝ) (hδ0 : 0 ≤ δ) (hδ1 : δ ≤ 1) :
HasDerivAt
(supplierProfit P D (quantityFlexTransfer P D (quantityFlexPrice P D q0 δ) δ))
(P.ps * (1 - cdf D q0) - P.c + P.v + (P.r - P.v + P.pr) * (1 - cdf D q0)) q0 ∧
P.ps * (1 - cdf D q0) - P.c + P.v + (P.r - P.v + P.pr) * (1 - cdf D q0) = 0 := by sorry
end CachonCoord.Newsvendor
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.