Eq. (10), p. 139 — for , and for
ProvedSherbrookeMetric.PointEstimate.eq10_second_derivativebackordersconvexityinventoryp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1poisson
Let be the expected backorders at spare stock under Poisson demand with mean . Fix . Then:
- is differentiable at every ;
- if , its derivative is differentiable at and
- if , the second derivative at exists and equals .
This is eq. (10) of Sherbrooke (1968) together with the sentence that follows it ("For a spare stock of zero the second derivative is zero"). It is the computation from which the paper concludes that backorders are strictly convex in the mean demand.
Formalization Note The second derivative is stated as HasDerivAt (deriv (backorders s)) … lam, together with differentiability of backorders s on , so the statement asserts that the second derivative exists and is not a junk value of deriv. The exponent and factorial are natural-number subtraction, used only under .
Preamble
import Mathlib import Definitions.Def_SherbrookeMetric_PointEstimate_backorders
Formal statement
namespace SherbrookeMetric.PointEstimate
/-- Sherbrooke (1968), eq. (10), p. 139, and the sentence after it: for positive mean `lam`,
`B(s | ·)` is differentiable on `(0, ∞)`, its derivative is differentiable at `lam` with
derivative `e^{-λ} λ^{s-1} / (s-1)! > 0` when `s ≥ 1`, and with derivative `0` when `s = 0`. -/
theorem eq10_second_derivative (s : ℕ) (lam : ℝ) (hlam : 0 < lam) :
(∀ μ : ℝ, 0 < μ → DifferentiableAt ℝ (backorders s) μ) ∧
(1 ≤ s →
HasDerivAt (deriv (backorders s))
(Real.exp (-lam) * lam ^ (s - 1) / ((s - 1).factorial : ℝ)) lam ∧
0 < Real.exp (-lam) * lam ^ (s - 1) / ((s - 1).factorial : ℝ)) ∧
(s = 0 → HasDerivAt (deriv (backorders s)) 0 lam) := by sorry
end SherbrookeMetric.PointEstimate
Source
Sherbrooke, METRIC: A Multi-Echelon Technique for Recoverable Item Control, Oper. Res. 16 (1968), p. 139, Eq. (10) and the following sentence
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.