Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Proof of Lemma 3, p. 15 — a period with objective at most L + U divides M and lies in [L, U]

Proved
JRPHard.RangeDiv.cheap_divisor_in_range

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

divisorsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1range-divisor

Let M≥U≥L>0M \ge U \ge L > 0M≥U≥L>0 be integers with L+U<22LUL + U < 2\sqrt{2LU}L+U<22LU​, and let qqq be a positive integer with

LUgcd⁡(q,M)+q ≤ L+U.\frac{LU}{\gcd(q,M)} + q \ \le\ L + U.gcd(q,M)LU​+q ≤ L+U.

Then qqq divides MMM, and L≤q≤UL \le q \le UL≤q≤U.

This is the "no-instance" direction of the reduction: if problem (5) reaches the level L+UL + UL+U, the period achieving it is a divisor of MMM in the range [L,U][L, U][L,U].

Preamble
import Mathlib
import Definitions.Def_JRPHard_RangeDiv_Setting
Formal statement
namespace JRPHard.RangeDiv

theorem cheap_divisor_in_range (M L U : ℕ) (hI : IsRangeDivisorInstance M L U) (q : ℕ)
    (hq : 0 < q) (hle : obj5 M L U q ≤ (L : ℝ) + U) :
    q ∣ M ∧ L ≤ q ∧ q ≤ U := by sorry

end JRPHard.RangeDiv
Source
Schulz and Telha, Integer factorization and Riemann's hypothesis: Why two-item joint replenishment is hard, arXiv:2007.09045v1, p. 15, §3.1, proof of Lemma 3, "On the other hand, if JRP_{M,U,L} ≤ L + U, then the optimizer must be a divisor of M"
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