Lemma 2 — has a unique sign change from to
ProvedGallegoOzerADI.PositiveSetup.reorderGap_sign_changeLet and let satisfy
- ;
- has a finite global minimizer ;
- there is with .
Let . Then has a unique sign change from to : takes a negative value, takes a positive value, and never passes from a positive to a negative value, i.e.
Consequently the inventory positions from which ordering is strictly profitable lie entirely to the left of those from which it is strictly unprofitable. This is the structural fact behind the form of the optimal policy (Corollary 1, Theorem 1).
Formalization Note The paper states the lemma for at a fixed period and observed-demand vector ; it is formalized for an arbitrary function and constant , which is what the lemma uses. is the standing assumption of Section 4 (positive set-up costs). "A unique sign change" is formalized in the usual sense of counting sign changes, where zeros are not counted: negative somewhere, positive somewhere, and no positive value followed by a negative one. The minimum over is an infimum; it is finite because has a global minimizer.
import Mathlib import Definitions.Def_GallegoOzerADI_PositiveSetup_ABConvex import Definitions.Def_GallegoOzerADI_PositiveSetup_SetupCost
namespace GallegoOzerADI.PositiveSetup
theorem reorderGap_sign_change (K : ℝ) (hK : 0 < K) (V : ℝ → ℝ) (hV : ABConvex 0 K V)
(S : ℝ) (hS : ∀ x, V S ≤ V x) (hiii : ∃ x, x < S ∧ K + V S < V x) :
(∃ x, reorderGap K V x < 0) ∧ (∃ x, 0 < reorderGap K V x) ∧
∀ x₁ x₂, x₁ < x₂ → 0 < reorderGap K V x₁ → 0 ≤ reorderGap K V x₂ := by sorry
end GallegoOzerADI.PositiveSetup
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Definitions used.
- A function is -convex if for all and :
- The reorder gap is . This uses the real infimum, with the default value if the values are unbounded below.
Hypotheses.
- is a real number with .
- is -convex. No continuity is assumed.
- is a global minimizer: for all .
- There is some with .
Conclusion. All three of the following hold. Write .
- There is some with .
- There is some with .
- For all : if , then .
Degenerate cases: is bounded below by , so the infimum in the reorder gap is always a genuine infimum over and the default value never applies. The statement does not claim the infimum is attained. It does not claim changes sign only once in any stronger sense than item 3. Items 1 and 2 are existence claims only, with no location given.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.