Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The expected backlog function is nonnegative and nonincreasing

Proved
RoslingAssembly.backlog_nonneg_antitone

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

assembly-systemsinventorymulti-echelon-inventoryoperations-researchstochastic-control

Let the one-period demand have a density, be nonnegative and have finite mean λ>0\lambda>0λ>0. For every m∈Nm\in\mathbb Nm∈N the expected backlog function

Gm(y)=∫y∞(ξ−y) φm+1(ξ) dξ=E[(ξ1+⋯+ξm+1−y)+]G_m(y)=\int_y^\infty(\xi-y)\,\varphi^{m+1}(\xi)\,d\xi=\mathbb E\big[(\xi_1+\dots+\xi_{m+1}-y)^+\big]Gm​(y)=∫y∞​(ξ−y)φm+1(ξ)dξ=E[(ξ1​+⋯+ξm+1​−y)+]

satisfies Gm(y)≥0G_m(y)\ge0Gm​(y)≥0 for every y∈Ry\in\mathbb Ry∈R and is nonincreasing in yyy.

With the cost formula for the perturbed policy, this bounds the end item's backlog term independently of the number of extra units.

Formalization Note The paper uses m=l1m=l_1m=l1​.

Differences from the source:

  • encoding: the backlog integral with φ_1^{l_1+1}, the convolution over l_1 + 1 periods → backlogG μ m for any m : ℕ, an expectation under Measure.pi over Fin (m + 1); reason: m is a name for the arbitrary lead time l_1; the convolution integral is the expectation of the (m + 1)-fold sum
  • encoding: ξ_t ≥ 0 i.i.d. with density φ and mean λ > 0; φ_1^{l_1+1} the (l_1 + 1)-fold convolution → law μ with μ(−∞, 0) = 0, μ ≪ Lebesgue, ∫|x| dμ < ∞, ∫ x dμ > 0, on (ℕ → ℝ, Measure.infinitePi); ∫y^∞ (ξ − y) φ^{l_1+1}(ξ) dξ written as E[(ξ_1 + … + ξ{l_1+1} − y)^+] under Measure.pi; reason: same objects
Preamble
import Mathlib
import Definitions.Def_RoslingAssembly_backlogG
open MeasureTheory
Formal statement
namespace RoslingAssembly

/-- **The expected backlog function is nonnegative and nonincreasing** (p. 567, (2),
unnumbered). Rosling, *Optimal Inventory Policies for Assembly Systems under Random Demands*,
Operations Research 37(4), 1989, p. 567: the backlog term "∫_{Y_1t}^∞ (ξ − Y_1t) φ_1^{l_1+1}(ξ) dξ"
of (2), "where φ_1^{l_1+1}(·) is the convolution of φ(·) over (l_1 + 1) periods."

For a one-period demand law `μ` (a probability measure with a density, supported on `[0, ∞)`,
with finite mean `λ > 0`) and every `m : ℕ`, the function
`G_m(y) = ∫_y^∞ (ξ − y) φ^{m+1}(ξ) dξ = E[(ξ_1 + … + ξ_{m+1} − y)^+]` satisfies `G_m(y) ≥ 0` for
all `y` and is nonincreasing in `y`.

**Formalization Note.** The paper uses `m = l_1`, the end item's lead time; the statement holds
for every `m`. The convolution is written with `Measure.pi` over `Fin (m + 1)`. -/
theorem backlog_nonneg_antitone (μ : Measure ℝ) [IsProbabilityMeasure μ]
    (hμ0 : μ (Set.Iio 0) = 0) (hμac : μ ≪ volume) (hμi : Integrable (fun x => x) μ)
    (hlam : 0 < ∫ x, x ∂μ) (m : ℕ) :
    (∀ y : ℝ, 0 ≤ backlogG μ m y) ∧ Antitone (backlogG μ m) := by sorry

end RoslingAssembly
Source
Rosling, Optimal Inventory Policies for Assembly Systems under Random Demands, Operations Research 37(4), 1989, §1, p. 567, (2) (unnumbered)

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