Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix, chains (7)–(8): under (6), i_k is strictly the cheapest entry of S for g(k) < D < g(k + 1)

Proved
FedergruenTzur.MinPred.appendix_chain_strict

by mikedeng1 · Oct 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

dynamic-programminglot-sizinglower-envelopep2o-batch-pfp1ap2o-gran-per-chapterp2o-plan-paperp2o-v1

In the dynamic lot size model, fix jjj and a ranked list S={i1,…,ir}⊆{1,…,j}S = \{i_1, \dots, i_r\} \subseteq \{1, \dots, j\}S={i1​,…,ir​}⊆{1,…,j} (nonascending C~\tilde CC~, ties in ascending index) with critical values g(1)=D(j)g(1) = D(j)g(1)=D(j), g(l)=G(il,il−1)g(l) = G(i_l, i_{l-1})g(l)=G(il​,il−1​), satisfying condition (6): g(1)<g(2)<⋯<g(r)<∞g(1) < g(2) < \dots < g(r) < \inftyg(1)<g(2)<⋯<g(r)<∞. Fix k∈{1,…,r}k \in \{1, \dots, r\}k∈{1,…,r} and a potential cumulative demand xxx with

  1. x<g(2)x < g(2)x<g(2) if k=1k = 1k=1 (case (i)),
  2. g(k)<x<g(k+1)g(k) < x < g(k+1)g(k)<x<g(k+1) if 2≤k≤r−12 \le k \le r-12≤k≤r−1 (case (ii)),
  3. x>g(r)x > g(r)x>g(r) if k=rk = rk=r (case (iii))

(for r=1r = 1r=1 there is no constraint). Then iki_kik​ is strictly cheaper than every other element of SSS:

πj(ik,x)<πj(l,x)for all l∈S∖{ik},\pi_j(i_k, x) < \pi_j(l, x) \qquad \text{for all } l \in S \setminus \{i_k\},πj​(ik​,x)<πj​(l,x)for all l∈S∖{ik​},

where πj\pi_jπj​ is the potential cost. This is the content of the chains F(ik,t)<F(ik−1,t)<⋯<F(i1,t)F(i_k,t) < F(i_{k-1},t) < \dots < F(i_1,t)F(ik​,t)<F(ik−1​,t)<⋯<F(i1​,t) (7) and F(ik,t)<F(ik+1,t)<⋯<F(ir,t)F(i_k,t) < F(i_{k+1},t) < \dots < F(i_r,t)F(ik​,t)<F(ik+1​,t)<⋯<F(ir​,t) (8) in the proof of Theorem 1.

It establishes that, under (6), every element of the list is the unique best element of the list on its own interval of cumulative demands.

Formalization Note. The list is 0-based in Lean: the entry L.getD m 0 is im+1i_{m+1}im+1​, the lower bound gval j L m < x is absent for m=0m = 0m=0 and the upper bound x < gval j L (m+1) is absent for m=r−1m = r-1m=r−1. The statement does not mention Ω(j)\Omega(j)Ω(j) and is stated for every real xxx; costs are potential costs, which by potCost_spec differ from F(⋅,t)F(\cdot,t)F(⋅,t) at x=D(t)x = D(t)x=D(t) by a term independent of the period.

Preamble
import Mathlib
import Definitions.Def_FedergruenTzur_MinPred_Omega
import Definitions.Def_FedergruenTzur_MinPred_RankedList
Formal statement
namespace FedergruenTzur.MinPred

open LotSizing

/-- Appendix, p. 923, the chains (7)–(8): if a ranked list `L = [i_1, …, i_r]` satisfies (6), then
for a potential cumulative demand `x` strictly between consecutive `g`-values the entry `L[m]`
(the paper's `i_{m+1}`, 0-based) is strictly cheaper than every other entry of `L`.
The lower bound is absent for `m = 0` (the paper's case (i), `D(t) < g(2)`) and the upper bound is
absent for `m = r - 1` (case (iii), `D(t) > g(r)`). -/
theorem appendix_chain_strict (P : LotSizing) (j : ℕ) (L : List ℕ) (hL : P.IsRanked j L)
    (h6 : P.Cond6 j L) (m : ℕ) (hm : m < L.length) (x : ℝ)
    (hlow : m = 0 ∨ P.gval j L m < (x : EReal))
    (hup : L.length ≤ m + 1 ∨ (x : EReal) < P.gval j L (m + 1)) :
    ∀ l ∈ L, l ≠ L.getD m 0 → P.potCost j (L.getD m 0) x < P.potCost j l x := by sorry

end FedergruenTzur.MinPred
Source
Federgruen and Tzur, A Simple Forward Algorithm to Solve General Dynamic Lot Sizing Models with n Periods in O(n log n) or O(n) Time, Management Science 37(8), 1991, p. 923, Appendix (Proof of Theorem 1), second paragraph, (i)–(iii) and chains (7)–(8)
Human review
  • Endorsed by Shuze Chen · Oct 4, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 4, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me