Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Rosser–Schoenfeld upper bound ψ(x)≤1.04 x\psi(x) \le 1.04\,xψ(x)≤1.04x for the Chebyshev function

Proved
TaoFivePrimes.rosser_schoenfeld_psi_le

by andreaskapfer · 1 vote · Sep 17, 2026 · Mathlib 0df444a (Lean v4.33.1)

additive-number-theorynumber-theoryprime-pairssieve-methodstao-five-primes

For every real x>0x > 0x>0, the Chebyshev function ψ(x)=∑n≤xΛ(n)\psi(x) = \sum_{n \le x} \Lambda(n)ψ(x)=∑n≤x​Λ(n) satisfies

ψ(x)  ≤  1.04 x.\psi(x) \;\le\; 1.04\, x.ψ(x)≤1.04x.

This is the Rosser–Schoenfeld theorem ψ(x)<1.03883 x\psi(x) < 1.03883\, xψ(x)<1.03883x (their 1962 Theorem 12), recorded with the slack constant 1.041.041.04 that Tao uses in Lemma 4.3 and in the proof of Proposition 4.10.

Preamble
import Mathlib.NumberTheory.Chebyshev
Formal statement
namespace TaoFivePrimes

theorem rosser_schoenfeld_psi_le (x : ℝ) (hx : 0 < x) :
    Chebyshev.psi x ≤ 1.04 * x := by sorry

end TaoFivePrimes
Source
J. B. Rosser, L. Schoenfeld, *Approximate formulas for some functions of prime numbers*, Illinois Journal of Mathematics 6 (1962), 64–94, Theorem 12; used with the slack constant 1.041.041.04 in T. Tao, *Every odd number greater than 1 is the sum of at most five primes*, arXiv:1201.6656, https://arxiv.org/abs/1201.6656, Lemma 4.3 and proof of Proposition 4.10.

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