Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 1, p. 13 — if shipping is optimal at slack z ≥ 3, it is optimal at slack z − 1

Proved
ShipConsol.OneWH.theorem_1_ship_step

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

dynamic-programmingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1shipment-consolidationthreshold-policy

Consider the one-warehouse fixed-cost model: a fixed shipping cost FFF that is convex and non-increasing on [1,∞)[1,\infty)[1,∞), an arrival probability α∈[0,1]\alpha \in [0,1]α∈[0,1], a deadline d≥1d \ge 1d≥1, and the cost-to-go functions Vt(z)V_t(z)Vt​(z), Vt(∞)V_t(\infty)Vt​(∞) of the dynamic program (2)–(3). Fix a period t≥2t \ge 2t≥2 and a slack 3≤z≤d3 \le z \le d3≤z≤d. If shipping all pending orders is optimal at slack zzz, that is,

Vt(z)=F(z)+Vt(∞),V_t(z) = F(z) + V_t(\infty),Vt​(z)=F(z)+Vt​(∞),

then shipping all pending orders is also optimal at slack z−1z-1z−1:

Vt(z−1)=F(z−1)+Vt(∞).V_t(z-1) = F(z-1) + V_t(\infty).Vt​(z−1)=F(z−1)+Vt​(∞).

The set of slacks at which shipping is optimal is therefore closed downward, which is the reduction the paper uses to prove Theorem 1.

Formalization Note. "Optimal" means that the ship branch of (2) attains the minimum (ties allowed). The case t=1t = 1t=1 is omitted because shipping is forced, hence always optimal, in the last period; the cases z≤2z \le 2z≤2 are the paper's "trivial" cases.

Preamble
import Mathlib
import Definitions.Def_ShipConsol_OneWH_Setting
Formal statement
namespace ShipConsol.OneWH
theorem theorem_1_ship_step (F : ℝ → ℝ) (hFconv : ConvexOn ℝ (Set.Ici 1) F) (hFanti : AntitoneOn F (Set.Ici 1)) (α : ℝ) (hα : α ∈ Set.Icc (0 : ℝ) 1) (d : ℕ) (hd : 1 ≤ d) (t z : ℕ) (ht : 2 ≤ t) (hz : 3 ≤ z) (hzd : z ≤ d) (hship : ShipOptimal F α d t z) : ShipOptimal F α d t (z - 1) := by sorry
end ShipConsol.OneWH
Source
Wei, Kapuscinski & Jasin, Shipping Consolidation across Two Warehouses with Delivery Deadline and Expedited Options for E-commerce and Omni-channel Retailers, author's manuscript, SSRN 2920899 (M&SOM 2020, doi:10.1287/msom.2020.0903), proof of Theorem 1, p. 13, "it is sufficient to show that if the optimal decision for slack time z ≥ 3 is to ship all orders, then …"
Human review
  • Endorsed by Shuze Chen · Oct 19, 2026

    Confirmed by the moderator at approval.

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