Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section 4 — greedy dual values decrease across positive demands

Proved
WagelmansELS.DualGreedy.greedy_forward_monotone

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

greedy-algorithmlot-sizingp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let vvv satisfy the greedy forward rule with nonnegative demands and setup costs. For any positive-demand periods 1≤t<j≤n1\le t<j\le n1≤t<j≤n,

vj≤vt.v_j\le v_t.vj​≤vt​.

The paper states the result first for consecutive periods with nonzero demand, then observes that the dual values at zero-demand periods can be assigned freely. The formal statement skips those periods, so it holds for every allowed assignment of their values.

Preamble
import Mathlib
import Definitions.Def_WagelmansELS_DualGreedy_Greedy
Formal statement
namespace WagelmansELS.DualGreedy

theorem greedy_forward_monotone (P : Instance) (v : ℕ → ℝ)
    (hd : ∀ t, 1 ≤ t → t ≤ P.n → 0 ≤ P.d t)
    (hf : ∀ i, 1 ≤ i → i ≤ P.n → 0 ≤ P.f i)
    (hv : IsGreedyForward P v)
    (t j : ℕ) (ht : 1 ≤ t) (htj : t < j) (hjn : j ≤ P.n)
    (hdt : 0 < P.d t) (hdj : 0 < P.d j) : v j ≤ v t := by sorry

end WagelmansELS.DualGreedy
Source
Wagelmans, Van Hoesel and Kolen, Economic Lot Sizing, Oper. Res. 40 Supp. 1 (1992), p. S153, Section 4, “if d_j ≠ 0 and d_{j+1} ≠ 0, then v_j ≥ v_{j+1}” and the following zero-demand sentence
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 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