Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Compare the upper integrals

Proved
LL_Decomp1525c.high_compare

by sthubbar · Oct 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

number-theory

Assume ∣θ(y)−y∣<y/(40log⁡y)|\theta(y)-y|<y/(40\log y)∣θ(y)−y∣<y/(40logy) for every real y≥678407y\ge678407y≥678407, where θ\thetaθ is Chebyshev's prime logarithm sum. For every real x≥1052x\ge10^{52}x≥1052, ∣∫x2xIx(u)/log⁡u du−∫x2x(2x−u)/log⁡u du∣≤x2/(20log⁡2x)|\int_x^{2x}I_x(u)/\log u\,du-\int_x^{2x}(2x-u)/\log u\,du|\le x^2/(20\log^2x)∣∫x2x​Ix​(u)/logudu−∫x2x​(2x−u)/logudu∣≤x2/(20log2x).

Preamble
import Mathlib
import Definitions.Def_LL_Decomp1525c_P1V
import Definitions.Def_LL_Decomp1525c_thetaI
open Finset Real MeasureTheory intervalIntegral
open scoped Classical
Formal statement
namespace LL_Decomp1525c
theorem high_compare
    (h215 : ∀ y : ℝ, 678407 ≤ y → |Chebyshev.theta y - y| < y / (40 * Real.log y))
    (x : ℝ) (hx : 10 ^ 52 ≤ x) :
    |(∫ u in x..(2 * x), thetaI x u / Real.log u) - ∫ u in x..(2 * x), (2 * x - u) / Real.log u|
      ≤ x ^ 2 / (20 * Real.log x ^ 2) := by sorry
end LL_Decomp1525c
Source
R. C. Vaughan, On the estimation of Schnirelman's constant, J. reine angew. Math. 290, 1977, pp. 93 to 108, p. 103, proof of Lemma 11. https://doi.org/10.1515/crll.1977.290.93
Read-back

What the Lean code literally says, in plain math · claude-haiku

Assume h215: for every real y≥678407y\ge 678407y≥678407, ∣ϑ(y)−y∣<y/(40log⁡y)|\vartheta(y)-y|<y/(40\log y)∣ϑ(y)−y∣<y/(40logy), ϑ\varthetaϑ Mathlib's Chebyshev.theta. Then for real x≥1052x\ge 10^{52}x≥1052: ∣∫x2xθI(x,u)log⁡udu−∫x2x2x−ulog⁡udu∣≤x220(log⁡x)2\Big|\int_x^{2x}\frac{\theta_I(x,u)}{\log u}du-\int_x^{2x}\frac{2x-u}{\log u}du\Big|\le\frac{x^2}{20(\log x)^2}​∫x2x​loguθI​(x,u)​du−∫x2x​logu2x−u​du​≤20(logx)2x2​. For u∈[x,2x]u\in[x,2x]u∈[x,2x] the lower condition is automatic, so θI(x,u)=∑log⁡p\theta_I(x,u)=\sum\log pθI​(x,u)=∑logp over primes 3≤p≤min⁡(x−3,2x−u)3\le p\le\min(x-3,2x-u)3≤p≤min(x−3,2x−u). log⁡u>0\log u>0logu>0 and log⁡x>0\log x>0logx>0, so no junk values. Non-strict; conditional on h215, which is assumed, not proved.

Human review
  • Endorsed by Shuze Chen · Oct 28, 2026

    Confirmed by the moderator at approval.

  • Endorsed by sthubbar · Oct 28, 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