Lemma 6 — is increasing and convex, exists uniquely, , comparative statics in
ProvedZhengQR.EOQHeuristic.aFun_propsIn the stochastic model (as in Lemma 2, with ), let be as in Eq. (6) and
Then:
- is strictly increasing on ;
- is convex on ;
- there is exactly one optimal order quantity ;
- for every , is the optimal order quantity if and only if
- for , the optimal order quantities , satisfy , and the optimal reorder points satisfy , where .
Geometrically, is the area between the horizontal chord at height and the graph of over the optimal cycle, and the optimal order quantity is where that area equals .
Formalization Note The paper states " is increasing and (the optimal reorder point) is decreasing in "; both are read as strict (the proof combines the strict monotonicity of with Lemma 3 part 3). "The optimal order quantity" is read as existence and uniqueness (item 3), which the paper presupposes when it names .
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 aFun_props {lam L K h p : ℝ} {μ : Measure ℝ} (hM : IsQRModel lam L h p μ) (hK : 0 < K) :
StrictMonoOn (aFun (newsvendorCost μ h p) lam K) (Set.Ici 0) ∧
ConvexOn ℝ (Set.Ici 0) (aFun (newsvendorCost μ h p) lam K) ∧
(∃! Q : ℝ, IsOptQty (newsvendorCost μ h p) lam K Q) ∧
(∀ Q : ℝ, 0 < Q → (IsOptQty (newsvendorCost μ h p) lam K Q ↔ aFun (newsvendorCost μ h p) lam K Q = lam * K)) ∧
(∀ K' : ℝ, K < K' → ∀ Q Q' : ℝ,
IsOptQty (newsvendorCost μ h p) lam K Q → IsOptQty (newsvendorCost μ h p) lam K' Q' →
Q < Q' ∧ reorderPt (newsvendorCost μ h p) lam K' Q' < reorderPt (newsvendorCost μ 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 .
Notation, for a fixed-cost parameter :
- is a chosen minimizer over real of , or if none exists.
- for , and for .
- .
- .
- " is -optimal" means and for all .
Claim. All five of the following hold:
- is strictly increasing on .
- is convex on .
- There is exactly one real that is -optimal.
- For every : is -optimal .
- Comparative statics in : for every and all reals , if is -optimal and is -optimal, then
Degenerate cases.
- .
- Item 5 imposes no positivity hypothesis on beyond .
- Item 5 is an implication, so it does not by itself assert that a -optimal quantity exists.
- Items 1 and 2 include the point , where takes the value .
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.