Eq. (8): Q > 0 is an optimal order quantity iff H(Q) = C(Q)
ProvedZhengQR.CostBounds.opt_qty_iffinventoryp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1qr-policy
In the stochastic model, with and as in §2, for every : minimizes over if and only if
This is the first-order optimality condition for the order quantity, necessary and sufficient because is convex (Lemma 5).
Formalization Note "Optimal" means and for all .
Preamble
import Mathlib import Definitions.Def_ZhengQR_CostBounds_QRMachinery import Definitions.Def_ZhengQR_CostBounds_Model
Formal statement
namespace ZhengQR.CostBounds
theorem opt_qty_iff (M : QRModel) (Q : ℝ) (hQ : 0 < Q) :
IsOptQty M.G M.lam M.K Q ↔ Hfun M.G M.lam M.K Q = Cfun M.G M.lam M.K Q := by sorry
end ZhengQR.CostBounds
Source
Zheng, On Properties of Stochastic Inventory Systems, Management Science 38(1), 1992, p. 92, Eq. (8)
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix a model :
- .
- is a probability measure on with -a.e., integrable, and .
- has a unique global minimizer .
Derived objects.
- .
- is a fixed but unspecified global minimizer of over , if one exists; otherwise .
- for , and for .
- .
- is an optimal order quantity if and for all .
Statement. For every real :
Degenerate cases. Only is covered; nothing is said about . If no optimal reorder point exists for some , then is used in both and . Integrals of non-integrable functions count as . The statement does not assert that any optimal order quantity exists.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.