Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1, p. 938 — if f(v) is L♮-convex, so is ψ(v, ζ) = f(v − ζe)

Proved
ZipkinLostSales.LNatural.lemma_1

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

l-natural-convexityoperations-researchp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1submodularity

Let L≥1L\ge1L≥1 and let V⊆RLV\subseteq\mathbb R^LV⊆RL be the cone of nonnegative vectors with nonincreasing components. Let eee denote the all-ones vector.

If f:V→Rf:V\to\mathbb Rf:V→R is L♮-convex, then the function

ψ(v,ζ)=f(v−ζe),v∈V, ζ≤0,\psi(v,\zeta)=f(v-\zeta e),\qquad v\in V,\ \zeta\le 0,ψ(v,ζ)=f(v−ζe),v∈V, ζ≤0,

is L♮-convex on V×ℜ−V\times\Re^-V×ℜ−, that is, (v,ζ,ξ)↦ψ((v,ζ)−ξ(e,1))(v,\zeta,\xi)\mapsto\psi\big((v,\zeta)-\xi(e,1)\big)(v,ζ,ξ)↦ψ((v,ζ)−ξ(e,1)) is submodular on the set of (v,ζ,ξ)(v,\zeta,\xi)(v,ζ,ξ) with v∈Vv\in Vv∈V and ζ≤ξ≤0\zeta\le\xi\le0ζ≤ξ≤0.

The lemma lets L♮-convexity pass from the next period's cost fˉt+1\bar f_{t+1}fˉ​t+1​ to functions of the state and the order, as in the proof of Theorem 4.

Formalization Note. L♮-convexity is LNatConvexOn of the mission's definitions file: on VVV it is the paper's definition (submodularity of f(v−ζe)f(v-\zeta e)f(v−ζe) on V×ℜ−V\times\Re^-V×ℜ−), and on V×ℜ−V\times\Re^-V×ℜ− the shift ξ\xiξ acts on all L+1L+1L+1 coordinates, so the domain is {ζ≤ξ≤0}\{\zeta\le\xi\le0\}{ζ≤ξ≤0} (the set used in the proof of Lemma 2). Functions are total on RL\mathbb R^LRL, but only their values on VVV enter.

Preamble
import Mathlib
import Definitions.Def_ZipkinLostSales_LNatural_Model
open MeasureTheory
Formal statement
namespace ZipkinLostSales.LNatural

/-- Lemma 1 (Zipkin 2008, p. 938): if `f(v)` is L♮-convex on `V`, so is
`ψ(v, ζ) = f(v − ζe)` on `V × ℜ⁻`. -/
theorem lemma_1 (L : ℕ) (hL : 0 < L) (f : (Fin L → ℝ) → ℝ) (hf : LNatConvexOn (V L) f) :
    LNatConvexOn (VxNeg L) (liftG (fun v ζ => f (fun i => v i - ζ))) := by sorry

end ZipkinLostSales.LNatural
Source
Zipkin, On the Structure of Lost-Sales Inventory Models, Oper. Res. 56 (2008), p. 938 (PDF p. 3), Lemma 1; proof on p. 939
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