Chebyshev functions #
This file defines the Chebyshev functions theta and psi.
These give logarithmically weighted sums of primes and prime powers.
Main definitions #
Chebyshev.psigives the sum ofArithmeticFunction.vonMangoldtChebyshev.thetagives the sum oflog pover primes
Main results #
Chebyshev.theta_eq_log_primorialshows thatθ xis the log of the product of primes up to xChebyshev.theta_le_log4_mul_xgives Chebyshev's upper bound onθChebyshev.psi_eq_sum_thetaandChebyshev.psi_eq_theta_add_sum_thetarelatepsitotheta.Chebyshev.psi_le_const_mul_selfgives Chebyshev's upper bound onψ.Chebyshev.primeCounting_eq_theta_div_log_add_integralrelates the prime counting function toθChebyshev.eventually_primeCounting_legives an upper bound on the prime counting function.
Notation #
We introduce the scoped notations θ and ψ in the Chebyshev namespace for the Chebyshev
functions.
References #
Parts of this file were upstreamed from the PrimeNumberTheoremAnd project by Kontorovich et al, https://github.com/alexKontorovich/PrimeNumberTheoremAnd.
TODOS #
- Prove Chebyshev's lower bound.
The sum of log p over primes p ≤ x.
Equations
Instances For
The sum of log p over primes p ≤ x.
Equations
Instances For
θ x is the log of the product of the primes up to x.
Chebyshev's upper bound: θ x ≤ c x with the constant c = log 4.
Relating ψ and θ #
We isolate the contributions of different prime powers to ψ and use this to show that ψ and θ
are close.
A sum over prime powers may be written as a double sum over exponents and then primes.
Chebyshev's bound ψ x ≤ c x with an explicit constant.
Note that Chebyshev.psi_le gives a sharper bound with a better main term.
ψ - θ is the sum of Λ over non-primes.
Relation to prime counting #
We relate θ to the prime counting function π.
Integrability for the integral in Chebyshev.primeCounting_eq_theta_div_log_add_integral.
Chebyshev's upper bound on the prime counting function