Theorem 1 — is optimal iff
ProvedZhengQR.EOQHeuristic.joint_opt_iffIn the stochastic model (as in Lemma 2, with ), let and . Then minimises over if and only if
The theorem characterises the optimal policy by two simultaneous equations; the paper uses it to derive qualitative properties of systems.
import Mathlib import Definitions.Def_ZhengQR_EOQHeuristic_qrCost import Definitions.Def_ZhengQR_EOQHeuristic_stochasticModel open MeasureTheory Filter Topology
namespace ZhengQR.EOQHeuristic
theorem joint_opt_iff {lam L K h p : ℝ} {μ : Measure ℝ} (hM : IsQRModel lam L h p μ) (hK : 0 < K) (Q r : ℝ) (hQ : 0 < Q) :
(∀ Q' r' : ℝ, 0 < Q' → qrCost (newsvendorCost μ h p) lam K Q r ≤ qrCost (newsvendorCost μ h p) lam K Q' r') ↔
(qrCost (newsvendorCost μ h p) lam K Q r = newsvendorCost μ h p r ∧ newsvendorCost μ h p r = newsvendorCost μ h p (r + 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 . Fix real and real , and write
Claim. The following equivalence holds:
In words, minimizes over exactly when both equalities hold.
Degenerate cases. Competitors are not considered; in particular by the division-by-zero convention, and it is excluded. is excluded by hypothesis. The statement does not assert that a joint minimizer exists. 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.