Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Predecessors have larger total lead time: Mi+lk≤MkM_i+l_k\le M_kMi​+lk​≤Mk​ for k∈B(i)k\in B(i)k∈B(i)

Proved
RoslingAssembly.total_lead_pred_ge

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

assembly-systemsinventorymulti-echelon-inventoryoperations-researchstochastic-control

In every assembly network with lead times lll, for every item iii and every predecessor k∈B(i)k\in B(i)k∈B(i),

Mi+lk≤Mk;M_i+l_k\le M_k ;Mi​+lk​≤Mk​;

in particular Mi≤MkM_i\le M_kMi​≤Mk​, so Mk−MiM_k-M_iMk​−Mi​ is the nonnegative number of periods between the extra order of kkk and that of iii in the proof of Theorem 4(i).

Formalization Note Items are Fin N, 0-based. The form Mi+lk≤MkM_i+l_k\le M_kMi​+lk​≤Mk​ contains Mi≤MkM_i\le M_kMi​≤Mk​.

Differences from the source:

  • generalization: the items are indexed so that M_i ≥ M_{i−1} for all i (p. 567) → not assumed; only the clause k < i for k ∈ A(i) is kept (Network.s_lt); reason: the clause is never used; every tree has such an indexing and the statement is invariant under reindexing, so the Lean statement specializes to the paper's
  • encoding: items 1, …, N, end item 1, s(1) = 0, M_0 = 0 → items Fin N, 0-based, end item 0, s 0 = none, Ms 0 = 0; reason: renaming of indices; same instances
Preamble
import Mathlib
import Definitions.Def_RoslingAssembly_Network_B
import Definitions.Def_RoslingAssembly_Network_M
Formal statement
namespace RoslingAssembly

/-- **Predecessors have larger total lead time** (Appendix B, Proof of Theorem 4, p. 578,
unnumbered). Rosling, *Optimal Inventory Policies for Assembly Systems under Random Demands*,
Operations Research 37(4), 1989, p. 578: "The additional cost of this policy is for the first
M_m − M_i periods (capitalized to period M_m − M_i + 1) Σ_{k∈B(i)} h_k · α^{l_k}(1 + α + . . . +
α^{M_k−M_i−1}) · α^{−(M_k−M_i)}", which treats `M_k − M_i` as a period count for `k ∈ B(i)`.

For every predecessor `k ∈ B(i)` of an item `i`, `M_i + l_k ≤ M_k`; in particular `M_i ≤ M_k`.

**Formalization Note.** Items are `Fin N`, 0-based. The stated form `M_i + l_k ≤ M_k` is the
stronger one (it contains `M_i ≤ M_k`). -/
theorem total_lead_pred_ge {N : ℕ} (net : Network N) (ℓ : Fin N → ℕ) (i : Fin N) :
    ∀ k ∈ net.B i, net.M ℓ i + ℓ k ≤ net.M ℓ k := by sorry

end RoslingAssembly
Source
Rosling, Optimal Inventory Policies for Assembly Systems under Random Demands, Operations Research 37(4), 1989, Appendix B, Proof of Theorem 4, p. 578 (unnumbered; implicit in 'the first M_k − M_i periods')

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