§2 — is contiguous and holds the smallest values of
ProvedFedergruenZhengRQ.OPT.window_contiguous_smallestLet be such that is unimodal, let be a global minimizer of over the integers, and let and the windows be generated as in §2 (extend left when , otherwise right). Then for every :
- and ; so the are distinct and contiguous, and , are their minimum and maximum;
- every chosen value is at most every unchosen one: for all and every integer ;
- the chosen values have the least sum among all -element sets of integers:
This is the observation that drives Lemma 1: the optimal reorder point for a given places the window of the sum in (1) on these points.
Formalization Note. Under ties, "their values constitute the smallest ones" is formalized by items 2 and 3 (every chosen value is every unchosen value, and the least-sum property used by Lemma 1). Item 1 holds for every ; the hypotheses are only needed for items 2 and 3. The paper defines as and of ; the formalization defines them by the window recursion and item 1 shows they agree.
import Mathlib import Definitions.Def_FedergruenZhengRQ_OPT_Model
namespace FedergruenZhengRQ.OPT
theorem window_contiguous_smallest (G : ℤ → ℝ) (hG : NegUnimodal G) (y₁ : ℤ)
(hy₁ : ∀ t, G y₁ ≤ G t) (Q : ℕ) (hQ : 1 ≤ Q) :
(Finset.Icc 1 Q).image (y G y₁) = Finset.Icc (L G y₁ Q) (R G y₁ Q) ∧
R G y₁ Q - L G y₁ Q + 1 = (Q : ℤ) ∧
(∀ i ∈ Finset.Icc 1 Q, ∀ t : ℤ, t ∉ Finset.Icc (L G y₁ Q) (R G y₁ Q) → G (y G y₁ i) ≤ G t) ∧
(∀ T : Finset ℤ, T.card = Q → ∑ i ∈ Finset.Icc 1 Q, G (y G y₁ i) ≤ ∑ t ∈ T, G t) := by sorry
end FedergruenZhengRQ.OPT
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.