Lemma 7 — and
ProvedZhengQR.EOQHeuristic.hFun_sandwichIn the stochastic model (as in Lemma 2, with ), let , and be the curves of the stochastic model and , those of the EOQ model (the same definitions applied to ). Then for every ,
For a given order quantity, the inventory costs of the stochastic model exceed those of the EOQ model, while their controllable part is smaller.
Formalization Note The paper writes no range for ; the statement is given for , where and , as the proof uses.
import Mathlib import Definitions.Def_ZhengQR_EOQHeuristic_qrCost import Definitions.Def_ZhengQR_EOQHeuristic_costCurves import Definitions.Def_ZhengQR_EOQHeuristic_stochasticModel open MeasureTheory Filter Topology
namespace ZhengQR.EOQHeuristic
theorem hFun_sandwich {lam L K h p : ℝ} {μ : Measure ℝ} (hM : IsQRModel lam L h p μ) (hK : 0 < K) (Q : ℝ) (hQ : 0 ≤ Q) :
h0Fun (newsvendorCost μ h p) lam K Q ≤ hFun (eoqCost lam L h p) lam K Q ∧
hFun (eoqCost lam L h p) lam K Q ≤ hFun (newsvendorCost μ h p) lam K Q ∧
aFun (newsvendorCost μ h p) lam K Q ≤ aFun (eoqCost lam L h p) lam K Q := by sorry
end ZhengQR.EOQHeuristic
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let be real numbers and a measure on . Assume the model hypotheses:
- ;
- is a probability measure with finite first moment and mean ;
- is concentrated on almost everywhere;
- has a unique global minimizer.
Assume also , and fix a real . Let .
Notation, for :
- is a chosen global minimizer of , or if none exists.
- is a chosen minimizer over real of , or if none exists.
- for , and for .
- .
- .
Claim. All three of the following hold:
All inequalities are non-strict.
Degenerate cases. At the claims read:
- ;
- ;
- , since both values are .
Negative are excluded. The hypotheses can all hold, for example with the point mass at .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.