Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1, Part 3 — Jt(⋅,ot)∈C(0,Kt)J_t(\cdot, o_t) \in C(0,K_t)Jt​(⋅,ot​)∈C(0,Kt​), Jt→∞J_t \to \inftyJt​→∞ at +∞+\infty+∞ and Jt→Vt(st(ot),ot)J_t \to V_t(s_t(o_t), o_t)Jt​→Vt​(st​(ot​),ot​) at −∞-\infty−∞

Proved
GallegoOzerADI.PositiveSetup.J_abConvex_limits

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

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

In the finite-horizon inventory model with advance demand information and set-up costs (Definition Model), with N>L+1N > L + 1N>L+1, fix a period 1≤t≤T1 \le t \le T1≤t≤T and a vector ot∈RMo_t \in \mathbb{R}^{M}ot​∈RM. Then the optimal cost Jt(⋅,ot)J_t(\cdot, o_t)Jt​(⋅,ot​) of (8) satisfies

Jt(⋅,ot)∈C(0,Kt),lim⁡x→∞Jt(x,ot)=∞,lim⁡x→−∞Jt(x,ot)=Vt(st(ot),ot),J_t(\cdot, o_t) \in C(0, K_t),\qquad \lim_{x \to \infty} J_t(x, o_t) = \infty,\qquad \lim_{x \to -\infty} J_t(x, o_t) = V_t(s_t(o_t), o_t),Jt​(⋅,ot​)∈C(0,Kt​),x→∞lim​Jt​(x,ot​)=∞,x→−∞lim​Jt​(x,ot​)=Vt​(st​(ot​),ot​),

where st(ot)=max⁡{x:Ht(x,ot)≤0}s_t(o_t) = \max\{x : H_t(x, o_t) \le 0\}st​(ot​)=max{x:Ht​(x,ot​)≤0} is the reorder point.

KtK_tKt​-convexity of JtJ_tJt​ is what propagates the (s,S)(s,S)(s,S) structure backwards in time through the expectation in (9) (with Lemma 1, Parts 2 and 4). The limit at −∞-\infty−∞ records that a sufficiently depleted system always orders, paying the same cost.

Formalization Note The reorder point is asserted to exist (IsGreatest {x | H_t(x, o_t) ≤ 0}), and the limit at −∞-\infty−∞ is taken to its value Vt(st(ot),ot)V_t(s_t(o_t), o_t)Vt​(st​(ot​),ot​).

Preamble
import Mathlib
import Definitions.Def_GallegoOzerADI_PositiveSetup_ABConvex
import Definitions.Def_GallegoOzerADI_PositiveSetup_Model

open Filter Topology
Formal statement
namespace GallegoOzerADI.PositiveSetup

theorem J_abConvex_limits {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 x => P.J t x o) ∧
      Tendsto (fun x => P.J t x o) atTop atTop ∧
      ∃ s : ℝ, IsGreatest {x | P.H t x o ≤ 0} s ∧
        Tendsto (fun x => P.J t x o) atBot (𝓝 (P.V t s o)) := 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 3 (proof p. 1356)
Read-back

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

The model. Same setting as above. Fix L,M∈NL,M\in\mathbb{N}L,M∈N with M≥1M\ge1M≥1 and a model PPP with:

  • horizon TTT;
  • convex, coercive, linearly bounded GtG_tGt​;
  • Kt>0K_t>0Kt​>0 and α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​;
  • demand laws μt\mu_tμt​ that are probability measures with almost surely nonnegative, integrable components.

All of these hold for every t∈Nt\in\mathbb{N}t∈N.

Value functions.

  • 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-\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), where oj′=oj+1+DL+2+jo'_j=o_{j+1}+D_{L+2+j}oj′​=oj+1​+DL+2+j​ and oM:=0o_M:=0oM​:=0.
  • JT+1≡0J_{T+1}\equiv0JT+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}(K_t\delta(y-x)+V_t(y,o))Jt​(x,o)=infy≥x​(Kt​δ(y−x)+Vt​(y,o)).
  • Ht(x,o)=Kt+inf⁡y≥xVt(y,o)−Vt(x,o)H_t(x,o)=K_t+\inf_{y\ge x}V_t(y,o)-V_t(x,o)Ht​(x,o)=Kt​+infy≥x​Vt​(y,o)−Vt​(x,o).

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

Conclusion. All three of the following hold.

  1. x↦Jt(x,o)x\mapsto J_t(x,o)x↦Jt​(x,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],
Jt(θx1+(1−θ)x2,o)≤θJt(x1,o)+(1−θ)(Kt+Jt(x2,o)).J_t(\theta x_1+(1-\theta)x_2,o)\le\theta J_t(x_1,o)+(1-\theta)(K_t+J_t(x_2,o)).Jt​(θx1​+(1−θ)x2​,o)≤θJt​(x1​,o)+(1−θ)(Kt​+Jt​(x2​,o)).
  1. Jt(x,o)→+∞J_t(x,o)\to+\inftyJt​(x,o)→+∞ as x→+∞x\to+\inftyx→+∞.
  2. There is a real sss, the greatest element of {x:Ht(x,o)≤0}\{x:H_t(x,o)\le0\}{x:Ht​(x,o)≤0}, such that
lim⁡x→−∞Jt(x,o)=Vt(s,o).\lim_{x\to-\infty}J_t(x,o)=V_t(s,o).x→−∞lim​Jt​(x,o)=Vt​(s,o).

Degenerate cases:

  • T=0T=0T=0: the statement is vacuous.
  • Default values: integrals of non-integrable integrands are taken as 000, and infima of sets unbounded below are taken as 000.
  • Behaviour as x→−∞x\to-\inftyx→−∞: only the limit value is asserted. Divergence to +∞+\infty+∞ is asserted only as x→+∞x\to+\inftyx→+∞.
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