Proposition 4 — Comparison of the two cost bounds
ProvedCappedBaseStock.two_branchFix an integer , put and , and let and be arbitrary real numbers. Then
This purely algebraic statement includes the cases and . There is no division by their sum and no positivity assumption on either component beyond nonnegativity. All divisions in the coefficients are real division; keeps their lead-time denominators positive.
import Mathlib
namespace CappedBaseStock
theorem two_branch
(L : ℕ) (hL : 1 ≤ L)
(lambda C_h C_p : ℝ)
(hlambda : 0 < lambda) (hC_h : 0 ≤ C_h) (hC_p : 0 ≤ C_p) :
min
((1 + 1 / lambda) * C_h + (1 + (L : ℝ) / ((L : ℝ) + 1)) * C_p)
(2 * C_h +
(1 + (L : ℝ) / ((L : ℝ) + 1) +
lambda * ((L : ℝ) / ((L : ℝ) + 1))) * C_p) ≤
(1 + 4 * (L : ℝ) ^ 2 / (((L : ℝ) + 1) * (3 * (L : ℝ) - 1))) *
(C_h + C_p) := by sorry
end CappedBaseStockRead-back
What the Lean code literally says, in plain math · GPT-6 (independent Codex sub-agent)
For every natural number with , and every three real numbers satisfying , , and , the following inequality holds, with every occurrence of in the displayed arithmetic interpreted as a real number: . The minimum is the smaller of exactly the two displayed real quantities. The hypotheses exclude and ; in particular and , so all denominators are nonzero. They include , all positive real values of , and cases where either or both of vanish; if both vanish, the asserted inequality is .
Confirmed by the mission captain (proposal self-audit).