METRIC: A Multi-Echelon Technique for Recoverable Item Control 1: The Marginal Conditions on the Convex Hull of Each Item's Decreasing Cost Function Determine a Unique Optimal AllocationResearch Paper
Why marginal allocation needs a convex hull
Service organizations keep repairable spare parts at a depot and at operating bases. Stock has a purchase or holding cost, while insufficient stock leaves backorders. Craig Sherbrooke's METRIC study describes how to evaluate such a system and distribute additional units among item types. Its fifth computational stage compares the reduction in expected backorders from the next unit with the cost of that unit. The comparison is delicate because the backorder function after optimizing the depot–base split can fail to be convex as a function of total item stock, even though a fixed depot-stock version is convex. Sherbrooke therefore introduces a convex extension before applying marginal analysis (Sherbrooke 1968, pp. 134–135).
This mission isolates the theorem in the paper's Appendix. It concerns abstract item functions with the properties needed for the allocation rule, so the result can be studied independently of the queueing assumptions and the FORTRAN procedure that produced those functions in METRIC. The paper supplies a proof of the Appendix theorem; the mission seeks a machine-checked formalization of its precise mathematical content (Sherbrooke 1968, pp. 140–141).
Setting: stock levels, costs, and the lower boundary
There is a finite collection of items indexed by . A decision assigns each item a stock level , where is permitted. Item has a unit cost and a real-valued function representing the backorder contribution associated with stock level . In the METRIC application, is obtained after choosing the best allocation of units between depot and bases. The Appendix theorem uses only that is nonincreasing and has a finite lower bound. “Decreasing” is read weakly: the paper's justification says that adding a unit “cannot exceed” the backorders at the previous level (Sherbrooke 1968, p. 136).
For a function , write . The function is discretely convex when at every level. The lower convex hull , written in the paper, is the greatest discretely convex function at or below . It follows the lower boundary of the convex hull of the points ; a point above that boundary is lowered, while a contact point keeps its original value (Sherbrooke 1968, pp. 135–136, 140). The existing ServiceParts.StockLevels.Basic definition supplies and for real stock-level functions; this mission reuses it.
The original objective is the separable sum
For each item, conditions (12) select the first level where adding another unit no longer lowers the convexified cost:
The second condition is automatic at , following the paper's convention (Sherbrooke 1968, p. 140, Eqs. (11)–(12)).
Formalization targets
The Appendix goal is that each item's conditions (12) have exactly one solution and that the vector formed from those solutions minimizes the original, possibly nonconvex objective:
The milestone list follows the Appendix's claims: the lower boundary is a convex minorant; its marginal changes approach zero; (12) has a solution and that solution is unique; it minimizes the convexified single-item cost; and the selected level is a contact point where . The final comparison is with , not just with the objective formed from (Sherbrooke 1968, pp. 140–141).
What the result establishes
The theorem licenses the paper's marginal allocation rule even when an item's original backorder function has nonconvex points. The rule can use a convex lower boundary to identify a level, yet the resulting allocation is optimal for the original function. Without the contact-point conclusion, optimality of the modified objective alone would not give that guarantee. The theorem is stated for any finite number of independent items with the listed properties, so it is reusable beyond the specific depot–base model (Sherbrooke 1968, pp. 134–136, 140–141).
The paper proves the result informally. This mission's definitions and theorem statements compile locally as open Lean goals; they do not yet constitute a machine-checked proof. A related published Prove2Me result, ServiceParts.Allocation.allocOpt_correct, proves correctness of an allocation algorithm for piecewise-linear functions assumed convex. It does not address the convexification or contact claim here. The platform's posed ServiceParts.StockLevels.optimal_stock_criterion and greedy_fill_rate_optimal concern other marginal criteria and likewise do not settle this Appendix theorem. A successful development would provide reusable Lean infrastructure for lower convex envelopes of integer sequences, their forward differences, and separable finite allocations.
Difficulty
A one-step marginal comparison on the raw is insufficient when its forward differences can fall and then rise: an apparent local stopping point need not minimize the full sequence. Replacing by a convex minorant restores ordered marginal changes, but a minimizer of a smaller function need not minimize the original function. The central burden is therefore the exact relation between the lower boundary and the original points at a level selected by the strict condition in (12). Ties in the objective add a second precision issue: the selected level is unique under the rule even when the objective has more than one minimizer (Sherbrooke 1968, pp. 135, 140–141).
Formalization scope and conventions
Stock levels are natural numbers, item contributions and costs are real, and the item type is finite; the empty item type is allowed, making both the sum and the coordinatewise statement trivial. The functions are nonincreasing and bounded below, as in the Appendix. The lower hull is a pointwise real supremum over all discretely convex minorants. Its defining family is nonempty and bounded at each point under the lower-bound hypothesis, which every hull theorem carries. The hull is therefore fixed by the input function rather than supplied as an arbitrary minorant. The goal compares every vector in , without a budget restriction. The formalization does not use a default value for : the predecessor condition applies only to positive stock levels.
The paper prints with at least one positive cost. Its existence assertion fails when a particular : for , a bounded, decreasing, convex sequence, the first inequality of (12) never holds. The goal and existence milestone therefore require for every present item. The paper's phrase “unique optimizing” is interpreted as uniqueness of the stock vector determined by (12), together with its optimality. It cannot assert uniqueness among all minimizers: with , , and for , levels and tie. The proof's own wording identifies (12) as the unique selection rule (Sherbrooke 1968, p. 140).
The formalization contains separate definitions for discrete convexity, the greatest lower hull, conditions (12), and objective (11). It welcomes proofs and general lemmas about convex integer sequences and finite separable sums. The METRIC computation, empirical Air Force data, equations (7)–(9), and the discussion of Lagrangian versus combinatorial solutions are context rather than goals of this mission. A definition that simply sets , or a conclusion that minimizes only the hull objective, would omit the theorem's content.
Selected references
- Craig C. Sherbrooke, METRIC: A Multi-Echelon Technique for Recoverable Item Control, Operations Research 16(1), 122–141, 1968. DOI: 10.1287/opre.16.1.122.