Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (38), p. 83 — ∫ c′(s̄ − x) f_s(x) dx = 0 has a unique root, ⇔ Pr(D_r + D_s ≤ s̄) = β/(h_r + β); optima with s_s ≤ 0 have s_r + s_s = s̄

Proved
CachonCoord.TwoLocation.eq_38

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

base-stockoptimizationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1supply-chain

In the two-location base-stock model, with c′(y)=(hr+β)Fr(y)−βc'(y) = (h_r + \beta)F_r(y) - \betac′(y)=(hr​+β)Fr​(y)−β:

  1. there is exactly one sˉ\bar ssˉ with
∫0∞c′(sˉ−x) fs(x) dx=0;(38)\int_0^\infty c'(\bar s - x)\,f_s(x)\,dx = 0; \qquad (38)∫0∞​c′(sˉ−x)fs​(x)dx=0;(38)
  1. for every sss, the equation ∫0∞c′(s−x)fs(x) dx=0\int_0^\infty c'(s-x)f_s(x)\,dx = 0∫0∞​c′(s−x)fs​(x)dx=0 holds if and only if
Pr⁡(Dr+Ds≤s)=βhr+β,\Pr(D_r + D_s \le s) = \frac{\beta}{h_r+\beta},Pr(Dr​+Ds​≤s)=hr​+ββ​,

where DrD_rDr​ and DsD_sDs​ are independent; 3. every optimal policy {s~r2,s~s2}\{\tilde s^2_r, \tilde s^2_s\}{s~r2​,s~s2​} (a minimizer of Π\PiΠ over R2\mathbb R^2R2) with s~s2≤0\tilde s^2_s \le 0s~s2​≤0 satisfies s~r2+s~s2=sˉ\tilde s^2_r + \tilde s^2_s = \bar ss~r2​+s~s2​=sˉ.

This describes the candidate optimal policies in which the supplier holds no inventory: only the total base stock sˉ\bar ssˉ matters. Comparing sˉ\bar ssˉ with s~r1\tilde s^1_rs~r1​ decides which kind of policy is optimal.

Formalization Note The integral over [0,∞)[0,\infty)[0,∞) is written over R\mathbb RR against the law of DsD_sDs​; the two agree because Ds≥0D_s \ge 0Ds​≥0. The independence of DrD_rDr​ and DsD_sDs​ is implicit on the page; it enters only through Pr⁡(Dr+Ds≤s)\Pr(D_r + D_s \le s)Pr(Dr​+Ds​≤s), which is formalized as the convolution of the two laws evaluated on (−∞,s](-\infty, s](−∞,s].

Preamble
import Mathlib
import Definitions.Def_CachonCoord_TwoLocation_Model

open MeasureTheory
Formal statement
namespace CachonCoord.TwoLocation

/-- §6.8.4, p. 83, Eq. (38). The equation `∫_0^∞ c'(s̄ − x) f_s(x) dx = 0` has exactly one
solution `s̄`; it is equivalent to `Pr(D_r + D_s ≤ s̄) = β/(h_r + β)` for independent `D_r`,
`D_s` (the law of `D_r + D_s` being the convolution of the two laws); and every optimal policy
`{s̃²_r, s̃²_s}` with `s̃²_s ≤ 0` satisfies `s̃²_r + s̃²_s = s̄`. -/
theorem eq_38 (M : Model) :
    (∃! sbar : ℝ, ∫ x, M.cDeriv (sbar - x) ∂M.lawS = 0) ∧
    (∀ s : ℝ, ∫ x, M.cDeriv (s - x) ∂M.lawS = 0 ↔
      (M.lawR.conv M.lawS).real (Set.Iic s) = M.beta / (M.hr + M.beta)) ∧
    (∀ sbar : ℝ, ∫ x, M.cDeriv (sbar - x) ∂M.lawS = 0 →
      ∀ sr ss : ℝ, IsMinOn (fun p : ℝ × ℝ => M.Pi p.1 p.2) Set.univ (sr, ss) → ss ≤ 0 →
        sr + ss = sbar) := by sorry

end CachonCoord.TwoLocation
Source
Cachon (2003), Supply Chain Coordination with Contracts, 3rd draft (Jan. 2003), §6.8.4, p. 83, Eq. (38) with the preceding sentence on candidate policies with s_s ≤ 0 and the display Pr(D_r + D_s ≤ s̄) = β/(h_r + β)
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