Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2, p. 828 — the decomposition policy π* is optimal for the average-cost problem IH

Proved
FZEchelon.AverageCost.theorem2_policy_optimal

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

average-costdynamic-programminginventorymultiechelonp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Consider the depot–outlet inventory system under the average-expected-cost criterion (α=1\alpha = 1α=1), with no proportional order or shipment costs (cd=cr=0c^d = c^r = 0cd=cr=0), positive fixed order cost KKK and positive holding and penalty rates hd,hr,prh^d, h^r, p^rhd,hr,pr, and i.i.d. nonnegative continuous demands with finite mean. Let xr∗x^{r*}xr∗ be a global minimizer of RRR (the outlet's critical number), and let σd\sigma^dσd be a measurable, nonnegative stationary order rule that is optimal for the depot problem IHd^dd (from every depot state with y~≥0\tilde y \ge 0y~​≥0). Let π∗\pi^*π∗ be the stationary policy that orders σd(y~,vd)\sigma^d(\tilde y, v^d)σd(y~​,vd) and ships

z=max⁡(0, min⁡(xr∗,vd+yL)−xr).z = \max\big(0,\ \min(x^{r*}, v^d + y^L) - x^r\big).z=max(0, min(xr∗,vd+yL)−xr).

Then

  1. π∗\pi^*π∗ is measurable and feasible from every physical state (y~≥0\tilde y \ge 0y~​≥0, xr≤vdx^r \le v^dxr≤vd);
  2. for every physical state sss and every measurable policy π\piπ feasible from sss,
B(s∣π∗)≤B(s∣π),B(s \mid \pi^*) \le B(s \mid \pi),B(s∣π∗)≤B(s∣π),

where B(s∣π)=lim sup⁡n1nBn(s∣π)B(s \mid \pi) = \limsup_{n} \frac1n B_n(s \mid \pi)B(s∣π)=limsupn​n1​Bn​(s∣π) is the average cost.

That is, π∗\pi^*π∗ is optimal for problem IH: the two-echelon average-cost problem is solved by combining an optimal policy of a single-location problem for the depot, with the induced penalty PPP, and the critical-number policy of the outlet.

Formalization Note. The paper reduces to cd=cr=0c^d = c^r = 0cd=cr=0 "without loss of generality", arguing that the average proportional costs are cdμc^d\mucdμ and crμc^r\mucrμ "under all interesting policies" (p. 827). That class is not specified, and the paper's proofs are written for cd=cr=0c^d = c^r = 0cd=cr=0; the general-cost version is therefore not part of this statement. Policies are deterministic, history-dependent and measurable, and feasibility is required along every demand realization. The existence of σd\sigma^dσd (an optimal stationary (s,S)(s,S)(s,S) policy) is Iglehart's 1963 result, cited by the paper. Average costs are lim sup⁡\limsuplimsups in the extended reals.

Preamble
import Mathlib
import Definitions.Def_FZEchelon_AverageCost_Model
import Definitions.Def_FZEchelon_AverageCost_Policies
import Definitions.Def_FZEchelon_AverageCost_ValueFunctions
open MeasureTheory Filter Topology
Formal statement
namespace FZEchelon.AverageCost

/-- Theorem 2, §3, p. 828: the policy `π*` is optimal for problem IH. With `α = 1` and
`c^d = c^r = 0`, `π*` is measurable and feasible from every physical state, and its average cost is
at most that of every measurable feasible policy, from every physical state. -/
theorem theorem2_policy_optimal (m : Model) (hα : m.α = 1) (hcd : m.cd = 0)
    (hcr : m.cr = 0) (hK : 0 < m.K) (hhd : 0 < m.hd) (hhr : 0 < m.hr) (hpr : 0 < m.pr)
    [IsProbabilityMeasure m.ν] (hν0 : m.ν (Set.Iio 0) = 0) (hνatom : ∀ t, m.ν {t} = 0)
    (hνint : Integrable id m.ν)
    (xstar : ℝ) (hx : ∀ x, m.R xstar ≤ m.R x)
    (σd : DepotState m.L → ℝ) (hσm : Measurable σd) (hσ0 : ∀ p, 0 ≤ σd p)
    (hσopt : ∀ p : DepotState m.L, (∀ k, 0 ≤ p.1 k) →
      ∀ π : Policy (DepotState m.L) ℝ, m.DepotAdmissible π p →
        m.depotAvg xstar (m.depotStationary σd) p ≤ m.depotAvg xstar π p) :
    (∀ s : SysState m.L, InDomain s → m.SysAdmissible (m.piStar σd xstar) s) ∧
      ∀ s : SysState m.L, InDomain s →
        ∀ π : Policy (SysState m.L) (ℝ × ℝ), m.SysAdmissible π s →
          m.sysAvg (m.piStar σd xstar) s ≤ m.sysAvg π s := by sorry

end FZEchelon.AverageCost
Source
Federgruen and Zipkin, Computational Issues in an Infinite-Horizon, Multiechelon Inventory Model, Oper. Res. 32(4), 1984, p. 828, Theorem 2; problem IH (p. 824), π* (p. 825), reduction to c^d = c^r = 0 (pp. 827-828)
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 5, 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