Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4, Part 5 — the base-stock level yt(ot)y_t(o_t)yt​(ot​) is increasing in oto_tot​

Proved
GallegoOzerADI.ZeroSetup.baseStock_mono_obs

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

base-stockdynamic-programminginventorymonotone-comparative-staticsp2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1

In the inventory model with advance demand information and zero set-up cost, under its standing hypotheses, fix a period t∈{1,…,T}t \in \{1, \dots, T\}t∈{1,…,T}. For a vector ooo of observed demands beyond the protection period let yt(o)y_t(o)yt​(o) be the base-stock level of Eq. (11), the smallest minimizer of Vt(⋅,o)V_t(\cdot, o)Vt​(⋅,o). If o≤o′o \le o'o≤o′ componentwise, then

yt(o)≤yt(o′).y_t(o) \le y_t(o').yt​(o)≤yt​(o′).

Systems that observe more demand for periods beyond the protection period hold higher order-up-to levels.

Formalization Note. "Increasing" means nondecreasing (footnote 3, p. 1345). The levels are given as hypotheses characterising yyy and y′y'y′ as smallest minimizers of Vt(⋅,o)V_t(\cdot, o)Vt​(⋅,o) and Vt(⋅,o′)V_t(\cdot, o')Vt​(⋅,o′); their existence is Theorem 4, Part 2.

Preamble
import Mathlib
import Definitions.Def_GallegoOzerADI_ZeroSetup_Model

open MeasureTheory Filter Topology
Formal statement
namespace GallegoOzerADI.ZeroSetup

/-- Theorem 4, Part 5 (p. 1351): for every period `t ∈ {1, …, T}`, the base-stock level `y_t(o_t)`
(the smallest minimizer of `V_t(·, o_t)`, Eq. (11)) is increasing (nondecreasing) in `o_t` for the
componentwise order. -/
theorem baseStock_mono_obs {L M : ℕ} (P : Model L M) (hP : P.Assumptions)
    (t : ℕ) (ht1 : 1 ≤ t) (htT : t ≤ P.T) (o o' : Fin M → ℝ) (y y' : ℝ)
    (hoo : o ≤ o') (hy : IsLeastMinimizer (fun z => P.V t z o) y)
    (hy' : IsLeastMinimizer (fun z => P.V t z o') y') :
    y ≤ y' := by sorry

end GallegoOzerADI.ZeroSetup
Source
Gallego, Özer, Integrating Replenishment Decisions with Advance Demand Information, Management Science 47(10):1344–1360 (2001), p. 1351, Theorem 4, Part 5
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting. Fix natural numbers L,ML,ML,M. A model consists of:

  • a horizon T∈NT\in\mathbb NT∈N;
  • functions Gt:R→RG_t:\mathbb R\to\mathbb RGt​:R→R;
  • reals αt\alpha_tαt​;
  • measures μt\mu_tμt​ on RL+2+M\mathbb R^{L+2+M}RL+2+M,

where GtG_tGt​, αt\alpha_tαt​ and μt\mu_tμt​ are given for every ttt.

With oM:=0o_M:=0oM​:=0, define

x′(y,o,D)=y−∑k=0L+1Dk−o0,O′(o,D)j=oj+1+DL+2+j(j<M),x'(y,o,D)=y-\sum_{k=0}^{L+1}D_k-o_0,\qquad O'(o,D)_j=o_{j+1}+D_{L+2+j}\quad(j<M),x′(y,o,D)=y−k=0∑L+1​Dk​−o0​,O′(o,D)j​=oj+1​+DL+2+j​(j<M), Vt(y,o)=Gt(y)+αt+1∫Jt+1(x′(y,o,D),O′(o,D)) μt(dD),V_t(y,o)=G_t(y)+\alpha_{t+1}\int J_{t+1}\big(x'(y,o,D),O'(o,D)\big)\,\mu_t(dD),Vt​(y,o)=Gt​(y)+αt+1​∫Jt+1​(x′(y,o,D),O′(o,D))μt​(dD), Jt(x,o)={0,t>Tinf⁡y≥xVt(y,o),t≤T.J_t(x,o)=\begin{cases}0,&t>T\\ \inf_{y\ge x}V_t(y,o),&t\le T.\end{cases}Jt​(x,o)={0,infy≥x​Vt​(y,o),​t>Tt≤T.​

A non-integrable integrand gives integral 000. An unbounded-below infimum gives 000.

Hypotheses on the model.

  1. M≥1M\ge1M≥1.
  2. For each 1≤t≤T1\le t\le T1≤t≤T, all of the following hold:
    • GtG_tGt​ is convex.
    • Gt(y)→+∞G_t(y)\to+\inftyGt​(y)→+∞ as ∣y∣→∞|y|\to\infty∣y∣→∞.
    • ∣Gt(y)∣≤a+b∣y∣|G_t(y)|\le a+b|y|∣Gt​(y)∣≤a+b∣y∣ for some reals a,ba,ba,b.
    • αt+1>0\alpha_{t+1}>0αt+1​>0.
    • μt\mu_tμt​ is a probability measure.
    • Demands are a.s. componentwise ≥0\ge0≥0.
    • Coordinates are integrable.

Claim. Fix 1≤t≤T1\le t\le T1≤t≤T and o,o′∈RMo,o'\in\mathbb R^Mo,o′∈RM with o≤o′o\le o'o≤o′ componentwise. Let yyy and y′y'y′ be reals such that:

  • yyy is the least minimizer of z↦Vt(z,o)z\mapsto V_t(z,o)z↦Vt​(z,o): a global minimizer that is ≤\le≤ every other global minimizer;
  • y′y'y′ is the least minimizer of z↦Vt(z,o′)z\mapsto V_t(z,o')z↦Vt​(z,o′).

Then

y≤y′.y\le y'.y≤y′.

Degenerate cases.

  • Existence is not asserted. The statement does not claim that least minimizers exist. If either function has none, the statement is vacuous for that pair o,o′o,o'o,o′.
  • ooo and o′o'o′ are unrestricted.
  • T=0T=0T=0. The statement is vacuous.
  • t=Tt=Tt=T. VT=GTV_T=G_TVT​=GT​ does not depend on ooo, so y=y′y=y'y=y′.
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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