Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Proof of Lemma 2, p. 11 — an odd composite M has a divisor p with 3 ≤ p ≤ M/3

Proved
JRPHard.Periodic.exists_small_divisor

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

divisorsinteger-factorizationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let MMM be an odd composite number (odd, greater than 111, and not prime). Then MMM has a divisor ppp with

3≤p≤M3.3 \le p \le \frac{M}{3}.3≤p≤3M​.

Such a ppp is a non-trivial divisor of MMM; it supplies a feasible point of problem (4) whose value is well below MMM.

Formalization Note The paper prints "3≤p<M/33 \le p < M/33≤p<M/3", which is false for M=9M = 9M=9, whose only non-trivial divisor is 3=M/33 = M/33=M/3. The statement here uses p≤M/3p \le M/3p≤M/3, written as 3p≤M3p \le M3p≤M; this suffices for the next step of the proof. Non-triviality (1<p<M1 < p < M1<p<M) follows from 3≤p3 \le p3≤p and 3p≤M3p \le M3p≤M.

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

theorem exists_small_divisor (M : ℕ) (hodd : Odd M) (h1 : 1 < M) (hcomp : ¬ M.Prime) :
    ∃ p : ℕ, p ∣ M ∧ 3 ≤ p ∧ 3 * p ≤ M := 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", second sentence (printed "< M/3", corrected to "≤ M/3")
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