Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1, Part 1 — Vt(⋅,ot)∈C(0,Kt)V_t(\cdot, o_t) \in C(0, K_t)Vt​(⋅,ot​)∈C(0,Kt​) and Vt(x,ot)→∞V_t(x, o_t) \to \inftyVt​(x,ot​)→∞ as ∣x∣→∞|x| \to \infty∣x∣→∞

Proved
GallegoOzerADI.PositiveSetup.V_abConvex_coercive

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

dynamic-programminginventoryk-convexityp2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Consider the finite-horizon inventory model with advance demand information and set-up costs (Definition Model, the functional equation (8)–(9)), with N>L+1N > L+1N>L+1. For every period 1≤t≤T1 \le t \le T1≤t≤T and every fixed vector ot∈RMo_t \in \mathbb{R}^{M}ot​∈RM of observed demands beyond the protection period,

Vt(⋅,ot)∈C(0,Kt)andlim⁡∣x∣→∞Vt(x,ot)=∞.V_t(\cdot, o_t) \in C(0, K_t) \qquad\text{and}\qquad \lim_{|x| \to \infty} V_t(x, o_t) = \infty.Vt​(⋅,ot​)∈C(0,Kt​)and∣x∣→∞lim​Vt​(x,ot​)=∞.

The cost-to-go after ordering is KtK_tKt​-convex in the order-up-to level and coercive, whatever advance demand information has been observed. This is the induction hypothesis of the paper's proof of the (s,S)(s,S)(s,S) structure: it yields a finite minimizer of Vt(⋅,ot)V_t(\cdot, o_t)Vt​(⋅,ot​) and the conditions of Lemma 2.

Formalization Note lim⁡∣x∣→∞\lim_{|x|\to\infty}lim∣x∣→∞​ is the limit along the cocompact filter of R\mathbb{R}R. The vector oto_tot​ is arbitrary, with no sign restriction. The standing hypotheses are those of the Model definition.

Preamble
import Mathlib
import Definitions.Def_GallegoOzerADI_PositiveSetup_ABConvex
import Definitions.Def_GallegoOzerADI_PositiveSetup_Model

open Filter
Formal statement
namespace GallegoOzerADI.PositiveSetup

theorem V_abConvex_coercive {L M : ℕ} [NeZero M] (P : Model L M) (t : ℕ) (ht₁ : 1 ≤ t)
    (htT : t ≤ P.T) (o : Fin M → ℝ) :
    ABConvex 0 (P.K t) (fun y => P.V t y o) ∧
      Tendsto (fun y => P.V t y o) (cocompact ℝ) atTop := by sorry

end GallegoOzerADI.PositiveSetup
Source
Gallego, Özer, Integrating Replenishment Decisions with Advance Demand Information, Management Science 47(10):1344–1360 (2001), p. 1350, Theorem 1, Part 1 (proof p. 1356)
Read-back

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

The model. Fix L,M∈NL,M\in\mathbb{N}L,M∈N with M≥1M\ge 1M≥1. Let PPP be a model as follows:

  • a horizon TTT;
  • for each t∈Nt\in\mathbb{N}t∈N: a convex Gt:R→RG_t:\mathbb{R}\to\mathbb{R}Gt​:R→R with Gt(y)→+∞G_t(y)\to+\inftyGt​(y)→+∞ as ∣y∣→∞|y|\to\infty∣y∣→∞ and ∣Gt(y)∣≤at+bt∣y∣|G_t(y)|\le a_t+b_t|y|∣Gt​(y)∣≤at​+bt​∣y∣;
  • set-up costs Kt>0K_t>0Kt​>0 and discount factors αt>0\alpha_t>0αt​>0 with αt+1Kt+1≤Kt\alpha_{t+1}K_{t+1}\le K_tαt+1​Kt+1​≤Kt​;
  • probability measures μt\mu_tμt​ on RL+M+2\mathbb{R}^{L+M+2}RL+M+2 under which all components are almost surely ≥0\ge0≥0 and integrable.

Value functions.

  • The cost-to-go is
Vt(y,o)=Gt(y)+αt+1∫Jt+1(y−∑k=0L+1Dk−o0, o′) dμt(D).V_t(y,o)=G_t(y)+\alpha_{t+1}\int J_{t+1}\Big(y-\textstyle\sum_{k=0}^{L+1}D_k-o_0,\ o'\Big)\,d\mu_t(D).Vt​(y,o)=Gt​(y)+αt+1​∫Jt+1​(y−∑k=0L+1​Dk​−o0​, o′)dμt​(D).

Here oj′=oj+1+DL+2+jo'_j=o_{j+1}+D_{L+2+j}oj′​=oj+1​+DL+2+j​, with oM:=0o_M:=0oM​:=0.

  • JT+1≡0J_{T+1}\equiv 0JT+1​≡0.
  • For 1≤t≤T1\le t\le T1≤t≤T: Jt(x,o)=inf⁡y≥x(Ktδ(y−x)+Vt(y,o))J_t(x,o)=\inf_{y\ge x}\big(K_t\delta(y-x)+V_t(y,o)\big)Jt​(x,o)=infy≥x​(Kt​δ(y−x)+Vt​(y,o)), where δ(z)=1\delta(z)=1δ(z)=1 if z>0z>0z>0 and 000 otherwise.

Hypotheses. A period ttt with 1≤t≤T1\le t\le T1≤t≤T and an arbitrary vector o∈RMo\in\mathbb{R}^Mo∈RM. Negative entries are allowed.

Conclusion. Both of the following hold.

  1. y↦Vt(y,o)y\mapsto V_t(y,o)y↦Vt​(y,o) is (0,Kt)(0,K_t)(0,Kt​)-convex: for all x1≤x2x_1\le x_2x1​≤x2​ and θ∈[0,1]\theta\in[0,1]θ∈[0,1],
Vt(θx1+(1−θ)x2,o)≤θVt(x1,o)+(1−θ)(Kt+Vt(x2,o)).V_t(\theta x_1+(1-\theta)x_2,o)\le\theta V_t(x_1,o)+(1-\theta)(K_t+V_t(x_2,o)).Vt​(θx1​+(1−θ)x2​,o)≤θVt​(x1​,o)+(1−θ)(Kt​+Vt​(x2​,o)).
  1. Vt(y,o)→+∞V_t(y,o)\to+\inftyVt​(y,o)→+∞ as ∣y∣→∞|y|\to\infty∣y∣→∞.

Degenerate cases:

  • T=0T=0T=0: no ttt qualifies, so the statement is vacuous.
  • t=Tt=Tt=T: JT+1=0J_{T+1}=0JT+1​=0, so VT=GTV_T=G_TVT​=GT​.
  • Default values: the definitions use 000 for integrals of non-integrable integrands and for infima of sets unbounded below. The statement makes no separate claim about whether those defaults occur.
  • L=0L=0L=0: allowed.
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