Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Proof of Lemma 2, p. 11 — with q₂ = M the instance reduces to problem (4): JRP(q₁, M) = EOQ_{K₂,H₂}(M) + M/gcd(q₁, M) + q₁

Proved
JRPHard.Periodic.reduction_to_4

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

gcdjoint-replenishmentp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let MMM be a natural number and q1q_1q1​ a positive integer. For the periodic JRP instance of Lemma 2 (K0=MK_0 = MK0​=M, K1=0K_1 = 0K1​=0, H1=1H_1 = 1H1​=1, H2=M(M+1)H_2 = M(M+1)H2​=M(M+1), K2=M3(M+1)K_2 = M^3(M+1)K2​=M3(M+1)), fixing item 2's period at q2=Mq_2 = Mq2​=M gives

JRPM(q1,M)=EOQ2(M)+Mgcd⁡(q1,M)+q1.\mathrm{JRP}_M(q_1, M) = \mathrm{EOQ}_2(M) + \frac{M}{\gcd(q_1,M)} + q_1 .JRPM​(q1​,M)=EOQ2​(M)+gcd(q1​,M)M​+q1​.

Since EOQ2(M)\mathrm{EOQ}_2(M)EOQ2​(M) does not depend on q1q_1q1​, minimizing the instance over q1q_1q1​ with q2=Mq_2 = Mq2​=M is exactly problem (4).

Formalization Note The identity holds for every natural number MMM; the paper's context is an odd composite MMM.

Preamble
import Mathlib
import Definitions.Def_JRPHard_Periodic_Setting
Formal statement
namespace JRPHard.Periodic

theorem reduction_to_4 (M q₁ : ℕ) (hq₁ : 0 < q₁) :
    lemma2Cost M q₁ M = eoq2 M M + obj4 M q₁ := by sorry

end JRPHard.Periodic
Source
Schulz and Telha, Integer factorization and Riemann's hypothesis: Why two-item joint replenishment is hard, arXiv:2007.09045v1, p. 11, §2.2, proof of Lemma 2, "Optimal replenishment cycle for item 1", first sentence; problem (4)
Human review
  • Endorsed by Shuze Chen · Oct 15, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 15, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me