Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix, p. 17 — interval condition

Proved
JRPHard.Shor.range_condition

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

p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1range-divisorreal-powers

For the Appendix endpoints L=2λ(A−1/2)L=2^{\lambda(A-1/2)}L=2λ(A−1/2) and U=2λ(A+1/2)U=2^{\lambda(A+1/2)}U=2λ(A+1/2), assume

2λ/2+2−λ/2<22.2^{\lambda/2}+2^{-\lambda/2}<2\sqrt2.2λ/2+2−λ/2<22​.

Then

L+U<22LU.L+U<2\sqrt{2LU}.L+U<22LU​.

This is the real numerical side condition in RangeDivisor before rounding the endpoints.

Preamble
import Mathlib
import Definitions.Def_JRPHard_Shor_Setting
Formal statement
namespace JRPHard.Shor

/-- Appendix, p. 17: the two endpoints meet RangeDivisor's real inequality. -/
theorem range_condition {n : ℕ} (B : ℕ) (a : Fin n → ℕ)
    (hlam : (2 : ℝ) ^ (scale B / 2) + (2 : ℝ) ^ (-(scale B / 2)) <
      2 * Real.sqrt 2) :
    lowL B a + highU B a <
      2 * Real.sqrt (2 * lowL B a * highU B a) := by sorry

end JRPHard.Shor
Source
Schulz and Telha, Integer factorization and Riemann's hypothesis: Why two-item joint replenishment is hard, arXiv:2007.09045v1, p. 17, Appendix, final interval claim
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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me