Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§2, p. 478, item 3 — the functions fₙ of (7) are convex

Proved
ClarkScarf.Serial.fLag_convex

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

convexitydynamic-programminginventoryp2o-batch-pfp1bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let fnf_nfn​ be the functions of (7) for installation 1 of the two-installation model: fn≡0f_n\equiv0fn​≡0 for n≤2n\le2n≤2 and, for n≥3n\ge3n≥3,

fn(u)=inf⁡y≥u{c1(y−u)+α2∫0∞ ⁣ ⁣∫0∞L(y−t1−t2)φ(t1)φ(t2) dt2 dt1+α∫0∞fn−1(y−t)φ(t) dt},f_n(u)=\inf_{y\ge u}\Big\{c_1(y-u)+\alpha^2\int_0^\infty\!\!\int_0^\infty L(y-t_1-t_2)\varphi(t_1)\varphi(t_2)\,dt_2\,dt_1+\alpha\int_0^\infty f_{n-1}(y-t)\varphi(t)\,dt\Big\},fn​(u)=y≥uinf​{c1​(y−u)+α2∫0∞​∫0∞​L(y−t1​−t2​)φ(t1​)φ(t2​)dt2​dt1​+α∫0∞​fn−1​(y−t)φ(t)dt},

with linear shipping cost c1≥0c_1\ge0c1​≥0 (no setup cost). Then for every nnn, fnf_nfn​ is a convex function on R\mathbb RR.

Convexity of fnf_nfn​ is what makes the optimal shipment policy of installation 1 a single critical number xˉn\bar x_nxˉn​, and it is used to show that a constrained installation 1 should ship as much as it can.

Formalization Note Only the convexity clause of item 3 is formalized; the paper's additional claim fn′(u)=−cf_n'(u)=-cfn′​(u)=−c for u≤xˉnu\le\bar x_nu≤xˉn​ (cited from its Reference 2) is not part of this item. In (7) the shipping cost c1c_1c1​ plays the role of the setup-free purchase cost of item 3.

Preamble
import Mathlib
import Definitions.Def_ClarkScarf_Serial_Model

open MeasureTheory Set
Formal statement
namespace ClarkScarf.Serial

/-- §2, p. 478, item 3 (convexity clause), for the functions `f_n` of (7): every `f_n` is convex. -/
theorem fLag_convex (M : Model) (n : ℕ) : ConvexOn ℝ univ (M.fLag n) := by sorry

end ClarkScarf.Serial
Source
Clark and Scarf, Optimal Policies for a Multi-Echelon Inventory Problem, Management Sci. 6(4), 1960, p. 478, §2 item 3 (convexity of f_n), applied to eq. (7) p. 480
Human review
  • Endorsed by Shuze Chen · Oct 4, 2026

    Confirmed by the moderator at approval.

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