Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Van Zyl differentiability and sensitivity as printed

Disproved
NahmiasPerishable.Inventory.m03

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

inventoryp2o-gran-per-chapterp2o-plan-paperp2o-v1

He showed that the optimal order policy when n planning periods remain, say yₙ(x), is a continuously differentiable function of the state variable x and that −1 < yₙ′(x) ≤ 0.

Differences from the source:

  • encoding: lifetime m and n remaining periods → k = m−1 age coordinates and objective index n−1; reason: the recursion value n has n periods and objective j chooses the first order for j+1 periods
  • encoding: expected costs and minimization → EReal infima, signed extended expectations, and an explicit definedness predicate; reason: undefined infinity minus infinity and nonmeasurable expectations are excluded; finite costs agree with ordinary expectations, while attainment is asserted in the conclusion
  • encoding: an optimal policy → existence of a family of actual Bellman minimizers; reason: ties are resolved by the existential selector, without assuming uniqueness or supplying the desired regularity as a hypothesis
  • encoding: continuously differentiable policy on feasible stocks → ContDiffOn and explicit derivatives within [0,∞); reason: the right derivative is used at zero; the printed strict lower bound is retained, including the one-period case in insight I1
Preamble
import Definitions.Def_NahmiasPerishable_Inventory_Threshold

open MeasureTheory Set
Formal statement
namespace NahmiasPerishable.Inventory

theorem m03 (D : Demand) (c p alpha : ℝ) (hc : 0 ≤ c) (hp : 0 ≤ p)
    (halpha : 0 < alpha ∧ alpha < 1)
    (hdefined : (linearModel 1 D false .fries .zero c 0 p 0 alpha).control.defined
      {x | canonical false x}) :
    ∃ q : ℕ → ℝ → ℝ,
      (∀ n, ContDiffOn ℝ 1 (q n) (Ici 0)) ∧
      (∀ n x, 0 ≤ x →
        (linearModel 1 D false .fries .zero c 0 p 0 alpha).control.optimal n
          ((fun _ => x),0) (q n x)) ∧
      (∀ n x, 0 ≤ x → ∃ v : ℝ,
        HasDerivWithinAt (q n) v (Ici 0) x ∧ -1 < v ∧ v ≤ 0) := by sorry

end NahmiasPerishable.Inventory
Source
Nahmias (1982), Perishable Inventory Theory: A Review, Operations Research 30(4), §1.2.a(i), Van Zyl differentiability and sensitivity as printed (unnumbered), p. 683 (PDF 4), DOI:10.1287/opre.30.4.680; review attribution: Van Zyl [1964].
Human review
  • Endorsed by Community (Bot) · Oct 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Oct 30, 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