Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 5 — if the myopic levels ytmy^m_tytm​ are nondecreasing in ttt, the myopic base-stock policy is optimal

Proved
GallegoOzerADI.ZeroSetup.myopic_base_stock_optimal

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

base-stockdynamic-programminginventorymyopic-policyp2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Consider the inventory model with advance demand information and zero set-up cost under its standing hypotheses (information horizon N>L+1N > L + 1N>L+1, convex coercive single-period costs GtG_tGt​ of at most linear growth, discount factors αt+1>0\alpha_{t+1} > 0αt+1​>0, nonnegative demands with finite means). For each period ttt let the myopic level be the smallest minimizer of the single-period cost,

ytm=min⁡{y:Gt(y)=min⁡xGt(x)}.y^m_t = \min\{y : G_t(y) = \min_x G_t(x)\}.ytm​=min{y:Gt​(y)=xmin​Gt​(x)}.

Suppose t↦ytmt \mapsto y^m_tt↦ytm​ is nondecreasing on {1,…,T}\{1, \dots, T\}{1,…,T}. Then the myopic policy is optimal: for every period t∈{1,…,T}t \in \{1, \dots, T\}t∈{1,…,T} and every vector ot≥0o_t \ge 0ot​≥0 of observed demands beyond the protection period, the optimal base-stock level of Eq. (11) is the myopic one,

yt(ot)=min⁡{y:Vt(y,ot)=min⁡xVt(x,ot)}=ytm.y_t(o_t) = \min\{y : V_t(y, o_t) = \min_x V_t(x, o_t)\} = y^m_t.yt​(ot​)=min{y:Vt​(y,ot​)=xmin​Vt​(x,ot​)}=ytm​.

In particular the order-up-to level ignores the advance demand information beyond the protection period, and the dynamic program collapses to a sequence of single-period problems.

Formalization Note. The conclusion is restricted to nonnegative observed-demand vectors ot≥0o_t \ge 0ot​≥0. These are exactly the states the system can reach, since each component is a sum of nonnegative orders, and the paper's proof uses ot,t+L+1≥0o_{t,t+L+1} \ge 0ot,t+L+1​≥0 (to get xt+1≤yx_{t+1} \le yxt+1​≤y) without stating it; for a strongly negative ot,t+L+1o_{t,t+L+1}ot,t+L+1​ the statement can fail. Monotonicity of ytmy^m_tytm​ is required only on the planning periods 1,…,T1, \dots, T1,…,T. The myopic levels are supplied as a sequence characterised as smallest minimizers of the GtG_tGt​.

Preamble
import Mathlib
import Definitions.Def_GallegoOzerADI_ZeroSetup_Model

open MeasureTheory Filter Topology
Formal statement
namespace GallegoOzerADI.ZeroSetup

/-- Theorem 5 (p. 1352): if the myopic levels `y^m_t` (the smallest minimizers of `G_t`) are
nondecreasing in `t ∈ {1, …, T}`, then the myopic policy is optimal: for every period
`t ∈ {1, …, T}` and every (reachable, i.e. nonnegative) vector `o_t` of observed demands, the
optimal base-stock level `y_t(o_t)` of Eq. (11) equals `y^m_t`. -/
theorem myopic_base_stock_optimal {L M : ℕ} (P : Model L M) (hP : P.Assumptions)
    (ym : ℕ → ℝ) (hym : ∀ t, 1 ≤ t → t ≤ P.T → IsLeastMinimizer (P.G t) (ym t))
    (hmono : MonotoneOn ym (Set.Icc 1 P.T))
    (t : ℕ) (ht1 : 1 ≤ t) (htT : t ≤ P.T) (o : Fin M → ℝ) (ho : 0 ≤ o) :
    IsLeastMinimizer (fun y => P.V t y o) (ym t) := by sorry

end GallegoOzerADI.ZeroSetup
Source
Gallego, Özer, Integrating Replenishment Decisions with Advance Demand Information, Management Science 47(10):1344–1360 (2001), p. 1352, Theorem 5 (first sentence) and the definition of y^m_t
Read-back

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

Let LLL and MMM be natural numbers. Let PPP be a structure of type Model L M, and assume PPP satisfies the predicate P.Assumptions. Both come from the imported module Definitions.Def_GallegoOzerADI_ZeroSetup_Model, which is not shown here, so what they contain is not visible from this declaration. The statement uses three pieces of PPP:

  • a natural number T=P.TT = P.TT=P.T;
  • for each natural number ttt, a real function Gt=P.G tG_t = P.G\ tGt​=P.G t of one real variable;
  • for each natural number ttt, real number yyy and vector o∈RMo \in \mathbb{R}^Mo∈RM, a real value Vt(y,o)=P.V t y oV_t(y, o) = P.V\ t\ y\ oVt​(y,o)=P.V t y o.

The statement also uses the predicate IsLeastMinimizer(f,x)\mathrm{IsLeastMinimizer}(f, x)IsLeastMinimizer(f,x), which relates a real function fff to a real number xxx. Its definition is not shown either. The theorem only ever uses it through that name, and it has no meaning here beyond whatever that definition says.

Hypotheses. Let ym:N→Ry^m : \mathbb{N} \to \mathbb{R}ym:N→R be any sequence of real numbers, and suppose:

  1. For every natural number ttt with 1≤t≤T1 \le t \le T1≤t≤T:
IsLeastMinimizer(Gt, ytm).\mathrm{IsLeastMinimizer}\big(G_t,\ y^m_t\big).IsLeastMinimizer(Gt​, ytm​).
  1. ymy^mym is nondecreasing on the integer interval {1,…,T}\{1, \dots, T\}{1,…,T}:
1≤s≤s′≤T  ⟹  ysm≤ys′m.1 \le s \le s' \le T \implies y^m_s \le y^m_{s'}.1≤s≤s′≤T⟹ysm​≤ys′m​.

Nothing is assumed about y0my^m_0y0m​ or about ytmy^m_tytm​ for t>Tt > Tt>T.

Conclusion. Let ttt be a natural number with 1≤t≤T1 \le t \le T1≤t≤T. Let o=(o1,…,oM)∈RMo = (o_1, \dots, o_M) \in \mathbb{R}^Mo=(o1​,…,oM​)∈RM be a vector indexed by {0,…,M−1}\{0, \dots, M-1\}{0,…,M−1} with every coordinate nonnegative, meaning oi≥0o_i \ge 0oi​≥0 for all iii (this is the order that holds coordinate by coordinate). Then

IsLeastMinimizer(y↦Vt(y,o), ytm).\mathrm{IsLeastMinimizer}\big(y \mapsto V_t(y, o),\ y^m_t\big).IsLeastMinimizer(y↦Vt​(y,o), ytm​).

In words, the same number ytmy^m_tytm​ that is related to GtG_tGt​ by hypothesis 1 is also related, by the same predicate, to the one-variable function y↦Vt(y,o)y \mapsto V_t(y, o)y↦Vt​(y,o). This holds for every nonnegative ooo. The statement does not claim that VtV_tVt​ and GtG_tGt​ are equal as functions. It is a universally quantified claim and does not construct ymy^mym: it applies only to a sequence that is already known to satisfy hypotheses 1 and 2.

Degenerate cases.

  • T=0T = 0T=0: no ttt satisfies 1≤t≤T1 \le t \le T1≤t≤T. Hypotheses 1 and 2 hold for every ymy^mym, and the theorem is vacuous.
  • T=1T = 1T=1: the monotonicity hypothesis is automatically true. The theorem then says only that, at t=1t = 1t=1, the property y1my^m_1y1m​ has for G1G_1G1​ also holds for y↦V1(y,o)y \mapsto V_1(y, o)y↦V1​(y,o) for every nonnegative ooo.
  • M=0M = 0M=0: ooo is the empty vector, the condition o≥0o \ge 0o≥0 holds automatically, and Vt(y,o)V_t(y, o)Vt​(y,o) depends on yyy alone.
  • L=0L = 0L=0: this value only enters through Model and Assumptions, whose effect cannot be seen here.

The theorem is also vacuous in two further situations:

  • if P.Assumptions can never be satisfied;
  • if, for some t∈{1,…,T}t \in \{1, \dots, T\}t∈{1,…,T}, no real number is related to GtG_tGt​ by IsLeastMinimizer\mathrm{IsLeastMinimizer}IsLeastMinimizer (for example, if the underlying definition requires a minimizer and GtG_tGt​ has none). In that case no ymy^mym satisfies hypothesis 1.

Whether either situation can happen depends on the imported definitions, which are not shown.

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