Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§5 (19), p. 17 — C^{TBS-POUT,k⋆} − C^s = (h + b)(σ_i − σ_{i,s})φ[z_i] + umσ_qφ[z_q] + µγ(u − p)

Proved
SpeedFactory.BreakEven.eq_19

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

break-evendual-sourcingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1reshoring

Let the demand be iid N(μ,σ)N(\mu,\sigma)N(μ,σ) under the standing assumptions, and fix a smoothing parameter α∈(−1,1)\alpha\in(-1,1)α∈(−1,1). The TBS-POUT and OUT systems may start from arbitrary deterministic initial conditions. For every γ∈[0,1]\gamma\in[0,1]γ∈[0,1], the optimized dual-sourcing cost and the single-sourcing benchmark satisfy

CTBS-POUT,k⋆−Cs=(h+b)(σi−σi,s)φ[zi]+umσqφ[zq]+μγ(u−p).C^{\mathrm{TBS\text{-}POUT},k^\star}-C^s=(h+b)(\sigma_i-\sigma_{i,s})\varphi[z_i]+um\sigma_q\varphi[z_q]+\mu\gamma(u-p).CTBS-POUT,k⋆−Cs=(h+b)(σi​−σi,s​)φ[zi​]+umσq​φ[zq​]+μγ(u−p).

The sign of this difference decides when a SpeedFactory is economical.

Formalization Note Both costs are the optimized long-run expected costs of the model's dynamics, so this is a statement about the model and not an identity between the closed forms (13) and (18).

Preamble
import Mathlib
import Definitions.Def_SpeedFactory_BreakEven_Model
import Definitions.Def_SpeedFactory_BreakEven_Dynamics

open MeasureTheory ProbabilityTheory
Formal statement
namespace SpeedFactory.BreakEven

/-- The cost difference between dual sourcing and full off-shoring.
Boute, Disney, Gijsbrechts, Van Mieghem, Dual Sourcing and Smoothing under Non-Stationary Demand Time Series: Re-shoring with SpeedFactories, accepted manuscript (revised Nov 28, 2020), p. 17, §5, (19).

Under iid `N(µ, σ)` demand, for every `γ ∈ [0, 1]` and smoothing `α ∈ (−1, 1)`,
`C^{TBS-POUT,k⋆} − C^s = (h + b)(σ_i − σ_{i,s})φ[z_i] + umσ_qφ[z_q] + µγ(u − p)`, where both costs
are the optimized long-run costs of the model.

**Formalization Note.** The TBS-POUT and OUT systems may start from different deterministic
initial inventories (`i0`, `j0`) and the OUT system from any deterministic pipeline; the long-run
costs do not depend on them. -/
theorem eq_19 (M : Model) (hM : M.Standing) {α : ℝ} (hα : α ∈ Set.Ioo (-1 : ℝ) 1)
    {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
    (d : ℕ → Ω → ℝ) (hd : IIDNormalDemand M P d)
    (i0 j0 : ℝ) (pipe0 : Fin (M.L - 1) → ℝ) :
    ∀ γ ∈ Set.Icc (0 : ℝ) 1,
      costTBS M γ α i0 P d - costOUT M j0 pipe0 P d
        = (M.h + M.b) * (sigmaI M α - sigmaIS M) * stdNormalPDF (zi M)
          + M.u * M.m * sigmaQ M α * stdNormalPDF (zq M) + M.μ * γ * (M.u - M.p) := by sorry

end SpeedFactory.BreakEven
Source
Boute, Disney, Gijsbrechts, Van Mieghem, Dual Sourcing and Smoothing under Non-Stationary Demand Time Series: Re-shoring with SpeedFactories, accepted manuscript (revised Nov 28, 2020), p. 17, §5, (19)
Human review
  • Endorsed by Shuze Chen · Oct 18, 2026

    Confirmed by the moderator at approval.

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