Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (15): intersection penalties and the common cost

Proved
LostSalesRQ.intersection_penalty_formula

by Ming Hu · Nov 17, 2026 · Mathlib 0df444a (Lean v4.33.1)

approximation-guaranteeinventorylost-salesoperations-research

Fix μ>0\mu>0μ>0 and an integer j≥0j\ge0j≥0, and write δj=ej−ej+1\delta_j=e_j-e_{j+1}δj​=ej​−ej+1​. Then

δj=ej(Hj+1)μ+Hj+1>0,aj=δj−1−μ=Aj(1+vjHj+1),\delta_j=\frac{e_j(H_j+1)}{\mu+H_j+1}>0,\qquad a_j=\delta_j^{-1}-\mu=A_j\Big(1+\frac{v_j}{H_j+1}\Big),δj​=μ+Hj​+1ej​(Hj​+1)​>0,aj​=δj−1​−μ=Aj​(1+Hj​+1vj​​),

and at the intersection penalty aja_jaj​ the neighboring base stocks have the common cost

Lj(aj)=Lj+1(aj)=Hj+1+vjHj+1=j+1−μ+μHj+1.L_j(a_j)=L_{j+1}(a_j)=H_j+1+\frac{v_j}{H_j+1}=j+1-\mu+\frac{\mu}{H_j+1}.Lj​(aj​)=Lj+1​(aj​)=Hj​+1+Hj​+1vj​​=j+1−μ+Hj​+1μ​.

Raising the base-stock level from jjj to j+1j+1j+1 trades extra holding cost 1−μδj1-\mu\delta_j1−μδj​ against a lost-sales saving aδja\delta_jaδj​; the intersection penalties are the endpoints used in Lemma 2(ii).

Preamble
import Definitions.Def_LostSalesRQ_poisson_functions
Formal statement
namespace LostSalesRQ

theorem intersection_penalty_formula (μ : ℝ) (hμ : 0 < μ) (j : ℕ) :
    lossFraction μ j - lossFraction μ (j + 1) =
        lossFraction μ j * (meanOnHand μ j + 1) / (μ + meanOnHand μ j + 1) ∧
    0 < lossFraction μ j - lossFraction μ (j + 1) ∧
    intersectionPenalty μ j =
        erlangNormalizer μ j * (1 + onHandVariance μ j / (meanOnHand μ j + 1)) ∧
    baseStockCost μ (intersectionPenalty μ j) j =
        baseStockCost μ (intersectionPenalty μ j) (j + 1) ∧
    baseStockCost μ (intersectionPenalty μ j) j =
        meanOnHand μ j + 1 + onHandVariance μ j / (meanOnHand μ j + 1) ∧
    baseStockCost μ (intersectionPenalty μ j) j =
        (j : ℝ) + 1 - μ + μ / (meanOnHand μ j + 1) := by sorry

end LostSalesRQ
Source
M. Hu, "A 1.932 Guarantee for (r,Q) Policies in Continuous-Review Lost-Sales Inventory Systems", arXiv:2610.34576, 2026; Section 4.4.1, eq. (15) (p. 16); Appendix A.2 (p. A2).
Human review
  • Endorsed by Shuze Chen · Nov 18, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Ming Hu · Nov 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