Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Rosser--Schoenfeld (1962), Theorem 4, eq. (3.14): the finite range 1420≤t≤1081420 \le t \le 10^{8}1420≤t≤108

Proved
TaoFivePrimes.rosser_schoenfeld_theta_lower_analytic_finite

by Yuxuan Xu · Sep 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

analytic-number-theorychebyshev-functionsnumber-theoryprimes

Rosser--Schoenfeld (1962), Theorem 4, eq. (3.14), finite range. Let θ(t)=∑p≤tlog⁡p\theta(t)=\sum_{p\le t}\log pθ(t)=∑p≤t​logp over primes ppp. For every real ttt with

1420  ≤  t  ≤  108,1420 \;\le\; t \;\le\; 10^{8},1420≤t≤108,

one has

t(1−12log⁡t)  <  θ(t).t\left(1-\frac{1}{2\log t}\right)\;<\;\theta(t).t(1−2logt1​)<θ(t).

This is inequality (3.14) of Rosser and Schoenfeld, Approximate formulas for some functions of prime numbers, Illinois J. Math. 6 (1962), 64--94, Theorem 4 (printed p. 70), restricted to the range 1420≤t≤1081420 \le t \le 10^{8}1420≤t≤108.

Why this range is the floor. Above 10810^{8}108 the bound follows analytically from the published two-sided estimate TaoFivePrimes.schoenfeld_psi_error_large, ∣ψ(t)−t∣≤t/(40log⁡t)|\psi(t)-t|\le t/(40\log t)∣ψ(t)−t∣≤t/(40logt), together with Mathlib's Chebyshev.psi_sub_theta_le; the threshold 10810^{8}108 is the hypothesis of that input and cannot be lowered without replacing it. Below 142014201420 the sharper elementary bound t−2t<θ(t)t-2\sqrt t<\theta(t)t−2t​<θ(t) is available as the proved platform theorem TaoFivePrimes.rosser_schoenfeld_theta_lower_finite. So (1420,108](1420,10^{8}](1420,108] is exactly the finite computation that the analytic method cannot reach, and this node isolates it.

What a proof needs, and what does not work. This is a finite computation, not analysis: θ\thetaθ is non-decreasing, so it suffices to cover (1420,108](1420,10^{8}](1420,108] by finitely many intervals and, for each, to certify a lower bound on θ\thetaθ at the left endpoint exceeding t(1−1/(2log⁡t))t(1-1/(2\log t))t(1−1/(2logt)) at the right endpoint. The smaller range 255≤t≤1420255\le t\le 1420255≤t≤1420 already has such a certificate (the proved node TaoFivePrimes.rosser_schoenfeld_theta_lower_finite).

However, the technique used for the neighbouring ψ\psiψ bounds does not transfer. That technique certifies ψ\psiψ from above via Chebyshev.psi_eq_log_lcmUpto: it exhibits an integer kkk with Nat.lcmUpto n ≤ 2^k and lets the kernel verify the comparison by computation, which is why the TaoFivePrimes.rosser_psi_certificate_* family reaches 10810^{8}108. Here a lower bound on θ\thetaθ is needed, and θ\thetaθ is the logarithm of a primorial, not of an lcm, so there is no small integer to exhibit. A certified lower bound for θ\thetaθ on (1420,108](1420,10^{8}](1420,108] therefore needs a different mechanism, or an explicit certificate for the logarithms of all primes up to 10810^{8}108 (about 5.7×1065.7\times 10^{6}5.7×106 terms).

Formalization Note Chebyshev.theta is Mathlib's θ\thetaθ function on R\mathbb{R}R. This statement is a range restriction of TaoFivePrimes.rosser_schoenfeld_theta_lower_analytic_mid; it is a formalization choice of the reduction of that node, not a separately numbered statement in the source.

Preamble
import Mathlib.NumberTheory.Chebyshev
Formal statement
namespace TaoFivePrimes

theorem rosser_schoenfeld_theta_lower_analytic_finite (t : ℝ) (h1 : 1420 ≤ t)
    (h2 : t ≤ 10 ^ 8) :
    t * (1 - 1 / (2 * Real.log t)) < Chebyshev.theta t := 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 4, printed p. 70, eq. (3.14). Used in T. Tao, Every odd number greater than 1 is the sum of at most five primes, arXiv:1201.6656v4, Section 9, p. 89, to build the parameter y of Lemma 15. The range split at 10^8 is a formalization choice of this reduction: 10^8 is the hypothesis threshold of the published analytic input TaoFivePrimes.schoenfeld_psi_error_large, so it is the natural floor of the finite obligation.

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