Theorem 2 (first inequality) — the EOQ quantity underestimates the optimal order quantity,
ProvedZhengQR.EOQHeuristic.eoqQty_le_optQtyIn the stochastic model (as in Lemma 2, with ), let be an optimal order quantity of the stochastic model, i.e. and for every , and let be the EOQ order quantity. Then
This is the first inequality of Theorem 2 of the paper, proved on p. 96 from Lemma 6 and Lemma 7: .
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 eoqQty_le_optQty {lam L K h p : ℝ} {μ : Measure ℝ} (hM : IsQRModel lam L h p μ) (hK : 0 < K) (Qs : ℝ)
(hQs : IsOptQty (newsvendorCost μ h p) lam K Qs) :
eoqQty lam K h p ≤ Qs := 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 . Let be a real number that is an optimal order quantity for . This means and for every , where:
- ;
- is a chosen minimizer over real of , or if none exists.
Claim.
Degenerate cases. The inequality is non-strict. The statement assumes is optimal and does not itself assert that an optimal quantity exists; if none existed, the statement would hold vacuously. With the radicand is positive, so neither the division-by-zero nor the square-root fallback is triggered. 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.