Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix THEOREM — the unique marginal allocation minimizes the original cost

Proved
SherbrookeMetric.ConvexHull.appendix_theorem

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

discrete-convexityinventorymarginal-analysisoptimizationp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Consider finitely many items iii. For each item, let ci>0c_i>0ci​>0 be its unit cost and let Ξi:N→R\Xi_i:\mathbb N\to\mathbb RΞi​:N→R be a nonincreasing function with a finite lower bound. Write HiH_iHi​ for the greatest discretely convex minorant of Ξi\Xi_iΞi​. Then each item has exactly one stock level mˉi\bar m_imˉi​ satisfying the marginal conditions (12). Every vector mˉ\bar mmˉ of such levels minimizes the original separable objective over all vectors of nonnegative integer stock levels:

∑i(cimˉi+Ξi(mˉi))≤∑i(cimi+Ξi(mi))for every m∈NI.\sum_i\bigl(c_i\bar m_i+\Xi_i(\bar m_i)\bigr) \le\sum_i\bigl(c_i m_i+\Xi_i(m_i)\bigr) \qquad\text{for every }m\in\mathbb N^I.i∑​(ci​mˉi​+Ξi​(mˉi​))≤i∑​(ci​mi​+Ξi​(mi​))for every m∈NI.

This justifies Sherbrooke's marginal allocation rule after convexifying possibly nonconvex item backorder functions. Equations (7)–(9) motivate the rule in the METRIC model; the Appendix result itself uses only the abstract item functions stated here.

Formalization Note The paper's “nonnegative and not all zero” costs are corrected to ci>0c_i>0ci​>0 for every present item. For c=0c=0c=0 and Ξ(m)=1/(m+1)\Xi(m)=1/(m+1)Ξ(m)=1/(m+1), (12) has no solution. “Unique optimizing” is read as uniqueness of the solution selected by (12), not uniqueness of every minimizer of (11): with c=1c=1c=1 and Ξ(0)=1\Xi(0)=1Ξ(0)=1, Ξ(m)=0\Xi(m)=0Ξ(m)=0 for m≥1m\ge1m≥1, the levels 000 and 111 tie. At mˉ=0\bar m=0mˉ=0 the second line of (12) follows the paper's H(−1)=+∞H(-1)=+\inftyH(−1)=+∞ convention.

Preamble
import Mathlib
import Definitions.Def_SherbrookeMetric_ConvexHull_LowerHull
import Definitions.Def_SherbrookeMetric_ConvexHull_MarginalConditions
import Definitions.Def_SherbrookeMetric_ConvexHull_Objective
Formal statement
namespace SherbrookeMetric.ConvexHull

/-- Appendix THEOREM, p. 140, with the unit-cost correction recorded in the
mission notes: the marginal conditions select one vector, and that vector
minimizes equation (11) with the original item functions. -/
theorem appendix_theorem {ι : Type*} [Fintype ι] (c : ι → ℝ) (Ξ : ι → ℕ → ℝ)
    (hc : ∀ i : ι, 0 < c i) (hanti : ∀ i : ι, Antitone (Ξ i))
    (hbdd : ∀ i : ι, BddBelow (Set.range (Ξ i))) :
    (∀ i : ι, ∃! m : ℕ, MarginalConditions (c i) (lowerHull (Ξ i)) m) ∧
      ∀ mbar : ι → ℕ,
        (∀ i : ι, MarginalConditions (c i) (lowerHull (Ξ i)) (mbar i)) →
          ∀ m : ι → ℕ, objective c Ξ mbar ≤ objective c Ξ m := by sorry

end SherbrookeMetric.ConvexHull
Source
Sherbrooke, METRIC: A Multi-Echelon Technique for Recoverable Item Control, Oper. Res. 16 (1968), p. 140, Appendix THEOREM, Eqs. (11)–(12), with proof ending p. 141; DOI 10.1287/opre.16.1.122
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

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