Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§6.1, Rule 2 — after an order of TB there are no unsatisfied units of demand

Proved
LeviBalancing.TripleBalancing.no_backorders_after_order

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

balancing-policyinventory-controlp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1stochastic-lot-sizing

Let TB be the triple-balancing policy for a stochastic lot-sizing model with conditional demand law III. In every period s∈{1,…,T}s\in\{1,\dots,T\}s∈{1,…,T} in which TB places an order (QsTB>0Q_s^{TB}>0QsTB​>0), the inventory level after ordering covers the demand of the period:

Ds≤ysTB,D_s\le y_s^{TB},Ds​≤ysTB​,

that is, at the end of a period in which an order was placed, there are no unsatisfied units of demand.

This observation is used in both Lemma 6.1 and Lemma 6.2: it makes the backlogging cost of TB between two consecutive orders depend only on the demand after the first of them.

Preamble
import Mathlib
import Definitions.Def_LeviBalancing_TripleBalancing_Model
import Definitions.Def_LeviBalancing_TripleBalancing_Policy
import Definitions.Def_LeviBalancing_TripleBalancing_TBPolicy

open MeasureTheory ProbabilityTheory
Formal statement
namespace LeviBalancing.TripleBalancing

/-- §6.1, Rule 2 observation (p. 299): in a period in which the triple-balancing policy places an
order, no demand is left unsatisfied at the end of the period. -/
theorem no_backorders_after_order {Ω : Type*} [MeasurableSpace Ω] (M : LotSizingModel Ω)
    (I : ℕ → Kernel Ω (ℕ → ℝ)) (hI : M.IsCondDemandLaw I)
    (TB : ℕ → Ω → ℝ) (hTB : IsTripleBalancing M I TB) :
    ∀ s ∈ Finset.Icc 1 M.T, ∀ ω, 0 < TB s ω → M.D s ω ≤ levelAfter M TB s ω := by sorry

end LeviBalancing.TripleBalancing
Source
Levi, Pál, Roundy & Shmoys, Approximation Algorithms for Stochastic Inventory Control Models, Math. Oper. Res. 32(2):284–302 (2007), DOI 10.1287/moor.1060.0205, p. 299 (PDF 16), §6.1, Rule 2
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