Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Proof of Lemma 3, p. 14 — f(q) = LU/q + q bounds the objective of (5) below, f(L) = f(U) = L + U, and f is minimized at √(LU)

Proved
JRPHard.RangeDiv.f_at_L_U

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

am-gmgcdp2o-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 f(x)=LU/x+xf(x) = LU/x + xf(x)=LU/x+x for real x>0x > 0x>0. Then:

  1. for every positive integer qqq, f(q)≤LUgcd⁡(q,M)+qf(q) \le \dfrac{LU}{\gcd(q,M)} + qf(q)≤gcd(q,M)LU​+q;
  2. f(L)=f(U)=L+Uf(L) = f(U) = L + Uf(L)=f(U)=L+U;
  3. fff is minimized at LU\sqrt{LU}LU​: for every real x>0x > 0x>0,
f(LU)≤f(x).f\big(\sqrt{LU}\big) \le f(x).f(LU​)≤f(x).

The function fff coincides with the objective of problem (5) at divisors of MMM and lies below it everywhere. It meets the level L+UL + UL+U exactly at the two ends of the interval [L,U][L, U][L,U].

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

theorem f_at_L_U (M L U : ℕ) (hI : IsRangeDivisorInstance M L U) :
    (∀ q : ℕ, 0 < q → fConv L U q ≤ obj5 M L U q) ∧
    fConv L U L = L + U ∧ fConv L U U = L + U ∧
    (∀ x : ℝ, 0 < x → fConv L U (Real.sqrt ((L : ℝ) * U)) ≤ fConv L U x) := 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. 14, §3.1, proof of Lemma 3, "The convex function f(q) ≡ K₀/q + q"
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