Theorem 4: C(αQ*)/C* ≤ ½(α + 1/α) for all α > 0
ProvedZhengQR.Flatness.cost_flatter_than_eoqConsider the stochastic continuous-review inventory model with demand rate , leadtime , fixed ordering cost , holding and backorder cost rates , and a nonnegative leadtime demand with finite mean whose inventory cost rate has a unique minimizer. Let be the average cost of the order quantity with the reorder point re-optimized for , let be an optimal order quantity and . Then
In the EOQ model the relative cost of a scaled order quantity equals exactly (Eq. (25)), a function that is already very flat around ; the theorem shows that the stochastic cost is even flatter, so a misestimated order quantity costs relatively less in the stochastic system than in the EOQ.
Formalization Note is : the reorder point is chosen optimally for the scaled quantity, not held at . The theorem holds for every optimal ; existence of one is part of the milestone for Eq. (8). is a consequence of the model, not a hypothesis.
import Mathlib import Definitions.Def_ZhengQR_Flatness_QRModel
namespace ZhengQR.Flatness
theorem cost_flatter_than_eoq (M : QRModel) (Qs : ℝ) (hQs : M.IsOptQty Qs)
(α : ℝ) (hα : 0 < α) :
M.C (α * Qs) / M.C Qs ≤ 1 / 2 * (α + 1 / α) := by sorry
end ZhengQR.Flatness
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be any value of the type QRModel from the namespace ZhengQR.Flatness. That type comes from the imported module Definitions.Def_ZhengQR_Flatness_QRModel, which is not shown here. Its fields, and any conditions it places on them, cannot be read from this declaration. Two things attached to appear in the statement:
- a function (written
M.C). The statement applies it to real numbers and divides its values, with the result compared against a real number. So takes a real argument and returns a real value. What it computes depends entirely on the definition ofQRModel. - a predicate (written
M.IsOptQty) on real numbers. Its meaning also comes only from the unshown module. The name suggests "an optimal quantity", but that meaning cannot be checked here.
Statement. Take any model , any real number with , and any real number with . Then
The inequality is non-strict (). It holds for every : values both above and below are included. The hypotheses place no condition on except . In particular, nothing here requires , requires , or fixes the sign of . The point may lie anywhere is defined, which is all of . Whether the model's own conditions rule any of these out depends on the unshown definitions.
Degenerate cases.
- Zero denominator. If , division by zero gives , so the left side is . The claim then reduces to , which is true for every and says nothing about .
- Sign of . If , the ratio's sign and direction are reversed from the positive case. The statement makes no separate provision for this.
- . The right side equals . The claim is , which is when and otherwise.
- . If is possible, then for every . The left side is , which is or , and the claim holds trivially.
- Invalid . Since is assumed, is never a division by zero.
- No valid . If no real number satisfies for a given , or if the type
QRModelhas no values, the statement is vacuously true for that or for all .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.